From 4f958d03be147c7d268c15e38d9a433a7fed8412 Mon Sep 17 00:00:00 2001 From: GH Pages Bot Date: Wed, 15 May 2024 22:06:46 +0000 Subject: [PATCH] Deploy Storybook to GitHub Pages --- 1341.09345213.iframe.bundle.js | 1 + 1534.3c35ad22.iframe.bundle.js | 1 + 3049.299fd9a7.iframe.bundle.js | 5 + 3049.299fd9a7.iframe.bundle.js.map | 1 + 3448.4857a1c9.iframe.bundle.js | 1 + 3927.154f9bc8.iframe.bundle.js | 1 + 4493.982da647.iframe.bundle.js | 402 +++++++++++++++ 4493.982da647.iframe.bundle.js.LICENSE.txt | 53 ++ 4493.982da647.iframe.bundle.js.map | 1 + 5295.8c593805.iframe.bundle.js | 95 ++++ 5295.8c593805.iframe.bundle.js.LICENSE.txt | 16 + 5295.8c593805.iframe.bundle.js.map | 1 + 5312.97e818b9.iframe.bundle.js | 1 + 574.09b4094c.iframe.bundle.js | 2 + 574.09b4094c.iframe.bundle.js.LICENSE.txt | 96 ++++ 7083.6a0acd03.iframe.bundle.js | 1 + 7625.b46dc0a8.iframe.bundle.js | 1 + 7688.8b6bae87.iframe.bundle.js | 1 + 8884.c44e95df.iframe.bundle.js | 1 + 8969.a4661139.iframe.bundle.js | 2 + 8969.a4661139.iframe.bundle.js.LICENSE.txt | 32 ++ 8999.aca641c1.iframe.bundle.js | 1 + 9024.8d0e0389.iframe.bundle.js | 1 + 9277.b8c7f925.iframe.bundle.js | 1 + 982.653513b7.iframe.bundle.js | 1 + favicon.svg | 7 + iframe.html | 481 ++++++++++++++++++ index.html | 159 ++++++ index.json | 1 + main.8bd9ab6a.iframe.bundle.js | 1 + project.json | 1 + runtime~main.6facdc6f.iframe.bundle.js | 1 + .../manager-bundle.js | 327 ++++++++++++ .../manager-bundle.js.LEGAL.txt | 40 ++ .../essentials-actions-2/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js | 12 + .../manager-bundle.js.LEGAL.txt | 0 .../essentials-controls-1/manager-bundle.js | 60 +++ .../manager-bundle.js.LEGAL.txt | 18 + .../essentials-measure-6/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 .../essentials-outline-7/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 .../essentials-toolbars-5/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 .../essentials-viewport-4/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 sb-addons/interactions-8/manager-bundle.js | 33 ++ .../manager-bundle.js.LEGAL.txt | 0 .../common-manager-bundle.js | 3 + .../common-manager-bundle.js.LEGAL.txt | 0 sb-common-assets/fonts.css | 31 ++ .../nunito-sans-bold-italic.woff2 | Bin 0 -> 49460 bytes sb-common-assets/nunito-sans-bold.woff2 | Bin 0 -> 47144 bytes sb-common-assets/nunito-sans-italic.woff2 | Bin 0 -> 49620 bytes sb-common-assets/nunito-sans-regular.woff2 | Bin 0 -> 47072 bytes sb-manager/WithTooltip-KJL26V4Q-5LS5AN27.js | 1 + sb-manager/chunk-35UT7FWH.js | 274 ++++++++++ sb-manager/chunk-B3YDJJJH.js | 347 +++++++++++++ sb-manager/chunk-BLWCBWKL.js | 9 + sb-manager/chunk-GUVK2GTO.js | 6 + sb-manager/chunk-OPTI3GK2.js | 186 +++++++ sb-manager/chunk-ZR5JZWHI.js | 1 + sb-manager/formatter-2WMMO6ZP-JI7RHVTW.js | 58 +++ sb-manager/globals-module-info.js | 1 + sb-manager/globals-runtime.js | 1 + sb-manager/globals.js | 1 + sb-manager/index.js | 1 + sb-manager/runtime.js | 1 + .../syntaxhighlighter-BP7B2CQK-WOJYHKQR.js | 1 + sb-preview/globals.js | 1 + sb-preview/runtime.js | 156 ++++++ .../open-sans-all-300-italic.74c697ea.woff | Bin 0 -> 74788 bytes .../open-sans-all-300-normal.07e71905.woff | Bin 0 -> 70568 bytes .../open-sans-all-400-italic.3d9fdb58.woff | Bin 0 -> 74668 bytes .../open-sans-all-400-normal.cb2542fc.woff | Bin 0 -> 70856 bytes .../open-sans-all-500-italic.e31a4f02.woff | Bin 0 -> 75032 bytes .../open-sans-all-500-normal.97662e43.woff | Bin 0 -> 71184 bytes .../open-sans-all-600-italic.6a0d4db9.woff | Bin 0 -> 74764 bytes .../open-sans-all-600-normal.2e341a4b.woff | Bin 0 -> 70724 bytes .../open-sans-all-700-italic.ba48a8df.woff | Bin 0 -> 71812 bytes .../open-sans-all-700-normal.105e4309.woff | Bin 0 -> 68728 bytes ...en-sans-cyrillic-300-italic.620210ab.woff2 | Bin 0 -> 12160 bytes ...en-sans-cyrillic-300-normal.ac010e3f.woff2 | Bin 0 -> 10628 bytes ...en-sans-cyrillic-400-italic.c80c9290.woff2 | Bin 0 -> 12248 bytes ...en-sans-cyrillic-400-normal.5a546777.woff2 | Bin 0 -> 10652 bytes ...en-sans-cyrillic-500-italic.936137ea.woff2 | Bin 0 -> 12280 bytes ...en-sans-cyrillic-500-normal.2760fe2e.woff2 | Bin 0 -> 10724 bytes ...en-sans-cyrillic-600-italic.1ec5bd3b.woff2 | Bin 0 -> 12272 bytes ...en-sans-cyrillic-600-normal.cb4c15f1.woff2 | Bin 0 -> 10620 bytes ...en-sans-cyrillic-700-italic.bc54460d.woff2 | Bin 0 -> 11960 bytes ...en-sans-cyrillic-700-normal.2cf6253f.woff2 | Bin 0 -> 10440 bytes ...ans-cyrillic-ext-300-italic.a16363ae.woff2 | Bin 0 -> 18896 bytes ...ans-cyrillic-ext-300-normal.41ad4700.woff2 | Bin 0 -> 17396 bytes ...ans-cyrillic-ext-400-italic.1557831c.woff2 | Bin 0 -> 18828 bytes ...ans-cyrillic-ext-400-normal.01b11c56.woff2 | Bin 0 -> 17504 bytes ...ans-cyrillic-ext-500-italic.5fd35b6e.woff2 | Bin 0 -> 18924 bytes ...ans-cyrillic-ext-500-normal.94b55560.woff2 | Bin 0 -> 17500 bytes ...ans-cyrillic-ext-600-italic.e3bd52c5.woff2 | Bin 0 -> 18904 bytes ...ans-cyrillic-ext-600-normal.abf6f490.woff2 | Bin 0 -> 17524 bytes ...ans-cyrillic-ext-700-italic.3cf2fd04.woff2 | Bin 0 -> 18092 bytes ...ans-cyrillic-ext-700-normal.00b4dd17.woff2 | Bin 0 -> 16920 bytes .../open-sans-greek-300-italic.8b76a0ad.woff2 | Bin 0 -> 9380 bytes .../open-sans-greek-300-normal.12e1449f.woff2 | Bin 0 -> 8920 bytes .../open-sans-greek-400-italic.9e0c3f18.woff2 | Bin 0 -> 9356 bytes .../open-sans-greek-400-normal.3064bf7e.woff2 | Bin 0 -> 8952 bytes .../open-sans-greek-500-italic.7a26d2e2.woff2 | Bin 0 -> 9400 bytes .../open-sans-greek-500-normal.aa7a8b7b.woff2 | Bin 0 -> 8912 bytes .../open-sans-greek-600-italic.861c18ed.woff2 | Bin 0 -> 9364 bytes .../open-sans-greek-600-normal.10940035.woff2 | Bin 0 -> 8988 bytes .../open-sans-greek-700-italic.d91563e5.woff2 | Bin 0 -> 9304 bytes .../open-sans-greek-700-normal.a0312547.woff2 | Bin 0 -> 8816 bytes ...n-sans-greek-ext-300-italic.30a2b716.woff2 | Bin 0 -> 3880 bytes ...n-sans-greek-ext-300-normal.78e4eeea.woff2 | Bin 0 -> 3760 bytes ...n-sans-greek-ext-400-italic.2b5698df.woff2 | Bin 0 -> 3844 bytes ...n-sans-greek-ext-400-normal.1ed998a4.woff2 | Bin 0 -> 3752 bytes ...n-sans-greek-ext-500-italic.c9bbb5f0.woff2 | Bin 0 -> 3860 bytes ...n-sans-greek-ext-500-normal.7c718aac.woff2 | Bin 0 -> 3720 bytes ...n-sans-greek-ext-600-italic.39308b49.woff2 | Bin 0 -> 3876 bytes ...n-sans-greek-ext-600-normal.4aea64b3.woff2 | Bin 0 -> 3720 bytes ...n-sans-greek-ext-700-italic.63811539.woff2 | Bin 0 -> 3844 bytes ...n-sans-greek-ext-700-normal.8850c90c.woff2 | Bin 0 -> 3712 bytes ...open-sans-hebrew-300-italic.6f90cd1a.woff2 | Bin 0 -> 7752 bytes ...open-sans-hebrew-300-normal.8936a0a1.woff2 | Bin 0 -> 7532 bytes ...open-sans-hebrew-400-italic.2bc96b28.woff2 | Bin 0 -> 7784 bytes ...open-sans-hebrew-400-normal.daafcec8.woff2 | Bin 0 -> 7532 bytes ...open-sans-hebrew-500-italic.b8bd20a2.woff2 | Bin 0 -> 7812 bytes ...open-sans-hebrew-500-normal.38f82c0b.woff2 | Bin 0 -> 7600 bytes ...open-sans-hebrew-600-italic.80a2f4c0.woff2 | Bin 0 -> 7840 bytes ...open-sans-hebrew-600-normal.f9d737d5.woff2 | Bin 0 -> 7580 bytes ...open-sans-hebrew-700-italic.23668a49.woff2 | Bin 0 -> 7800 bytes ...open-sans-hebrew-700-normal.3befb44d.woff2 | Bin 0 -> 7532 bytes .../open-sans-latin-300-italic.ed966cd8.woff2 | Bin 0 -> 17872 bytes .../open-sans-latin-300-normal.c93abfae.woff2 | Bin 0 -> 16748 bytes .../open-sans-latin-400-italic.80a88fd1.woff2 | Bin 0 -> 17820 bytes .../open-sans-latin-400-normal.a1535f45.woff2 | Bin 0 -> 16740 bytes .../open-sans-latin-500-italic.e2fc6d6a.woff2 | Bin 0 -> 17876 bytes .../open-sans-latin-500-normal.b8d62943.woff2 | Bin 0 -> 16808 bytes .../open-sans-latin-600-italic.9934eba5.woff2 | Bin 0 -> 17780 bytes .../open-sans-latin-600-normal.7ef3bbc9.woff2 | Bin 0 -> 16756 bytes .../open-sans-latin-700-italic.c580d11c.woff2 | Bin 0 -> 17384 bytes .../open-sans-latin-700-normal.b245bc85.woff2 | Bin 0 -> 16372 bytes ...n-sans-latin-ext-300-italic.45c65ce6.woff2 | Bin 0 -> 13324 bytes ...n-sans-latin-ext-300-normal.3e8ef246.woff2 | Bin 0 -> 12912 bytes ...n-sans-latin-ext-400-italic.2b6b4e6c.woff2 | Bin 0 -> 13316 bytes ...n-sans-latin-ext-400-normal.ccfa20f8.woff2 | Bin 0 -> 12972 bytes ...n-sans-latin-ext-500-italic.4c01c87c.woff2 | Bin 0 -> 13424 bytes ...n-sans-latin-ext-500-normal.6f6b8357.woff2 | Bin 0 -> 12972 bytes ...n-sans-latin-ext-600-italic.034b6698.woff2 | Bin 0 -> 13356 bytes ...n-sans-latin-ext-600-normal.0c2b9ee0.woff2 | Bin 0 -> 12948 bytes ...n-sans-latin-ext-700-italic.1b15c760.woff2 | Bin 0 -> 12988 bytes ...n-sans-latin-ext-700-normal.64471a17.woff2 | Bin 0 -> 12768 bytes ...-sans-vietnamese-300-italic.be0446ec.woff2 | Bin 0 -> 7172 bytes ...-sans-vietnamese-300-normal.d1498213.woff2 | Bin 0 -> 7148 bytes ...-sans-vietnamese-400-italic.fcc151f7.woff2 | Bin 0 -> 7216 bytes ...-sans-vietnamese-400-normal.473f6b09.woff2 | Bin 0 -> 7136 bytes ...-sans-vietnamese-500-italic.288f2068.woff2 | Bin 0 -> 7244 bytes ...-sans-vietnamese-500-normal.3ff2bbd1.woff2 | Bin 0 -> 7212 bytes ...-sans-vietnamese-600-italic.b2377ffd.woff2 | Bin 0 -> 7220 bytes ...-sans-vietnamese-600-normal.e45d2546.woff2 | Bin 0 -> 7136 bytes ...-sans-vietnamese-700-italic.cdddd711.woff2 | Bin 0 -> 7088 bytes ...-sans-vietnamese-700-normal.b4c5968d.woff2 | Bin 0 -> 7044 bytes ...onButton-stories.15f44112.iframe.bundle.js | 1 + ...dDragRow-stories.e94ac9c4.iframe.bundle.js | 1 + ...rButtons-stories.d5cb92ab.iframe.bundle.js | 1 + ...sOverlay-stories.c284a0ad.iframe.bundle.js | 1 + ...tableRow-stories.ec71cdb8.iframe.bundle.js | 1 + ...innedRow-stories.c6361456.iframe.bundle.js | 1 + ...textMenu-stories.41051872.iframe.bundle.js | 1 + ...tGeneric-stories.b2e9fc7b.iframe.bundle.js | 1 + ...TextArea-stories.6c7e4ff1.iframe.bundle.js | 1 + ...tBearing-stories.e3afd69f.iframe.bundle.js | 1 + ...DropDown-stories.61c3f6fb.iframe.bundle.js | 1 + ...tiSelect-stories.d344ba3e.iframe.bundle.js | 1 + ...lectGrid-stories.4e644da2.iframe.bundle.js | 1 + ...ReadOnly-stories.b34328b5.iframe.bundle.js | 1 + ...ViewList-stories.66afdc89.iframe.bundle.js | 1 + ...eraction-stories.ea7d020d.iframe.bundle.js | 1 + ...eraction-stories.80a0cd36.iframe.bundle.js | 1 + ...eraction-stories.1bbc1813.iframe.bundle.js | 1 + ...eraction-stories.a7159c28.iframe.bundle.js | 1 + ...eraction-stories.4840a195.iframe.bundle.js | 1 + ...eraction-stories.5dac3320.iframe.bundle.js | 1 + ...eraction-stories.a10c4e67.iframe.bundle.js | 1 + ...eraction-stories.a0f3ef4d.iframe.bundle.js | 1 + ...DropDown-stories.ee2a5589.iframe.bundle.js | 1 + ...tBearing-stories.59bd8ab4.iframe.bundle.js | 1 + ...rrection-stories.adfb4012.iframe.bundle.js | 1 + ...mMessage-stories.b3f4d535.iframe.bundle.js | 1 + ...tiSelect-stories.8ab77f4e.iframe.bundle.js | 1 + ...overMenu-stories.3823cb6b.iframe.bundle.js | 1 + ...TextArea-stories.35a51ad6.iframe.bundle.js | 1 + ...extInput-stories.03c25856.iframe.bundle.js | 1 + ...ractions-stories.9514e248.iframe.bundle.js | 1 + ...eactMenu-stories.b7c0b168.iframe.bundle.js | 1 + 196 files changed, 2987 insertions(+) create mode 100644 1341.09345213.iframe.bundle.js create mode 100644 1534.3c35ad22.iframe.bundle.js create mode 100644 3049.299fd9a7.iframe.bundle.js create mode 100644 3049.299fd9a7.iframe.bundle.js.map create mode 100644 3448.4857a1c9.iframe.bundle.js create mode 100644 3927.154f9bc8.iframe.bundle.js create mode 100644 4493.982da647.iframe.bundle.js create mode 100644 4493.982da647.iframe.bundle.js.LICENSE.txt create mode 100644 4493.982da647.iframe.bundle.js.map create mode 100644 5295.8c593805.iframe.bundle.js create mode 100644 5295.8c593805.iframe.bundle.js.LICENSE.txt create mode 100644 5295.8c593805.iframe.bundle.js.map create mode 100644 5312.97e818b9.iframe.bundle.js create mode 100644 574.09b4094c.iframe.bundle.js create mode 100644 574.09b4094c.iframe.bundle.js.LICENSE.txt create mode 100644 7083.6a0acd03.iframe.bundle.js create mode 100644 7625.b46dc0a8.iframe.bundle.js create mode 100644 7688.8b6bae87.iframe.bundle.js create mode 100644 8884.c44e95df.iframe.bundle.js create mode 100644 8969.a4661139.iframe.bundle.js create mode 100644 8969.a4661139.iframe.bundle.js.LICENSE.txt create mode 100644 8999.aca641c1.iframe.bundle.js create mode 100644 9024.8d0e0389.iframe.bundle.js create mode 100644 9277.b8c7f925.iframe.bundle.js create mode 100644 982.653513b7.iframe.bundle.js create mode 100644 favicon.svg create mode 100644 iframe.html create mode 100644 index.html create mode 100644 index.json create mode 100644 main.8bd9ab6a.iframe.bundle.js create mode 100644 project.json create mode 100644 runtime~main.6facdc6f.iframe.bundle.js create mode 100644 sb-addons/chromatic-com-storybook-9/manager-bundle.js create mode 100644 sb-addons/chromatic-com-storybook-9/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/essentials-actions-2/manager-bundle.js create mode 100644 sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/essentials-backgrounds-3/manager-bundle.js create mode 100644 sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/essentials-controls-1/manager-bundle.js create mode 100644 sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/essentials-measure-6/manager-bundle.js create mode 100644 sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/essentials-outline-7/manager-bundle.js create mode 100644 sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/essentials-toolbars-5/manager-bundle.js create mode 100644 sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/essentials-viewport-4/manager-bundle.js create mode 100644 sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/interactions-8/manager-bundle.js create mode 100644 sb-addons/interactions-8/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/storybook-core-server-presets-0/common-manager-bundle.js create mode 100644 sb-addons/storybook-core-server-presets-0/common-manager-bundle.js.LEGAL.txt create mode 100644 sb-common-assets/fonts.css create mode 100644 sb-common-assets/nunito-sans-bold-italic.woff2 create mode 100644 sb-common-assets/nunito-sans-bold.woff2 create mode 100644 sb-common-assets/nunito-sans-italic.woff2 create mode 100644 sb-common-assets/nunito-sans-regular.woff2 create mode 100644 sb-manager/WithTooltip-KJL26V4Q-5LS5AN27.js create mode 100644 sb-manager/chunk-35UT7FWH.js create mode 100644 sb-manager/chunk-B3YDJJJH.js create mode 100644 sb-manager/chunk-BLWCBWKL.js create mode 100644 sb-manager/chunk-GUVK2GTO.js create mode 100644 sb-manager/chunk-OPTI3GK2.js create mode 100644 sb-manager/chunk-ZR5JZWHI.js create mode 100644 sb-manager/formatter-2WMMO6ZP-JI7RHVTW.js create mode 100644 sb-manager/globals-module-info.js create mode 100644 sb-manager/globals-runtime.js create mode 100644 sb-manager/globals.js create mode 100644 sb-manager/index.js create mode 100644 sb-manager/runtime.js create mode 100644 sb-manager/syntaxhighlighter-BP7B2CQK-WOJYHKQR.js create mode 100644 sb-preview/globals.js create mode 100644 sb-preview/runtime.js create mode 100644 static/media/open-sans-all-300-italic.74c697ea.woff create mode 100644 static/media/open-sans-all-300-normal.07e71905.woff create mode 100644 static/media/open-sans-all-400-italic.3d9fdb58.woff create mode 100644 static/media/open-sans-all-400-normal.cb2542fc.woff create mode 100644 static/media/open-sans-all-500-italic.e31a4f02.woff create mode 100644 static/media/open-sans-all-500-normal.97662e43.woff create mode 100644 static/media/open-sans-all-600-italic.6a0d4db9.woff create mode 100644 static/media/open-sans-all-600-normal.2e341a4b.woff create mode 100644 static/media/open-sans-all-700-italic.ba48a8df.woff create mode 100644 static/media/open-sans-all-700-normal.105e4309.woff create mode 100644 static/media/open-sans-cyrillic-300-italic.620210ab.woff2 create mode 100644 static/media/open-sans-cyrillic-300-normal.ac010e3f.woff2 create mode 100644 static/media/open-sans-cyrillic-400-italic.c80c9290.woff2 create mode 100644 static/media/open-sans-cyrillic-400-normal.5a546777.woff2 create mode 100644 static/media/open-sans-cyrillic-500-italic.936137ea.woff2 create mode 100644 static/media/open-sans-cyrillic-500-normal.2760fe2e.woff2 create mode 100644 static/media/open-sans-cyrillic-600-italic.1ec5bd3b.woff2 create mode 100644 static/media/open-sans-cyrillic-600-normal.cb4c15f1.woff2 create mode 100644 static/media/open-sans-cyrillic-700-italic.bc54460d.woff2 create mode 100644 static/media/open-sans-cyrillic-700-normal.2cf6253f.woff2 create mode 100644 static/media/open-sans-cyrillic-ext-300-italic.a16363ae.woff2 create mode 100644 static/media/open-sans-cyrillic-ext-300-normal.41ad4700.woff2 create mode 100644 static/media/open-sans-cyrillic-ext-400-italic.1557831c.woff2 create mode 100644 static/media/open-sans-cyrillic-ext-400-normal.01b11c56.woff2 create mode 100644 static/media/open-sans-cyrillic-ext-500-italic.5fd35b6e.woff2 create mode 100644 static/media/open-sans-cyrillic-ext-500-normal.94b55560.woff2 create mode 100644 static/media/open-sans-cyrillic-ext-600-italic.e3bd52c5.woff2 create mode 100644 static/media/open-sans-cyrillic-ext-600-normal.abf6f490.woff2 create mode 100644 static/media/open-sans-cyrillic-ext-700-italic.3cf2fd04.woff2 create mode 100644 static/media/open-sans-cyrillic-ext-700-normal.00b4dd17.woff2 create mode 100644 static/media/open-sans-greek-300-italic.8b76a0ad.woff2 create mode 100644 static/media/open-sans-greek-300-normal.12e1449f.woff2 create mode 100644 static/media/open-sans-greek-400-italic.9e0c3f18.woff2 create mode 100644 static/media/open-sans-greek-400-normal.3064bf7e.woff2 create mode 100644 static/media/open-sans-greek-500-italic.7a26d2e2.woff2 create mode 100644 static/media/open-sans-greek-500-normal.aa7a8b7b.woff2 create mode 100644 static/media/open-sans-greek-600-italic.861c18ed.woff2 create mode 100644 static/media/open-sans-greek-600-normal.10940035.woff2 create mode 100644 static/media/open-sans-greek-700-italic.d91563e5.woff2 create mode 100644 static/media/open-sans-greek-700-normal.a0312547.woff2 create mode 100644 static/media/open-sans-greek-ext-300-italic.30a2b716.woff2 create mode 100644 static/media/open-sans-greek-ext-300-normal.78e4eeea.woff2 create mode 100644 static/media/open-sans-greek-ext-400-italic.2b5698df.woff2 create mode 100644 static/media/open-sans-greek-ext-400-normal.1ed998a4.woff2 create mode 100644 static/media/open-sans-greek-ext-500-italic.c9bbb5f0.woff2 create mode 100644 static/media/open-sans-greek-ext-500-normal.7c718aac.woff2 create mode 100644 static/media/open-sans-greek-ext-600-italic.39308b49.woff2 create mode 100644 static/media/open-sans-greek-ext-600-normal.4aea64b3.woff2 create mode 100644 static/media/open-sans-greek-ext-700-italic.63811539.woff2 create mode 100644 static/media/open-sans-greek-ext-700-normal.8850c90c.woff2 create mode 100644 static/media/open-sans-hebrew-300-italic.6f90cd1a.woff2 create mode 100644 static/media/open-sans-hebrew-300-normal.8936a0a1.woff2 create mode 100644 static/media/open-sans-hebrew-400-italic.2bc96b28.woff2 create mode 100644 static/media/open-sans-hebrew-400-normal.daafcec8.woff2 create mode 100644 static/media/open-sans-hebrew-500-italic.b8bd20a2.woff2 create mode 100644 static/media/open-sans-hebrew-500-normal.38f82c0b.woff2 create mode 100644 static/media/open-sans-hebrew-600-italic.80a2f4c0.woff2 create mode 100644 static/media/open-sans-hebrew-600-normal.f9d737d5.woff2 create mode 100644 static/media/open-sans-hebrew-700-italic.23668a49.woff2 create mode 100644 static/media/open-sans-hebrew-700-normal.3befb44d.woff2 create mode 100644 static/media/open-sans-latin-300-italic.ed966cd8.woff2 create mode 100644 static/media/open-sans-latin-300-normal.c93abfae.woff2 create mode 100644 static/media/open-sans-latin-400-italic.80a88fd1.woff2 create mode 100644 static/media/open-sans-latin-400-normal.a1535f45.woff2 create mode 100644 static/media/open-sans-latin-500-italic.e2fc6d6a.woff2 create mode 100644 static/media/open-sans-latin-500-normal.b8d62943.woff2 create mode 100644 static/media/open-sans-latin-600-italic.9934eba5.woff2 create mode 100644 static/media/open-sans-latin-600-normal.7ef3bbc9.woff2 create mode 100644 static/media/open-sans-latin-700-italic.c580d11c.woff2 create mode 100644 static/media/open-sans-latin-700-normal.b245bc85.woff2 create mode 100644 static/media/open-sans-latin-ext-300-italic.45c65ce6.woff2 create mode 100644 static/media/open-sans-latin-ext-300-normal.3e8ef246.woff2 create mode 100644 static/media/open-sans-latin-ext-400-italic.2b6b4e6c.woff2 create mode 100644 static/media/open-sans-latin-ext-400-normal.ccfa20f8.woff2 create mode 100644 static/media/open-sans-latin-ext-500-italic.4c01c87c.woff2 create mode 100644 static/media/open-sans-latin-ext-500-normal.6f6b8357.woff2 create mode 100644 static/media/open-sans-latin-ext-600-italic.034b6698.woff2 create mode 100644 static/media/open-sans-latin-ext-600-normal.0c2b9ee0.woff2 create mode 100644 static/media/open-sans-latin-ext-700-italic.1b15c760.woff2 create mode 100644 static/media/open-sans-latin-ext-700-normal.64471a17.woff2 create mode 100644 static/media/open-sans-vietnamese-300-italic.be0446ec.woff2 create mode 100644 static/media/open-sans-vietnamese-300-normal.d1498213.woff2 create mode 100644 static/media/open-sans-vietnamese-400-italic.fcc151f7.woff2 create mode 100644 static/media/open-sans-vietnamese-400-normal.473f6b09.woff2 create mode 100644 static/media/open-sans-vietnamese-500-italic.288f2068.woff2 create mode 100644 static/media/open-sans-vietnamese-500-normal.3ff2bbd1.woff2 create mode 100644 static/media/open-sans-vietnamese-600-italic.b2377ffd.woff2 create mode 100644 static/media/open-sans-vietnamese-600-normal.e45d2546.woff2 create mode 100644 static/media/open-sans-vietnamese-700-italic.cdddd711.woff2 create mode 100644 static/media/open-sans-vietnamese-700-normal.b4c5968d.woff2 create mode 100644 stories-components-ActionButton-stories.15f44112.iframe.bundle.js create mode 100644 stories-grid-GridDragRow-stories.e94ac9c4.iframe.bundle.js create mode 100644 stories-grid-GridFilterButtons-stories.d5cb92ab.iframe.bundle.js create mode 100644 stories-grid-GridNoRowsOverlay-stories.c284a0ad.iframe.bundle.js create mode 100644 stories-grid-GridNonEditableRow-stories.ec71cdb8.iframe.bundle.js create mode 100644 stories-grid-GridPinnedRow-stories.c6361456.iframe.bundle.js create mode 100644 stories-grid-GridPopoutContextMenu-stories.41051872.iframe.bundle.js create mode 100644 stories-grid-GridPopoutEditGeneric-stories.b2e9fc7b.iframe.bundle.js create mode 100644 stories-grid-GridPopoutEditGenericTextArea-stories.6c7e4ff1.iframe.bundle.js create mode 100644 stories-grid-GridPopoverEditBearing-stories.e3afd69f.iframe.bundle.js create mode 100644 stories-grid-GridPopoverEditDropDown-stories.61c3f6fb.iframe.bundle.js create mode 100644 stories-grid-GridPopoverEditMultiSelect-stories.d344ba3e.iframe.bundle.js create mode 100644 stories-grid-GridPopoverEditMultiSelectGrid-stories.4e644da2.iframe.bundle.js create mode 100644 stories-grid-GridReadOnly-stories.b34328b5.iframe.bundle.js create mode 100644 stories-grid-GridViewList-stories.66afdc89.iframe.bundle.js create mode 100644 stories-grid-gridFormInteraction-GridFormDropDownInteraction-stories.ea7d020d.iframe.bundle.js create mode 100644 stories-grid-gridFormInteraction-GridFormEditBearingCorrectionInteraction-stories.80a0cd36.iframe.bundle.js create mode 100644 stories-grid-gridFormInteraction-GridFormEditBearingInteraction-stories.1bbc1813.iframe.bundle.js create mode 100644 stories-grid-gridFormInteraction-GridFormMultiSelectGridInteraction-stories.a7159c28.iframe.bundle.js create mode 100644 stories-grid-gridFormInteraction-GridFormMultiSelectInteraction-stories.4840a195.iframe.bundle.js create mode 100644 stories-grid-gridFormInteraction-GridFormPopoverMenuInteraction-stories.5dac3320.iframe.bundle.js create mode 100644 stories-grid-gridFormInteraction-GridFormTextAreaInteraction-stories.a10c4e67.iframe.bundle.js create mode 100644 stories-grid-gridFormInteraction-GridFormTextInputInteraction-stories.a0f3ef4d.iframe.bundle.js create mode 100644 stories-grid-gridFormStatic-GridFormDropDown-stories.ee2a5589.iframe.bundle.js create mode 100644 stories-grid-gridFormStatic-GridFormEditBearing-stories.59bd8ab4.iframe.bundle.js create mode 100644 stories-grid-gridFormStatic-GridFormEditBearingCorrection-stories.adfb4012.iframe.bundle.js create mode 100644 stories-grid-gridFormStatic-GridFormMessage-stories.b3f4d535.iframe.bundle.js create mode 100644 stories-grid-gridFormStatic-GridFormMultiSelect-stories.8ab77f4e.iframe.bundle.js create mode 100644 stories-grid-gridFormStatic-GridFormPopoverMenu-stories.3823cb6b.iframe.bundle.js create mode 100644 stories-grid-gridFormStatic-GridFormTextArea-stories.35a51ad6.iframe.bundle.js create mode 100644 stories-grid-gridFormStatic-GridFormTextInput-stories.03c25856.iframe.bundle.js create mode 100644 stories-grid-interactions-GridKeyboardInteractions-stories.9514e248.iframe.bundle.js create mode 100644 stories-react-menu-ReactMenu-stories.b7c0b168.iframe.bundle.js diff --git a/1341.09345213.iframe.bundle.js b/1341.09345213.iframe.bundle.js new file mode 100644 index 00000000..8255188c --- /dev/null +++ b/1341.09345213.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_linzjs_step_ag_grid=self.webpackChunk_linzjs_step_ag_grid||[]).push([[1341],{"./node_modules/@mdx-js/react/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{MDXProvider:()=>MDXProvider,useMDXComponents:()=>useMDXComponents});var react=__webpack_require__("./node_modules/react/index.js");const emptyComponents={},MDXContext=react.createContext(emptyComponents);function useMDXComponents(components){const contextComponents=react.useContext(MDXContext);return react.useMemo((function(){return"function"==typeof components?components(contextComponents):{...contextComponents,...components}}),[contextComponents,components])}function MDXProvider(properties){let allComponents;return allComponents=properties.disableParentContext?"function"==typeof properties.components?properties.components(emptyComponents):properties.components||emptyComponents:useMDXComponents(properties.components),react.createElement(MDXContext.Provider,{value:allComponents},properties.children)}}}]); \ No newline at end of file diff --git a/1534.3c35ad22.iframe.bundle.js b/1534.3c35ad22.iframe.bundle.js new file mode 100644 index 00000000..6cf465f9 --- /dev/null +++ b/1534.3c35ad22.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunk_linzjs_step_ag_grid=self.webpackChunk_linzjs_step_ag_grid||[]).push([[1534],{"./src/components/Grid.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{r:()=>Grid});var ag_grid_community__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/ag-grid-community/dist/ag-grid-community.auto.esm.js"),ag_grid_react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/ag-grid-react/main.js"),clsx__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("./node_modules/clsx/dist/clsx.mjs"),lodash_es__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/lodash-es/isEmpty.js"),lodash_es__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./node_modules/lodash-es/xorBy.js"),lodash_es__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/lodash-es/last.js"),lodash_es__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./node_modules/lodash-es/difference.js"),lodash_es__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./node_modules/lodash-es/defer.js"),lodash_es__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("./node_modules/lodash-es/omit.js"),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),usehooks_ts__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./node_modules/usehooks-ts/dist/index.js"),_contexts_GridContext__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/contexts/GridContext.tsx"),_contexts_GridUpdatingContext__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/contexts/GridUpdatingContext.tsx"),_utils_util__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/utils/util.ts"),_GridNoRowsOverlay__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/components/GridNoRowsOverlay.tsx"),_PostSortRowsHook__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/components/PostSortRowsHook.ts"),_gridHeader__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./src/components/gridHeader/index.ts"),_gridHook__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./src/components/gridHook/index.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/react/jsx-runtime.js");const Grid=_ref=>{var _params$defaultColDef2,_params$defaultColDef4;let{"data-testid":dataTestId,rowSelection="multiple",suppressColumnVirtualization=!0,theme="ag-theme-step-default",sizeColumns="auto",selectColumnPinned=null,contextMenuSelectRow=!1,singleClickEdit=!1,rowData,rowHeight="ag-theme-step-default"===theme?40:"ag-theme-step-compact"===theme?36:40,...params}=_ref;const{gridReady,gridRenderState,setApis,ensureRowVisible,getFirstRowId,selectRowsById,focusByRowById,ensureSelectedRowIsVisible,autoSizeColumns,sizeColumnsToFit,externallySelectedItemsAreInSync,setExternallySelectedItemsAreInSync,isExternalFilterPresent,doesExternalFilterPass,setOnCellEditingComplete,getColDef,showNoRowsOverlay,prePopupOps,stopEditing}=(0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_contexts_GridContext__WEBPACK_IMPORTED_MODULE_3__._),{checkUpdating,updatedDep,updatingCols}=(0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_contexts_GridUpdatingContext__WEBPACK_IMPORTED_MODULE_4__.y),gridDivRef=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null),lastSelectedIds=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)([]),[staleGrid,setStaleGrid]=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(!1),[autoSized,setAutoSized]=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(!1),postSortRows=(0,_PostSortRowsHook__WEBPACK_IMPORTED_MODULE_7__.e)({setStaleGrid}),hasSetContentSize=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(!1),hasSetContentSizeEmpty=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(!1),needsAutoSize=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(!0),setInitialContentSize=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((()=>{var _gridDivRef$current;if(null===(_gridDivRef$current=gridDivRef.current)||void 0===_gridDivRef$current||!_gridDivRef$current.clientWidth||null==rowData)return void(needsAutoSize.current=!0);const gridRendered=gridRenderState();if(null===gridRendered)return void(needsAutoSize.current=!0);const skipHeader="auto-skip-headers"===sizeColumns&&"rows-visible"===gridRendered;if("auto"===sizeColumns||skipHeader){const result=autoSizeColumns({skipHeader,userSizedColIds:userSizedColIds.current,includeFlex:!0});"empty"===gridRendered?hasSetContentSizeEmpty.current||!result||hasSetContentSize.current||(hasSetContentSizeEmpty.current=!0,params.onContentSize&¶ms.onContentSize(result)):"rows-visible"===gridRendered?result&&!hasSetContentSize.current&&(hasSetContentSize.current=!0,params.onContentSize&¶ms.onContentSize(result)):console.error("Unknown value returned from hasGridRendered")}"none"!==sizeColumns&&sizeColumnsToFit(),setAutoSized(!0),needsAutoSize.current=!1}),[autoSizeColumns,gridRenderState,params,rowData,sizeColumns,sizeColumnsToFit]),lastOwnerDocumentRef=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();(0,usehooks_ts__WEBPACK_IMPORTED_MODULE_11__.Yz)((()=>{var _gridDivRef$current2;const currentDocument=null===(_gridDivRef$current2=gridDivRef.current)||void 0===_gridDivRef$current2?void 0:_gridDivRef$current2.ownerDocument;currentDocument!==lastOwnerDocumentRef.current&&(lastOwnerDocumentRef.current=currentDocument,currentDocument&&(needsAutoSize.current=!0)),needsAutoSize.current&&(needsAutoSize.current=!1,setInitialContentSize())}),200);const hasSelectedFirstItem=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(!1);(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)((()=>{if(gridReady&&!hasSelectedFirstItem.current&&rowData&&externallySelectedItemsAreInSync&&(hasSelectedFirstItem.current=!0,(0,_utils_util__WEBPACK_IMPORTED_MODULE_5__.UE)(rowData)&&(0,lodash_es__WEBPACK_IMPORTED_MODULE_12__.Z)(params.externalSelectedItems))){const firstRowId=getFirstRowId();params.autoSelectFirstRow?selectRowsById([firstRowId]):focusByRowById(firstRowId,!0)}}),[externallySelectedItemsAreInSync,focusByRowById,gridReady,params.externalSelectedItems,params.autoSelectFirstRow,rowData,selectRowsById,getFirstRowId]);const clickSelectorCheckboxWhenContainingCellClicked=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((_ref2=>{let{event}=_ref2;if(!event)return;const input=event.target.querySelector("input");null==input||input.dispatchEvent(event)}),[]),synchroniseExternalStateToGridSelection=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((_ref3=>{let{api}=_ref3;if(!params.externalSelectedItems||!params.setExternalSelectedItems)return void setExternallySelectedItemsAreInSync(!0);const selectedRows=api.getSelectedRows();params.externalSelectedItems.length!=selectedRows.length||(0,_utils_util__WEBPACK_IMPORTED_MODULE_5__.UE)((0,lodash_es__WEBPACK_IMPORTED_MODULE_13__.Z)(selectedRows,params.externalSelectedItems,(row=>row.id)))?(setExternallySelectedItemsAreInSync(!1),params.setExternalSelectedItems([...selectedRows])):setExternallySelectedItemsAreInSync(!0)}),[params,setExternallySelectedItemsAreInSync]),synchroniseExternallySelectedItemsToGrid=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((()=>{if(!gridReady)return;if(!params.externalSelectedItems)return void setExternallySelectedItemsAreInSync(!0);const selectedIds=params.externalSelectedItems.map((row=>row.id)),lastNewId=(0,lodash_es__WEBPACK_IMPORTED_MODULE_14__.Z)((0,lodash_es__WEBPACK_IMPORTED_MODULE_15__.Z)(selectedIds,lastSelectedIds.current));null!=lastNewId&&ensureRowVisible(lastNewId),lastSelectedIds.current=selectedIds,selectRowsById(selectedIds),setExternallySelectedItemsAreInSync(!0)}),[gridReady,params.externalSelectedItems,ensureRowVisible,selectRowsById,setExternallySelectedItemsAreInSync]);(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(synchroniseExternallySelectedItemsToGrid,[synchroniseExternallySelectedItemsToGrid]);const columnDefs=(0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)((()=>{const adjustColDefs=params.columnDefs.map((colDef=>{var _params$defaultColDef;const colDefEditable=colDef.editable,editable=function(){for(var _len=arguments.length,editables=new Array(_len),_key=0;_key<_len;_key++)editables[_key]=arguments[_key];return params=>{const results=editables.map((editable=>(0,_utils_util__WEBPACK_IMPORTED_MODULE_5__.Bx)(editable,params)));return!results.every((v=>null==v))&&!results.some((v=>0==v))}}(!0!==params.loading&&!0!==params.readOnly,null===(_params$defaultColDef=params.defaultColDef)||void 0===_params$defaultColDef?void 0:_params$defaultColDef.editable,colDefEditable);return{...colDef,editable,cellClassRules:{...colDef.cellClassRules,"GridCell-readonly":ccp=>!editable(ccp)}}}));return params.selectable||params.onRowDragEnd?[{colId:"selection",editable:!1,rowDrag:!!params.onRowDragEnd,minWidth:params.selectable&¶ms.onRowDragEnd?76:48,maxWidth:params.selectable&¶ms.onRowDragEnd?76:48,pinned:selectColumnPinned,headerComponentParams:{exportable:!1},checkboxSelection:params.selectable,headerComponent:"multiple"===rowSelection?_gridHeader__WEBPACK_IMPORTED_MODULE_8__.W:null,suppressHeaderKeyboardEvent:e=>!!params.selectable&&(!("Enter"!==e.event.key&&" "!==e.event.key||e.event.repeat)&&((0,lodash_es__WEBPACK_IMPORTED_MODULE_12__.Z)(e.api.getSelectedRows())?e.api.selectAllFiltered():e.api.deselectAll(),!0)),onCellClicked:clickSelectorCheckboxWhenContainingCellClicked},...adjustColDefs]:adjustColDefs}),[params.columnDefs,params.selectable,params.onRowDragEnd,params.loading,params.readOnly,null===(_params$defaultColDef2=params.defaultColDef)||void 0===_params$defaultColDef2?void 0:_params$defaultColDef2.editable,selectColumnPinned,rowSelection,clickSelectorCheckboxWhenContainingCellClicked]),onGridReady=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((event=>{setApis(event.api,event.columnApi,dataTestId),event.api.showNoRowsOverlay(),synchroniseExternallySelectedItemsToGrid()}),[dataTestId,setApis,synchroniseExternallySelectedItemsToGrid]),previousRowDataLength=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(0),onRowDataChanged=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((()=>{var _rowData$length;const length=null!==(_rowData$length=null==rowData?void 0:rowData.length)&&void 0!==_rowData$length?_rowData$length:0;if(previousRowDataLength.current!==length&&(setInitialContentSize(),previousRowDataLength.current=length),lastUpdatedDep.current===updatedDep||(0,lodash_es__WEBPACK_IMPORTED_MODULE_12__.Z)(colIdsEdited.current))return;if(lastUpdatedDep.current=updatedDep,!(0,lodash_es__WEBPACK_IMPORTED_MODULE_12__.Z)(updatingCols()))return;autoSizeColumns({skipHeader:"auto-skip-headers"===sizeColumns,userSizedColIds:userSizedColIds.current,colIds:colIdsEdited.current}),colIdsEdited.current.clear()}),[autoSizeColumns,null==rowData?void 0:rowData.length,setInitialContentSize,sizeColumns,updatedDep,updatingCols]),onModelUpdated=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((event=>{event.api.showNoRowsOverlay()}),[]),refreshSelectedRows=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((event=>{event.api.refreshCells({force:!0,rowNodes:event.api.getSelectedNodes()})}),[]),startCellEditing=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((event=>{var _event$colDef$field;prePopupOps(),event.node.isSelected()||event.node.setSelected(!0,!0),checkUpdating([null!==(_event$colDef$field=event.colDef.field)&&void 0!==_event$colDef$field?_event$colDef$field:""],event.data.id)||null!==event.rowIndex&&event.api.startEditingCell({rowIndex:event.rowIndex,colKey:event.column.getColId()})}),[checkUpdating,prePopupOps]),onCellDoubleClick=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((event=>{invokeEditAction(event)||startCellEditing(event)}),[startCellEditing]),onCellClicked=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((event=>{var _event$colDef$cellRen,_event$colDef,_event$colDef$cellRen2;(null!==(_event$colDef$cellRen=null===(_event$colDef=event.colDef)||void 0===_event$colDef||null===(_event$colDef$cellRen2=_event$colDef.cellRendererParams)||void 0===_event$colDef$cellRen2?void 0:_event$colDef$cellRen2.singleClickEdit)&&void 0!==_event$colDef$cellRen?_event$colDef$cellRen:singleClickEdit)&&startCellEditing(event)}),[singleClickEdit,startCellEditing]),invokeEditAction=e=>{var _e$colDef,_e$colDef$cellRendere,_e$colDef2;const editAction=null===(_e$colDef=e.colDef)||void 0===_e$colDef||null===(_e$colDef$cellRendere=_e$colDef.cellRendererParams)||void 0===_e$colDef$cellRendere?void 0:_e$colDef$cellRendere.editAction;if(!editAction)return!1;return(0,_utils_util__WEBPACK_IMPORTED_MODULE_5__.Bx)(null===(_e$colDef2=e.colDef)||void 0===_e$colDef2?void 0:_e$colDef2.editable,e)&&(e.node.isSelected()||e.node.setSelected(!0,!0),editAction([e.data,...e.api.getSelectedRows().filter((row=>row.id!==e.data.id))])),!0},onCellKeyPress=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((e=>{"Enter"===e.event.key&&(invokeEditAction(e)||startCellEditing(e))}),[startCellEditing]),columnDefsAdjusted=(0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)((()=>{const adjustColDefOrGroup=colDef=>"children"in colDef?adjustGroupColDef(colDef):adjustColDef(colDef),adjustGroupColDef=colDef=>({...colDef,children:colDef.children.map((colDef=>adjustColDefOrGroup(colDef)))}),adjustColDef=colDef=>{var _params$defaultColDef3;return{...colDef,suppressSizeToFit:("auto"===sizeColumns||"auto-skip-headers"===sizeColumns)&&!colDef.flex,sortable:colDef.sortable&&!1!==(null===(_params$defaultColDef3=params.defaultColDef)||void 0===_params$defaultColDef3?void 0:_params$defaultColDef3.sortable)}};return columnDefs.map((colDef=>adjustColDefOrGroup(colDef)))}),[columnDefs,null===(_params$defaultColDef4=params.defaultColDef)||void 0===_params$defaultColDef4?void 0:_params$defaultColDef4.sortable,sizeColumns]),colIdsEdited=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(new Set),lastUpdatedDep=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(updatedDep);(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)((()=>{if(lastUpdatedDep.current===updatedDep)return;lastUpdatedDep.current=updatedDep;const colIds=updatingCols();if((0,lodash_es__WEBPACK_IMPORTED_MODULE_12__.Z)(colIds)){if(!(0,lodash_es__WEBPACK_IMPORTED_MODULE_12__.Z)(colIdsEdited.current)){const skipHeader="auto-skip-headers"===sizeColumns;("auto"===sizeColumns||skipHeader)&&(0,lodash_es__WEBPACK_IMPORTED_MODULE_16__.Z)((()=>autoSizeColumns({skipHeader,userSizedColIds:userSizedColIds.current,colIds:colIdsEdited.current}))),colIdsEdited.current.clear()}}else colIds.forEach((colId=>{var _getColDef;!colId||null!==(_getColDef=getColDef(colId))&&void 0!==_getColDef&&_getColDef.flex||colIdsEdited.current.add(colId)}))}),[autoSizeColumns,getColDef,sizeColumns,updatedDep,updatingCols]);const prevLoading=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(!1);(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)((()=>{const newLoading=!rowData||!0===params.loading;newLoading&&!prevLoading.current&&(stopEditing(),showNoRowsOverlay()),prevLoading.current=newLoading}),[params.loading,rowData,showNoRowsOverlay,stopEditing]);const onGridSizeChanged=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((()=>{"none"!==sizeColumns&&sizeColumnsToFit()}),[sizeColumns,sizeColumnsToFit]),userSizedColIds=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(new Set),onColumnResized=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((e=>{var _e$column;const colId=null===(_e$column=e.column)||void 0===_e$column?void 0:_e$column.getColId();if(null!=colId)switch(e.source){case"uiColumnDragged":userSizedColIds.current.add(colId);break;case"autosizeColumns":userSizedColIds.current.delete(colId)}}),[]),gridContextMenu=(0,_gridHook__WEBPACK_IMPORTED_MODULE_9__.I)({contextMenu:params.contextMenu,contextMenuSelectRow}),onRowDragLeave=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((event=>{event.api.getModel().highlightRowAtPixel(null)}),[]),onRowDragMove=(0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((event=>{if(event.overNode&&null!=event.node.rowIndex){const clientSideRowModel=event.api.getModel(),position=clientSideRowModel.getHighlightPosition(event.y,event.overNode),targetIndex=event.overIndex+position-(event.node.rowIndex{const clientSideRowModel=event.api.getModel();if(null!=event.node.rowIndex){var _event$overNode;const lastHighlightedRowNode=clientSideRowModel.getLastHighlightedRowNode(),isBelow=lastHighlightedRowNode&&lastHighlightedRowNode.highlighted===ag_grid_community__WEBPACK_IMPORTED_MODULE_0__.RowHighlightPosition.Below;let targetIndex=event.overIndex;event.node.rowIndex>event.overIndex?targetIndex+=isBelow?1:0:targetIndex+=isBelow?0:-1;const moved=event.node.data,target=null===(_event$overNode=event.overNode)||void 0===_event$overNode?void 0:_event$overNode.data;moved.id!=target.id&&event.node.rowIndex!=targetIndex&¶ms.onRowDragEnd&&await params.onRowDragEnd(moved,target,targetIndex)}clientSideRowModel.highlightRowAtPixel(null)}),[params]);setOnCellEditingComplete(params.onCellEditingComplete);const headerRowCount=columnDefs.some((c=>c.children))?2:1;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div",{"data-testid":dataTestId,className:(0,clsx__WEBPACK_IMPORTED_MODULE_17__.Z)("Grid-container",theme,"theme-specific",staleGrid&&"Grid-sortIsStale",gridReady&&rowData&&autoSized&&"Grid-ready"),children:[gridContextMenu.component,(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div",{style:{flex:1},ref:gridDivRef,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(ag_grid_react__WEBPACK_IMPORTED_MODULE_1__.AgGridReact,{rowHeight,animateRows:params.animateRows,rowClassRules:params.rowClassRules,getRowId:params=>"".concat(params.data.id),suppressRowClickSelection:!0,rowSelection,suppressBrowserResizeObserver:!0,onGridSizeChanged,suppressColumnVirtualisation:suppressColumnVirtualization,suppressClickEdit:!0,onColumnVisible:()=>{setInitialContentSize()},onRowDataUpdated:onRowDataChanged,onCellKeyDown:onCellKeyPress,onCellClicked,onCellDoubleClicked:onCellDoubleClick,onCellEditingStarted:refreshSelectedRows,domLayout:params.domLayout,onColumnResized,defaultColDef:{minWidth:48,...(0,lodash_es__WEBPACK_IMPORTED_MODULE_18__.Z)(params.defaultColDef,["editable"])},columnDefs:columnDefsAdjusted,rowData,noRowsOverlayComponent:event=>{let rowCount=0;return event.api.forEachNode((()=>rowCount++)),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_GridNoRowsOverlay__WEBPACK_IMPORTED_MODULE_6__.Z,{loading:!rowData||!0===params.loading,rowCount,headerRowHeight:headerRowCount*rowHeight,filteredRowCount:event.api.getDisplayedRowCount(),noRowsOverlayText:params.noRowsOverlayText,noRowsMatchingOverlayText:params.noRowsMatchingOverlayText})},onModelUpdated,onGridReady,onSortChanged:ensureSelectedRowIsVisible,postSortRows:params.onRowDragEnd?void 0:postSortRows,onSelectionChanged:synchroniseExternalStateToGridSelection,onColumnMoved:params.onColumnMoved,alwaysShowVerticalScroll:params.alwaysShowVerticalScroll,isExternalFilterPresent,doesExternalFilterPass,maintainColumnOrder:!0,preventDefaultOnContextMenu:!0,onCellContextMenu:gridContextMenu.cellContextMenu,rowDragText:params.rowDragText,onRowDragMove,onRowDragEnd,onRowDragLeave,suppressCellFocus:params.suppressCellFocus,pinnedTopRowData:params.pinnedTopRowData,pinnedBottomRowData:params.pinnedBottomRowData})})]})};try{Grid.displayName="Grid",Grid.__docgenInfo={description:"Wrapper for AgGrid to add commonly used functionality.",displayName:"Grid",props:{readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"boolean"}},selectable:{defaultValue:null,description:"",name:"selectable",required:!1,type:{name:"boolean"}},theme:{defaultValue:{value:"ag-theme-step-default"},description:"",name:"theme",required:!1,type:{name:"string"}},"data-testid":{defaultValue:null,description:"",name:"data-testid",required:!1,type:{name:"string"}},domLayout:{defaultValue:null,description:"",name:"domLayout",required:!1,type:{name:"enum",value:[{value:'"normal"'},{value:'"autoHeight"'},{value:'"print"'}]}},externalSelectedItems:{defaultValue:null,description:"",name:"externalSelectedItems",required:!1,type:{name:"any[]"}},setExternalSelectedItems:{defaultValue:null,description:"",name:"setExternalSelectedItems",required:!1,type:{name:"((items: any[]) => void)"}},defaultColDef:{defaultValue:null,description:"",name:"defaultColDef",required:!1,type:{name:"ColDef"}},columnDefs:{defaultValue:null,description:"",name:"columnDefs",required:!0,type:{name:"ColDef[]"}},rowData:{defaultValue:null,description:"",name:"rowData",required:!0,type:{name:"any[] | null | undefined"}},selectColumnPinned:{defaultValue:{value:"null"},description:'Whether select column is pinned. Defaults to "left".',name:"selectColumnPinned",required:!1,type:{name:'boolean | "left" | "right" | null'}},noRowsOverlayText:{defaultValue:null,description:"",name:"noRowsOverlayText",required:!1,type:{name:"string"}},noRowsMatchingOverlayText:{defaultValue:null,description:"",name:"noRowsMatchingOverlayText",required:!1,type:{name:"string"}},animateRows:{defaultValue:null,description:"",name:"animateRows",required:!1,type:{name:"boolean"}},rowHeight:{defaultValue:{value:'theme === "ag-theme-step-default" ? 40 : theme === "ag-theme-step-compact" ? 36 : 40'},description:"",name:"rowHeight",required:!1,type:{name:"number"}},rowClassRules:{defaultValue:null,description:"",name:"rowClassRules",required:!1,type:{name:"RowClassRules"}},rowSelection:{defaultValue:{value:"multiple"},description:"",name:"rowSelection",required:!1,type:{name:"enum",value:[{value:'"single"'},{value:'"multiple"'}]}},autoSelectFirstRow:{defaultValue:null,description:"",name:"autoSelectFirstRow",required:!1,type:{name:"boolean"}},onColumnMoved:{defaultValue:null,description:"",name:"onColumnMoved",required:!1,type:{name:"((event: ColumnMovedEvent) => void)"}},rowDragText:{defaultValue:null,description:"",name:"rowDragText",required:!1,type:{name:"((params: IRowDragItem, dragItemCount: number) => string)"}},onRowDragEnd:{defaultValue:null,description:"",name:"onRowDragEnd",required:!1,type:{name:"((movedRow: any, targetRow: any, targetIndex: number) => Promise)"}},alwaysShowVerticalScroll:{defaultValue:null,description:"",name:"alwaysShowVerticalScroll",required:!1,type:{name:"boolean"}},suppressColumnVirtualization:{defaultValue:{value:"true"},description:"",name:"suppressColumnVirtualization",required:!1,type:{name:"boolean"}},onContentSize:{defaultValue:null,description:'When the grid is rendered using sizeColumns=="auto" this is called initially with the required container size to fit all content.\nThis allows you set the size of the panel to fit perfectly.',name:"onContentSize",required:!1,type:{name:"((props: { width: number; }) => void)"}},sizeColumns:{defaultValue:{value:"auto"},description:'
    \n
  • "none" to use aggrid defaults.
  • \n
  • "fit" will adjust columns to fit within panel via min/max/initial sizing.\nNote: This is only really needed if you have auto-height columns which prevents "auto" from working.\n
  • \n
  • "auto" will size columns based on their content but still obeying min/max sizing.
  • \n
  • "auto-skip-headers" (default) same as auto but does not take headers into account.
  • \n
\n\nIf you want to stretch to container width if width is greater than the container add a flex column.',name:"sizeColumns",required:!1,type:{name:"enum",value:[{value:'"fit"'},{value:'"auto"'},{value:'"auto-skip-headers"'},{value:'"none"'}]}},onCellEditingComplete:{defaultValue:null,description:"When pressing tab whilst editing the grid will select and edit the next cell if available.\nOnce the last cell to edit closes this callback is called.",name:"onCellEditingComplete",required:!1,type:{name:"(() => void)"}},contextMenu:{defaultValue:null,description:"Context menu definition if required.",name:"contextMenu",required:!1,type:{name:"GridContextMenuComponent"}},contextMenuSelectRow:{defaultValue:{value:"false"},description:"Whether to select row on context menu.",name:"contextMenuSelectRow",required:!1,type:{name:"boolean"}},singleClickEdit:{defaultValue:{value:"false"},description:"Defaults to false.",name:"singleClickEdit",required:!1,type:{name:"boolean"}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"boolean"}},suppressCellFocus:{defaultValue:null,description:"",name:"suppressCellFocus",required:!1,type:{name:"boolean"}},pinnedTopRowData:{defaultValue:null,description:"",name:"pinnedTopRowData",required:!1,type:{name:"any[]"}},pinnedBottomRowData:{defaultValue:null,description:"",name:"pinnedBottomRowData",required:!1,type:{name:"any[]"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/Grid.tsx#Grid"]={docgenInfo:Grid.__docgenInfo,name:"Grid",path:"src/components/Grid.tsx#Grid"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/GridNoRowsOverlay.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>GridNoRowsOverlay});var _linzjs_lui__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@linzjs/lui/dist/lui.esm.js"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js");const GridLoadingOverlayComponent=props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{left:0,top:0,bottom:0,right:0,position:"absolute",backgroundColor:"rgba(255,255,255,0.5)"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{height:"100%",position:"relative"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{position:"absolute",left:0,top:props.headerRowHeight,right:0,bottom:0},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_linzjs_lui__WEBPACK_IMPORTED_MODULE_0__.Ri,{})})})}),GridNoRowsOverlay=props=>{var _props$noRowsOverlayT,_props$noRowsMatching;return props.loading?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(GridLoadingOverlayComponent,{headerRowHeight:props.headerRowHeight}):0===props.rowCount?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{children:null!==(_props$noRowsOverlayT=props.noRowsOverlayText)&&void 0!==_props$noRowsOverlayT?_props$noRowsOverlayT:"There are currently no rows"}):0===props.filteredRowCount?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{children:null!==(_props$noRowsMatching=props.noRowsMatchingOverlayText)&&void 0!==_props$noRowsMatching?_props$noRowsMatching:"All rows have been filtered"}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("span",{})};try{GridNoRowsOverlay.displayName="GridNoRowsOverlay",GridNoRowsOverlay.__docgenInfo={description:"",displayName:"GridNoRowsOverlay",props:{loading:{defaultValue:null,description:"",name:"loading",required:!0,type:{name:"boolean"}},rowCount:{defaultValue:null,description:"",name:"rowCount",required:!0,type:{name:"number | null | undefined"}},filteredRowCount:{defaultValue:null,description:"",name:"filteredRowCount",required:!0,type:{name:"number"}},noRowsOverlayText:{defaultValue:null,description:"",name:"noRowsOverlayText",required:!0,type:{name:"string | undefined"}},noRowsMatchingOverlayText:{defaultValue:null,description:"",name:"noRowsMatchingOverlayText",required:!0,type:{name:"string | undefined"}},headerRowHeight:{defaultValue:null,description:"",name:"headerRowHeight",required:!0,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/GridNoRowsOverlay.tsx#GridNoRowsOverlay"]={docgenInfo:GridNoRowsOverlay.__docgenInfo,name:"GridNoRowsOverlay",path:"src/components/GridNoRowsOverlay.tsx#GridNoRowsOverlay"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/PostSortRowsHook.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{e:()=>usePostSortRowsHook});var lodash_es__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/lodash-es/isEmpty.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_contexts_GridContext__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/contexts/GridContext.tsx");const usePostSortRowsHook=_ref=>{let{setStaleGrid}=_ref;const{redrawRows}=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_contexts_GridContext__WEBPACK_IMPORTED_MODULE_1__._),initialised=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1),lastSortOrderHash=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(""),previousRowSortIndexRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)({}),sortWasStale=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1),previousColSort=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)([]),previousQuickFilter=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)("");return(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((_ref2=>{let{api,columnApi,nodes}=_ref2;if(!api||!columnApi)return;const previousRowSortIndex=previousRowSortIndexRef.current,hashNode=node=>node?JSON.stringify(node.data):"",copyCurrentSortSettings=()=>columnApi.getColumnState().map((row=>({colId:row.colId,sort:row.sort,sortIndex:row.sortIndex}))),backupSortOrder=()=>{for(const x in previousRowSortIndex)delete previousRowSortIndex[x];nodes.forEach(((node,index)=>previousRowSortIndex["".concat(node.data.id)]={index,hash:hashNode(node)}))},isFirstSortColumn=row=>{var _row$sortIndex;return row.sort&&[0,null].includes(null!==(_row$sortIndex=row.sortIndex)&&void 0!==_row$sortIndex?_row$sortIndex:null)};initialised.current||(initialised.current=!0,previousColSort.current=copyCurrentSortSettings());const newSortOrder=JSON.stringify(copyCurrentSortSettings());let sortOrderChanged=newSortOrder!=lastSortOrderHash.current;const quickFilter=api.filterManager.quickFilter;if(previousQuickFilter.current!=quickFilter&&(previousQuickFilter.current=quickFilter,sortOrderChanged=!0),(0,lodash_es__WEBPACK_IMPORTED_MODULE_2__.Z)(previousRowSortIndex)&&backupSortOrder(),sortOrderChanged){const thisFirstCol=copyCurrentSortSettings().find(isFirstSortColumn),previousFirstCol=previousColSort.current.find(isFirstSortColumn),wasSortChangedOnSameColumn=previousFirstCol&&(!thisFirstCol||(col2=thisFirstCol,(col1=previousFirstCol)&&col2&&col1.colId===col2.colId&&col1.sort!=col2.sort));sortWasStale.current&&wasSortChangedOnSameColumn?(sortWasStale.current=!1,setStaleGrid(!1),lastSortOrderHash.current="",columnApi.applyColumnState({state:previousColSort.current})):(sortWasStale.current&&(sortWasStale.current=!1,setStaleGrid(!1)),backupSortOrder(),lastSortOrderHash.current=newSortOrder)}else{let lastNewNode,firstChangedNodeIndex=-1,changedRowCount=0,newRowCount=0,index=0;for(const node of nodes){const psr=previousRowSortIndex["".concat(node.data.id)];psr?psr.hash!=hashNode(node)&&(-1===firstChangedNodeIndex&&(firstChangedNodeIndex=index),changedRowCount++):(lastNewNode=node,newRowCount++),index++}let wasStale=!1;if(0===changedRowCount&&1===newRowCount){var _lastNewNode;const newIndex=index-1;previousRowSortIndex["".concat(null===(_lastNewNode=lastNewNode)||void 0===_lastNewNode?void 0:_lastNewNode.data.id)]={index:newIndex,hash:hashNode(lastNewNode)},wasStale=!0}else if(2===changedRowCount&&0===newRowCount)backupSortOrder(),wasStale=!1;else if(changedRowCount>1&&1===newRowCount){var _lastNewNode2;previousRowSortIndex["".concat(null===(_lastNewNode2=lastNewNode)||void 0===_lastNewNode2?void 0:_lastNewNode2.data.id)]={index:firstChangedNodeIndex+.5,hash:hashNode(lastNewNode)},wasStale=!0,lastNewNode&&redrawRows()}else 1==changedRowCount&&0===newRowCount?wasStale=!0:0===changedRowCount&&0==newRowCount||backupSortOrder();if(wasStale){const stillStale=Object.keys(previousRowSortIndex).length!=nodes.length||nodes.some(((node,index)=>{var _previousRowSortIndex5;return(null===(_previousRowSortIndex5=previousRowSortIndex["".concat(node.data.id)])||void 0===_previousRowSortIndex5?void 0:_previousRowSortIndex5.index)!==index}));stillStale&&!sortWasStale.current&&(previousColSort.current=copyCurrentSortSettings(),sortWasStale.current=!0,setStaleGrid(!0))}nodes.sort(((a,b)=>{var _previousRowSortIndex,_previousRowSortIndex2,_previousRowSortIndex3,_previousRowSortIndex4;return(null!==(_previousRowSortIndex=null===(_previousRowSortIndex2=previousRowSortIndex["".concat(a.data.id)])||void 0===_previousRowSortIndex2?void 0:_previousRowSortIndex2.index)&&void 0!==_previousRowSortIndex?_previousRowSortIndex:Number.MAX_SAFE_INTEGER)-(null!==(_previousRowSortIndex3=null===(_previousRowSortIndex4=previousRowSortIndex["".concat(b.data.id)])||void 0===_previousRowSortIndex4?void 0:_previousRowSortIndex4.index)&&void 0!==_previousRowSortIndex3?_previousRowSortIndex3:Number.MAX_SAFE_INTEGER)}))}var col1,col2}),[redrawRows,setStaleGrid])}},"./src/components/gridHeader/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{W:()=>GridHeaderSelect});var clsx=__webpack_require__("./node_modules/clsx/dist/clsx.mjs"),react=__webpack_require__("./node_modules/react/index.js"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const GridHeaderSelect=_ref=>{let{api}=_ref;const[updateCounter,setUpdateCounter]=(0,react.useState)(0),selectedNodeCount=api.getSelectedRows().length,clickHandler=(0,react.useCallback)((()=>{setUpdateCounter(updateCounter+1)}),[updateCounter]);(0,react.useEffect)((()=>(api.addEventListener("selectionChanged",clickHandler),()=>api.removeEventListener("selectionChanged",clickHandler))),[api,clickHandler]);const totalNodeCount=api.getModel().getRowCount(),partialSelect=0!=selectedNodeCount&&selectedNodeCount!=totalNodeCount,allSelected=0!=selectedNodeCount&&selectedNodeCount==totalNodeCount;return(0,jsx_runtime.jsx)("div",{className:(0,clsx.Z)("ag-wrapper ag-input-wrapper ag-checkbox-input-wrapper",partialSelect&&"ag-indeterminate",allSelected&&"ag-checked"),onClick:()=>{0==selectedNodeCount?api.selectAllFiltered():api.deselectAll()},children:(0,jsx_runtime.jsx)("input",{type:"checkbox",className:"ag-checkbox-input-wrapper",onChange:()=>{}})})};try{GridHeaderSelect.displayName="GridHeaderSelect",GridHeaderSelect.__docgenInfo={description:"AgGrid's existing select header doesn't work the way we want.\nIf you have partial select then clicking the header checkbox will select all,\nbut we want to deselect all on partial select.",displayName:"GridHeaderSelect",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/gridHeader/GridHeaderSelect.tsx#GridHeaderSelect"]={docgenInfo:GridHeaderSelect.__docgenInfo,name:"GridHeaderSelect",path:"src/components/gridHeader/GridHeaderSelect.tsx#GridHeaderSelect"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/gridHook/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{I:()=>useGridContextMenu});var react=__webpack_require__("./node_modules/react/index.js"),GridContext=__webpack_require__("./src/contexts/GridContext.tsx"),react_menu3=__webpack_require__("./src/react-menu3/index.ts"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const useGridContextMenu=_ref=>{let{contextMenuSelectRow,contextMenu:ContextMenu}=_ref;const{redrawRows,prePopupOps,postPopupOps,getSelectedRows}=(0,react.useContext)(GridContext._),[isOpen,setOpen]=(0,react.useState)(!1),[anchorPoint,setAnchorPoint]=(0,react.useState)({x:0,y:0}),clickedColDefRef=(0,react.useRef)(null),selectedRowsRef=(0,react.useRef)([]),clickedRowRef=(0,react.useRef)(null),openMenu=(0,react.useCallback)((e=>{e&&(prePopupOps(),setAnchorPoint({x:e.clientX,y:e.clientY}),setOpen(!0))}),[prePopupOps]),closeMenu=(0,react.useCallback)((()=>{setOpen(!1),redrawRows(),postPopupOps()}),[postPopupOps,redrawRows]),cellContextMenu=(0,react.useCallback)((event=>{contextMenuSelectRow&&!event.node.isSelected()&&event.node.setSelected(!0,!0),clickedColDefRef.current=event.colDef,selectedRowsRef.current=getSelectedRows(),clickedRowRef.current=event.data,openMenu(event.event)}),[contextMenuSelectRow,getSelectedRows,openMenu]);return{openMenu,cellContextMenu,component:ContextMenu?(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:(0,jsx_runtime.jsx)(react_menu3.Bp,{anchorPoint,state:isOpen?"open":"closed",direction:"right",onClose:closeMenu,children:isOpen&&(0,jsx_runtime.jsx)(ContextMenu,{selectedRows:selectedRowsRef.current,clickedRow:clickedRowRef.current,colDef:clickedColDefRef.current,close:closeMenu})})}):null}};try{useGridContextMenu.displayName="useGridContextMenu",useGridContextMenu.__docgenInfo={description:"",displayName:"useGridContextMenu",props:{contextMenuSelectRow:{defaultValue:null,description:"",name:"contextMenuSelectRow",required:!0,type:{name:"boolean"}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"GridContextMenuComponent"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/gridHook/useGridContextMenu.tsx#useGridContextMenu"]={docgenInfo:useGridContextMenu.__docgenInfo,name:"useGridContextMenu",path:"src/components/gridHook/useGridContextMenu.tsx#useGridContextMenu"})}catch(__react_docgen_typescript_loader_error){}},"./src/contexts/GridContext.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>GridContext});const GridContext=(0,__webpack_require__("./node_modules/react/index.js").createContext)({gridReady:!1,gridRenderState:()=>null,getColDef:()=>{console.error("no context provider for getColDef")},getColumns:()=>(console.error("no context provider for getColumns"),[]),getColumnIds:()=>(console.error("no context provider for getColumnIds"),[]),invisibleColumnIds:void 0,setInvisibleColumnIds:()=>{console.error("no context provider for setInvisibleColumnIds")},prePopupOps:()=>{console.error("no context provider for prePopupOps")},postPopupOps:()=>{console.error("no context provider for prePopupOps")},externallySelectedItemsAreInSync:!1,setApis:()=>{console.error("no context provider for setApis")},setQuickFilter:()=>{console.error("no context provider for setQuickFilter")},selectRowsById:()=>{console.error("no context provider for selectRows")},getSelectedRows:()=>(console.error("no context provider for getSelectedRows"),[]),getFilteredSelectedRows:()=>(console.error("no context provider for getFilteredSelectedRows"),[]),getSelectedRowIds:()=>(console.error("no context provider for getSelectedRowIds"),[]),getFilteredSelectedRowIds:()=>(console.error("no context provider for getFilteredSelectedRowIds"),[]),selectRowsDiff:async()=>{console.error("no context provider for selectRowsDiff")},selectRowsByIdWithFlash:()=>{console.error("no context provider for selectRowsWithFlash")},selectRowsWithFlashDiff:async()=>{console.error("no context provider for selectRowsWithFlashDiff")},flashRows:()=>{console.error("no context provider for flashRows")},flashRowsDiff:async()=>{console.error("no context provider for flashRows")},focusByRowById:async()=>{console.error("no context provider for focusByRowById")},ensureRowVisible:()=>(console.error("no context provider for ensureRowVisible"),!0),ensureSelectedRowIsVisible:()=>{console.error("no context provider for ensureSelectedRowIsVisible")},getFirstRowId:()=>(console.error("no context provider for getFirstRowId"),-1),autoSizeColumns:()=>(console.error("no context provider for autoSizeColumns"),null),sizeColumnsToFit:()=>(console.error("no context provider for autoSizeAllColumns"),null),editingCells:()=>(console.error("no context provider for editingCells"),!1),cancelEdit:()=>{console.error("no context provider for cancelEdit")},startCellEditing:()=>{console.error("no context provider for startCellEditing")},stopEditing:()=>{console.error("no context provider for stopEditing")},updatingCells:async()=>(console.error("no context provider for modifyUpdating"),!1),redrawRows:()=>{console.error("no context provider for redrawRows")},setExternallySelectedItemsAreInSync:()=>{console.error("no context provider for setExternallySelectedItemsAreInSync")},waitForExternallySelectedItemsToBeInSync:async()=>{console.error("no context provider for waitForExternallySelectedItemsToBeInSync")},addExternalFilter:()=>{console.error("no context provider for addExternalFilter")},removeExternalFilter:()=>{console.error("no context provider for removeExternalFilter")},isExternalFilterPresent:()=>(console.error("no context provider for isExternalFilterPresent"),!1),doesExternalFilterPass:()=>(console.error("no context provider for doesExternalFilterPass"),!0),downloadCsv:()=>{console.error("no context provider for downloadCsv")},setOnCellEditingComplete:()=>{console.error("no context provider for setOnCellEditingComplete")},showNoRowsOverlay:()=>{console.error("no context provider for showLoadingOverlay")}})},"./src/contexts/GridUpdatingContext.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{y:()=>GridUpdatingContext});const GridUpdatingContext=(0,__webpack_require__("./node_modules/react/index.js").createContext)({checkUpdating:()=>(console.error("Missing GridUpdatingContext"),!1),updatingCols:()=>(console.error("Missing GridUpdatingContext"),[]),modifyUpdating:async()=>{console.error("Missing GridUpdatingContext")},updatedDep:0})},"./src/react-menu3/contexts/HoverItemContext.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>HoverItemContext});const HoverItemContext=(0,__webpack_require__("./node_modules/react/index.js").createContext)(void 0)},"./src/react-menu3/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Bp:()=>ControlledMenu,su:()=>FocusableItem,v2:()=>Menu,j2:()=>MenuButton,R:()=>MenuDivider,ti:()=>MenuHeader,sN:()=>MenuItem,Wd:()=>SubMenu});var react=__webpack_require__("./node_modules/react/index.js");const useBEM_useBEM=_ref=>{let{block,element,modifiers,className}=_ref;return(0,react.useMemo)((()=>{const blockElement=element?"".concat(block,"__").concat(element):block;let classString=blockElement;modifiers&&Object.keys(modifiers).forEach((name=>{const value=modifiers[name];value&&(classString+=" ".concat(blockElement,"--").concat(!0===value?name:"".concat(name,"-").concat(value)))}));let expandedClassName="function"==typeof className?className(modifiers):className;return"string"==typeof expandedClassName&&(expandedClassName=expandedClassName.trim(),expandedClassName&&(classString+=" ".concat(expandedClassName))),classString}),[block,element,modifiers,className])},setRef=(ref,instance)=>{"function"==typeof ref?ref(instance):ref&&(ref.current=instance)},useCombinedRef_useCombinedRef=(refA,refB)=>(0,react.useMemo)((()=>instance=>{setRef(refA,instance),setRef(refB,instance)}),[refA,refB]),useIsomorphicLayoutEffect="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?react.useLayoutEffect:react.useEffect;var defer=__webpack_require__("./node_modules/lodash-es/defer.js"),utils=__webpack_require__("./src/react-menu3/utils/index.ts");const useItemEffect=(isDisabled,menuItemRef,updateItems)=>{useIsomorphicLayoutEffect((()=>{if(!menuItemRef)return;if(isDisabled)return;const item=menuItemRef.current;return updateItems(item,!0),()=>{updateItems(item)}}),[isDisabled,menuItemRef,updateItems])},ItemSettingsContext=(0,react.createContext)({submenuOpenDelay:0,submenuCloseDelay:0}),MenuListItemContext=(0,react.createContext)({dispatch:()=>{},updateItems:()=>{},setOpenSubmenuCount:()=>0}),useItemState=(menuItemRef,focusRef,isHovering,isDisabled)=>{const{submenuCloseDelay}=(0,react.useContext)(ItemSettingsContext),{isParentOpen,isSubmenuOpen,dispatch,updateItems}=(0,react.useContext)(MenuListItemContext),timeoutId=(0,react.useRef)(),setHover=()=>{!isHovering&&!isDisabled&&dispatch(utils.$U.SET,null==menuItemRef?void 0:menuItemRef.current,0)},unsetHover=()=>{!isDisabled&&dispatch(utils.$U.UNSET,null==menuItemRef?void 0:menuItemRef.current,0)};return useItemEffect(isDisabled,menuItemRef,updateItems),(0,react.useEffect)((()=>()=>clearTimeout(timeoutId.current)),[]),(0,react.useEffect)((()=>{isHovering&&isParentOpen&&(null==focusRef?void 0:focusRef.current)&&focusRef.current.focus()}),[focusRef,isHovering,isParentOpen]),{setHover,onBlur:e=>{isHovering&&!e.currentTarget.contains(e.relatedTarget)&&unsetHover()},onPointerMove:()=>{isSubmenuOpen?timeoutId.current||(timeoutId.current=setTimeout((()=>{timeoutId.current=void 0,setHover()}),submenuCloseDelay)):setHover()},onPointerLeave:(_,keepHover)=>{timeoutId.current&&(clearTimeout(timeoutId.current),timeoutId.current=void 0),!keepHover&&unsetHover()}}},useMenuChange=(onMenuChange,isOpen)=>{const prevOpen=(0,react.useRef)(isOpen);(0,react.useEffect)((()=>{onMenuChange&&prevOpen.current!==isOpen&&(0,utils.Dx)(onMenuChange,{open:!!isOpen}),prevOpen.current=isOpen}),[onMenuChange,isOpen])};var useTransition=__webpack_require__("./node_modules/react-transition-state/dist/es/hooks/useTransition.js");const useMenuStateAndFocus=options=>{const[menuProps,toggleMenu]=(props=>{const{initialMounted,unmountOnClose,transition,transitionTimeout}=null!=props?props:{transition:!1},[state,toggleMenu,endTransition]=(0,useTransition.Y)({mountOnEnter:!initialMounted,unmountOnExit:unmountOnClose,timeout:null!=transitionTimeout?transitionTimeout:500,enter:(0,utils.us)(transition,"open"),exit:(0,utils.us)(transition,"close")});return[{state:utils._f[state.status],endTransition},toggleMenu]})(options),[menuItemFocus,setMenuItemFocus]=(0,react.useState)();return[{menuItemFocus,...menuProps},toggleMenu,(position,alwaysUpdate)=>{setMenuItemFocus({position,alwaysUpdate}),toggleMenu(!0)}]};var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const MenuButton=(0,react.forwardRef)((function MenuButton(_ref,ref){let{className,isOpen,disabled,children,...restProps}=_ref;const modifiers=(0,react.useMemo)((()=>({open:isOpen})),[isOpen]);return(0,jsx_runtime.jsx)("button",{"aria-haspopup":!0,"aria-expanded":isOpen,"aria-disabled":disabled||void 0,type:"button",disabled,...restProps,ref,className:useBEM_useBEM({block:utils.es,modifiers,className}),children})}));try{MenuButton.displayName="MenuButton",MenuButton.__docgenInfo={description:"",displayName:"MenuButton",props:{className:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"className",required:!1,type:{name:"ClassNameProp>"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},isOpen:{defaultValue:null,description:"",name:"isOpen",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/react-menu3/components/MenuButton.tsx#MenuButton"]={docgenInfo:MenuButton.__docgenInfo,name:"MenuButton",path:"src/react-menu3/components/MenuButton.tsx#MenuButton"})}catch(__react_docgen_typescript_loader_error){}var react_dom=__webpack_require__("./node_modules/react-dom/index.js"),util=__webpack_require__("./src/utils/util.ts");const EventHandlersContext=(0,react.createContext)({handleClick:()=>{}}),SettingsContext=(0,react.createContext)({});var debounce=__webpack_require__("./node_modules/lodash-es/debounce.js"),HoverItemContext=__webpack_require__("./src/react-menu3/contexts/HoverItemContext.ts");const MenuListContext_MenuListContext=(0,react.createContext)({}),placeLeftorRight=props=>{const{anchorRect,containerRect,menuRect,placeLeftorRightY,placeLeftX,placeRightX,getLeftOverflow,getRightOverflow,confineHorizontally,confineVertically,arrowRef,arrow,direction,position}=props;let x,leftOverflow,rightOverflow,computedDirection=direction,y=placeLeftorRightY;"initial"!==position&&(y=confineVertically(y),"anchor"===position&&(y=Math.min(y,anchorRect.bottom-containerRect.top),y=Math.max(y,anchorRect.top-containerRect.top-menuRect.height))),"left"===computedDirection?(x=placeLeftX,"initial"!==position&&(leftOverflow=getLeftOverflow(x),leftOverflow<0&&(rightOverflow=getRightOverflow(placeRightX),(rightOverflow<=0||-leftOverflow>rightOverflow)&&(x=placeRightX,computedDirection="right")))):(x=placeRightX,"initial"!==position&&(rightOverflow=getRightOverflow(x),rightOverflow>0&&(leftOverflow=getLeftOverflow(placeLeftX),(leftOverflow>=0||-leftOverflow{let y=p.anchorRect.top-p.containerRect.top-p.menuY+p.anchorRect.height/2;const offset=p.arrowRef.current?1.25*p.arrowRef.current.offsetHeight:0;return y=Math.max(offset,y),y=Math.min(y,p.menuRect.height-offset),y})({menuY:y,arrowRef,anchorRect,containerRect,menuRect}):void 0;return{arrowY,x,y,computedDirection}},placeToporBottom=props=>{const{anchorRect,containerRect,menuRect,placeToporBottomX,placeTopY,placeBottomY,getTopOverflow,getBottomOverflow,confineHorizontally,confineVertically,arrowRef,arrow,direction,position}=props;let y,topOverflow,bottomOverflow,computedDirection="top"===direction?"top":"bottom",x=placeToporBottomX;"initial"!==position&&(x=confineHorizontally(x),"anchor"===position&&(x=Math.min(x,anchorRect.right-containerRect.left),x=Math.max(x,anchorRect.left-containerRect.left-menuRect.width))),"top"===computedDirection?(y=placeTopY,"initial"!==position&&(topOverflow=getTopOverflow(y),topOverflow<0&&(bottomOverflow=getBottomOverflow(placeBottomY),(bottomOverflow<=0||-topOverflow>bottomOverflow)&&(y=placeBottomY,computedDirection="bottom")))):(y=placeBottomY,"initial"!==position&&(bottomOverflow=getBottomOverflow(y),bottomOverflow>0&&(topOverflow=getTopOverflow(placeTopY),(topOverflow>=0||-topOverflow{let x=p.anchorRect.left-p.containerRect.left-p.menuX+p.anchorRect.width/2;const offset=p.arrowRef.current?1.25*p.arrowRef.current.offsetWidth:0;return x=Math.max(offset,x),x=Math.min(x,p.menuRect.width-offset),x})({menuX:x,arrowRef,anchorRect,containerRect,menuRect}):void 0;return{arrowX,x,y,computedDirection}},MenuList=_ref=>{var _menuRef$current;let{ariaLabel,menuClassName,menuStyle,arrowClassName,arrowStyle,anchorPoint,anchorRef,containerRef,externalRef,parentScrollingRef,arrow,align="start",direction="bottom",position="auto",overflow="visible",setDownOverflow,repositionFlag,captureFocus=!0,state,endTransition,isDisabled,menuItemFocus,dontShrinkIfDirectionIsTop,offsetX=0,offsetY=0,children,onClose,...restProps}=_ref;const[menuPosition,setMenuPosition]=(0,react.useState)({x:0,y:0}),[arrowPosition,setArrowPosition]=(0,react.useState)({x:0,y:0}),[overflowData,setOverflowData]=(0,react.useState)(),[expandedDirection,setExpandedDirection]=(0,react.useState)(direction),[openSubmenuCount,setOpenSubmenuCount]=(0,react.useState)(0),[reposSubmenu,forceReposSubmenu]=(0,react.useReducer)((c=>c+1),1),{transition,boundingBoxRef,boundingBoxPadding,rootMenuRef,rootAnchorRef,scrollNodesRef,reposition,viewScroll}=(0,react.useContext)(SettingsContext),reposFlag=(0,react.useContext)(MenuListContext_MenuListContext).reposSubmenu||repositionFlag,menuRef=(0,react.useRef)({}),focusRef=(0,react.useRef)(null),arrowRef=(0,react.useRef)(null),prevOpen=(0,react.useRef)(!1),latestWindowSize=(0,react.useRef)({width:0,height:0}),latestMenuSize=(0,react.useRef)({width:0,height:0}),latestHandlePosition=(0,react.useRef)((()=>{})),{hoverItem,dispatch,updateItems}=((menuRef,focusRef)=>{const[hoverItem,setHoverItem]=(0,react.useState)(),mutableState=(0,react.useRef)({items:[],hoverIndex:-1,sorted:!1}).current,updateItems=(0,react.useCallback)(((item,isMounted)=>{const{items}=mutableState;if(item)if(isMounted)items.push(item);else{const index=items.indexOf(item);var _focusRef$current;index>-1&&(items.splice(index,1),item.contains(document.activeElement)&&(null==focusRef||null===(_focusRef$current=focusRef.current)||void 0===_focusRef$current||_focusRef$current.focus(),setHoverItem(void 0)))}else mutableState.items=[];mutableState.hoverIndex=-1,mutableState.sorted=!1}),[mutableState,focusRef]);return{hoverItem,dispatch:(0,react.useCallback)(((actionType,item,nextIndex)=>{var _newItem;const{items,hoverIndex}=mutableState,sortItems=()=>{if(mutableState.sorted)return;const orderedNodes=menuRef.current.querySelectorAll(".szh-menu__item");items.sort(((a,b)=>(0,utils.O)(orderedNodes,a)-(0,utils.O)(orderedNodes,b))),mutableState.sorted=!0};let newItem,newItemFn,index=-1;switch(actionType){case utils.$U.RESET:break;case utils.$U.SET:newItem=item;break;case utils.$U.UNSET:newItemFn=prevItem=>prevItem===item?void 0:prevItem;break;case utils.$U.FIRST:sortItems(),index=0,newItem=items[index];break;case utils.$U.LAST:sortItems(),index=items.length-1,newItem=items[index];break;case utils.$U.SET_INDEX:if("number"!=typeof nextIndex)break;sortItems(),index=nextIndex,newItem=items[index],(0,defer.Z)((()=>newItem.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})));break;case utils.$U.INCREASE:sortItems(),index=hoverIndex,index<0&&(index=items.indexOf(item)),index++,index>=items.length&&(index=0),newItem=items[index],(0,utils.l7)(newItem);break;case utils.$U.DECREASE:sortItems(),index=hoverIndex,index<0&&(index=items.indexOf(item)),index--,index<0&&(index=items.length-1),newItem=items[index],(0,utils.l7)(newItem)}newItem||newItemFn||(index=-1),setHoverItem(null!==(_newItem=newItem)&&void 0!==_newItem?_newItem:newItemFn),mutableState.hoverIndex=index}),[menuRef,mutableState]),updateItems}})(menuRef,focusRef),isOpen=(0,utils.tr)(state),openTransition=(0,utils.us)(transition,"open"),closeTransition=(0,utils.us)(transition,"close"),scrollNodes=scrollNodesRef.current,focusSideways=(menuItemEl,direction)=>{var _findParentWithClass,_findParentWithClass$,_best;if(!menuItemEl)return!1;let[best,worst]=[];null===(_findParentWithClass=(0,util.Uh)("szh-menu",menuItemEl))||void 0===_findParentWithClass||null===(_findParentWithClass$=_findParentWithClass.querySelectorAll(".szh-menu__item"))||void 0===_findParentWithClass$||_findParentWithClass$.forEach(((item,i)=>{if(item.offsetTop===menuItemEl.offsetTop){const d=(item.offsetLeft-menuItemEl.offsetLeft)*direction;d>0&&(!best||d{if(null==containerRef||!containerRef.current)return void 0;scrollNodes.menu||(scrollNodes.menu=(boundingBoxRef?boundingBoxRef.current:(0,utils.GZ)(null==rootMenuRef?void 0:rootMenuRef.current))||window);const positionHelpers=((containerRef,menuRef,menuScroll,boundingBoxPadding)=>{var _containerRef$current,_containerRef$current2,_containerRef$current3;const menuRect=menuRef.current.getBoundingClientRect(),thisWindow=null!==(_containerRef$current=null===(_containerRef$current2=containerRef.current)||void 0===_containerRef$current2?void 0:_containerRef$current2.ownerDocument.defaultView)&&void 0!==_containerRef$current?_containerRef$current:window,containerRect=(null!==(_containerRef$current3=containerRef.current)&&void 0!==_containerRef$current3?_containerRef$current3:thisWindow.document.body).getBoundingClientRect(),boundingRect=menuScroll===window||menuScroll===thisWindow?{left:0,top:0,right:thisWindow.document.documentElement.clientWidth,bottom:thisWindow.innerHeight}:menuScroll.getBoundingClientRect(),padding=(0,utils.dj)(boundingBoxPadding),getLeftOverflow=x=>x+containerRect.left-boundingRect.left-padding.left,getRightOverflow=x=>x+containerRect.left+menuRect.width-boundingRect.right+padding.right,getTopOverflow=y=>y+containerRect.top-boundingRect.top-padding.top,getBottomOverflow=y=>y+containerRect.top+menuRect.height-boundingRect.bottom+padding.bottom;return{menuRect,containerRect,getLeftOverflow,getRightOverflow,getTopOverflow,getBottomOverflow,confineHorizontally:x=>{let leftOverflow=getLeftOverflow(x);if(leftOverflow<0)x-=leftOverflow;else{const rightOverflow=getRightOverflow(x);rightOverflow>0&&(leftOverflow=getLeftOverflow(x-=rightOverflow),leftOverflow<0&&(x-=leftOverflow))}return x},confineVertically:y=>{let topOverflow=getTopOverflow(y);if(topOverflow<0)y-=topOverflow;else{const bottomOverflow=getBottomOverflow(y);bottomOverflow>0&&(topOverflow=getTopOverflow(y-=bottomOverflow),topOverflow<0&&(y-=topOverflow))}return y}}})(containerRef,menuRef,scrollNodes.menu,boundingBoxPadding),{menuRect}=positionHelpers;let results={computedDirection:"bottom",x:0,y:0};anchorPoint?results=(_ref=>{let{positionHelpers,anchorPoint}=_ref;const{menuRect,containerRect,getLeftOverflow,getRightOverflow,getTopOverflow,getBottomOverflow,confineHorizontally,confineVertically}=positionHelpers;let x,y;x=anchorPoint.x-containerRect.left,y=anchorPoint.y-containerRect.top;const rightOverflow=getRightOverflow(x);if(rightOverflow>0){const adjustedX=x-menuRect.width,leftOverflow=getLeftOverflow(adjustedX);(leftOverflow>=0||-leftOverflow0){const adjustedY=y-menuRect.height,topOverflow=getTopOverflow(adjustedY);(topOverflow>=0||-topOverflow{const{arrow,align,direction,offsetX,offsetY,position,anchorRef,arrowRef,positionHelpers}=props,{menuRect,containerRect}=positionHelpers;let horizontalOffset=offsetX,verticalOffset=offsetY;arrow&&arrowRef.current&&("left"===direction||"right"===direction?horizontalOffset+=arrowRef.current.offsetWidth:verticalOffset+=arrowRef.current.offsetHeight);const anchorRect=anchorRef.current?anchorRef.current.getBoundingClientRect():{left:0,right:0,top:200,bottom:200,width:200,height:200},placeLeftX=anchorRect.left-containerRect.left-menuRect.width-horizontalOffset,placeRightX=anchorRect.right-containerRect.left+horizontalOffset,placeTopY=anchorRect.top-containerRect.top-menuRect.height-verticalOffset,placeBottomY=anchorRect.bottom-containerRect.top+verticalOffset;let placeToporBottomX,placeLeftorRightY;"end"===align?(placeToporBottomX=anchorRect.right-containerRect.left-menuRect.width,placeLeftorRightY=anchorRect.bottom-containerRect.top-menuRect.height):"center"===align?(placeToporBottomX=anchorRect.left-containerRect.left-(menuRect.width-anchorRect.width)/2,placeLeftorRightY=anchorRect.top-containerRect.top-(menuRect.height-anchorRect.height)/2):(placeToporBottomX=anchorRect.left-containerRect.left,placeLeftorRightY=anchorRect.top-containerRect.top),placeToporBottomX+=horizontalOffset,placeLeftorRightY+=verticalOffset;const options={...positionHelpers,anchorRect,placeLeftX,placeRightX,placeLeftorRightY,placeTopY,placeBottomY,placeToporBottomX,arrowRef,arrow,direction,position};switch(direction){case"left":case"right":return placeLeftorRight(options);default:return placeToporBottom(options)}})({arrow,align,direction,offsetX,offsetY,position,anchorRef,arrowRef,positionHelpers}));let{y}=results;const{x,arrowX,arrowY,computedDirection}=results;let menuHeight=menuRect.height;if(!noOverflowCheck&&"visible"!==overflow){const{getTopOverflow,getBottomOverflow}=positionHelpers;let height,overflowAmt;const prevHeight=latestMenuSize.current.height,bottomOverflow=getBottomOverflow(y);if(bottomOverflow>0||(0,utils.eO)(bottomOverflow,0)&&(0,utils.eO)(menuHeight,prevHeight))height=menuHeight-bottomOverflow,overflowAmt=bottomOverflow;else{const topOverflow=getTopOverflow(y);(topOverflow<0||(0,utils.eO)(topOverflow,0)&&(0,utils.eO)(menuHeight,prevHeight))&&(height=menuHeight+topOverflow,overflowAmt=0-topOverflow,height>=0&&(y-=topOverflow))}null!=height&&height>=0?(menuHeight=height,setOverflowData({height,overflowAmt})):setOverflowData(void 0)}arrow&&setArrowPosition({x:null!=arrowX?arrowX:0,y:null!=arrowY?arrowY:0}),setMenuPosition({x,y}),setExpandedDirection(computedDirection),latestMenuSize.current={width:menuRect.width,height:menuHeight}}),[arrow,align,boundingBoxPadding,direction,offsetX,offsetY,position,overflow,anchorPoint,anchorRef,containerRef,boundingBoxRef,rootMenuRef,scrollNodes]);useIsomorphicLayoutEffect((()=>{isOpen&&(handlePosition(),prevOpen.current&&forceReposSubmenu()),prevOpen.current=isOpen,latestHandlePosition.current=handlePosition}),[isOpen,handlePosition,reposFlag]),useIsomorphicLayoutEffect((()=>{overflowData&&!setDownOverflow&&(menuRef.current.scrollTop=0)}),[overflowData,setDownOverflow]),useIsomorphicLayoutEffect((()=>updateItems),[updateItems]),(0,react.useEffect)((()=>{let{menu:menuScroll}=scrollNodes;if(!isOpen||!menuScroll)return;if(menuScroll=menuScroll.addEventListener?menuScroll:window,!scrollNodes.anchors){scrollNodes.anchors=[];let anchorScroll=(0,utils.GZ)(rootAnchorRef&&rootAnchorRef.current);for(;anchorScroll&&anchorScroll!==menuScroll;)scrollNodes.anchors.push(anchorScroll),anchorScroll=(0,utils.GZ)(anchorScroll)}let scroll=viewScroll;if(scrollNodes.anchors.length&&"initial"===scroll&&(scroll="auto"),"initial"===scroll)return;const handleScroll=()=>{"auto"===scroll?(0,utils.MA)((()=>handlePosition(!0))):(0,utils.Dx)(onClose,{reason:utils.GB.SCROLL})},scrollObservers=scrollNodes.anchors.concat("initial"!==viewScroll?menuScroll:[]);return scrollObservers.forEach((o=>o.addEventListener("scroll",handleScroll))),()=>scrollObservers.forEach((o=>o.removeEventListener("scroll",handleScroll)))}),[rootAnchorRef,scrollNodes,isOpen,onClose,viewScroll,handlePosition]);const hasOverflow=!!overflowData&&null!=overflowData.overflowAmt&&overflowData.overflowAmt>0;(0,react.useEffect)((()=>{if(hasOverflow||!isOpen||!parentScrollingRef)return;const handleScroll=()=>(0,utils.MA)(handlePosition),parentScroll=parentScrollingRef.current;return parentScroll.addEventListener("scroll",handleScroll),()=>parentScroll.removeEventListener("scroll",handleScroll)}),[isOpen,hasOverflow,parentScrollingRef,handlePosition]),(0,react.useEffect)((()=>{if("function"!=typeof ResizeObserver||"initial"===reposition)return;const resizeObserver=new ResizeObserver((_ref2=>{let[entry]=_ref2;const{borderBoxSize,target}=entry;let width,height;if(borderBoxSize){const{inlineSize,blockSize}=borderBoxSize[0]||borderBoxSize;width=inlineSize,height=blockSize}else{const borderRect=target.getBoundingClientRect();width=borderRect.width,height=borderRect.height}0!==width&&0!==height&&((0,utils.eO)(width,latestMenuSize.current.width,1)&&(0,utils.eO)(height,latestMenuSize.current.height,1)||(0,react_dom.flushSync)((()=>{latestHandlePosition.current(),forceReposSubmenu()})))})),observeTarget=menuRef.current;return resizeObserver.observe(observeTarget,{box:"border-box"}),()=>resizeObserver.unobserve(observeTarget)}),[reposition]),(0,react.useEffect)((()=>{if("function"!=typeof ResizeObserver||"initial"===reposition)return;const callback=(0,debounce.Z)((()=>{const{width,height}=menuRef.current.ownerDocument.body.getBoundingClientRect();0!==width&&0!==height&&((0,utils.eO)(width,latestWindowSize.current.width,1)&&(0,utils.eO)(height,latestWindowSize.current.height,1)||(latestWindowSize.current={width,height},(0,react_dom.flushSync)((()=>{latestHandlePosition.current(),forceReposSubmenu()}))))}),250),resizeObserver=new ResizeObserver(callback),observeTarget=menuRef.current.ownerDocument.body;return resizeObserver.observe(observeTarget,{box:"border-box"}),()=>{callback.cancel(),resizeObserver.unobserve(observeTarget)}}),[reposition]),(0,react.useEffect)((()=>{if(!isOpen)return dispatch(utils.$U.RESET,void 0,0),closeTransition||setOverflowData(void 0),()=>{};const{position,alwaysUpdate}=menuItemFocus||{},setItemFocus=()=>{position===utils.td.FIRST?dispatch(utils.$U.FIRST,void 0,0):position===utils.td.LAST?dispatch(utils.$U.LAST,void 0,0):"number"==typeof position&&position>=-1&&dispatch(utils.$U.SET_INDEX,void 0,position)};if(alwaysUpdate)setItemFocus();else if(captureFocus){const id=setTimeout((()=>{if(!menuRef.current.contains(document.activeElement)){var _focusRef$current;const popupElement=null===(_focusRef$current=focusRef.current)||void 0===_focusRef$current?void 0:_focusRef$current.nextSibling;var _focusRef$current2;if(!(0,utils.l7)(popupElement))null===(_focusRef$current2=focusRef.current)||void 0===_focusRef$current2||_focusRef$current2.focus();setItemFocus()}}),openTransition?170:100);return()=>clearTimeout(id)}return()=>{}}),[isOpen,openTransition,closeTransition,captureFocus,menuItemFocus,dispatch]);const isSubmenuOpen=openSubmenuCount>0,itemContext=(0,react.useMemo)((()=>({isParentOpen:isOpen,isSubmenuOpen,setOpenSubmenuCount,dispatch,updateItems})),[isOpen,isSubmenuOpen,dispatch,updateItems]);let maxHeight,overflowAmt;overflowData&&(setDownOverflow?overflowAmt=overflowData.overflowAmt:maxHeight=overflowData.height);const listContext=(0,react.useMemo)((()=>({reposSubmenu,overflow,overflowAmt,parentMenuRef:menuRef,parentDir:expandedDirection})),[reposSubmenu,overflow,overflowAmt,expandedDirection]),overflowStyle=null!=maxHeight&&maxHeight>=0?{maxHeight,overflow}:void 0,modifiers=(0,react.useMemo)((()=>({state,dir:expandedDirection})),[state,expandedDirection]),arrowModifiers=(0,react.useMemo)((()=>({dir:expandedDirection})),[expandedDirection]),_arrowClass=useBEM_useBEM({block:utils.nJ,element:utils.fM,modifiers:arrowModifiers,className:arrowClassName}),minHeight=(0,react.useRef)(0);if(dontShrinkIfDirectionIsTop&&null!==(_menuRef$current=menuRef.current)&&void 0!==_menuRef$current&&_menuRef$current.getBoundingClientRect){var _menuRef$current2;const h=null===(_menuRef$current2=menuRef.current)||void 0===_menuRef$current2?void 0:_menuRef$current2.getBoundingClientRect().height;minHeight.current"top"===expandedDirection&&dontShrinkIfDirectionIsTop?{overflowY:isSubmenuOpen?"":"auto",minHeight:(isSubmenuOpen?0:minHeight.current)+"px"}:void 0),[dontShrinkIfDirectionIsTop,expandedDirection,isSubmenuOpen]);return(0,jsx_runtime.jsxs)("ul",{role:"menu","aria-label":ariaLabel,...(0,utils.dG)({onKeyDown:e=>{const elementTarget=e.target instanceof HTMLElement?e.target:null,isTextInputTarget=elementTarget&&("TEXTAREA"===elementTarget.nodeName||"INPUT"===elementTarget.nodeName&&"text"===elementTarget.getAttribute("type"));switch(e.key){case utils.R8.HOME:if(isTextInputTarget)return;dispatch(utils.$U.FIRST,null,0);break;case utils.R8.END:if(isTextInputTarget)return;dispatch(utils.$U.LAST,null,0);break;case utils.R8.UP:dispatch(utils.$U.DECREASE,hoverItem,0);break;case utils.R8.DOWN:dispatch(utils.$U.INCREASE,hoverItem,0);break;case utils.R8.LEFT:if(!focusSideways(elementTarget,-1))return;break;case utils.R8.RIGHT:if(!focusSideways(elementTarget,1))return;break;case utils.R8.SPACE:return void(elementTarget&&elementTarget.className.includes(utils.nJ)&&e.preventDefault());default:return}e.preventDefault(),e.stopPropagation()},onAnimationEnd:()=>{"closing"===state&&setOverflowData(void 0),endTransition&&(0,utils.Dx)(endTransition)}},restProps),...(0,utils.$7)(isDisabled),ref:useCombinedRef_useCombinedRef(externalRef,menuRef),className:useBEM_useBEM({block:utils.nJ,modifiers,className:menuClassName}),style:{...menuStyle,...overflowStyle,...dontShrinkOps,margin:0,display:"closed"===state?"none":void 0,position:"absolute",left:menuPosition.x,top:menuPosition.y},children:[(0,jsx_runtime.jsx)("div",{ref:focusRef,tabIndex:-1,style:{position:"absolute",left:0,top:0},onKeyDown:event=>{"Tab"==event.key&&(event.preventDefault(),event.stopPropagation(),(0,utils.Dx)(onClose,{key:event.key,shiftKey:event.shiftKey,reason:"Tab"===event.key?event.shiftKey?utils.GB.TAB_BACKWARD:utils.GB.TAB_FORWARD:utils.GB.CLICK}))}}),arrow&&(0,jsx_runtime.jsx)("div",{className:_arrowClass,style:{...arrowStyle,position:"absolute",left:arrowPosition.x,top:arrowPosition.y},ref:arrowRef}),(0,jsx_runtime.jsx)(MenuListContext_MenuListContext.Provider,{value:listContext,children:(0,jsx_runtime.jsx)(MenuListItemContext.Provider,{value:itemContext,children:(0,jsx_runtime.jsx)(HoverItemContext.c.Provider,{value:hoverItem,children})})})]})};try{MenuList.displayName="MenuList",MenuList.__docgenInfo={description:"",displayName:"MenuList",props:{anchorPoint:{defaultValue:null,description:"Viewport coordinates to which context menu will be positioned.\n\n*Use this prop only for context menu*",name:"anchorPoint",required:!1,type:{name:"{ x: number; y: number; }"}},anchorRef:{defaultValue:null,description:"A ref object attached to a DOM element to which menu will be positioned.\n\n*Don't set this prop for context menu*",name:"anchorRef",required:!1,type:{name:"RefObject"}},skipOpen:{defaultValue:null,description:"",name:"skipOpen",required:!1,type:{name:"MutableRefObject"}},captureFocus:{defaultValue:{value:"true"},description:"If `true`, the menu list element will gain focus after menu is open.",name:"captureFocus",required:!1,type:{name:"boolean"}},state:{defaultValue:null,description:"Controls the state of menu. When the prop is `undefined`, menu will be unmounted from DOM.",name:"state",required:!1,type:{name:"enum",value:[{value:'"open"'},{value:'"closed"'},{value:'"opening"'},{value:'"closing"'}]}},menuItemFocus:{defaultValue:null,description:"Sets which menu item receives focus (hover) when menu opens.\nYou will usually set this prop when the menu is opened by keyboard events.\n\n*Note: If you don't intend to update focus (hover) position,\nit's important to keep this prop's identity stable when your component re-renders.*",name:"menuItemFocus",required:!1,type:{name:"{ position?: FocusPosition; alwaysUpdate?: boolean; } | undefined"}},endTransition:{defaultValue:null,description:"Set the return value of `useMenuState` to this prop.",name:"endTransition",required:!1,type:{name:"(() => void)"}},onClose:{defaultValue:null,description:"Event fired when menu is about to close.",name:"onClose",required:!1,type:{name:"EventHandler"}},containerProps:{defaultValue:null,description:"Properties of this object are spread to the root DOM element containing the menu.",name:"containerProps",required:!1,type:{name:'Omit, "className">'}},boundingBoxRef:{defaultValue:null,description:"A ref object attached to a DOM element within which menu will be positioned.\nIf not provided, the nearest ancestor which has CSS `overflow` set to a value\nother than 'visible' or the browser viewport will serve as the bounding box.",name:"boundingBoxRef",required:!1,type:{name:"RefObject"}},boundingBoxPadding:{defaultValue:null,description:"Specify bounding box padding in pixels. Use a syntax similar to the CSS\n`padding` property but sizing units are discarded.\n@example '10', '5 10', '1 2 4', or '2 5 3 1'",name:"boundingBoxPadding",required:!1,type:{name:"string"}},viewScroll:{defaultValue:{value:"'initial'"},description:"Set the behaviour of menu and any of its descendent submenus when window is scrolling:\n- 'initial' The window scroll event is ignored and has no effect on menu.\n- 'auto' Menu will reposition itself based on the value of `position` prop when window is scrolling.\n- 'close' menu will be closed when window is scrolled.",name:"viewScroll",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"close"'},{value:'"initial"'}]}},portal:{defaultValue:null,description:"- If `true`, menu is rendered as a direct child of `document.body`,\n- or you can specify a target element in the DOM as menu container.\n\nPortal allows menu to visually “break out” of its container. Typical use cases may include:\n- An ancestor container is positioned and CSS `overflow` is set to a value other than `visible`.\n- You have a DOM structure that creates a complex hierarchy of stacking contexts,\nand menu is overlapped regardless of `z-index` value.",name:"portal",required:!1,type:{name:"PortalFieldType"}},reposition:{defaultValue:{value:"'auto'"},description:"Specify when menu is repositioned:\n- 'initial' Don't automatically reposition menu. Set to this value when you want\nto explicitly reposition menu using the `repositionFlag` prop.\n- 'auto' Reposition menu whenever its size has changed, using the `ResizeObserver` API.",name:"reposition",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"initial"'}]}},repositionFlag:{defaultValue:null,description:"Use this prop to explicitly reposition menu. Whenever the prop has a new value,\nmenu position will be recalculated and updated.\nYou might use a counter and increase it every time.\n\n*Warning: don't update this prop in rapid succession,\nwhich is inefficient and might cause infinite rendering of component.\nE.g., don't change the value of this prop in `window` scroll event.*",name:"repositionFlag",required:!1,type:{name:"string | number"}},submenuOpenDelay:{defaultValue:{value:"300"},description:"Set a delay in `ms` before opening a submenu when mouse moves over it.",name:"submenuOpenDelay",required:!1,type:{name:"number"}},submenuCloseDelay:{defaultValue:{value:"150"},description:"Set a delay in `ms` before closing a submenu when it's open and mouse is\nmoving over other items in the parent menu list.",name:"submenuCloseDelay",required:!1,type:{name:"number"}},theming:{defaultValue:null,description:"Set a CSS `class` on the container element of menu for theming purpose.",name:"theming",required:!1,type:{name:"string"}},onItemClick:{defaultValue:null,description:"Event fired when descendent menu items are clicked.",name:"onItemClick",required:!1,type:{name:"EventHandler"}},dontShrinkIfDirectionIsTop:{defaultValue:null,description:'NEW Don\'t shrink container if menu direction is "top"',name:"dontShrinkIfDirectionIsTop",required:!1,type:{name:"boolean"}},menuClassName:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"menuClassName",required:!1,type:{name:"ClassNameProp>"}},menuStyle:{defaultValue:null,description:"This prop is forwarded to the `style` prop of menu DOM element.",name:"menuStyle",required:!1,type:{name:"CSSProperties"}},arrowClassName:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"arrowClassName",required:!1,type:{name:"ClassNameProp>"}},arrowStyle:{defaultValue:null,description:"This prop is forwarded to the `style` prop of menu arrow DOM element.",name:"arrowStyle",required:!1,type:{name:"CSSProperties"}},arrow:{defaultValue:null,description:"Set `true` to display an arrow pointing to its anchor element.",name:"arrow",required:!1,type:{name:"boolean"}},offsetX:{defaultValue:{value:"0"},description:"Set the horizontal distance (in pixels) between menu and its anchor element.\nThe value can be negative.",name:"offsetX",required:!1,type:{name:"number"}},offsetY:{defaultValue:{value:"0"},description:"Set the vertical distance (in pixels) between menu and its anchor element.\nThe value can be negative.",name:"offsetY",required:!1,type:{name:"number"}},align:{defaultValue:{value:"start"},description:"Set alignment of menu with anchor element.",name:"align",required:!1,type:{name:"enum",value:[{value:'"start"'},{value:'"center"'},{value:'"end"'}]}},direction:{defaultValue:{value:"bottom"},description:"Set direction in which menu expands against anchor element.",name:"direction",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'},{value:'"top"'},{value:'"bottom"'}]}},position:{defaultValue:{value:"auto"},description:"Set the position of menu related to its anchor element:\n\n- 'auto' menu position is adjusted to have it contained within the viewport,\neven if it will be detached from the anchor element.\nThis option allows to display menu in the viewport as much as possible.\n\n- 'anchor' menu position is adjusted to have it contained within the viewport,\nbut it will be kept attached to the edges of anchor element.\n\n- 'initial' menu always stays at its initial position.",name:"position",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"anchor"'},{value:'"initial"'}]}},overflow:{defaultValue:{value:"visible"},description:"Make the menu list scrollable or hidden when there is not enough viewport space to\ndisplay all menu items. The prop is similar to the CSS `overflow` property.",name:"overflow",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"hidden"'},{value:'"visible"'}]}},setDownOverflow:{defaultValue:null,description:"Set computed overflow amount down to a child `MenuGroup`.\nThe `MenuGroup` should have `takeOverflow` prop set as `true` accordingly.",name:"setDownOverflow",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"className",required:!1,type:{name:"ClassNameProp"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},initialMounted:{defaultValue:null,description:"By default menu isn't mounted into DOM until it's opened for the first time.\nSetting the prop to `true` will change this behaviour,\nwhich also enables menu and its items to be server rendered.",name:"initialMounted",required:!1,type:{name:"boolean"}},unmountOnClose:{defaultValue:null,description:"By default menu remains in DOM when it's closed.\nSetting the prop to `true` will change this behaviour.",name:"unmountOnClose",required:!1,type:{name:"boolean"}},transition:{defaultValue:null,description:"Enable or disable transition effects in `Menu`, `MenuItem`, and any descendent `SubMenu`.\n\nYou can set 'open', 'close' and 'item' at the same time with one boolean value or separately with an object.\n\n*If you enable transition on menu, make sure to add your own animation styles,\nor import `'@szhsin/react-menu/dist/transitions/slide.css'`,\notherwise menu cannot be closed or have visible delay when closed.*\n@example [CodeSandbox Demo](https://codesandbox.io/s/react-menu-sass-i1wxo)",name:"transition",required:!1,type:{name:"TransitionFieldType"}},transitionTimeout:{defaultValue:{value:"500"},description:"A fallback timeout in `ms` to stop transition if `onAnimationEnd` events are not fired.\n\n*Note: this value should be greater than or equal to the duration of\ntransition animation applied on menu.*",name:"transitionTimeout",required:!1,type:{name:"number"}},isDisabled:{defaultValue:null,description:"",name:"isDisabled",required:!1,type:{name:"boolean"}},ariaLabel:{defaultValue:null,description:"",name:"ariaLabel",required:!1,type:{name:"string"}},containerRef:{defaultValue:null,description:"",name:"containerRef",required:!1,type:{name:"MutableRefObject"}},externalRef:{defaultValue:null,description:"",name:"externalRef",required:!1,type:{name:"ForwardedRef"}},parentScrollingRef:{defaultValue:null,description:"",name:"parentScrollingRef",required:!1,type:{name:"MutableRefObject"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/react-menu3/components/MenuList.tsx#MenuList"]={docgenInfo:MenuList.__docgenInfo,name:"MenuList",path:"src/react-menu3/components/MenuList.tsx#MenuList"})}catch(__react_docgen_typescript_loader_error){}const ControlledMenuFr=(_ref,externalRef)=>{let{"aria-label":ariaLabel,className,containerProps,initialMounted,unmountOnClose,transition,transitionTimeout,boundingBoxRef,boundingBoxPadding,reposition="auto",submenuOpenDelay=300,submenuCloseDelay=150,skipOpen,viewScroll="initial",portal,theming,onItemClick,onClose,saveButtonRef,...restProps}=_ref;const containerRef=(0,react.useRef)(),scrollNodesRef=(0,react.useRef)({}),{anchorRef,state}=restProps,settings=(0,react.useMemo)((()=>({initialMounted,unmountOnClose,transition,transitionTimeout,boundingBoxRef,boundingBoxPadding,rootMenuRef:containerRef,rootAnchorRef:anchorRef,scrollNodesRef,reposition,viewScroll})),[initialMounted,unmountOnClose,transition,transitionTimeout,anchorRef,boundingBoxRef,boundingBoxPadding,reposition,viewScroll]),isWithinMenu=(0,react.useCallback)((target=>(0,util.K6)("szh-menu--state-open",target)||(0,util.K6)("LuiModalPrefab",target)||(0,util.K6)("prefab-modal",target)),[]),handleScreenEventForSave=(0,react.useCallback)((ev=>{isWithinMenu(ev.target)||(ev.preventDefault(),ev.stopPropagation(),null!=saveButtonRef&&saveButtonRef.current?(saveButtonRef.current.setAttribute("data-reason",utils.GB.BLUR),saveButtonRef.current.click()):(0,utils.Dx)(onClose,{reason:utils.GB.BLUR}),skipOpen&&(skipOpen.current=!0,setTimeout((()=>skipOpen.current=!1),300)))}),[isWithinMenu,onClose,saveButtonRef,skipOpen]),handleScreenEventForCancel=(0,react.useCallback)((ev=>{isWithinMenu(ev.target)||(ev.preventDefault(),ev.stopPropagation())}),[isWithinMenu]),lastTabDownEl=(0,react.useRef)(),lastEnterDownEl=(0,react.useRef)(),handleKeyboardTabAndEnter=(0,react.useCallback)((isDown=>ev=>{const thisDocument=null!=anchorRef&&anchorRef.current?null==anchorRef?void 0:anchorRef.current.ownerDocument:document,activeElement=thisDocument.activeElement;if(null==anchorRef||!anchorRef.current||!activeElement)return;if("Tab"!==ev.key&&"Enter"!==ev.key)return;if(ev.repeat)return ev.preventDefault(),void ev.stopPropagation();const invokeSave=reason=>{var _saveButtonRef$curren,_saveButtonRef$curren2;null!=saveButtonRef&&saveButtonRef.current&&(null===(_saveButtonRef$curren=saveButtonRef.current)||void 0===_saveButtonRef$curren||_saveButtonRef$curren.setAttribute("data-reason",reason),null==saveButtonRef||null===(_saveButtonRef$curren2=saveButtonRef.current)||void 0===_saveButtonRef$curren2||_saveButtonRef$curren2.click())},allowTabToSave="true"==activeElement.getAttribute("data-allowtabtosave"),inputElsIterator=thisDocument.querySelectorAll(".szh-menu--state-open input,textarea");let inputEls=[];if(inputElsIterator.forEach((el=>inputEls.push(el))),inputEls=inputEls.filter((el=>!el.disabled)),0===inputEls.length)return;const firstInputEl=inputEls[0],lastInputEl=inputEls[inputEls.length-1],isTextArea="TEXTAREA"===activeElement.nodeName,suppressEnterAutoSave="true"==activeElement.getAttribute("data-disableenterautosave")||isTextArea;if("Tab"===ev.key){const tabDirection=ev.shiftKey?utils.GB.TAB_BACKWARD:utils.GB.TAB_FORWARD;(activeElement===lastInputEl&&!ev.shiftKey||activeElement===firstInputEl&&ev.shiftKey||allowTabToSave)&&(ev.preventDefault(),ev.stopPropagation(),isDown?lastTabDownEl.current=activeElement:lastTabDownEl.current==activeElement&&invokeSave(tabDirection))}const type=activeElement.getAttribute("type"),isTextInput="text"===type||null==type||"textarea"===type;if("INPUT"===activeElement.nodeName)isTextInput&&"Enter"===ev.key&&!suppressEnterAutoSave&&(ev.preventDefault(),ev.stopPropagation(),isDown?lastEnterDownEl.current=activeElement:lastEnterDownEl.current==activeElement&&invokeSave(utils.GB.CLICK))}),[anchorRef,saveButtonRef]),handleKeydownTabAndEnter=(0,react.useMemo)((()=>handleKeyboardTabAndEnter(!0)),[handleKeyboardTabAndEnter]),handleKeyupTabAndEnter=(0,react.useMemo)((()=>handleKeyboardTabAndEnter(!1)),[handleKeyboardTabAndEnter]);(0,react.useEffect)((()=>{if((0,utils.tr)(state)){const thisDocument=null!=anchorRef&&anchorRef.current?null==anchorRef?void 0:anchorRef.current.ownerDocument:document;return thisDocument.addEventListener("keydown",handleKeydownTabAndEnter,!0),thisDocument.addEventListener("keyup",handleKeyupTabAndEnter,!0),thisDocument.addEventListener("mousedown",handleScreenEventForSave,!0),thisDocument.addEventListener("mouseup",handleScreenEventForCancel,!0),thisDocument.addEventListener("click",handleScreenEventForCancel,!0),thisDocument.addEventListener("dblclick",handleScreenEventForCancel,!0),()=>{thisDocument.removeEventListener("keydown",handleKeydownTabAndEnter,!0),thisDocument.removeEventListener("keyup",handleKeyupTabAndEnter,!0),thisDocument.removeEventListener("mousedown",handleScreenEventForSave,!0),thisDocument.removeEventListener("mouseup",handleScreenEventForCancel,!0),thisDocument.removeEventListener("click",handleScreenEventForCancel,!0),thisDocument.removeEventListener("dblclick",handleScreenEventForCancel,!0)}}return()=>{}}),[handleScreenEventForSave,handleScreenEventForCancel,state,anchorRef,handleKeydownTabAndEnter,handleKeyupTabAndEnter]);const itemSettings=(0,react.useMemo)((()=>({submenuOpenDelay,submenuCloseDelay})),[submenuOpenDelay,submenuCloseDelay]),eventHandlers=(0,react.useMemo)((()=>({handleClick(event,isCheckOrRadio){event.stopPropagation||(0,utils.Dx)(onItemClick,event);let keepOpen=event.keepOpen;void 0===keepOpen&&(keepOpen=isCheckOrRadio&&event.key===utils.R8.SPACE),keepOpen||(0,utils.Dx)(onClose,{value:event.value,key:event.key,shiftKey:event.shiftKey,reason:"Tab"===event.key?event.shiftKey?utils.GB.TAB_BACKWARD:utils.GB.TAB_FORWARD:utils.GB.CLICK})},handleClose(key){(0,utils.Dx)(onClose,{key,reason:utils.GB.CLICK})}})),[onItemClick,onClose]),itemTransition=(0,utils.us)(transition,"item"),modifiers=(0,react.useMemo)((()=>({theme:theming,itemTransition})),[theming,itemTransition]),menuList=(0,jsx_runtime.jsx)("div",{...(0,utils.dG)({onKeyUp:e=>{if(e.key===utils.R8.ESC)e.preventDefault(),e.stopPropagation(),(0,utils.Dx)(onClose,{key:e.key,reason:utils.GB.CANCEL})},onBlur:e=>{!(0,utils.tr)(state)||e.currentTarget.contains(e.relatedTarget||document.activeElement)||isWithinMenu(e.relatedTarget)||((0,utils.Dx)(onClose,{reason:utils.GB.BLUR}),skipOpen&&(skipOpen.current=!0,setTimeout((()=>skipOpen.current=!1),300)))}},containerProps),className:useBEM_useBEM({block:utils.Kk,modifiers,className}),style:{...null==containerProps?void 0:containerProps.style,position:"relative"},ref:containerRef,children:state&&(0,jsx_runtime.jsx)(SettingsContext.Provider,{value:settings,children:(0,jsx_runtime.jsx)(ItemSettingsContext.Provider,{value:itemSettings,children:(0,jsx_runtime.jsx)(EventHandlersContext.Provider,{value:eventHandlers,children:(0,jsx_runtime.jsx)(MenuList,{...restProps,ariaLabel:ariaLabel||"Menu",externalRef,containerRef,onClose})})})})});if(!0===portal&&null!=(null==anchorRef?void 0:anchorRef.current)&&(portal=!(0,util.K6)("react-menu-inline-test",anchorRef.current)&&{target:anchorRef.current.ownerDocument.body}),portal){if("boolean"!=typeof portal)return portal.target?(0,react_dom.createPortal)(menuList,portal.target):portal.stablePosition?null:menuList;if(portal&&"undefined"!=typeof document)return(0,react_dom.createPortal)(menuList,document.body)}return menuList},ControlledMenu=(0,react.forwardRef)(ControlledMenuFr);try{ControlledMenu.displayName="ControlledMenu",ControlledMenu.__docgenInfo={description:"",displayName:"ControlledMenu",props:{anchorRef:{defaultValue:null,description:"A ref object attached to a DOM element to which menu will be positioned.\n\n*Don't set this prop for context menu*",name:"anchorRef",required:!1,type:{name:"RefObject"}},className:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"className",required:!1,type:{name:"ClassNameProp"}},containerProps:{defaultValue:null,description:"Properties of this object are spread to the root DOM element containing the menu.",name:"containerProps",required:!1,type:{name:'Omit, "className">'}},boundingBoxRef:{defaultValue:null,description:"A ref object attached to a DOM element within which menu will be positioned.\nIf not provided, the nearest ancestor which has CSS `overflow` set to a value\nother than 'visible' or the browser viewport will serve as the bounding box.",name:"boundingBoxRef",required:!1,type:{name:"RefObject"}},boundingBoxPadding:{defaultValue:null,description:"Specify bounding box padding in pixels. Use a syntax similar to the CSS\n`padding` property but sizing units are discarded.\n@example '10', '5 10', '1 2 4', or '2 5 3 1'",name:"boundingBoxPadding",required:!1,type:{name:"string"}},viewScroll:{defaultValue:{value:"initial"},description:"Set the behaviour of menu and any of its descendent submenus when window is scrolling:\n- 'initial' The window scroll event is ignored and has no effect on menu.\n- 'auto' Menu will reposition itself based on the value of `position` prop when window is scrolling.\n- 'close' menu will be closed when window is scrolled.",name:"viewScroll",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"close"'},{value:'"initial"'}]}},portal:{defaultValue:null,description:"- If `true`, menu is rendered as a direct child of `document.body`,\n- or you can specify a target element in the DOM as menu container.\n\nPortal allows menu to visually “break out” of its container. Typical use cases may include:\n- An ancestor container is positioned and CSS `overflow` is set to a value other than `visible`.\n- You have a DOM structure that creates a complex hierarchy of stacking contexts,\nand menu is overlapped regardless of `z-index` value.",name:"portal",required:!1,type:{name:"PortalFieldType"}},reposition:{defaultValue:{value:"auto"},description:"Specify when menu is repositioned:\n- 'initial' Don't automatically reposition menu. Set to this value when you want\nto explicitly reposition menu using the `repositionFlag` prop.\n- 'auto' Reposition menu whenever its size has changed, using the `ResizeObserver` API.",name:"reposition",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"initial"'}]}},repositionFlag:{defaultValue:null,description:"Use this prop to explicitly reposition menu. Whenever the prop has a new value,\nmenu position will be recalculated and updated.\nYou might use a counter and increase it every time.\n\n*Warning: don't update this prop in rapid succession,\nwhich is inefficient and might cause infinite rendering of component.\nE.g., don't change the value of this prop in `window` scroll event.*",name:"repositionFlag",required:!1,type:{name:"string | number"}},submenuOpenDelay:{defaultValue:{value:"300"},description:"Set a delay in `ms` before opening a submenu when mouse moves over it.",name:"submenuOpenDelay",required:!1,type:{name:"number"}},submenuCloseDelay:{defaultValue:{value:"150"},description:"Set a delay in `ms` before closing a submenu when it's open and mouse is\nmoving over other items in the parent menu list.",name:"submenuCloseDelay",required:!1,type:{name:"number"}},theming:{defaultValue:null,description:"Set a CSS `class` on the container element of menu for theming purpose.",name:"theming",required:!1,type:{name:"string"}},onItemClick:{defaultValue:null,description:"Event fired when descendent menu items are clicked.",name:"onItemClick",required:!1,type:{name:"EventHandler"}},dontShrinkIfDirectionIsTop:{defaultValue:null,description:'NEW Don\'t shrink container if menu direction is "top"',name:"dontShrinkIfDirectionIsTop",required:!1,type:{name:"boolean"}},menuClassName:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"menuClassName",required:!1,type:{name:"ClassNameProp>"}},menuStyle:{defaultValue:null,description:"This prop is forwarded to the `style` prop of menu DOM element.",name:"menuStyle",required:!1,type:{name:"CSSProperties"}},arrowClassName:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"arrowClassName",required:!1,type:{name:"ClassNameProp>"}},arrowStyle:{defaultValue:null,description:"This prop is forwarded to the `style` prop of menu arrow DOM element.",name:"arrowStyle",required:!1,type:{name:"CSSProperties"}},arrow:{defaultValue:null,description:"Set `true` to display an arrow pointing to its anchor element.",name:"arrow",required:!1,type:{name:"boolean"}},offsetX:{defaultValue:{value:"0"},description:"Set the horizontal distance (in pixels) between menu and its anchor element.\nThe value can be negative.",name:"offsetX",required:!1,type:{name:"number"}},offsetY:{defaultValue:{value:"0"},description:"Set the vertical distance (in pixels) between menu and its anchor element.\nThe value can be negative.",name:"offsetY",required:!1,type:{name:"number"}},align:{defaultValue:{value:"'start'"},description:"Set alignment of menu with anchor element.",name:"align",required:!1,type:{name:"enum",value:[{value:'"start"'},{value:'"center"'},{value:'"end"'}]}},direction:{defaultValue:{value:"'bottom'"},description:"Set direction in which menu expands against anchor element.",name:"direction",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'},{value:'"top"'},{value:'"bottom"'}]}},position:{defaultValue:{value:"'auto'"},description:"Set the position of menu related to its anchor element:\n\n- 'auto' menu position is adjusted to have it contained within the viewport,\neven if it will be detached from the anchor element.\nThis option allows to display menu in the viewport as much as possible.\n\n- 'anchor' menu position is adjusted to have it contained within the viewport,\nbut it will be kept attached to the edges of anchor element.\n\n- 'initial' menu always stays at its initial position.",name:"position",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"anchor"'},{value:'"initial"'}]}},overflow:{defaultValue:{value:"'visible'"},description:"Make the menu list scrollable or hidden when there is not enough viewport space to\ndisplay all menu items. The prop is similar to the CSS `overflow` property.",name:"overflow",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"hidden"'},{value:'"visible"'}]}},setDownOverflow:{defaultValue:null,description:"Set computed overflow amount down to a child `MenuGroup`.\nThe `MenuGroup` should have `takeOverflow` prop set as `true` accordingly.",name:"setDownOverflow",required:!1,type:{name:"boolean"}},initialMounted:{defaultValue:null,description:"By default menu isn't mounted into DOM until it's opened for the first time.\nSetting the prop to `true` will change this behaviour,\nwhich also enables menu and its items to be server rendered.",name:"initialMounted",required:!1,type:{name:"boolean"}},unmountOnClose:{defaultValue:null,description:"By default menu remains in DOM when it's closed.\nSetting the prop to `true` will change this behaviour.",name:"unmountOnClose",required:!1,type:{name:"boolean"}},transition:{defaultValue:null,description:"Enable or disable transition effects in `Menu`, `MenuItem`, and any descendent `SubMenu`.\n\nYou can set 'open', 'close' and 'item' at the same time with one boolean value or separately with an object.\n\n*If you enable transition on menu, make sure to add your own animation styles,\nor import `'@szhsin/react-menu/dist/transitions/slide.css'`,\notherwise menu cannot be closed or have visible delay when closed.*\n@example [CodeSandbox Demo](https://codesandbox.io/s/react-menu-sass-i1wxo)",name:"transition",required:!1,type:{name:"TransitionFieldType"}},transitionTimeout:{defaultValue:{value:"500"},description:"A fallback timeout in `ms` to stop transition if `onAnimationEnd` events are not fired.\n\n*Note: this value should be greater than or equal to the duration of\ntransition animation applied on menu.*",name:"transitionTimeout",required:!1,type:{name:"number"}},skipOpen:{defaultValue:null,description:"",name:"skipOpen",required:!1,type:{name:"MutableRefObject"}},onClose:{defaultValue:null,description:"Event fired when menu is about to close.",name:"onClose",required:!1,type:{name:"EventHandler"}},saveButtonRef:{defaultValue:null,description:"",name:"saveButtonRef",required:!1,type:{name:"MutableRefObject"}},anchorPoint:{defaultValue:null,description:"Viewport coordinates to which context menu will be positioned.\n\n*Use this prop only for context menu*",name:"anchorPoint",required:!1,type:{name:"{ x: number; y: number; }"}},captureFocus:{defaultValue:{value:"true"},description:"If `true`, the menu list element will gain focus after menu is open.",name:"captureFocus",required:!1,type:{name:"boolean"}},state:{defaultValue:null,description:"Controls the state of menu. When the prop is `undefined`, menu will be unmounted from DOM.",name:"state",required:!1,type:{name:"enum",value:[{value:'"open"'},{value:'"closed"'},{value:'"opening"'},{value:'"closing"'}]}},menuItemFocus:{defaultValue:null,description:"Sets which menu item receives focus (hover) when menu opens.\nYou will usually set this prop when the menu is opened by keyboard events.\n\n*Note: If you don't intend to update focus (hover) position,\nit's important to keep this prop's identity stable when your component re-renders.*",name:"menuItemFocus",required:!1,type:{name:"{ position?: FocusPosition; alwaysUpdate?: boolean; } | undefined"}},endTransition:{defaultValue:null,description:"Set the return value of `useMenuState` to this prop.",name:"endTransition",required:!1,type:{name:"(() => void)"}},isDisabled:{defaultValue:null,description:"",name:"isDisabled",required:!1,type:{name:"boolean"}},ariaLabel:{defaultValue:null,description:"",name:"ariaLabel",required:!1,type:{name:"string"}},containerRef:{defaultValue:null,description:"",name:"containerRef",required:!1,type:{name:"MutableRefObject"}},externalRef:{defaultValue:null,description:"",name:"externalRef",required:!1,type:{name:"ForwardedRef"}},parentScrollingRef:{defaultValue:null,description:"",name:"parentScrollingRef",required:!1,type:{name:"MutableRefObject"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/react-menu3/components/ControlledMenu.tsx#ControlledMenu"]={docgenInfo:ControlledMenu.__docgenInfo,name:"ControlledMenu",path:"src/react-menu3/components/ControlledMenu.tsx#ControlledMenu"})}catch(__react_docgen_typescript_loader_error){}function MenuFr(_ref,externalRef){let{"aria-label":ariaLabel,menuButton,instanceRef,onMenuChange,...restProps}=_ref;const[stateProps,toggleMenu,openMenu]=useMenuStateAndFocus(restProps),isOpen=(0,utils.tr)(stateProps.state),skipOpen=(0,react.useRef)(!1),buttonRef=(0,react.useRef)(null),handleClose=(0,react.useCallback)((e=>{toggleMenu(!1),e.key&&buttonRef.current&&buttonRef.current.focus()}),[toggleMenu]),button=(0,utils.Dx)(menuButton,{open:isOpen});if(!button||!button.type)throw new Error("Menu requires a menuButton prop.");const buttonProps={ref:useCombinedRef_useCombinedRef(button.ref,buttonRef),...(0,utils.dG)({onClick:e=>{skipOpen.current||openMenu(0===e.detail?utils.td.FIRST:void 0)},onKeyDown:e=>{switch(e.key){case utils.R8.UP:openMenu(utils.td.LAST);break;case utils.R8.DOWN:openMenu(utils.td.FIRST);break;default:return}e.preventDefault()}},button.props),isOpen:!1};"MenuButton"===(0,utils.oY)(button.type)&&(buttonProps.isOpen=isOpen);const renderButton=(0,react.cloneElement)(button,buttonProps);return useMenuChange(onMenuChange,isOpen),(0,react.useImperativeHandle)(instanceRef,(()=>({openMenu,closeMenu:()=>toggleMenu(!1)}))),(0,jsx_runtime.jsxs)(react.Fragment,{children:[renderButton,(0,jsx_runtime.jsx)(ControlledMenu,{...restProps,...stateProps,"aria-label":ariaLabel||("string"==typeof button.props.children?button.props.children:"Menu"),anchorRef:buttonRef,ref:externalRef,onClose:handleClose,skipOpen})]})}const Menu=(0,react.forwardRef)(MenuFr);try{Menu.displayName="Menu",Menu.__docgenInfo={description:"",displayName:"Menu",props:{className:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"className",required:!1,type:{name:"ClassNameProp"}},menuButton:{defaultValue:null,description:"Can be a `MenuButton`, a `button` element, or a React component.\nIt also can be a render function that returns one.\n\nIf a React component is provided, it needs to implement the following contracts:\n- Accepts a `ref` prop that is forwarded to an element to which menu will be positioned.\nThe element should be able to receive focus.\n- Accepts `onClick` and `onKeyDown` event props.",name:"menuButton",required:!0,type:{name:"RenderProp, ReactElement>>"}},containerProps:{defaultValue:null,description:"Properties of this object are spread to the root DOM element containing the menu.",name:"containerProps",required:!1,type:{name:'Omit, "className">'}},boundingBoxRef:{defaultValue:null,description:"A ref object attached to a DOM element within which menu will be positioned.\nIf not provided, the nearest ancestor which has CSS `overflow` set to a value\nother than 'visible' or the browser viewport will serve as the bounding box.",name:"boundingBoxRef",required:!1,type:{name:"RefObject"}},boundingBoxPadding:{defaultValue:null,description:"Specify bounding box padding in pixels. Use a syntax similar to the CSS\n`padding` property but sizing units are discarded.\n@example '10', '5 10', '1 2 4', or '2 5 3 1'",name:"boundingBoxPadding",required:!1,type:{name:"string"}},viewScroll:{defaultValue:{value:"'initial'"},description:"Set the behaviour of menu and any of its descendent submenus when window is scrolling:\n- 'initial' The window scroll event is ignored and has no effect on menu.\n- 'auto' Menu will reposition itself based on the value of `position` prop when window is scrolling.\n- 'close' menu will be closed when window is scrolled.",name:"viewScroll",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"close"'},{value:'"initial"'}]}},portal:{defaultValue:null,description:"- If `true`, menu is rendered as a direct child of `document.body`,\n- or you can specify a target element in the DOM as menu container.\n\nPortal allows menu to visually “break out” of its container. Typical use cases may include:\n- An ancestor container is positioned and CSS `overflow` is set to a value other than `visible`.\n- You have a DOM structure that creates a complex hierarchy of stacking contexts,\nand menu is overlapped regardless of `z-index` value.",name:"portal",required:!1,type:{name:"PortalFieldType"}},reposition:{defaultValue:{value:"'auto'"},description:"Specify when menu is repositioned:\n- 'initial' Don't automatically reposition menu. Set to this value when you want\nto explicitly reposition menu using the `repositionFlag` prop.\n- 'auto' Reposition menu whenever its size has changed, using the `ResizeObserver` API.",name:"reposition",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"initial"'}]}},repositionFlag:{defaultValue:null,description:"Use this prop to explicitly reposition menu. Whenever the prop has a new value,\nmenu position will be recalculated and updated.\nYou might use a counter and increase it every time.\n\n*Warning: don't update this prop in rapid succession,\nwhich is inefficient and might cause infinite rendering of component.\nE.g., don't change the value of this prop in `window` scroll event.*",name:"repositionFlag",required:!1,type:{name:"string | number"}},submenuOpenDelay:{defaultValue:{value:"300"},description:"Set a delay in `ms` before opening a submenu when mouse moves over it.",name:"submenuOpenDelay",required:!1,type:{name:"number"}},submenuCloseDelay:{defaultValue:{value:"150"},description:"Set a delay in `ms` before closing a submenu when it's open and mouse is\nmoving over other items in the parent menu list.",name:"submenuCloseDelay",required:!1,type:{name:"number"}},theming:{defaultValue:null,description:"Set a CSS `class` on the container element of menu for theming purpose.",name:"theming",required:!1,type:{name:"string"}},onItemClick:{defaultValue:null,description:"Event fired when descendent menu items are clicked.",name:"onItemClick",required:!1,type:{name:"EventHandler"}},dontShrinkIfDirectionIsTop:{defaultValue:null,description:'NEW Don\'t shrink container if menu direction is "top"',name:"dontShrinkIfDirectionIsTop",required:!1,type:{name:"boolean"}},menuClassName:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"menuClassName",required:!1,type:{name:"ClassNameProp>"}},menuStyle:{defaultValue:null,description:"This prop is forwarded to the `style` prop of menu DOM element.",name:"menuStyle",required:!1,type:{name:"CSSProperties"}},arrowClassName:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"arrowClassName",required:!1,type:{name:"ClassNameProp>"}},arrowStyle:{defaultValue:null,description:"This prop is forwarded to the `style` prop of menu arrow DOM element.",name:"arrowStyle",required:!1,type:{name:"CSSProperties"}},arrow:{defaultValue:null,description:"Set `true` to display an arrow pointing to its anchor element.",name:"arrow",required:!1,type:{name:"boolean"}},offsetX:{defaultValue:{value:"0"},description:"Set the horizontal distance (in pixels) between menu and its anchor element.\nThe value can be negative.",name:"offsetX",required:!1,type:{name:"number"}},offsetY:{defaultValue:{value:"0"},description:"Set the vertical distance (in pixels) between menu and its anchor element.\nThe value can be negative.",name:"offsetY",required:!1,type:{name:"number"}},align:{defaultValue:{value:"'start'"},description:"Set alignment of menu with anchor element.",name:"align",required:!1,type:{name:"enum",value:[{value:'"start"'},{value:'"center"'},{value:'"end"'}]}},direction:{defaultValue:{value:"'bottom'"},description:"Set direction in which menu expands against anchor element.",name:"direction",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'},{value:'"top"'},{value:'"bottom"'}]}},position:{defaultValue:{value:"'auto'"},description:"Set the position of menu related to its anchor element:\n\n- 'auto' menu position is adjusted to have it contained within the viewport,\neven if it will be detached from the anchor element.\nThis option allows to display menu in the viewport as much as possible.\n\n- 'anchor' menu position is adjusted to have it contained within the viewport,\nbut it will be kept attached to the edges of anchor element.\n\n- 'initial' menu always stays at its initial position.",name:"position",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"anchor"'},{value:'"initial"'}]}},overflow:{defaultValue:{value:"'visible'"},description:"Make the menu list scrollable or hidden when there is not enough viewport space to\ndisplay all menu items. The prop is similar to the CSS `overflow` property.",name:"overflow",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"hidden"'},{value:'"visible"'}]}},setDownOverflow:{defaultValue:null,description:"Set computed overflow amount down to a child `MenuGroup`.\nThe `MenuGroup` should have `takeOverflow` prop set as `true` accordingly.",name:"setDownOverflow",required:!1,type:{name:"boolean"}},initialMounted:{defaultValue:null,description:"By default menu isn't mounted into DOM until it's opened for the first time.\nSetting the prop to `true` will change this behaviour,\nwhich also enables menu and its items to be server rendered.",name:"initialMounted",required:!1,type:{name:"boolean"}},unmountOnClose:{defaultValue:null,description:"By default menu remains in DOM when it's closed.\nSetting the prop to `true` will change this behaviour.",name:"unmountOnClose",required:!1,type:{name:"boolean"}},transition:{defaultValue:null,description:"Enable or disable transition effects in `Menu`, `MenuItem`, and any descendent `SubMenu`.\n\nYou can set 'open', 'close' and 'item' at the same time with one boolean value or separately with an object.\n\n*If you enable transition on menu, make sure to add your own animation styles,\nor import `'@szhsin/react-menu/dist/transitions/slide.css'`,\notherwise menu cannot be closed or have visible delay when closed.*\n@example [CodeSandbox Demo](https://codesandbox.io/s/react-menu-sass-i1wxo)",name:"transition",required:!1,type:{name:"TransitionFieldType"}},transitionTimeout:{defaultValue:{value:"500"},description:"A fallback timeout in `ms` to stop transition if `onAnimationEnd` events are not fired.\n\n*Note: this value should be greater than or equal to the duration of\ntransition animation applied on menu.*",name:"transitionTimeout",required:!1,type:{name:"number"}},instanceRef:{defaultValue:null,description:"Menu component ref which can be used to programmatically open or close menu.",name:"instanceRef",required:!1,type:{name:"Ref"}},onMenuChange:{defaultValue:null,description:"Event fired after menu is open or closed.",name:"onMenuChange",required:!1,type:{name:"EventHandler"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/react-menu3/components/Menu.tsx#Menu"]={docgenInfo:Menu.__docgenInfo,name:"Menu",path:"src/react-menu3/components/Menu.tsx#Menu"})}catch(__react_docgen_typescript_loader_error){}const SubMenuFr=_ref=>{let{"aria-label":ariaLabel,className,disabled,direction,label,openTrigger,onMenuChange,isHovering,instanceRef,menuItemRef,itemProps={},...restProps}=_ref;const settings=(0,react.useContext)(SettingsContext),{rootMenuRef}=settings,{submenuOpenDelay,submenuCloseDelay}=(0,react.useContext)(ItemSettingsContext),{parentMenuRef,parentDir,overflow:parentOverflow}=(0,react.useContext)(MenuListContext_MenuListContext),{isParentOpen,isSubmenuOpen,setOpenSubmenuCount,dispatch,updateItems}=(0,react.useContext)(MenuListItemContext),isPortal="visible"!==parentOverflow,[stateProps,toggleMenu,_openMenu]=useMenuStateAndFocus(settings),{state}=stateProps,isDisabled=!!disabled,isOpen=(0,utils.tr)(state),containerRef=(0,react.useRef)(null),timeoutId=(0,react.useRef)(),stopTimer=()=>{timeoutId.current&&(clearTimeout(timeoutId.current),timeoutId.current=void 0)},openMenu=function(){stopTimer(),setHover(),!isDisabled&&_openMenu(...arguments)},setHover=()=>!isHovering&&!isDisabled&&dispatch(utils.$U.SET,null==menuItemRef?void 0:menuItemRef.current,0),delayOpen=delay=>{setHover(),openTrigger||(timeoutId.current=setTimeout((()=>(0,utils.MA)(openMenu)),Math.max(delay,0)))};useItemEffect(isDisabled,menuItemRef,updateItems),useMenuChange(onMenuChange,isOpen),(0,react.useEffect)((()=>()=>clearTimeout(timeoutId.current)),[]),(0,react.useEffect)((()=>{isHovering&&isParentOpen?(null==menuItemRef?void 0:menuItemRef.current)&&menuItemRef.current.focus():toggleMenu(!1)}),[isHovering,isParentOpen,toggleMenu,menuItemRef]),(0,react.useEffect)((()=>{setOpenSubmenuCount((count=>isOpen?count+1:Math.max(count-1,0)))}),[setOpenSubmenuCount,isOpen]),(0,react.useImperativeHandle)(instanceRef,(()=>({openMenu:function(){isParentOpen&&openMenu(...arguments)},closeMenu:()=>{isOpen&&((null==menuItemRef?void 0:menuItemRef.current)&&menuItemRef.current.focus(),toggleMenu(!1))}})));const modifiers=(0,react.useMemo)((()=>({open:isOpen,hover:isHovering,disabled:isDisabled,submenu:!0})),[isOpen,isHovering,isDisabled]),{ref:externalItemRef,className:itemClassName,...restItemProps}=itemProps,mergedItemProps=(0,utils.dG)({onPointerMove:()=>{timeoutId.current||isOpen||isDisabled||(isSubmenuOpen?timeoutId.current=setTimeout((()=>delayOpen(submenuOpenDelay-submenuCloseDelay)),submenuCloseDelay):delayOpen(submenuOpenDelay))},onPointerLeave:()=>{stopTimer(),isOpen||dispatch(utils.$U.UNSET,null==menuItemRef?void 0:menuItemRef.current,0)},onKeyDown:e=>{if(isHovering)switch(e.key){case utils.R8.ENTER:case utils.R8.SPACE:case utils.R8.RIGHT:"none"!==openTrigger&&openMenu(utils.td.FIRST)}},onClick:()=>"none"!==openTrigger&&openMenu()},restItemProps);return(0,jsx_runtime.jsxs)("li",{className:useBEM_useBEM({block:utils.nJ,element:utils.uQ,className}),style:{position:"relative"},role:"presentation",ref:containerRef,onKeyDown:e=>{let handled=!1;switch(e.key){case utils.R8.LEFT:isOpen&&((null==menuItemRef?void 0:menuItemRef.current)&&menuItemRef.current.focus(),toggleMenu(!1),handled=!0);break;case utils.R8.RIGHT:isOpen||(handled=!0)}handled&&(e.preventDefault(),e.stopPropagation())},children:[(0,jsx_runtime.jsx)("div",{role:"menuitem","aria-haspopup":!0,"aria-expanded":isOpen,...mergedItemProps,...(0,utils.$7)(isDisabled,isHovering),ref:useCombinedRef_useCombinedRef(externalItemRef,menuItemRef),className:useBEM_useBEM({block:utils.nJ,element:utils.np,modifiers,className:itemClassName}),children:(0,react.useMemo)((()=>(0,utils.Dx)(label,modifiers)),[label,modifiers])}),state&&(()=>{const menuList=(0,jsx_runtime.jsx)(MenuList,{...restProps,...stateProps,ariaLabel:ariaLabel||("string"==typeof label?label:"Submenu"),anchorRef:menuItemRef,containerRef:isPortal?rootMenuRef:containerRef,direction:direction||("right"===parentDir||"left"===parentDir?parentDir:"right"),parentScrollingRef:isPortal&&parentMenuRef,isDisabled}),container=null==rootMenuRef?void 0:rootMenuRef.current;return isPortal&&container?(0,react_dom.createPortal)(menuList,container):menuList})()]})},SubMenu=(0,utils.mo)("SubMenu",SubMenuFr);try{SubMenuFr.displayName="SubMenuFr",SubMenuFr.__docgenInfo={description:"",displayName:"SubMenuFr",props:{itemProps:{defaultValue:{value:"{}"},description:"Properties of this object are spread to the submenu item DOM element.",name:"itemProps",required:!1,type:{name:"BaseProps>"}},label:{defaultValue:null,description:"The submenu `label` can be a `string` or JSX element, or a render function that returns one.",name:"label",required:!1,type:{name:"RenderProp, ReactNode>"}},openTrigger:{defaultValue:null,description:"- `undefined` submenu opens when the label item is hovered or clicked. This is the default behaviour.\n- 'clickOnly' submenu opens when the label item is clicked.\n- 'none' submenu doesn't open with mouse or keyboard events;\nyou can call the `openMenu` function on `instanceRef` to open submenu programmatically.",name:"openTrigger",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"clickOnly"'}]}},menuClassName:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"menuClassName",required:!1,type:{name:"ClassNameProp>"}},menuStyle:{defaultValue:null,description:"This prop is forwarded to the `style` prop of menu DOM element.",name:"menuStyle",required:!1,type:{name:"CSSProperties"}},arrowClassName:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"arrowClassName",required:!1,type:{name:"ClassNameProp>"}},arrowStyle:{defaultValue:null,description:"This prop is forwarded to the `style` prop of menu arrow DOM element.",name:"arrowStyle",required:!1,type:{name:"CSSProperties"}},arrow:{defaultValue:null,description:"Set `true` to display an arrow pointing to its anchor element.",name:"arrow",required:!1,type:{name:"boolean"}},offsetX:{defaultValue:{value:"0"},description:"Set the horizontal distance (in pixels) between menu and its anchor element.\nThe value can be negative.",name:"offsetX",required:!1,type:{name:"number"}},offsetY:{defaultValue:{value:"0"},description:"Set the vertical distance (in pixels) between menu and its anchor element.\nThe value can be negative.",name:"offsetY",required:!1,type:{name:"number"}},align:{defaultValue:{value:"'start'"},description:"Set alignment of menu with anchor element.",name:"align",required:!1,type:{name:"enum",value:[{value:'"start"'},{value:'"center"'},{value:'"end"'}]}},direction:{defaultValue:{value:"'bottom'"},description:"Set direction in which menu expands against anchor element.",name:"direction",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'},{value:'"top"'},{value:'"bottom"'}]}},position:{defaultValue:{value:"'auto'"},description:"Set the position of menu related to its anchor element:\n\n- 'auto' menu position is adjusted to have it contained within the viewport,\neven if it will be detached from the anchor element.\nThis option allows to display menu in the viewport as much as possible.\n\n- 'anchor' menu position is adjusted to have it contained within the viewport,\nbut it will be kept attached to the edges of anchor element.\n\n- 'initial' menu always stays at its initial position.",name:"position",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"anchor"'},{value:'"initial"'}]}},overflow:{defaultValue:{value:"'visible'"},description:"Make the menu list scrollable or hidden when there is not enough viewport space to\ndisplay all menu items. The prop is similar to the CSS `overflow` property.",name:"overflow",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"hidden"'},{value:'"visible"'}]}},setDownOverflow:{defaultValue:null,description:"Set computed overflow amount down to a child `MenuGroup`.\nThe `MenuGroup` should have `takeOverflow` prop set as `true` accordingly.",name:"setDownOverflow",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"className",required:!1,type:{name:"ClassNameProp"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},index:{defaultValue:null,description:"",name:"index",required:!1,type:{name:"number"}},instanceRef:{defaultValue:null,description:"Menu component ref which can be used to programmatically open or close menu.",name:"instanceRef",required:!1,type:{name:"Ref"}},onMenuChange:{defaultValue:null,description:"Event fired after menu is open or closed.",name:"onMenuChange",required:!1,type:{name:"EventHandler"}},isHovering:{defaultValue:null,description:"",name:"isHovering",required:!1,type:{name:"boolean"}},externalRef:{defaultValue:null,description:"",name:"externalRef",required:!1,type:{name:"MutableRefObject"}},menuItemRef:{defaultValue:null,description:"",name:"menuItemRef",required:!1,type:{name:"MutableRefObject"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/react-menu3/components/SubMenu.tsx#SubMenuFr"]={docgenInfo:SubMenuFr.__docgenInfo,name:"SubMenuFr",path:"src/react-menu3/components/SubMenu.tsx#SubMenuFr"})}catch(__react_docgen_typescript_loader_error){}try{SubMenu.displayName="SubMenu",SubMenu.__docgenInfo={description:"",displayName:"SubMenu",props:{className:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"className",required:!1,type:{name:"ClassNameProp"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},menuClassName:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"menuClassName",required:!1,type:{name:"ClassNameProp>"}},menuStyle:{defaultValue:null,description:"This prop is forwarded to the `style` prop of menu DOM element.",name:"menuStyle",required:!1,type:{name:"CSSProperties"}},arrowClassName:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"arrowClassName",required:!1,type:{name:"ClassNameProp>"}},arrowStyle:{defaultValue:null,description:"This prop is forwarded to the `style` prop of menu arrow DOM element.",name:"arrowStyle",required:!1,type:{name:"CSSProperties"}},arrow:{defaultValue:null,description:"Set `true` to display an arrow pointing to its anchor element.",name:"arrow",required:!1,type:{name:"boolean"}},offsetX:{defaultValue:{value:"0"},description:"Set the horizontal distance (in pixels) between menu and its anchor element.\nThe value can be negative.",name:"offsetX",required:!1,type:{name:"number"}},offsetY:{defaultValue:{value:"0"},description:"Set the vertical distance (in pixels) between menu and its anchor element.\nThe value can be negative.",name:"offsetY",required:!1,type:{name:"number"}},align:{defaultValue:{value:"'start'"},description:"Set alignment of menu with anchor element.",name:"align",required:!1,type:{name:"enum",value:[{value:'"start"'},{value:'"center"'},{value:'"end"'}]}},direction:{defaultValue:{value:"'bottom'"},description:"Set direction in which menu expands against anchor element.",name:"direction",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'},{value:'"top"'},{value:'"bottom"'}]}},position:{defaultValue:{value:"'auto'"},description:"Set the position of menu related to its anchor element:\n\n- 'auto' menu position is adjusted to have it contained within the viewport,\neven if it will be detached from the anchor element.\nThis option allows to display menu in the viewport as much as possible.\n\n- 'anchor' menu position is adjusted to have it contained within the viewport,\nbut it will be kept attached to the edges of anchor element.\n\n- 'initial' menu always stays at its initial position.",name:"position",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"anchor"'},{value:'"initial"'}]}},overflow:{defaultValue:{value:"'visible'"},description:"Make the menu list scrollable or hidden when there is not enough viewport space to\ndisplay all menu items. The prop is similar to the CSS `overflow` property.",name:"overflow",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"hidden"'},{value:'"visible"'}]}},setDownOverflow:{defaultValue:null,description:"Set computed overflow amount down to a child `MenuGroup`.\nThe `MenuGroup` should have `takeOverflow` prop set as `true` accordingly.",name:"setDownOverflow",required:!1,type:{name:"boolean"}},instanceRef:{defaultValue:null,description:"Menu component ref which can be used to programmatically open or close menu.",name:"instanceRef",required:!1,type:{name:"Ref"}},onMenuChange:{defaultValue:null,description:"Event fired after menu is open or closed.",name:"onMenuChange",required:!1,type:{name:"EventHandler"}},externalRef:{defaultValue:null,description:"",name:"externalRef",required:!1,type:{name:"MutableRefObject"}},label:{defaultValue:null,description:"The submenu `label` can be a `string` or JSX element, or a render function that returns one.",name:"label",required:!1,type:{name:"RenderProp, ReactNode>"}},openTrigger:{defaultValue:null,description:"- `undefined` submenu opens when the label item is hovered or clicked. This is the default behaviour.\n- 'clickOnly' submenu opens when the label item is clicked.\n- 'none' submenu doesn't open with mouse or keyboard events;\nyou can call the `openMenu` function on `instanceRef` to open submenu programmatically.",name:"openTrigger",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"clickOnly"'}]}},isHovering:{defaultValue:null,description:"",name:"isHovering",required:!1,type:{name:"boolean"}},menuItemRef:{defaultValue:null,description:"",name:"menuItemRef",required:!1,type:{name:"MutableRefObject"}},itemProps:{defaultValue:{value:"{}"},description:"Properties of this object are spread to the submenu item DOM element.",name:"itemProps",required:!1,type:{name:"BaseProps>"}},index:{defaultValue:null,description:"",name:"index",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/react-menu3/components/SubMenu.tsx#SubMenu"]={docgenInfo:SubMenu.__docgenInfo,name:"SubMenu",path:"src/react-menu3/components/SubMenu.tsx#SubMenu"})}catch(__react_docgen_typescript_loader_error){}const RadioGroupContext_RadioGroupContext=(0,react.createContext)({}),MenuItem=(0,utils.mo)("MenuItem",(_ref=>{let{className,value,href,type,checked,disabled,children,onClick,isHovering,menuItemRef,externalRef,...restProps}=_ref;const isDisabled=!!disabled,{setHover,...restStateProps}=useItemState(menuItemRef,menuItemRef,isHovering,isDisabled),eventHandlers=(0,react.useContext)(EventHandlersContext),radioGroup=(0,react.useContext)(RadioGroupContext_RadioGroupContext),isRadio="radio"===type,isCheckBox="checkbox"===type,isAnchor=!(!href||isDisabled||isRadio||isCheckBox),isChecked=isRadio?radioGroup.value===value:!!isCheckBox&&!!checked,handleClick=e=>{if(isDisabled)return void(e.syntheticEvent?(e.syntheticEvent.stopPropagation(),e.syntheticEvent.preventDefault()):(e.stopPropagation(),e.preventDefault()));const event={value,syntheticEvent:e};if(void 0!==e.key){const ke=e;event.key=ke.key,event.shiftKey=ke.shiftKey}isCheckBox&&(event.checked=!isChecked),isRadio&&(event.name=radioGroup.name),(0,utils.Dx)(onClick,event),isRadio&&(0,utils.Dx)(radioGroup.onRadioChange,event),eventHandlers.handleClick(event,isCheckBox||isRadio)},modifiers=(0,react.useMemo)((()=>({type,disabled:isDisabled,hover:isHovering,checked:isChecked,anchor:isAnchor})),[type,isDisabled,isHovering,isChecked,isAnchor]),mergedProps=(0,utils.dG)({...restStateProps,onPointerDown:setHover,onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),e.stopPropagation())},onKeyUp:e=>{if(isHovering)switch(e.key){case utils.R8.ENTER:case utils.R8.TAB:case utils.R8.SPACE:e.preventDefault(),e.stopPropagation(),isAnchor?(null==menuItemRef?void 0:menuItemRef.current)&&menuItemRef.current.click():handleClick(e)}},onClick:handleClick},restProps),menuItemProps={role:isRadio?"menuitemradio":isCheckBox?"menuitemcheckbox":"menuitem","aria-checked":isRadio||isCheckBox?isChecked:void 0,...mergedProps,...(0,utils.$7)(isDisabled,isHovering),ref:useCombinedRef_useCombinedRef(externalRef,menuItemRef),className:useBEM_useBEM({block:utils.nJ,element:utils.np,modifiers,className}),children:(0,react.useMemo)((()=>(0,utils.Dx)(children,modifiers)),[children,modifiers])};return isAnchor?(0,jsx_runtime.jsx)("li",{role:"presentation",children:(0,jsx_runtime.jsx)("a",{href,...menuItemProps})}):(0,jsx_runtime.jsx)("li",{...menuItemProps})}));try{MenuItem.displayName="MenuItem",MenuItem.__docgenInfo={description:"",displayName:"MenuItem",props:{value:{defaultValue:null,description:"Any value provided to this prop will be available in the event object of click events.\n\nIt's useful for helping identify which menu item is clicked when you\nlisten on `onItemClick` event on root menu component.",name:"value",required:!1,type:{name:"any"}},children:{defaultValue:null,description:"Any valid React node or a render function that returns one.",name:"children",required:!1,type:{name:"RenderProp, ReactNode>"}},type:{defaultValue:null,description:"Set this prop to make the item a checkbox or radio menu item.",name:"type",required:!1,type:{name:"enum",value:[{value:'"checkbox"'},{value:'"radio"'}]}},className:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"className",required:!1,type:{name:"ClassNameProp>"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},onClick:{defaultValue:null,description:"Event fired when the menu item is clicked.",name:"onClick",required:!1,type:{name:"EventHandler"}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"string"}},externalRef:{defaultValue:null,description:"",name:"externalRef",required:!1,type:{name:"MutableRefObject"}},target:{defaultValue:null,description:"",name:"target",required:!1,type:{name:"string"}},isHovering:{defaultValue:null,description:"",name:"isHovering",required:!1,type:{name:"boolean"}},menuItemRef:{defaultValue:null,description:"",name:"menuItemRef",required:!1,type:{name:"MutableRefObject"}},index:{defaultValue:null,description:"",name:"index",required:!1,type:{name:"number"}},href:{defaultValue:null,description:"If provided, menu item renders an HTML `` element with this `href` attribute.",name:"href",required:!1,type:{name:"string"}},checked:{defaultValue:null,description:"Set `true` if a checkbox menu item is checked.\n\n*Please note radio menu item doesn't use this prop.*",name:"checked",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/react-menu3/components/MenuItem.tsx#MenuItem"]={docgenInfo:MenuItem.__docgenInfo,name:"MenuItem",path:"src/react-menu3/components/MenuItem.tsx#MenuItem"})}catch(__react_docgen_typescript_loader_error){}const FocusableItemFr=_ref=>{let{className,disabled,children,isHovering,menuItemRef,externalRef,...restProps}=_ref;const isDisabled=!!disabled,ref=(0,react.useRef)(null),{setHover,onPointerLeave,...restStateProps}=useItemState(menuItemRef,ref,isHovering,isDisabled),{handleClose}=(0,react.useContext)(EventHandlersContext),modifiers=(0,react.useMemo)((()=>({disabled:isDisabled,hover:isHovering,focusable:!0})),[isDisabled,isHovering]),renderChildren=(0,react.useMemo)((()=>(0,utils.Dx)(children,{...modifiers,ref,closeMenu:handleClose})),[children,modifiers,handleClose]),mergedProps=(0,utils.dG)({...restStateProps,onPointerLeave:e=>onPointerLeave(e,!0),onFocus:setHover},restProps);return(0,jsx_runtime.jsx)("li",{role:"menuitem",...mergedProps,...(0,utils.$7)(isDisabled),ref:useCombinedRef_useCombinedRef(externalRef,menuItemRef),className:useBEM_useBEM({block:utils.nJ,element:utils.np,modifiers,className}),children:renderChildren})},FocusableItem=(0,utils.mo)("FocusableItem",FocusableItemFr);try{FocusableItemFr.displayName="FocusableItemFr",FocusableItemFr.__docgenInfo={description:"",displayName:"FocusableItemFr",props:{disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},className:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"className",required:!1,type:{name:"ClassNameProp"}},isHovering:{defaultValue:null,description:"",name:"isHovering",required:!1,type:{name:"boolean"}},externalRef:{defaultValue:null,description:"",name:"externalRef",required:!1,type:{name:"MutableRefObject"}},menuItemRef:{defaultValue:null,description:"",name:"menuItemRef",required:!1,type:{name:"MutableRefObject"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/react-menu3/components/FocusableItem.tsx#FocusableItemFr"]={docgenInfo:FocusableItemFr.__docgenInfo,name:"FocusableItemFr",path:"src/react-menu3/components/FocusableItem.tsx#FocusableItemFr"})}catch(__react_docgen_typescript_loader_error){}try{FocusableItem.displayName="FocusableItem",FocusableItem.__docgenInfo={description:"",displayName:"FocusableItem",props:{className:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"className",required:!1,type:{name:"ClassNameProp"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},externalRef:{defaultValue:null,description:"",name:"externalRef",required:!1,type:{name:"MutableRefObject"}},isHovering:{defaultValue:null,description:"",name:"isHovering",required:!1,type:{name:"boolean"}},menuItemRef:{defaultValue:null,description:"",name:"menuItemRef",required:!1,type:{name:"MutableRefObject"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/react-menu3/components/FocusableItem.tsx#FocusableItem"]={docgenInfo:FocusableItem.__docgenInfo,name:"FocusableItem",path:"src/react-menu3/components/FocusableItem.tsx#FocusableItem"})}catch(__react_docgen_typescript_loader_error){}const MenuDividerFr=(_ref,externalRef)=>{let{className,...restProps}=_ref;return(0,jsx_runtime.jsx)("li",{role:"separator",...restProps,ref:externalRef,className:useBEM_useBEM({block:utils.nJ,element:utils.IK,className})})},MenuDivider=(0,react.memo)((0,react.forwardRef)(MenuDividerFr));try{MenuDivider.displayName="MenuDivider",MenuDivider.__docgenInfo={description:"",displayName:"MenuDivider",props:{className:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"className",required:!1,type:{name:"ClassNameProp"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLLIElement | null) => void) | RefObject | null"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/react-menu3/components/MenuDivider.tsx#MenuDivider"]={docgenInfo:MenuDivider.__docgenInfo,name:"MenuDivider",path:"src/react-menu3/components/MenuDivider.tsx#MenuDivider"})}catch(__react_docgen_typescript_loader_error){}const MenuHeaderFr=(_ref,externalRef)=>{let{className,...restProps}=_ref;return(0,jsx_runtime.jsx)("li",{role:"presentation",...restProps,ref:externalRef,className:useBEM_useBEM({block:utils.nJ,element:utils.Vg,className})})},MenuHeader=(0,react.memo)((0,react.forwardRef)(MenuHeaderFr));try{MenuHeader.displayName="MenuHeader",MenuHeader.__docgenInfo={description:"",displayName:"MenuHeader",props:{className:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"className",required:!1,type:{name:"ClassNameProp"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLLIElement | null) => void) | RefObject | null"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/react-menu3/components/MenuHeader.tsx#MenuHeader"]={docgenInfo:MenuHeader.__docgenInfo,name:"MenuHeader",path:"src/react-menu3/components/MenuHeader.tsx#MenuHeader"})}catch(__react_docgen_typescript_loader_error){}const MenuGroup=null;try{MenuGroup.displayName="MenuGroup",MenuGroup.__docgenInfo={description:"",displayName:"MenuGroup",props:{className:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"className",required:!1,type:{name:"ClassNameProp"}},takeOverflow:{defaultValue:null,description:"Set `true` to apply overflow of the parent menu to the group.\nOnly one `MenuGroup` in a menu should set this prop as `true`.",name:"takeOverflow",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/react-menu3/components/MenuGroup.tsx#MenuGroup"]={docgenInfo:MenuGroup.__docgenInfo,name:"MenuGroup",path:"src/react-menu3/components/MenuGroup.tsx#MenuGroup"})}catch(__react_docgen_typescript_loader_error){}const MenuRadioGroup=null;try{MenuRadioGroup.displayName="MenuRadioGroup",MenuRadioGroup.__docgenInfo={description:"",displayName:"MenuRadioGroup",props:{name:{defaultValue:null,description:"Optionally set the radio group name.\n\nThe name will be passed to the `onRadioChange` event.\nIt's useful for identifying radio groups if you attach the same event handler to multiple groups.",name:"name",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"Set value of the radio group.\n\nThe child menu item which has the same value (strict equality ===) as the\nradio group is marked as checked.",name:"value",required:!1,type:{name:"any"}},className:{defaultValue:null,description:"Can be a string or a function which receives a modifier object and returns a CSS `class` string.",name:"className",required:!1,type:{name:"ClassNameProp"}},onRadioChange:{defaultValue:null,description:"Event fired when a child menu item is clicked (selected).",name:"onRadioChange",required:!1,type:{name:"EventHandler"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/react-menu3/components/MenuRadioGroup.tsx#MenuRadioGroup"]={docgenInfo:MenuRadioGroup.__docgenInfo,name:"MenuRadioGroup",path:"src/react-menu3/components/MenuRadioGroup.tsx#MenuRadioGroup"})}catch(__react_docgen_typescript_loader_error){}},"./src/react-menu3/utils/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{GB:()=>CloseReason,td:()=>FocusPositions,$U:()=>HoverActionTypes,R8:()=>Keys,_f:()=>MenuStateMap,MA:()=>batchedUpdates,$7:()=>commonProps,eO:()=>floatEqual,l7:()=>focusFirstInput,oY:()=>getName,GZ:()=>getScrollAncestor,us:()=>getTransition,O:()=>indexOfNode,tr:()=>isMenuOpen,fM:()=>menuArrowClass,es:()=>menuButtonClass,nJ:()=>menuClass,Kk:()=>menuContainerClass,IK:()=>menuDividerClass,Vg:()=>menuHeaderClass,np:()=>menuItemClass,dG:()=>mergeProps,dj:()=>parsePadding,Dx:()=>safeCall,uQ:()=>subMenuClass,mo:()=>withHovering});const menuContainerClass="szh-menu-container",menuClass="szh-menu",menuButtonClass="szh-menu-button",menuArrowClass="arrow",menuItemClass="item",menuDividerClass="divider",menuHeaderClass="header",subMenuClass="submenu",Keys=Object.freeze({ENTER:"Enter",TAB:"Tab",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),HoverActionTypes=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),CloseReason=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll",TAB_FORWARD:"tab_forward",TAB_BACKWARD:"tab_backward"}),FocusPositions=Object.freeze({FIRST:"first",LAST:"last"}),MenuStateMap=Object.freeze({entering:"opening",entered:"open",exiting:"closing",exited:"closed"});var findIndex=__webpack_require__("./node_modules/lodash-es/findIndex.js"),react_dom=__webpack_require__("./node_modules/react-dom/index.js");const isMenuOpen=state=>!!state&&"o"===state[0],batchedUpdates=react_dom.unstable_batchedUpdates||(callback=>callback()),floatEqual=(Object.values,function(a,b){let diff=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e-4;return Math.abs(a-b)!0===transition||!(!transition||!transition[name]);function safeCall(fn,arg){return"function"==typeof fn?fn(arg):fn}const getName=component=>component._szhsinMenu,mergeProps=(target,source)=>(source&&Object.keys(source).forEach((key=>{const targetProp=target[key],sourceProp=source[key];target[key]="function"==typeof sourceProp&&targetProp?function(){sourceProp(...arguments),targetProp(...arguments)}:sourceProp})),target),parsePadding=paddingStr=>{if(null==paddingStr)return{top:0,right:0,bottom:0,left:0};const padding=paddingStr.trim().split(/\s+/,4).map(parseFloat),top=isNaN(padding[0])?0:padding[0],right=isNaN(padding[1])?top:padding[1];return{top,right,bottom:isNaN(padding[2])?top:padding[2],left:isNaN(padding[3])?right:padding[3]}},getScrollAncestor=node=>{var _defaultView,_node$ownerDocument,_node;const thisWindow=null!==(_defaultView=(null!==(_node$ownerDocument=null===(_node=node)||void 0===_node?void 0:_node.ownerDocument)&&void 0!==_node$ownerDocument?_node$ownerDocument:document).defaultView)&&void 0!==_defaultView?_defaultView:window;for(;node;){var _thisWindow$document;if(!(node=node.parentNode)||node===(null==thisWindow||null===(_thisWindow$document=thisWindow.document)||void 0===_thisWindow$document?void 0:_thisWindow$document.body))return null;if(node instanceof Element){const{overflow,overflowX,overflowY}=thisWindow.getComputedStyle(node);if(/auto|scroll|overlay|hidden/.test(overflow+overflowY+overflowX))return node}}return null};function commonProps(isDisabled,isHovering){return{"aria-disabled":isDisabled||void 0,tabIndex:isHovering?0:-1}}const indexOfNode=(nodeList,node)=>(0,findIndex.Z)(nodeList,node),focusFirstInput=container=>{if(!container||!("querySelectorAll"in container))return!1;const input=container.querySelectorAll("input[type='text'],input:not([type]),textarea")[0];return!(!input||!("focus"in input))&&(input.focus(),["textarea","text"].includes(input.type)&&input.setSelectionRange(0,input.value.length),!0)};var react=__webpack_require__("./node_modules/react/index.js"),HoverItemContext=__webpack_require__("./src/react-menu3/contexts/HoverItemContext.ts"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const withHovering=(name,WrappedComponent)=>{const Component=(0,react.memo)(WrappedComponent),WithHovering=(0,react.forwardRef)(((props,ref)=>{const menuItemRef=(0,react.useRef)(null);return(0,jsx_runtime.jsx)(Component,{...props,menuItemRef,externalRef:ref,isHovering:(0,react.useContext)(HoverItemContext.c)===menuItemRef.current})}));return WithHovering.displayName="WithHovering(".concat(name,")"),WithHovering}},"./src/utils/util.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Bx:()=>fnOrVar,Dc:()=>wait,K6:()=>hasParentClass,Q7:()=>isFloat,UE:()=>isNotEmpty,Uh:()=>findParentWithClass,fB:()=>sanitiseFileName,qu:()=>stringByteLengthIsInvalid});var lodash_es__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/lodash-es/negate.js"),lodash_es__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/lodash-es/isEmpty.js");const isNotEmpty=(0,lodash_es__WEBPACK_IMPORTED_MODULE_0__.Z)(lodash_es__WEBPACK_IMPORTED_MODULE_1__.Z),wait=timeoutMs=>new Promise((resolve=>{setTimeout(resolve,timeoutMs)})),isFloatRegExp=/^-?\d*\.?\d*$/,isFloat=value=>{try{return!Number.isNaN(parseFloat(value))&&isFloatRegExp.test(value)}catch{return!1}},findParentWithClass=function(className,child){for(let node=child;node;node=node.parentNode)if(node.classList&&node.classList.contains(className))return node;return null},hasParentClass=function(className,child){for(let node=child;node;node=node.parentNode)if(node.classList&&node.classList.contains(className))return!0;return!1},stringByteLengthIsInvalid=(str,maxBytes)=>(new TextEncoder).encode(str).length>maxBytes,fnOrVar=(fn,param)=>"function"==typeof fn?fn(param):fn,sanitiseFileName=filename=>{const valid=filename.trim().replaceAll(/(\/|\\)+/g,"-").replaceAll(/\s+/g,"_").replaceAll(/[^\w\-āēīōūĀĒĪŌŪ.]/g,""),parts=valid.split("."),fileExt=parts.length>1?parts.pop():void 0;return fileExt?valid.slice(0,-fileExt.length-1).slice(0,64)+"."+fileExt:valid.slice().slice(0,64)}},"?b93a":()=>{}}]); \ No newline at end of file diff --git a/3049.299fd9a7.iframe.bundle.js b/3049.299fd9a7.iframe.bundle.js new file mode 100644 index 00000000..de864bd4 --- /dev/null +++ b/3049.299fd9a7.iframe.bundle.js @@ -0,0 +1,5 @@ +"use strict";(self.webpackChunk_linzjs_step_ag_grid=self.webpackChunk_linzjs_step_ag_grid||[]).push([[3049],{"./node_modules/@storybook/test/dist/index.mjs":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{X_:()=>waitFor2,fn:()=>fn2,l_:()=>expect3,mV:()=>userEvent2,uh:()=>within});var _storybook_instrumenter__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/instrumenter/dist/index.mjs"),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("@storybook/client-logger");module=__webpack_require__.hmd(module);var process=__webpack_require__("./node_modules/process/browser.js"),__create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__require=__webpack_require__("./node_modules/@storybook/test/dist sync recursive"),__commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__toESM=(mod,isNodeMode,target)=>(target=null!=mod?__create(__getProtoOf(mod)):{},((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(!isNodeMode&&mod&&mod.__esModule?target:__defProp(target,"default",{value:mod,enumerable:!0}),mod)),require_assertion_error=__commonJS({"../../node_modules/assertion-error/index.js"(exports,module2){function exclude(){var excludes=[].slice.call(arguments);function excludeProps(res,obj){Object.keys(obj).forEach((function(key){~excludes.indexOf(key)||(res[key]=obj[key])}))}return function(){for(var args=[].slice.call(arguments),i=0,res={};i"u"||null===obj)&&name in Object(obj)}function parsePath(path){return path.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map((function(value){if("constructor"===value||"__proto__"===value||"prototype"===value)return{};var mArr=/^\[(\d+)\]$/.exec(value);return mArr?{i:parseFloat(mArr[1])}:{p:value.replace(/\\([.[\]])/g,"$1")}}))}function internalGetPathValue(obj,parsed,pathDepth){var temporaryValue=obj,res=null;pathDepth=typeof pathDepth>"u"?parsed.length:pathDepth;for(var i=0;i"u"?temporaryValue[part.i]:temporaryValue[part.p],i===pathDepth-1&&(res=temporaryValue))}return res}function getPathInfo(obj,path){var parsed=parsePath(path),last=parsed[parsed.length-1],info={parent:parsed.length>1?internalGetPathValue(obj,parsed,parsed.length-1):obj,name:last.p||last.i,value:internalGetPathValue(obj,parsed)};return info.exists=hasProperty(info.parent,info.name),info}module2.exports={hasProperty,getPathInfo,getPathValue:function getPathValue(obj,path){return getPathInfo(obj,path).value},setPathValue:function setPathValue(obj,path,val){return function internalSetPathValue(obj,val,parsed){for(var tempObj=obj,pathDepth=parsed.length,part=null,i=0;i"u"?part.i:part.p]=val;else if(typeof part.p<"u"&&tempObj[part.p])tempObj=tempObj[part.p];else if(typeof part.i<"u"&&tempObj[part.i])tempObj=tempObj[part.i];else{var next=parsed[i+1];propName=typeof part.p>"u"?part.i:part.p,propVal=typeof next.p>"u"?[]:{},tempObj[propName]=propVal,tempObj=tempObj[propName]}}}(obj,val,parsePath(path)),obj}}}}),require_flag=__commonJS({"../../node_modules/chai/lib/chai/utils/flag.js"(exports,module2){module2.exports=function(obj,key,value){var flags=obj.__flags||(obj.__flags=Object.create(null));if(3!==arguments.length)return flags[key];flags[key]=value}}}),require_test=__commonJS({"../../node_modules/chai/lib/chai/utils/test.js"(exports,module2){var flag=require_flag();module2.exports=function(obj,args){var negate=flag(obj,"negate"),expr=args[0];return negate?!expr:expr}}}),require_type_detect=__commonJS({"../../node_modules/type-detect/type-detect.js"(exports,module2){var global2,factory;global2=exports,factory=function(){var promiseExists="function"==typeof Promise,globalObject="object"==typeof self?self:__webpack_require__.g,symbolExists=typeof Symbol<"u",mapExists=typeof Map<"u",setExists=typeof Set<"u",weakMapExists=typeof WeakMap<"u",weakSetExists=typeof WeakSet<"u",dataViewExists=typeof DataView<"u",symbolIteratorExists=symbolExists&&typeof Symbol.iterator<"u",symbolToStringTagExists=symbolExists&&typeof Symbol.toStringTag<"u",setEntriesExists=setExists&&"function"==typeof Set.prototype.entries,mapEntriesExists=mapExists&&"function"==typeof Map.prototype.entries,setIteratorPrototype=setEntriesExists&&Object.getPrototypeOf((new Set).entries()),mapIteratorPrototype=mapEntriesExists&&Object.getPrototypeOf((new Map).entries()),arrayIteratorExists=symbolIteratorExists&&"function"==typeof Array.prototype[Symbol.iterator],arrayIteratorPrototype=arrayIteratorExists&&Object.getPrototypeOf([][Symbol.iterator]()),stringIteratorExists=symbolIteratorExists&&"function"==typeof String.prototype[Symbol.iterator],stringIteratorPrototype=stringIteratorExists&&Object.getPrototypeOf(""[Symbol.iterator]());return function typeDetect(obj){var typeofObj=typeof obj;if("object"!==typeofObj)return typeofObj;if(null===obj)return"null";if(obj===globalObject)return"global";if(Array.isArray(obj)&&(!1===symbolToStringTagExists||!(Symbol.toStringTag in obj)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&obj===window.location)return"Location";if("object"==typeof window.document&&obj===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&obj===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&obj===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&obj instanceof window.HTMLElement){if("BLOCKQUOTE"===obj.tagName)return"HTMLQuoteElement";if("TD"===obj.tagName)return"HTMLTableDataCellElement";if("TH"===obj.tagName)return"HTMLTableHeaderCellElement"}}var stringTag=symbolToStringTagExists&&obj[Symbol.toStringTag];if("string"==typeof stringTag)return stringTag;var objPrototype=Object.getPrototypeOf(obj);return objPrototype===RegExp.prototype?"RegExp":objPrototype===Date.prototype?"Date":promiseExists&&objPrototype===Promise.prototype?"Promise":setExists&&objPrototype===Set.prototype?"Set":mapExists&&objPrototype===Map.prototype?"Map":weakSetExists&&objPrototype===WeakSet.prototype?"WeakSet":weakMapExists&&objPrototype===WeakMap.prototype?"WeakMap":dataViewExists&&objPrototype===DataView.prototype?"DataView":mapExists&&objPrototype===mapIteratorPrototype?"Map Iterator":setExists&&objPrototype===setIteratorPrototype?"Set Iterator":arrayIteratorExists&&objPrototype===arrayIteratorPrototype?"Array Iterator":stringIteratorExists&&objPrototype===stringIteratorPrototype?"String Iterator":null===objPrototype?"Object":Object.prototype.toString.call(obj).slice(8,-1)}},"object"==typeof exports&&typeof module2<"u"?module2.exports=factory():"function"==typeof define&&__webpack_require__.amdO?define(factory):global2.typeDetect=factory()}}),require_expectTypes=__commonJS({"../../node_modules/chai/lib/chai/utils/expectTypes.js"(exports,module2){var AssertionError2=require_assertion_error(),flag=require_flag(),type3=require_type_detect();module2.exports=function(obj,types){var flagMsg=flag(obj,"message"),ssfi=flag(obj,"ssfi");flagMsg=flagMsg?flagMsg+": ":"",obj=flag(obj,"object"),(types=types.map((function(t){return t.toLowerCase()}))).sort();var str=types.map((function(t,index){var art=~["a","e","i","o","u"].indexOf(t.charAt(0))?"an":"a";return(types.length>1&&index===types.length-1?"or ":"")+art+" "+t})).join(", "),objType=type3(obj).toLowerCase();if(!types.some((function(expected){return objType===expected})))throw new AssertionError2(flagMsg+"object tested must be "+str+", but "+objType+" given",void 0,ssfi)}}}),require_getActual=__commonJS({"../../node_modules/chai/lib/chai/utils/getActual.js"(exports,module2){module2.exports=function(obj,args){return args.length>4?args[4]:obj._obj}}}),require_get_func_name=__commonJS({"../../node_modules/get-func-name/index.js"(exports,module2){var toString=Function.prototype.toString,functionNameMatch=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/;module2.exports=function getFuncName(aFunc){if("function"!=typeof aFunc)return null;var name="";if(typeof Function.prototype.name>"u"&&typeof aFunc.name>"u"){var functionSource=toString.call(aFunc);if(functionSource.indexOf("(")>512)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1])}else name=aFunc.name;return name}}}),require_loupe=__commonJS({"../../node_modules/loupe/loupe.js"(exports,module2){var global2,factory;global2=exports,factory=function(exports2){function _typeof5(obj){return(_typeof5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj2){return typeof obj2}:function(obj2){return obj2&&"function"==typeof Symbol&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2})(obj)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if(!(typeof Symbol>"u")&&Symbol.iterator in Object(arr)){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i2&&void 0!==arguments[2]?arguments[2]:truncator;string2=String(string2);var tailLength=tail.length,stringLength=string2.length;return tailLength>length&&stringLength>tailLength?tail:stringLength>length&&stringLength>tailLength?"".concat(string2.slice(0,length-tailLength)).concat(tail):string2}function inspectList(list,options,inspectItem){var separator=arguments.length>3&&void 0!==arguments[3]?arguments[3]:", ";inspectItem=inspectItem||options.inspect;var size=list.length;if(0===size)return"";for(var originalLength=options.truncate,output="",peek="",truncated="",i=0;ioriginalLength&&output.length+truncated.length<=originalLength||!last&&!secondToLast&&truncatedLength>originalLength||(peek=last?"":inspectItem(list[i+1],options)+(secondToLast?"":separator),!last&&secondToLast&&truncatedLength>originalLength&&nextLength+peek.length>originalLength))break;if(output+=string2,!last&&!secondToLast&&nextLength+peek.length>=originalLength){truncated="".concat(truncator,"(").concat(list.length-i-1,")");break}truncated=""}return"".concat(output).concat(truncated)}function inspectProperty(_ref2,options){var _ref3=_slicedToArray(_ref2,2),key=_ref3[0],value=_ref3[1];return options.truncate-=2,"string"==typeof key?key=function quoteComplexKey(key){return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?key:JSON.stringify(key).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}(key):"number"!=typeof key&&(key="[".concat(options.inspect(key,options),"]")),options.truncate-=key.length,value=options.inspect(value,options),"".concat(key,": ").concat(value)}var toString=Function.prototype.toString,functionNameMatch=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,getFuncName_1=function getFuncName(aFunc){if("function"!=typeof aFunc)return null;var name="";if(typeof Function.prototype.name>"u"&&typeof aFunc.name>"u"){var functionSource=toString.call(aFunc);if(functionSource.indexOf("(")>512)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1])}else name=aFunc.name;return name};function inspectTypedArray(array,options){var name=function(array){return"function"==typeof Buffer&&array instanceof Buffer?"Buffer":array[Symbol.toStringTag]?array[Symbol.toStringTag]:getFuncName_1(array.constructor)}(array);options.truncate-=name.length+4;var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"".concat(name,"[]");for(var output="",i=0;i ").concat(value)}var isNaN2=Number.isNaN||function(i){return i!=i};function inspectNumber(number,options){return isNaN2(number)?options.stylize("NaN","number"):number===1/0?options.stylize("Infinity","number"):number===-1/0?options.stylize("-Infinity","number"):0===number?options.stylize(1/number==1/0?"+0":"-0","number"):options.stylize(truncate(number,options.truncate),"number")}function inspectBigInt(number,options){var nums=truncate(number.toString(),options.truncate-1);return nums!==truncator&&(nums+="n"),options.stylize(nums,"bigint")}var stringEscapeChars=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),escapeCharacters={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},hex=16,unicodeLength=4;function escape2(char){return escapeCharacters[char]||"\\u".concat("0000".concat(char.charCodeAt(0).toString(hex)).slice(-unicodeLength))}function inspectString(string2,options){return stringEscapeChars.test(string2)&&(string2=string2.replace(stringEscapeChars,escape2)),options.stylize("'".concat(truncate(string2,options.truncate-2),"'"),"string")}function inspectSymbol(value){return"description"in Symbol.prototype?value.description?"Symbol(".concat(value.description,")"):"Symbol()":value.toString()}var getPromiseValue=function(){return"Promise{…}"};try{var _process$binding=process.binding("util"),getPromiseDetails=_process$binding.getPromiseDetails,kPending=_process$binding.kPending,kRejected=_process$binding.kRejected;Array.isArray(getPromiseDetails(Promise.resolve()))&&(getPromiseValue=function(value,options){var _getPromiseDetails2=_slicedToArray(getPromiseDetails(value),2),state=_getPromiseDetails2[0],innerValue=_getPromiseDetails2[1];return state===kPending?"Promise{}":"Promise".concat(state===kRejected?"!":"","{").concat(options.inspect(innerValue,options),"}")})}catch{}var inspectPromise=getPromiseValue;function inspectObject(object,options){var properties=Object.getOwnPropertyNames(object),symbols=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(object):[];if(0===properties.length&&0===symbols.length)return"{}";if(options.truncate-=4,options.seen=options.seen||[],options.seen.indexOf(object)>=0)return"[Circular]";options.seen.push(object);var propertyContents=inspectList(properties.map((function(key){return[key,object[key]]})),options,inspectProperty),symbolContents=inspectList(symbols.map((function(key){return[key,object[key]]})),options,inspectProperty);options.seen.pop();var sep="";return propertyContents&&symbolContents&&(sep=", "),"{ ".concat(propertyContents).concat(sep).concat(symbolContents," }")}var toStringTag=!!(typeof Symbol<"u"&&Symbol.toStringTag)&&Symbol.toStringTag,errorKeys=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function inspectAttribute(_ref,options){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];return options.truncate-=3,value?"".concat(options.stylize(key,"yellow"),"=").concat(options.stylize('"'.concat(value,'"'),"string")):"".concat(options.stylize(key,"yellow"))}function inspectHTMLCollection(collection,options){return inspectList(collection,options,inspectHTML,"\n")}function inspectHTML(element,options){var properties=element.getAttributeNames(),name=element.tagName.toLowerCase(),head=options.stylize("<".concat(name),"special"),headClose=options.stylize(">","special"),tail=options.stylize(""),"special");options.truncate-=2*name.length+5;var propertyContents="";properties.length>0&&(propertyContents+=" ",propertyContents+=inspectList(properties.map((function(key){return[key,element.getAttribute(key)]})),options,inspectAttribute," ")),options.truncate-=propertyContents.length;var truncate2=options.truncate,children=inspectHTMLCollection(element.children,options);return children&&children.length>truncate2&&(children="".concat(truncator,"(").concat(element.children.length,")")),"".concat(head).concat(propertyContents).concat(headClose).concat(children).concat(tail)}var chaiInspect="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("chai/inspect"):"@@chai/inspect",nodeInspect=!1;try{var nodeUtil=__require("util");nodeInspect=!!nodeUtil.inspect&&nodeUtil.inspect.custom}catch{nodeInspect=!1}function FakeMap(){this.key="chai/loupe__"+Math.random()+Date.now()}FakeMap.prototype={get:function(key){return key[this.key]},has:function(key){return this.key in key},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this.key,{value,configurable:!0})}};var constructorMap=new("function"==typeof WeakMap?WeakMap:FakeMap),stringTagMap={},baseTypesMap={undefined:function(value,options){return options.stylize("undefined","undefined")},null:function(value,options){return options.stylize(null,"null")},boolean:function(value,options){return options.stylize(value,"boolean")},Boolean:function(value,options){return options.stylize(value,"boolean")},number:inspectNumber,Number:inspectNumber,bigint:inspectBigInt,BigInt:inspectBigInt,string:inspectString,String:inspectString,function:inspectFunction,Function:inspectFunction,symbol:inspectSymbol,Symbol:inspectSymbol,Array:function inspectArray(array,options){var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"[]";options.truncate-=4;var listContents=inspectList(array,options);options.truncate-=listContents.length;var propertyContents="";return nonIndexProperties.length&&(propertyContents=inspectList(nonIndexProperties.map((function(key){return[key,array[key]]})),options,inspectProperty)),"[ ".concat(listContents).concat(propertyContents?", ".concat(propertyContents):""," ]")},Date:function inspectDate(dateObject,options){var stringRepresentation=dateObject.toJSON();if(null===stringRepresentation)return"Invalid Date";var split=stringRepresentation.split("T"),date=split[0];return options.stylize("".concat(date,"T").concat(truncate(split[1],options.truncate-date.length-1)),"date")},Map:function inspectMap(map,options){return map.size-1<=0?"Map{}":(options.truncate-=7,"Map{ ".concat(inspectList(function mapToEntries(map){var entries=[];return map.forEach((function(value,key){entries.push([key,value])})),entries}(map),options,inspectMapEntry)," }"))},Set:function inspectSet(set,options){return 0===set.size?"Set{}":(options.truncate-=7,"Set{ ".concat(inspectList(function arrayFromSet(set){var values=[];return set.forEach((function(value){values.push(value)})),values}(set),options)," }"))},RegExp:function inspectRegExp(value,options){var flags=value.toString().split("/")[2],sourceLength=options.truncate-(2+flags.length),source=value.source;return options.stylize("/".concat(truncate(source,sourceLength),"/").concat(flags),"regexp")},Promise:inspectPromise,WeakSet:function(value,options){return options.stylize("WeakSet{…}","special")},WeakMap:function(value,options){return options.stylize("WeakMap{…}","special")},Arguments:function inspectArguments(args,options){return 0===args.length?"Arguments[]":(options.truncate-=13,"Arguments[ ".concat(inspectList(args,options)," ]"))},Int8Array:inspectTypedArray,Uint8Array:inspectTypedArray,Uint8ClampedArray:inspectTypedArray,Int16Array:inspectTypedArray,Uint16Array:inspectTypedArray,Int32Array:inspectTypedArray,Uint32Array:inspectTypedArray,Float32Array:inspectTypedArray,Float64Array:inspectTypedArray,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:function inspectObject$1(error,options){var properties=Object.getOwnPropertyNames(error).filter((function(key){return-1===errorKeys.indexOf(key)})),name=error.name;options.truncate-=name.length;var message="";"string"==typeof error.message?message=truncate(error.message,options.truncate):properties.unshift("message"),message=message?": ".concat(message):"",options.truncate-=message.length+5;var propertyContents=inspectList(properties.map((function(key){return[key,error[key]]})),options,inspectProperty);return"".concat(name).concat(message).concat(propertyContents?" { ".concat(propertyContents," }"):"")},HTMLCollection:inspectHTMLCollection,NodeList:inspectHTMLCollection},toString$1=Object.prototype.toString;function inspect3(value,options){options=function normaliseOptions(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref$showHidden=_ref.showHidden,showHidden=void 0!==_ref$showHidden&&_ref$showHidden,_ref$depth=_ref.depth,depth=void 0===_ref$depth?2:_ref$depth,_ref$colors=_ref.colors,colors=void 0!==_ref$colors&&_ref$colors,_ref$customInspect=_ref.customInspect,customInspect=void 0===_ref$customInspect||_ref$customInspect,_ref$showProxy=_ref.showProxy,showProxy=void 0!==_ref$showProxy&&_ref$showProxy,_ref$maxArrayLength=_ref.maxArrayLength,maxArrayLength=void 0===_ref$maxArrayLength?1/0:_ref$maxArrayLength,_ref$breakLength=_ref.breakLength,breakLength=void 0===_ref$breakLength?1/0:_ref$breakLength,_ref$seen=_ref.seen,seen=void 0===_ref$seen?[]:_ref$seen,_ref$truncate=_ref.truncate,truncate2=void 0===_ref$truncate?1/0:_ref$truncate,_ref$stylize=_ref.stylize,stylize=void 0===_ref$stylize?String:_ref$stylize,options={showHidden:!!showHidden,depth:Number(depth),colors:!!colors,customInspect:!!customInspect,showProxy:!!showProxy,maxArrayLength:Number(maxArrayLength),breakLength:Number(breakLength),truncate:Number(truncate2),seen,stylize};return options.colors&&(options.stylize=colorise),options}(options),options.inspect=inspect3;var customInspect=options.customInspect,type3=null===value?"null":_typeof5(value);if("object"===type3&&(type3=toString$1.call(value).slice(8,-1)),baseTypesMap[type3])return baseTypesMap[type3](value,options);if(customInspect&&value){var output=function(value,options,type3){return chaiInspect in value&&"function"==typeof value[chaiInspect]?value[chaiInspect](options):nodeInspect&&nodeInspect in value&&"function"==typeof value[nodeInspect]?value[nodeInspect](options.depth,options):"inspect"in value&&"function"==typeof value.inspect?value.inspect(options.depth,options):"constructor"in value&&constructorMap.has(value.constructor)?constructorMap.get(value.constructor)(value,options):stringTagMap[type3]?stringTagMap[type3](value,options):""}(value,options,type3);if(output)return"string"==typeof output?output:inspect3(output,options)}var proto=!!value&&Object.getPrototypeOf(value);return proto===Object.prototype||null===proto?inspectObject(value,options):value&&"function"==typeof HTMLElement&&value instanceof HTMLElement?inspectHTML(value,options):"constructor"in value?value.constructor!==Object?function inspectClass(value,options){var name="";return toStringTag&&toStringTag in value&&(name=value[toStringTag]),(!(name=name||getFuncName_1(value.constructor))||"_class"===name)&&(name=""),options.truncate-=name.length,"".concat(name).concat(inspectObject(value,options))}(value,options):inspectObject(value,options):value===Object(value)?inspectObject(value,options):options.stylize(String(value),type3)}var custom=chaiInspect;exports2.custom=custom,exports2.default=inspect3,exports2.inspect=inspect3,exports2.registerConstructor=function registerConstructor(constructor,inspector){return!constructorMap.has(constructor)&&(constructorMap.set(constructor,inspector),!0)},exports2.registerStringTag=function registerStringTag(stringTag,inspector){return!(stringTag in stringTagMap)&&(stringTagMap[stringTag]=inspector,!0)},Object.defineProperty(exports2,"__esModule",{value:!0})},"object"==typeof exports&&typeof module2<"u"?factory(exports):"function"==typeof define&&__webpack_require__.amdO?define(["exports"],factory):factory((global2=typeof globalThis<"u"?globalThis:global2||self).loupe={})}}),require_config=__commonJS({"../../node_modules/chai/lib/chai/config.js"(exports,module2){module2.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null}}}),require_inspect=__commonJS({"../../node_modules/chai/lib/chai/utils/inspect.js"(exports,module2){require_get_func_name();var loupe2=require_loupe(),config3=require_config();module2.exports=function inspect3(obj,showHidden,depth,colors){var options={colors,depth:typeof depth>"u"?2:depth,showHidden,truncate:config3.truncateThreshold?config3.truncateThreshold:1/0};return loupe2.inspect(obj,options)}}}),require_objDisplay=__commonJS({"../../node_modules/chai/lib/chai/utils/objDisplay.js"(exports,module2){var inspect3=require_inspect(),config3=require_config();module2.exports=function(obj){var str=inspect3(obj),type3=Object.prototype.toString.call(obj);if(config3.truncateThreshold&&str.length>=config3.truncateThreshold){if("[object Function]"===type3)return obj.name&&""!==obj.name?"[Function: "+obj.name+"]":"[Function]";if("[object Array]"===type3)return"[ Array("+obj.length+") ]";if("[object Object]"===type3){var keys2=Object.keys(obj);return"{ Object ("+(keys2.length>2?keys2.splice(0,2).join(", ")+", ...":keys2.join(", "))+") }"}return str}return str}}}),require_getMessage=__commonJS({"../../node_modules/chai/lib/chai/utils/getMessage.js"(exports,module2){var flag=require_flag(),getActual=require_getActual(),objDisplay2=require_objDisplay();module2.exports=function(obj,args){var negate=flag(obj,"negate"),val=flag(obj,"object"),expected=args[3],actual=getActual(obj,args),msg=negate?args[2]:args[1],flagMsg=flag(obj,"message");return"function"==typeof msg&&(msg=msg()),msg=(msg=msg||"").replace(/#\{this\}/g,(function(){return objDisplay2(val)})).replace(/#\{act\}/g,(function(){return objDisplay2(actual)})).replace(/#\{exp\}/g,(function(){return objDisplay2(expected)})),flagMsg?flagMsg+": "+msg:msg}}}),require_transferFlags=__commonJS({"../../node_modules/chai/lib/chai/utils/transferFlags.js"(exports,module2){module2.exports=function(assertion,object,includeAll){var flags=assertion.__flags||(assertion.__flags=Object.create(null));for(var flag in object.__flags||(object.__flags=Object.create(null)),includeAll=3!==arguments.length||includeAll,flags)(includeAll||"object"!==flag&&"ssfi"!==flag&&"lockSsfi"!==flag&&"message"!=flag)&&(object.__flags[flag]=flags[flag])}}}),require_deep_eql=__commonJS({"../../node_modules/deep-eql/index.js"(exports,module2){var type3=require_type_detect();function FakeMap(){this._key="chai/deep-eql__"+Math.random()+Date.now()}FakeMap.prototype={get:function(key){return key[this._key]},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this._key,{value,configurable:!0})}};var MemoizeMap="function"==typeof WeakMap?WeakMap:FakeMap;function memoizeCompare(leftHandOperand,rightHandOperand,memoizeMap){if(!memoizeMap||isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand))return null;var leftHandMap=memoizeMap.get(leftHandOperand);if(leftHandMap){var result=leftHandMap.get(rightHandOperand);if("boolean"==typeof result)return result}return null}function memoizeSet(leftHandOperand,rightHandOperand,memoizeMap,result){if(memoizeMap&&!isPrimitive2(leftHandOperand)&&!isPrimitive2(rightHandOperand)){var leftHandMap=memoizeMap.get(leftHandOperand);leftHandMap?leftHandMap.set(rightHandOperand,result):((leftHandMap=new MemoizeMap).set(rightHandOperand,result),memoizeMap.set(leftHandOperand,leftHandMap))}}function deepEqual(leftHandOperand,rightHandOperand,options){if(options&&options.comparator)return extensiveDeepEqual(leftHandOperand,rightHandOperand,options);var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);return null!==simpleResult?simpleResult:extensiveDeepEqual(leftHandOperand,rightHandOperand,options)}function simpleEqual(leftHandOperand,rightHandOperand){return leftHandOperand===rightHandOperand?0!==leftHandOperand||1/leftHandOperand==1/rightHandOperand:leftHandOperand!=leftHandOperand&&rightHandOperand!=rightHandOperand||!isPrimitive2(leftHandOperand)&&!isPrimitive2(rightHandOperand)&&null}function extensiveDeepEqual(leftHandOperand,rightHandOperand,options){(options=options||{}).memoize=!1!==options.memoize&&(options.memoize||new MemoizeMap);var comparator=options&&options.comparator,memoizeResultLeft=memoizeCompare(leftHandOperand,rightHandOperand,options.memoize);if(null!==memoizeResultLeft)return memoizeResultLeft;var memoizeResultRight=memoizeCompare(rightHandOperand,leftHandOperand,options.memoize);if(null!==memoizeResultRight)return memoizeResultRight;if(comparator){var comparatorResult=comparator(leftHandOperand,rightHandOperand);if(!1===comparatorResult||!0===comparatorResult)return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,comparatorResult),comparatorResult;var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);if(null!==simpleResult)return simpleResult}var leftHandType=type3(leftHandOperand);if(leftHandType!==type3(rightHandOperand))return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!1),!1;memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!0);var result=function extensiveDeepEqualByType(leftHandOperand,rightHandOperand,leftHandType,options){switch(leftHandType){case"String":case"Number":case"Boolean":case"Date":return deepEqual(leftHandOperand.valueOf(),rightHandOperand.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return leftHandOperand===rightHandOperand;case"Error":return keysEqual(leftHandOperand,rightHandOperand,["name","message","code"],options);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return iterableEqual(leftHandOperand,rightHandOperand,options);case"RegExp":return function regexpEqual(leftHandOperand,rightHandOperand){return leftHandOperand.toString()===rightHandOperand.toString()}(leftHandOperand,rightHandOperand);case"Generator":return function generatorEqual(leftHandOperand,rightHandOperand,options){return iterableEqual(getGeneratorEntries(leftHandOperand),getGeneratorEntries(rightHandOperand),options)}(leftHandOperand,rightHandOperand,options);case"DataView":return iterableEqual(new Uint8Array(leftHandOperand.buffer),new Uint8Array(rightHandOperand.buffer),options);case"ArrayBuffer":return iterableEqual(new Uint8Array(leftHandOperand),new Uint8Array(rightHandOperand),options);case"Set":case"Map":return entriesEqual(leftHandOperand,rightHandOperand,options);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return leftHandOperand.equals(rightHandOperand);case"Temporal.Duration":return leftHandOperand.total("nanoseconds")===rightHandOperand.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return leftHandOperand.toString()===rightHandOperand.toString();default:return function objectEqual(leftHandOperand,rightHandOperand,options){var leftHandKeys=getEnumerableKeys(leftHandOperand),rightHandKeys=getEnumerableKeys(rightHandOperand),leftHandSymbols=getEnumerableSymbols(leftHandOperand),rightHandSymbols=getEnumerableSymbols(rightHandOperand);if(leftHandKeys=leftHandKeys.concat(leftHandSymbols),rightHandKeys=rightHandKeys.concat(rightHandSymbols),leftHandKeys.length&&leftHandKeys.length===rightHandKeys.length)return!1!==iterableEqual(mapSymbols(leftHandKeys).sort(),mapSymbols(rightHandKeys).sort())&&keysEqual(leftHandOperand,rightHandOperand,leftHandKeys,options);var leftHandEntries=getIteratorEntries(leftHandOperand),rightHandEntries=getIteratorEntries(rightHandOperand);return leftHandEntries.length&&leftHandEntries.length===rightHandEntries.length?(leftHandEntries.sort(),rightHandEntries.sort(),iterableEqual(leftHandEntries,rightHandEntries,options)):0===leftHandKeys.length&&0===leftHandEntries.length&&0===rightHandKeys.length&&0===rightHandEntries.length}(leftHandOperand,rightHandOperand,options)}}(leftHandOperand,rightHandOperand,leftHandType,options);return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,result),result}function entriesEqual(leftHandOperand,rightHandOperand,options){if(leftHandOperand.size!==rightHandOperand.size)return!1;if(0===leftHandOperand.size)return!0;var leftHandItems=[],rightHandItems=[];return leftHandOperand.forEach((function(key,value){leftHandItems.push([key,value])})),rightHandOperand.forEach((function(key,value){rightHandItems.push([key,value])})),iterableEqual(leftHandItems.sort(),rightHandItems.sort(),options)}function iterableEqual(leftHandOperand,rightHandOperand,options){var length=leftHandOperand.length;if(length!==rightHandOperand.length)return!1;if(0===length)return!0;for(var index=-1;++index=cap)return cap;for(var memo=[],i=0;i<=strA.length;i++)memo[i]=Array(strB.length+1).fill(0),memo[i][0]=i;for(var j=0;j=cap?memo[i][j]=cap:memo[i][j]=Math.min(memo[i-1][j]+1,memo[i][j-1]+1,memo[i-1][j-1]+(ch===strB.charCodeAt(j-1)?0:1))}return memo[strA.length][strB.length]}(property,prop,suggestionDistance);dist1&&numErrs===props.length)throw firstErr;return}this.assert(included,"expected #{this} to "+descriptor+"include "+_.inspect(val),"expected #{this} to not "+descriptor+"include "+_.inspect(val))}function assertExist(){var val=flag(this,"object");this.assert(null!=val,"expected #{this} to exist","expected #{this} to not exist")}function checkArguments(){var obj=flag(this,"object"),type3=_.type(obj);this.assert("Arguments"===type3,"expected #{this} to be arguments but got "+type3,"expected #{this} to not be arguments")}function assertEqual(val,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object");if(flag(this,"deep")){var prevLockSsfi=flag(this,"lockSsfi");flag(this,"lockSsfi",!0),this.eql(val),flag(this,"lockSsfi",prevLockSsfi)}else this.assert(val===obj,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",val,this._obj,!0)}function assertEql(obj,msg){msg&&flag(this,"message",msg);var eql=flag(this,"eql");this.assert(eql(obj,flag(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",obj,this._obj,!0)}function assertAbove(n,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),shouldThrow=!0;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===nType)if("number"===nType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the argument to above must be a number";else errorMessage=msgPrefix+"the argument to above must be a date";if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>n,"expected #{this} to have a "+descriptor+" above #{exp} but got #{act}","expected #{this} to not have a "+descriptor+" above #{exp}",n,itemsCount)}else this.assert(obj>n,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",n)}function assertLeast(n,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),shouldThrow=!0;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===nType)if("number"===nType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the argument to least must be a number";else errorMessage=msgPrefix+"the argument to least must be a date";if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>=n,"expected #{this} to have a "+descriptor+" at least #{exp} but got #{act}","expected #{this} to have a "+descriptor+" below #{exp}",n,itemsCount)}else this.assert(obj>=n,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",n)}function assertBelow(n,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),shouldThrow=!0;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===nType)if("number"===nType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the argument to below must be a number";else errorMessage=msgPrefix+"the argument to below must be a date";if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCountval1===val2,descriptor="";isDeep&&(descriptor+="deep "),isOwn&&(descriptor+="own "),isNested&&(descriptor+="nested "),descriptor+="property ",hasProperty=isOwn?Object.prototype.hasOwnProperty.call(obj,name):isNested?pathInfo.exists:_.hasProperty(obj,name),(!negate||1===arguments.length)&&this.assert(hasProperty,"expected #{this} to have "+descriptor+_.inspect(name),"expected #{this} to not have "+descriptor+_.inspect(name)),arguments.length>1&&this.assert(hasProperty&&isEql(val,value),"expected #{this} to have "+descriptor+_.inspect(name)+" of #{exp}, but got #{act}","expected #{this} to not have "+descriptor+_.inspect(name)+" of #{act}",val,value),flag(this,"object",value)}function assertOwnProperty(name,value,msg){flag(this,"own",!0),assertProperty.apply(this,arguments)}function assertOwnPropertyDescriptor(name,descriptor,msg){"string"==typeof descriptor&&(msg=descriptor,descriptor=null),msg&&flag(this,"message",msg);var obj=flag(this,"object"),actualDescriptor=Object.getOwnPropertyDescriptor(Object(obj),name),eql=flag(this,"eql");actualDescriptor&&descriptor?this.assert(eql(descriptor,actualDescriptor),"expected the own property descriptor for "+_.inspect(name)+" on #{this} to match "+_.inspect(descriptor)+", got "+_.inspect(actualDescriptor),"expected the own property descriptor for "+_.inspect(name)+" on #{this} to not match "+_.inspect(descriptor),descriptor,actualDescriptor,!0):this.assert(actualDescriptor,"expected #{this} to have an own property descriptor for "+_.inspect(name),"expected #{this} to not have an own property descriptor for "+_.inspect(name)),flag(this,"object",actualDescriptor)}function assertLengthChain(){flag(this,"doLength",!0)}function assertLength(n,msg){msg&&flag(this,"message",msg);var itemsCount,obj=flag(this,"object"),objType=_.type(obj).toLowerCase(),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi"),descriptor="length";switch(objType){case"map":case"set":descriptor="size",itemsCount=obj.size;break;default:new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),itemsCount=obj.length}this.assert(itemsCount==n,"expected #{this} to have a "+descriptor+" of #{exp} but got #{act}","expected #{this} to not have a "+descriptor+" of #{act}",n,itemsCount)}function assertMatch(re,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object");this.assert(re.exec(obj),"expected #{this} to match "+re,"expected #{this} not to match "+re)}function assertKeys(keys2){var str,actual,obj=flag(this,"object"),objType=_.type(obj),keysType=_.type(keys2),ssfi=flag(this,"ssfi"),isDeep=flag(this,"deep"),deepStr="",ok=!0,flagMsg=flag(this,"message"),mixedArgsMsg=(flagMsg=flagMsg?flagMsg+": ":"")+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if("Map"===objType||"Set"===objType)deepStr=isDeep?"deeply ":"",actual=[],obj.forEach((function(val,key){actual.push(key)})),"Array"!==keysType&&(keys2=Array.prototype.slice.call(arguments));else{switch(actual=_.getOwnEnumerableProperties(obj),keysType){case"Array":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);break;case"Object":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);keys2=Object.keys(keys2);break;default:keys2=Array.prototype.slice.call(arguments)}keys2=keys2.map((function(val){return"symbol"==typeof val?val:String(val)}))}if(!keys2.length)throw new AssertionError2(flagMsg+"keys required",void 0,ssfi);var len=keys2.length,any=flag(this,"any"),all=flag(this,"all"),expected=keys2,isEql=isDeep?flag(this,"eql"):(val1,val2)=>val1===val2;if(!any&&!all&&(all=!0),any&&(ok=expected.some((function(expectedKey){return actual.some((function(actualKey){return isEql(expectedKey,actualKey)}))}))),all&&(ok=expected.every((function(expectedKey){return actual.some((function(actualKey){return isEql(expectedKey,actualKey)}))})),flag(this,"contains")||(ok=ok&&keys2.length==actual.length)),len>1){var last=(keys2=keys2.map((function(key){return _.inspect(key)}))).pop();all&&(str=keys2.join(", ")+", and "+last),any&&(str=keys2.join(", ")+", or "+last)}else str=_.inspect(keys2[0]);str=(len>1?"keys ":"key ")+str,str=(flag(this,"contains")?"contain ":"have ")+str,this.assert(ok,"expected #{this} to "+deepStr+str,"expected #{this} to not "+deepStr+str,expected.slice(0).sort(_.compareByInspect),actual.sort(_.compareByInspect),!0)}function assertThrows(errorLike,errMsgMatcher,msg){msg&&flag(this,"message",msg);var caughtErr,obj=flag(this,"object"),ssfi=flag(this,"ssfi"),flagMsg=flag(this,"message"),negate=flag(this,"negate")||!1;new Assertion2(obj,flagMsg,ssfi,!0).is.a("function"),(errorLike instanceof RegExp||"string"==typeof errorLike)&&(errMsgMatcher=errorLike,errorLike=null);try{obj()}catch(err){caughtErr=err}var everyArgIsUndefined=void 0===errorLike&&void 0===errMsgMatcher,everyArgIsDefined=!(!errorLike||!errMsgMatcher),errorLikeFail=!1,errMsgMatcherFail=!1;if(everyArgIsUndefined||!everyArgIsUndefined&&!negate){var errorLikeString="an error";errorLike instanceof Error?errorLikeString="#{exp}":errorLike&&(errorLikeString=_.checkError.getConstructorName(errorLike)),this.assert(caughtErr,"expected #{this} to throw "+errorLikeString,"expected #{this} to not throw an error but #{act} was thrown",errorLike&&errorLike.toString(),caughtErr instanceof Error?caughtErr.toString():"string"==typeof caughtErr?caughtErr:caughtErr&&_.checkError.getConstructorName(caughtErr))}if(errorLike&&caughtErr){if(errorLike instanceof Error)_.checkError.compatibleInstance(caughtErr,errorLike)===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(caughtErr&&!negate?" but #{act} was thrown":""),errorLike.toString(),caughtErr.toString()));_.checkError.compatibleConstructor(caughtErr,errorLike)===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(caughtErr?" but #{act} was thrown":""),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)))}if(caughtErr&&null!=errMsgMatcher){var placeholder="including";errMsgMatcher instanceof RegExp&&(placeholder="matching"),_.checkError.compatibleMessage(caughtErr,errMsgMatcher)===negate&&(everyArgIsDefined&&negate?errMsgMatcherFail=!0:this.assert(negate,"expected #{this} to throw error "+placeholder+" #{exp} but got #{act}","expected #{this} to throw error not "+placeholder+" #{exp}",errMsgMatcher,_.checkError.getMessage(caughtErr)))}errorLikeFail&&errMsgMatcherFail&&this.assert(negate,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(caughtErr?" but #{act} was thrown":""),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)),flag(this,"object",caughtErr)}function respondTo(method,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),itself=flag(this,"itself"),context="function"!=typeof obj||itself?obj[method]:obj.prototype[method];this.assert("function"==typeof context,"expected #{this} to respond to "+_.inspect(method),"expected #{this} to not respond to "+_.inspect(method))}function satisfy(matcher,msg){msg&&flag(this,"message",msg);var result=matcher(flag(this,"object"));this.assert(result,"expected #{this} to satisfy "+_.objDisplay(matcher),"expected #{this} to not satisfy"+_.objDisplay(matcher),!flag(this,"negate"),result)}function closeTo(expected,delta,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");if(new Assertion2(obj,flagMsg,ssfi,!0).is.a("number"),"number"!=typeof expected||"number"!=typeof delta)throw new AssertionError2((flagMsg=flagMsg?flagMsg+": ":"")+"the arguments to closeTo or approximately must be numbers"+(void 0===delta?", and a delta is required":""),void 0,ssfi);this.assert(Math.abs(obj-expected)<=delta,"expected #{this} to be close to "+expected+" +/- "+delta,"expected #{this} not to be close to "+expected+" +/- "+delta)}function assertChanges(subject,prop,msg){msg&&flag(this,"message",msg);var initial,fn3=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(fn3,flagMsg,ssfi,!0).is.a("function"),prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a("function"),initial=subject()),fn3();var final=null==prop?subject():subject[prop],msgObj=null==prop?initial:"."+prop;flag(this,"deltaMsgObj",msgObj),flag(this,"initialDeltaValue",initial),flag(this,"finalDeltaValue",final),flag(this,"deltaBehavior","change"),flag(this,"realDelta",final!==initial),this.assert(initial!==final,"expected "+msgObj+" to change","expected "+msgObj+" to not change")}function assertIncreases(subject,prop,msg){msg&&flag(this,"message",msg);var initial,fn3=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(fn3,flagMsg,ssfi,!0).is.a("function"),prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a("function"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a("number"),fn3();var final=null==prop?subject():subject[prop],msgObj=null==prop?initial:"."+prop;flag(this,"deltaMsgObj",msgObj),flag(this,"initialDeltaValue",initial),flag(this,"finalDeltaValue",final),flag(this,"deltaBehavior","increase"),flag(this,"realDelta",final-initial),this.assert(final-initial>0,"expected "+msgObj+" to increase","expected "+msgObj+" to not increase")}function assertDecreases(subject,prop,msg){msg&&flag(this,"message",msg);var initial,fn3=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(fn3,flagMsg,ssfi,!0).is.a("function"),prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a("function"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a("number"),fn3();var final=null==prop?subject():subject[prop],msgObj=null==prop?initial:"."+prop;flag(this,"deltaMsgObj",msgObj),flag(this,"initialDeltaValue",initial),flag(this,"finalDeltaValue",final),flag(this,"deltaBehavior","decrease"),flag(this,"realDelta",initial-final),this.assert(final-initial<0,"expected "+msgObj+" to decrease","expected "+msgObj+" to not decrease")}["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach((function(chain){Assertion2.addProperty(chain)})),Assertion2.addProperty("not",(function(){flag(this,"negate",!0)})),Assertion2.addProperty("deep",(function(){flag(this,"deep",!0)})),Assertion2.addProperty("nested",(function(){flag(this,"nested",!0)})),Assertion2.addProperty("own",(function(){flag(this,"own",!0)})),Assertion2.addProperty("ordered",(function(){flag(this,"ordered",!0)})),Assertion2.addProperty("any",(function(){flag(this,"any",!0),flag(this,"all",!1)})),Assertion2.addProperty("all",(function(){flag(this,"all",!0),flag(this,"any",!1)})),Assertion2.addChainableMethod("an",an),Assertion2.addChainableMethod("a",an),Assertion2.addChainableMethod("include",include,includeChainingBehavior),Assertion2.addChainableMethod("contain",include,includeChainingBehavior),Assertion2.addChainableMethod("contains",include,includeChainingBehavior),Assertion2.addChainableMethod("includes",include,includeChainingBehavior),Assertion2.addProperty("ok",(function(){this.assert(flag(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")})),Assertion2.addProperty("true",(function(){this.assert(!0===flag(this,"object"),"expected #{this} to be true","expected #{this} to be false",!flag(this,"negate"))})),Assertion2.addProperty("false",(function(){this.assert(!1===flag(this,"object"),"expected #{this} to be false","expected #{this} to be true",!!flag(this,"negate"))})),Assertion2.addProperty("null",(function(){this.assert(null===flag(this,"object"),"expected #{this} to be null","expected #{this} not to be null")})),Assertion2.addProperty("undefined",(function(){this.assert(void 0===flag(this,"object"),"expected #{this} to be undefined","expected #{this} not to be undefined")})),Assertion2.addProperty("NaN",(function(){this.assert(_.isNaN(flag(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")})),Assertion2.addProperty("exist",assertExist),Assertion2.addProperty("exists",assertExist),Assertion2.addProperty("empty",(function(){var itemsCount,val=flag(this,"object"),ssfi=flag(this,"ssfi"),flagMsg=flag(this,"message");switch(flagMsg=flagMsg?flagMsg+": ":"",_.type(val).toLowerCase()){case"array":case"string":itemsCount=val.length;break;case"map":case"set":itemsCount=val.size;break;case"weakmap":case"weakset":throw new AssertionError2(flagMsg+".empty was passed a weak collection",void 0,ssfi);case"function":var msg=flagMsg+".empty was passed a function "+_.getName(val);throw new AssertionError2(msg.trim(),void 0,ssfi);default:if(val!==Object(val))throw new AssertionError2(flagMsg+".empty was passed non-string primitive "+_.inspect(val),void 0,ssfi);itemsCount=Object.keys(val).length}this.assert(0===itemsCount,"expected #{this} to be empty","expected #{this} not to be empty")})),Assertion2.addProperty("arguments",checkArguments),Assertion2.addProperty("Arguments",checkArguments),Assertion2.addMethod("equal",assertEqual),Assertion2.addMethod("equals",assertEqual),Assertion2.addMethod("eq",assertEqual),Assertion2.addMethod("eql",assertEql),Assertion2.addMethod("eqls",assertEql),Assertion2.addMethod("above",assertAbove),Assertion2.addMethod("gt",assertAbove),Assertion2.addMethod("greaterThan",assertAbove),Assertion2.addMethod("least",assertLeast),Assertion2.addMethod("gte",assertLeast),Assertion2.addMethod("greaterThanOrEqual",assertLeast),Assertion2.addMethod("below",assertBelow),Assertion2.addMethod("lt",assertBelow),Assertion2.addMethod("lessThan",assertBelow),Assertion2.addMethod("most",assertMost),Assertion2.addMethod("lte",assertMost),Assertion2.addMethod("lessThanOrEqual",assertMost),Assertion2.addMethod("within",(function(start,finish,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),startType=_.type(start).toLowerCase(),finishType=_.type(finish).toLowerCase(),shouldThrow=!0,range="date"===startType&&"date"===finishType?start.toISOString()+".."+finish.toISOString():start+".."+finish;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===startType&&"date"===finishType)if("number"===startType&&"number"===finishType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the arguments to within must be numbers";else errorMessage=msgPrefix+"the arguments to within must be dates";if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>=start&&itemsCount<=finish,"expected #{this} to have a "+descriptor+" within "+range,"expected #{this} to not have a "+descriptor+" within "+range)}else this.assert(obj>=start&&obj<=finish,"expected #{this} to be within "+range,"expected #{this} to not be within "+range)})),Assertion2.addMethod("instanceof",assertInstanceOf),Assertion2.addMethod("instanceOf",assertInstanceOf),Assertion2.addMethod("property",assertProperty),Assertion2.addMethod("ownProperty",assertOwnProperty),Assertion2.addMethod("haveOwnProperty",assertOwnProperty),Assertion2.addMethod("ownPropertyDescriptor",assertOwnPropertyDescriptor),Assertion2.addMethod("haveOwnPropertyDescriptor",assertOwnPropertyDescriptor),Assertion2.addChainableMethod("length",assertLength,assertLengthChain),Assertion2.addChainableMethod("lengthOf",assertLength,assertLengthChain),Assertion2.addMethod("match",assertMatch),Assertion2.addMethod("matches",assertMatch),Assertion2.addMethod("string",(function(str,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(obj,flagMsg,ssfi,!0).is.a("string"),this.assert(~obj.indexOf(str),"expected #{this} to contain "+_.inspect(str),"expected #{this} to not contain "+_.inspect(str))})),Assertion2.addMethod("keys",assertKeys),Assertion2.addMethod("key",assertKeys),Assertion2.addMethod("throw",assertThrows),Assertion2.addMethod("throws",assertThrows),Assertion2.addMethod("Throw",assertThrows),Assertion2.addMethod("respondTo",respondTo),Assertion2.addMethod("respondsTo",respondTo),Assertion2.addProperty("itself",(function(){flag(this,"itself",!0)})),Assertion2.addMethod("satisfy",satisfy),Assertion2.addMethod("satisfies",satisfy),Assertion2.addMethod("closeTo",closeTo),Assertion2.addMethod("approximately",closeTo),Assertion2.addMethod("members",(function(subset,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(obj,flagMsg,ssfi,!0).to.be.an("array"),new Assertion2(subset,flagMsg,ssfi,!0).to.be.an("array");var subject,failMsg,failNegateMsg,contains=flag(this,"contains"),ordered=flag(this,"ordered");contains?(failMsg="expected #{this} to be "+(subject=ordered?"an ordered superset":"a superset")+" of #{exp}",failNegateMsg="expected #{this} to not be "+subject+" of #{exp}"):(failMsg="expected #{this} to have the same "+(subject=ordered?"ordered members":"members")+" as #{exp}",failNegateMsg="expected #{this} to not have the same "+subject+" as #{exp}");var cmp=flag(this,"deep")?flag(this,"eql"):void 0;this.assert(function isSubsetOf(subset,superset,cmp,contains,ordered){if(!contains){if(subset.length!==superset.length)return!1;superset=superset.slice()}return subset.every((function(elem,idx){if(ordered)return cmp?cmp(elem,superset[idx]):elem===superset[idx];if(!cmp){var matchIdx=superset.indexOf(elem);return-1!==matchIdx&&(contains||superset.splice(matchIdx,1),!0)}return superset.some((function(elem2,matchIdx2){return!!cmp(elem,elem2)&&(contains||superset.splice(matchIdx2,1),!0)}))}))}(subset,obj,cmp,contains,ordered),failMsg,failNegateMsg,subset,obj,!0)})),Assertion2.addMethod("oneOf",(function oneOf(list,msg){msg&&flag(this,"message",msg);var expected=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi"),contains=flag(this,"contains"),isDeep=flag(this,"deep"),eql=flag(this,"eql");new Assertion2(list,flagMsg,ssfi,!0).to.be.an("array"),contains?this.assert(list.some((function(possibility){return expected.indexOf(possibility)>-1})),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",list,expected):isDeep?this.assert(list.some((function(possibility){return eql(expected,possibility)})),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",list,expected):this.assert(list.indexOf(expected)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",list,expected)})),Assertion2.addMethod("change",assertChanges),Assertion2.addMethod("changes",assertChanges),Assertion2.addMethod("increase",assertIncreases),Assertion2.addMethod("increases",assertIncreases),Assertion2.addMethod("decrease",assertDecreases),Assertion2.addMethod("decreases",assertDecreases),Assertion2.addMethod("by",(function assertDelta(delta,msg){msg&&flag(this,"message",msg);var expression,msgObj=flag(this,"deltaMsgObj"),initial=flag(this,"initialDeltaValue"),final=flag(this,"finalDeltaValue"),behavior2=flag(this,"deltaBehavior"),realDelta=flag(this,"realDelta");expression="change"===behavior2?Math.abs(final-initial)===Math.abs(delta):realDelta===Math.abs(delta),this.assert(expression,"expected "+msgObj+" to "+behavior2+" by "+delta,"expected "+msgObj+" to not "+behavior2+" by "+delta)})),Assertion2.addProperty("extensible",(function(){var obj=flag(this,"object"),isExtensible=obj===Object(obj)&&Object.isExtensible(obj);this.assert(isExtensible,"expected #{this} to be extensible","expected #{this} to not be extensible")})),Assertion2.addProperty("sealed",(function(){var obj=flag(this,"object"),isSealed=obj!==Object(obj)||Object.isSealed(obj);this.assert(isSealed,"expected #{this} to be sealed","expected #{this} to not be sealed")})),Assertion2.addProperty("frozen",(function(){var obj=flag(this,"object"),isFrozen=obj!==Object(obj)||Object.isFrozen(obj);this.assert(isFrozen,"expected #{this} to be frozen","expected #{this} to not be frozen")})),Assertion2.addProperty("finite",(function(msg){var obj=flag(this,"object");this.assert("number"==typeof obj&&isFinite(obj),"expected #{this} to be a finite number","expected #{this} to not be a finite number")}))}}}),require_expect=__commonJS({"../../node_modules/chai/lib/chai/interface/expect.js"(exports,module2){module2.exports=function(chai2,util2){chai2.expect=function(val,message){return new chai2.Assertion(val,message)},chai2.expect.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||"expect.fail()",new chai2.AssertionError(message,{actual,expected,operator},chai2.expect.fail)}}}}),require_should=__commonJS({"../../node_modules/chai/lib/chai/interface/should.js"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion;function loadShould(){Object.defineProperty(Object.prototype,"should",{set:function shouldSetter(value){Object.defineProperty(this,"should",{value,enumerable:!0,configurable:!0,writable:!0})},get:function shouldGetter(){return this instanceof String||this instanceof Number||this instanceof Boolean||"function"==typeof Symbol&&this instanceof Symbol||"function"==typeof BigInt&&this instanceof BigInt?new Assertion2(this.valueOf(),null,shouldGetter):new Assertion2(this,null,shouldGetter)},configurable:!0});var should2={fail:function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||"should.fail()",new chai2.AssertionError(message,{actual,expected,operator},should2.fail)},equal:function(val1,val2,msg){new Assertion2(val1,msg).to.equal(val2)},Throw:function(fn3,errt,errs,msg){new Assertion2(fn3,msg).to.Throw(errt,errs)},exist:function(val,msg){new Assertion2(val,msg).to.exist},not:{}};return should2.not.equal=function(val1,val2,msg){new Assertion2(val1,msg).to.not.equal(val2)},should2.not.Throw=function(fn3,errt,errs,msg){new Assertion2(fn3,msg).to.not.Throw(errt,errs)},should2.not.exist=function(val,msg){new Assertion2(val,msg).to.not.exist},should2.throw=should2.Throw,should2.not.throw=should2.not.Throw,should2}chai2.should=loadShould,chai2.Should=loadShould}}}),require_assert=__commonJS({"../../node_modules/chai/lib/chai/interface/assert.js"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion,flag=util2.flag,assert2=chai2.assert=function(express,errmsg){new Assertion2(null,null,chai2.assert,!0).assert(express,errmsg,"[ negation message unavailable ]")};assert2.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||"assert.fail()",new chai2.AssertionError(message,{actual,expected,operator},assert2.fail)},assert2.isOk=function(val,msg){new Assertion2(val,msg,assert2.isOk,!0).is.ok},assert2.isNotOk=function(val,msg){new Assertion2(val,msg,assert2.isNotOk,!0).is.not.ok},assert2.equal=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.equal,!0);test.assert(exp==flag(test,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",exp,act,!0)},assert2.notEqual=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.notEqual,!0);test.assert(exp!=flag(test,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",exp,act,!0)},assert2.strictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.strictEqual,!0).to.equal(exp)},assert2.notStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notStrictEqual,!0).to.not.equal(exp)},assert2.deepEqual=assert2.deepStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.deepEqual,!0).to.eql(exp)},assert2.notDeepEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notDeepEqual,!0).to.not.eql(exp)},assert2.isAbove=function(val,abv,msg){new Assertion2(val,msg,assert2.isAbove,!0).to.be.above(abv)},assert2.isAtLeast=function(val,atlst,msg){new Assertion2(val,msg,assert2.isAtLeast,!0).to.be.least(atlst)},assert2.isBelow=function(val,blw,msg){new Assertion2(val,msg,assert2.isBelow,!0).to.be.below(blw)},assert2.isAtMost=function(val,atmst,msg){new Assertion2(val,msg,assert2.isAtMost,!0).to.be.most(atmst)},assert2.isTrue=function(val,msg){new Assertion2(val,msg,assert2.isTrue,!0).is.true},assert2.isNotTrue=function(val,msg){new Assertion2(val,msg,assert2.isNotTrue,!0).to.not.equal(!0)},assert2.isFalse=function(val,msg){new Assertion2(val,msg,assert2.isFalse,!0).is.false},assert2.isNotFalse=function(val,msg){new Assertion2(val,msg,assert2.isNotFalse,!0).to.not.equal(!1)},assert2.isNull=function(val,msg){new Assertion2(val,msg,assert2.isNull,!0).to.equal(null)},assert2.isNotNull=function(val,msg){new Assertion2(val,msg,assert2.isNotNull,!0).to.not.equal(null)},assert2.isNaN=function(val,msg){new Assertion2(val,msg,assert2.isNaN,!0).to.be.NaN},assert2.isNotNaN=function(val,msg){new Assertion2(val,msg,assert2.isNotNaN,!0).not.to.be.NaN},assert2.exists=function(val,msg){new Assertion2(val,msg,assert2.exists,!0).to.exist},assert2.notExists=function(val,msg){new Assertion2(val,msg,assert2.notExists,!0).to.not.exist},assert2.isUndefined=function(val,msg){new Assertion2(val,msg,assert2.isUndefined,!0).to.equal(void 0)},assert2.isDefined=function(val,msg){new Assertion2(val,msg,assert2.isDefined,!0).to.not.equal(void 0)},assert2.isFunction=function(val,msg){new Assertion2(val,msg,assert2.isFunction,!0).to.be.a("function")},assert2.isNotFunction=function(val,msg){new Assertion2(val,msg,assert2.isNotFunction,!0).to.not.be.a("function")},assert2.isObject=function(val,msg){new Assertion2(val,msg,assert2.isObject,!0).to.be.a("object")},assert2.isNotObject=function(val,msg){new Assertion2(val,msg,assert2.isNotObject,!0).to.not.be.a("object")},assert2.isArray=function(val,msg){new Assertion2(val,msg,assert2.isArray,!0).to.be.an("array")},assert2.isNotArray=function(val,msg){new Assertion2(val,msg,assert2.isNotArray,!0).to.not.be.an("array")},assert2.isString=function(val,msg){new Assertion2(val,msg,assert2.isString,!0).to.be.a("string")},assert2.isNotString=function(val,msg){new Assertion2(val,msg,assert2.isNotString,!0).to.not.be.a("string")},assert2.isNumber=function(val,msg){new Assertion2(val,msg,assert2.isNumber,!0).to.be.a("number")},assert2.isNotNumber=function(val,msg){new Assertion2(val,msg,assert2.isNotNumber,!0).to.not.be.a("number")},assert2.isFinite=function(val,msg){new Assertion2(val,msg,assert2.isFinite,!0).to.be.finite},assert2.isBoolean=function(val,msg){new Assertion2(val,msg,assert2.isBoolean,!0).to.be.a("boolean")},assert2.isNotBoolean=function(val,msg){new Assertion2(val,msg,assert2.isNotBoolean,!0).to.not.be.a("boolean")},assert2.typeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.typeOf,!0).to.be.a(type3)},assert2.notTypeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notTypeOf,!0).to.not.be.a(type3)},assert2.instanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.instanceOf,!0).to.be.instanceOf(type3)},assert2.notInstanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notInstanceOf,!0).to.not.be.instanceOf(type3)},assert2.include=function(exp,inc,msg){new Assertion2(exp,msg,assert2.include,!0).include(inc)},assert2.notInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notInclude,!0).not.include(inc)},assert2.deepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepInclude,!0).deep.include(inc)},assert2.notDeepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepInclude,!0).not.deep.include(inc)},assert2.nestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.nestedInclude,!0).nested.include(inc)},assert2.notNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notNestedInclude,!0).not.nested.include(inc)},assert2.deepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepNestedInclude,!0).deep.nested.include(inc)},assert2.notDeepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepNestedInclude,!0).not.deep.nested.include(inc)},assert2.ownInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.ownInclude,!0).own.include(inc)},assert2.notOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notOwnInclude,!0).not.own.include(inc)},assert2.deepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepOwnInclude,!0).deep.own.include(inc)},assert2.notDeepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepOwnInclude,!0).not.deep.own.include(inc)},assert2.match=function(exp,re,msg){new Assertion2(exp,msg,assert2.match,!0).to.match(re)},assert2.notMatch=function(exp,re,msg){new Assertion2(exp,msg,assert2.notMatch,!0).to.not.match(re)},assert2.property=function(obj,prop,msg){new Assertion2(obj,msg,assert2.property,!0).to.have.property(prop)},assert2.notProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notProperty,!0).to.not.have.property(prop)},assert2.propertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.propertyVal,!0).to.have.property(prop,val)},assert2.notPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notPropertyVal,!0).to.not.have.property(prop,val)},assert2.deepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepPropertyVal,!0).to.have.deep.property(prop,val)},assert2.notDeepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepPropertyVal,!0).to.not.have.deep.property(prop,val)},assert2.ownProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.ownProperty,!0).to.have.own.property(prop)},assert2.notOwnProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notOwnProperty,!0).to.not.have.own.property(prop)},assert2.ownPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.ownPropertyVal,!0).to.have.own.property(prop,value)},assert2.notOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notOwnPropertyVal,!0).to.not.have.own.property(prop,value)},assert2.deepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.deepOwnPropertyVal,!0).to.have.deep.own.property(prop,value)},assert2.notDeepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(prop,value)},assert2.nestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.nestedProperty,!0).to.have.nested.property(prop)},assert2.notNestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notNestedProperty,!0).to.not.have.nested.property(prop)},assert2.nestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.nestedPropertyVal,!0).to.have.nested.property(prop,val)},assert2.notNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notNestedPropertyVal,!0).to.not.have.nested.property(prop,val)},assert2.deepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepNestedPropertyVal,!0).to.have.deep.nested.property(prop,val)},assert2.notDeepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(prop,val)},assert2.lengthOf=function(exp,len,msg){new Assertion2(exp,msg,assert2.lengthOf,!0).to.have.lengthOf(len)},assert2.hasAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyKeys,!0).to.have.any.keys(keys2)},assert2.hasAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllKeys,!0).to.have.all.keys(keys2)},assert2.containsAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllKeys,!0).to.contain.all.keys(keys2)},assert2.doesNotHaveAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyKeys,!0).to.not.have.any.keys(keys2)},assert2.doesNotHaveAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllKeys,!0).to.not.have.all.keys(keys2)},assert2.hasAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyDeepKeys,!0).to.have.any.deep.keys(keys2)},assert2.hasAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllDeepKeys,!0).to.have.all.deep.keys(keys2)},assert2.containsAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllDeepKeys,!0).to.contain.all.deep.keys(keys2)},assert2.doesNotHaveAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(keys2)},assert2.doesNotHaveAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(keys2)},assert2.throws=function(fn3,errorLike,errMsgMatcher,msg){("string"==typeof errorLike||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null);var assertErr=new Assertion2(fn3,msg,assert2.throws,!0).to.throw(errorLike,errMsgMatcher);return flag(assertErr,"object")},assert2.doesNotThrow=function(fn3,errorLike,errMsgMatcher,msg){("string"==typeof errorLike||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null),new Assertion2(fn3,msg,assert2.doesNotThrow,!0).to.not.throw(errorLike,errMsgMatcher)},assert2.operator=function(val,operator,val2,msg){var ok;switch(operator){case"==":ok=val==val2;break;case"===":ok=val===val2;break;case">":ok=val>val2;break;case">=":ok=val>=val2;break;case"<":ok=valcode=>`[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`[${38+offset};2;${red};${green};${blue}m`;Object.defineProperty(module2,"exports",{enumerable:!0,get:function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`[${style[0]}m`,close:`[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1})}return Object.defineProperty(styles,"codes",{value:codes,enumerable:!1}),styles.color.close="",styles.bgColor.close="",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(hex.toString(16));if(!matches3)return[0,0,0];let{colorString}=matches3.groups;3===colorString.length&&(colorString=colorString.split("").map((character=>character+character)).join(""));let integer=Number.parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}})}}),require_collections=__commonJS({"../../node_modules/pretty-format/build/collections.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printIteratorEntries=function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=": "){let result="",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+="…";break}result+=printer(current.value[0],config3,indentationNext,depth,refs)+separator+printer(current.value[1],config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=","):result+=`,${config3.spacingInner}`}result+=config3.spacingOuter+indentation}return result},exports.printIteratorValues=function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result="",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+="…";break}result+=printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=","):result+=`,${config3.spacingInner}`}result+=config3.spacingOuter+indentation}return result},exports.printListItems=function printListItems(list,config3,indentation,depth,refs,printer){let result="";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let rawKeys=Object.keys(object),keys2=null!==compareKeys?rawKeys.sort(compareKeys):rawKeys;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach((symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol)})),keys2})(val,config3.compareKeys);if(keys2.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();if("ArrayContaining"===stringedValue||"ArrayNotContaining"===stringedValue)return++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+" "}[${(0,_collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)}]`;if("ObjectContaining"===stringedValue||"ObjectNotContaining"===stringedValue)return++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+" "}{${(0,_collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)}}`;if("StringMatching"===stringedValue||"StringNotMatching"===stringedValue||"StringContaining"===stringedValue||"StringNotContaining"===stringedValue)return stringedValue+" "+printer(val.sample,config3,indentation,depth,refs);if("function"!=typeof val.toAsymmetricMatcher)throw new Error(`Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`);return val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_DOMCollection=__commonJS({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),OBJECT_NAMES=["DOMStringMap","NamedNodeMap"],ARRAY_REGEXP=/^(HTML\w*Collection|NodeList)$/,test=val=>{return val&&val.constructor&&!!val.constructor.name&&(name=val.constructor.name,-1!==OBJECT_NAMES.indexOf(name)||ARRAY_REGEXP.test(name));var name};exports.test=test;var serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return++depth>config3.maxDepth?`[${name}]`:(config3.min?"":name+" ")+(-1!==OBJECT_NAMES.indexOf(name)?`{${(0,_collections.printObjectProperties)((collection=>"NamedNodeMap"===collection.constructor.name)(collection)?Array.from(collection).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}):{...collection},config3,indentation,depth,refs,printer)}}`:`[${(0,_collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)}]`)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_escapeHTML=__commonJS({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function escapeHTML2(str){return str.replace(//g,">")}}}),require_markup=__commonJS({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(require_escapeHTML());exports.printProps=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map((key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return"string"!=typeof value&&(-1!==printed.indexOf("\n")&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=`{${printed}}`),`${config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`})).join("")};exports.printChildren=(children,config3,indentation,depth,refs,printer)=>children.map((child=>config3.spacingOuter+indentation+("string"==typeof child?printText2(child,config3):printer(child,config3,indentation,depth,refs)))).join("");var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0,_escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;exports.printComment=(comment,config3)=>{let commentColor=config3.colors.comment;return`${commentColor.open}\x3c!--${(0,_escapeHTML.default)(comment)}--\x3e${commentColor.close}`};exports.printElement=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return`${tagColor.open}<${type3}${printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open}${printedChildren?`>${tagColor.close}${printedChildren}${config3.spacingOuter}${indentation}${tagColor.open}${tagColor.close}`};exports.printElementAsLeaf=(type3,config3)=>{let tagColor=config3.colors.tag;return`${tagColor.open}<${type3}${tagColor.close} …${tagColor.open} />${tagColor.close}`}}}),require_DOMElement=__commonJS({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),ELEMENT_REGEXP2=/^((HTML|SVG)\w*)?Element$/,test=val=>val?.constructor?.name&&(val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2="string"==typeof tagName&&tagName.includes("-")||(val=>{try{return"function"==typeof val.hasAttribute&&val.hasAttribute("is")}catch{return!1}})(val);return 1===nodeType&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||3===nodeType&&"Text"===constructorName||8===nodeType&&"Comment"===constructorName||11===nodeType&&"DocumentFragment"===constructorName})(val);function nodeIsFragment2(node){return 11===node.nodeType}exports.test=test;var serialize=(node,config3,indentation,depth,refs,printer)=>{if(function nodeIsText2(node){return 3===node.nodeType}(node))return(0,_markup.printText)(node.data,config3);if(function nodeIsComment2(node){return 8===node.nodeType}(node))return(0,_markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?"DocumentFragment":node.tagName.toLowerCase();return++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(type3,config3):(0,_markup.printElement)(type3,(0,_markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes,(attr=>attr.name)).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}),config3,indentation+config3.indent,depth,refs,printer),(0,_markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_Immutable=__commonJS({"../../node_modules/pretty-format/build/plugins/Immutable.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),getImmutableName=name=>`Immutable.${name}`,printAsLeaf=name=>`[${name}]`;var printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+" "}[${(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}]`,serialize=(val,config3,indentation,depth,refs,printer)=>val["@@__IMMUTABLE_MAP__@@"]?((val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+" "}{${(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)}}`)(val,config3,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedMap":"Map"):val["@@__IMMUTABLE_LIST__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,"List"):val["@@__IMMUTABLE_SET__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedSet":"Set"):val["@@__IMMUTABLE_STACK__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,"Stack"):val["@@__IMMUTABLE_SEQ__@@"]?((val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName("Seq");return++depth>config3.maxDepth?printAsLeaf(name):val["@@__IMMUTABLE_KEYED__@@"]?`${name+" "}{${val._iter||val._object?(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):"…"}}`:`${name+" "}[${val._iter||val._array||val._collection||val._iterable?(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):"…"}]`})(val,config3,indentation,depth,refs,printer):((val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(val._name||"Record");return++depth>config3.maxDepth?printAsLeaf(name):`${name+" "}{${(0,_collections.printIteratorEntries)(function getRecordEntries(val){let i=0;return{next(){if(ival&&(!0===val["@@__IMMUTABLE_ITERABLE__@@"]||!0===val["@@__IMMUTABLE_RECORD__@@"]);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_react_is_development=__commonJS({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(exports){!function(){var REACT_MODULE_REFERENCE,REACT_ELEMENT_TYPE=Symbol.for("react.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_PROVIDER_TYPE=Symbol.for("react.provider"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_SERVER_CONTEXT_TYPE=Symbol.for("react.server_context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy"),REACT_OFFSCREEN_TYPE=Symbol.for("react.offscreen");function typeOf(object){if("object"==typeof object&&null!==object){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_SERVER_CONTEXT_TYPE:case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}REACT_MODULE_REFERENCE=Symbol.for("react.module.reference");var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,SuspenseList=REACT_SUSPENSE_LIST_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.SuspenseList=SuspenseList,exports.isAsyncMode=function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isConcurrentMode=function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isContextConsumer=function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE},exports.isContextProvider=function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE},exports.isElement=function isElement5(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE},exports.isForwardRef=function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE},exports.isFragment=function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE},exports.isLazy=function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE},exports.isMemo=function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE},exports.isPortal=function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE},exports.isProfiler=function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE},exports.isStrictMode=function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE},exports.isSuspense=function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE},exports.isSuspenseList=function isSuspenseList(object){return typeOf(object)===REACT_SUSPENSE_LIST_TYPE},exports.isValidElementType=function isValidElementType(type3){return!("string"!=typeof type3&&"function"!=typeof type3&&type3!==REACT_FRAGMENT_TYPE&&type3!==REACT_PROFILER_TYPE&&type3!==REACT_STRICT_MODE_TYPE&&type3!==REACT_SUSPENSE_TYPE&&type3!==REACT_SUSPENSE_LIST_TYPE&&type3!==REACT_OFFSCREEN_TYPE&&("object"!=typeof type3||null===type3||type3.$$typeof!==REACT_LAZY_TYPE&&type3.$$typeof!==REACT_MEMO_TYPE&&type3.$$typeof!==REACT_PROVIDER_TYPE&&type3.$$typeof!==REACT_CONTEXT_TYPE&&type3.$$typeof!==REACT_FORWARD_REF_TYPE&&type3.$$typeof!==REACT_MODULE_REFERENCE&&void 0===type3.getModuleId))},exports.typeOf=typeOf}()}}),require_react_is=__commonJS({"../../node_modules/pretty-format/node_modules/react-is/index.js"(exports,module2){module2.exports=require_react_is_development()}}),require_ReactElement=__commonJS({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var ReactIs=function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!=typeof obj&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}(require_react_is()),_markup=require_markup();function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach((item=>{getChildren(item,children)})):null!=arg&&!1!==arg&&children.push(arg),children),getType3=element=>{let type3=element.type;if("string"==typeof type3)return type3;if("function"==typeof type3)return type3.displayName||type3.name||"Unknown";if(ReactIs.isFragment(element))return"React.Fragment";if(ReactIs.isSuspense(element))return"React.Suspense";if("object"==typeof type3&&null!==type3){if(ReactIs.isContextProvider(element))return"Context.Provider";if(ReactIs.isContextConsumer(element))return"Context.Consumer";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||"";return""!==functionName?`ForwardRef(${functionName})`:"ForwardRef"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||"";return""!==functionName?`Memo(${functionName})`:"Memo"}}return"UNDEFINED"},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(getType3(element),config3):(0,_markup.printElement)(getType3(element),(0,_markup.printProps)((element=>{let{props}=element;return Object.keys(props).filter((key=>"children"!==key&&void 0!==props[key])).sort()})(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0,_markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>null!=val&&ReactIs.isElement(val);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_ReactTestComponent=__commonJS({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),Symbol2=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,testSymbol="function"==typeof Symbol2&&Symbol2.for?Symbol2.for("react.test.json"):245830487,serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(object.type,config3):(0,_markup.printElement)(object.type,object.props?(0,_markup.printProps)((object=>{let{props}=object;return props?Object.keys(props).filter((key=>void 0!==props[key])).sort():[]})(object),object.props,config3,indentation+config3.indent,depth,refs,printer):"",object.children?(0,_markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):"",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_build=__commonJS({"../../node_modules/pretty-format/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DEFAULT_OPTIONS=void 0,exports.format=format4,exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles()),_collections=require_collections(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher()),_DOMCollection=_interopRequireDefault(require_DOMCollection()),_DOMElement=_interopRequireDefault(require_DOMElement()),_Immutable=_interopRequireDefault(require_Immutable()),_ReactElement=_interopRequireDefault(require_ReactElement()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>"function"==typeof val.constructor&&val.constructor.name||"Object",SYMBOL_REGEXP=/^Symbol\((.*)\)(.*)$/,NEWLINE_REGEXP=/\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name}};function printFunction(val,printFunctionName){return printFunctionName?`[Function ${val.name||"anonymous"}]`:"[Function]"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,"Symbol($1)")}function printError(val){return`[${errorToString.call(val)}]`}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(!0===val||!1===val)return`${val}`;if(void 0===val)return"undefined";if(null===val)return"null";let typeOf=typeof val;if("number"===typeOf)return function printNumber(val){return Object.is(val,-0)?"-0":String(val)}(val);if("bigint"===typeOf)return function printBigInt(val){return`${val}n`}(val);if("string"===typeOf)return escapeString?`"${val.replace(/"|\\/g,"\\$&")}"`:`"${val}"`;if("function"===typeOf)return printFunction(val,printFunctionName);if("symbol"===typeOf)return printSymbol(val);let toStringed=toString.call(val);return"[object WeakMap]"===toStringed?"WeakMap {}":"[object WeakSet]"===toStringed?"WeakSet {}":"[object Function]"===toStringed||"[object GeneratorFunction]"===toStringed?printFunction(val,printFunctionName):"[object Symbol]"===toStringed?printSymbol(val):"[object Date]"===toStringed?isNaN(+val)?"Date { NaN }":toISOString.call(val):"[object Error]"===toStringed?printError(val):"[object RegExp]"===toStringed?escapeRegex?regExpToString.call(val).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(-1!==refs.indexOf(val))return"[Circular]";(refs=refs.slice()).push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&"function"==typeof val.toJSON&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return"[object Arguments]"===toStringed?hitMaxDepth?"[Arguments]":`${min?"":"Arguments "}[${(0,_collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:function isToStringedArrayType(toStringed){return"[object Array]"===toStringed||"[object ArrayBuffer]"===toStringed||"[object DataView]"===toStringed||"[object Float32Array]"===toStringed||"[object Float64Array]"===toStringed||"[object Int8Array]"===toStringed||"[object Int16Array]"===toStringed||"[object Int32Array]"===toStringed||"[object Uint8Array]"===toStringed||"[object Uint8ClampedArray]"===toStringed||"[object Uint16Array]"===toStringed||"[object Uint32Array]"===toStringed}(toStringed)?hitMaxDepth?`[${val.constructor.name}]`:`${min||!config3.printBasicPrototype&&"Array"===val.constructor.name?"":`${val.constructor.name} `}[${(0,_collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:"[object Map]"===toStringed?hitMaxDepth?"[Map]":`Map {${(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer," => ")}}`:"[object Set]"===toStringed?hitMaxDepth?"[Set]":`Set {${(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}}`:hitMaxDepth||(val=>typeof window<"u"&&val===window)(val)?`[${getConstructorName(val)}]`:`${min||!config3.printBasicPrototype&&"Object"===getConstructorName(val)?"":`${getConstructorName(val)} `}{${(0,_collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)}}`}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=function isNewPlugin(plugin){return null!=plugin.serialize}(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,(valChild=>printer(valChild,config3,indentation,depth,refs)),(str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n${indentationNext}`)}),{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors)}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if("string"!=typeof printed)throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2DEFAULT_THEME_KEYS.reduce(((colors,key)=>{let value=options.theme&&void 0!==options.theme[key]?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(!color||"string"!=typeof color.close||"string"!=typeof color.open)throw new Error(`pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`);return colors[key]=color,colors}),Object.create(null)),getPrintFunctionName=options=>options?.printFunctionName??DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options?.escapeRegex??DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options?.escapeString??DEFAULT_OPTIONS.escapeString,getConfig3=options=>{return{callToJSON:options?.callToJSON??DEFAULT_OPTIONS.callToJSON,colors:options?.highlight?getColorsHighlight(options):DEFAULT_THEME_KEYS.reduce(((colors,key)=>(colors[key]={close:"",open:""},colors)),Object.create(null)),compareKeys:"function"==typeof options?.compareKeys||null===options?.compareKeys?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options?.min?"":(indent=options?.indent??DEFAULT_OPTIONS.indent,new Array(indent+1).join(" ")),maxDepth:options?.maxDepth??DEFAULT_OPTIONS.maxDepth,maxWidth:options?.maxWidth??DEFAULT_OPTIONS.maxWidth,min:options?.min??DEFAULT_OPTIONS.min,plugins:options?.plugins??DEFAULT_OPTIONS.plugins,printBasicPrototype:options?.printBasicPrototype??!0,printFunctionName:getPrintFunctionName(options),spacingInner:options?.min?" ":"\n",spacingOuter:options?.min?"":"\n"};var indent};function format4(val,options){if(options&&(function validateOptions(options){if(Object.keys(options).forEach((key=>{if(!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS,key))throw new Error(`pretty-format: Unknown option "${key}".`)})),options.min&&void 0!==options.indent&&0!==options.indent)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(void 0!==options.theme){if(null===options.theme)throw new Error('pretty-format: Option "theme" must not be null.');if("object"!=typeof options.theme)throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof options.theme}".`)}}(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(null!==plugin)return printPlugin(plugin,val,getConfig3(options),"",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return null!==basicResult?basicResult:printComplexValue(val,getConfig3(options),"",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default}}),require_build2=__commonJS({"../../node_modules/diff-sequences/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function diffSequence(aLength,bLength,isCommon,foundSubsequence){validateLength("aLength",aLength),validateLength("bLength",bLength),validateCallback("isCommon",isCommon),validateCallback("foundSubsequence",foundSubsequence);let nCommonF=countCommonItemsF(0,aLength,0,bLength,isCommon);if(0!==nCommonF&&foundSubsequence(nCommonF,0,0),aLength!==nCommonF||bLength!==nCommonF){let aStart=nCommonF,bStart=nCommonF,nCommonR=countCommonItemsR(aStart,aLength-1,bStart,bLength-1,isCommon),aEnd=aLength-nCommonR,bEnd=bLength-nCommonR,nCommonFR=nCommonF+nCommonR;aLength!==nCommonFR&&bLength!==nCommonFR&&findSubsequences(0,aStart,aEnd,bStart,bEnd,!1,[{foundSubsequence,isCommon}],[0],[0],{aCommonFollowing:0,aCommonPreceding:0,aEndPreceding:0,aStartFollowing:0,bCommonFollowing:0,bCommonPreceding:0,bEndPreceding:0,bStartFollowing:0,nChangeFollowing:0,nChangePreceding:0,nCommonFollowing:0,nCommonPreceding:0}),0!==nCommonR&&foundSubsequence(nCommonR,aEnd,bEnd)}};var pkg="diff-sequences",countCommonItemsF=(aIndex,aEnd,bIndex,bEnd,isCommon)=>{let nCommon=0;for(;aIndex{let nCommon=0;for(;aStart<=aIndex&&bStart<=bIndex&&isCommon(aIndex,bIndex);)aIndex-=1,bIndex-=1,nCommon+=1;return nCommon},extendPathsF=(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF)=>{let iF=0,kF=-d2,aFirst=aIndexesF[iF],aIndexPrev1=aFirst;aIndexesF[iF]+=countCommonItemsF(aFirst+1,aEnd,bF+aFirst-kF+1,bEnd,isCommon);let nF=d2{let iR=0,kR=d2,aFirst=aIndexesR[iR],aIndexPrev1=aFirst;aIndexesR[iR]-=countCommonItemsR(aStart,aFirst-1,bStart,bR+aFirst-kR-1,isCommon);let nR=d2{let bF=bStart-aStart,baDeltaLength=bEnd-bStart-(aEnd-aStart),kMinOverlapF=-baDeltaLength-(d2-1),kMaxOverlapF=d2-1-baDeltaLength,aIndexPrev1=0,nF=d2{let bR=bEnd-aEnd,baDeltaLength=bEnd-bStart-(aEnd-aStart),kMinOverlapR=baDeltaLength-d2,kMaxOverlapR=baDeltaLength+d2,aIndexPrev1=0,nR=d2{if(bEnd-bStart{foundSubsequence2(nCommon,aCommon,bCommon)},isCommon:(bIndex,aIndex)=>isCommon2(aIndex,bIndex)}}let tStart=aStart,tEnd=aEnd;aStart=bStart,aEnd=bEnd,bStart=tStart,bEnd=tEnd}let{foundSubsequence,isCommon}=callbacks[transposed?1:0];((nChange,aStart,aEnd,bStart,bEnd,isCommon,aIndexesF,aIndexesR,division)=>{let bF=bStart-aStart,bR=bEnd-aEnd,aLength=aEnd-aStart,bLength=bEnd-bStart,baDeltaLength=bLength-aLength,iMaxF=aLength,iMaxR=aLength;if(aIndexesF[0]=aStart-1,aIndexesR[0]=aEnd,baDeltaLength%2==0){let dMin=(nChange||baDeltaLength)/2,dMax=(aLength+bLength)/2;for(let d2=1;d2<=dMax;d2+=1)if(iMaxF=extendPathsF(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF),d2{if("number"!=typeof arg)throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`);if(!Number.isSafeInteger(arg))throw new RangeError(`${pkg}: ${name} value ${arg} is not a safe integer`);if(arg<0)throw new RangeError(`${pkg}: ${name} value ${arg} is a negative integer`)},validateCallback=(name,arg)=>{let type3=typeof arg;if("function"!==type3)throw new TypeError(`${pkg}: ${name} typeof ${type3} is not a function`)}}}),require_min_indent=__commonJS({"../../node_modules/min-indent/index.js"(exports,module2){module2.exports=string2=>{let match=string2.match(/^[ \t]*(?=\S)/gm);return match?match.reduce(((r,a)=>Math.min(r,a.length)),1/0):0}}}),require_strip_indent=__commonJS({"../../node_modules/strip-indent/index.js"(exports,module2){var minIndent=require_min_indent();module2.exports=string2=>{let indent=minIndent(string2);if(0===indent)return string2;let regex=new RegExp(`^[ \\t]{${indent}}`,"gm");return string2.replace(regex,"")}}}),require_indent_string=__commonJS({"../../node_modules/indent-string/index.js"(exports,module2){module2.exports=(string2,count=1,options)=>{if(options={indent:" ",includeEmptyLines:!1,...options},"string"!=typeof string2)throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof string2}\``);if("number"!=typeof count)throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof count}\``);if("string"!=typeof options.indent)throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof options.indent}\``);if(0===count)return string2;let regex=options.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return string2.replace(regex,options.indent.repeat(count))}}}),require_redent=__commonJS({"../../node_modules/redent/index.js"(exports,module2){var stripIndent=require_strip_indent(),indentString=require_indent_string();module2.exports=(string2,count=0,options)=>indentString(stripIndent(string2),count,options)}}),require_listCacheClear=__commonJS({"../../node_modules/lodash/_listCacheClear.js"(exports,module2){module2.exports=function listCacheClear(){this.__data__=[],this.size=0}}}),require_eq=__commonJS({"../../node_modules/lodash/eq.js"(exports,module2){module2.exports=function eq2(value,other){return value===other||value!=value&&other!=other}}}),require_assocIndexOf=__commonJS({"../../node_modules/lodash/_assocIndexOf.js"(exports,module2){var eq2=require_eq();module2.exports=function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq2(array[length][0],key))return length;return-1}}}),require_listCacheDelete=__commonJS({"../../node_modules/lodash/_listCacheDelete.js"(exports,module2){var assocIndexOf=require_assocIndexOf(),splice=Array.prototype.splice;module2.exports=function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);return!(index<0)&&(index==data.length-1?data.pop():splice.call(data,index,1),--this.size,!0)}}}),require_listCacheGet=__commonJS({"../../node_modules/lodash/_listCacheGet.js"(exports,module2){var assocIndexOf=require_assocIndexOf();module2.exports=function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}}}),require_listCacheHas=__commonJS({"../../node_modules/lodash/_listCacheHas.js"(exports,module2){var assocIndexOf=require_assocIndexOf();module2.exports=function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}}}),require_listCacheSet=__commonJS({"../../node_modules/lodash/_listCacheSet.js"(exports,module2){var assocIndexOf=require_assocIndexOf();module2.exports=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}}}),require_ListCache=__commonJS({"../../node_modules/lodash/_ListCache.js"(exports,module2){var listCacheClear=require_listCacheClear(),listCacheDelete=require_listCacheDelete(),listCacheGet=require_listCacheGet(),listCacheHas=require_listCacheHas(),listCacheSet=require_listCacheSet();function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++indexarrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=2&bitmask?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index-1&&value%1==0&&value-1&&value%1==0&&value<=9007199254740991}}}),require_baseIsTypedArray=__commonJS({"../../node_modules/lodash/_baseIsTypedArray.js"(exports,module2){var baseGetTag=require_baseGetTag(),isLength=require_isLength(),isObjectLike=require_isObjectLike(),typedArrayTags={};typedArrayTags["[object Float32Array]"]=typedArrayTags["[object Float64Array]"]=typedArrayTags["[object Int8Array]"]=typedArrayTags["[object Int16Array]"]=typedArrayTags["[object Int32Array]"]=typedArrayTags["[object Uint8Array]"]=typedArrayTags["[object Uint8ClampedArray]"]=typedArrayTags["[object Uint16Array]"]=typedArrayTags["[object Uint32Array]"]=!0,typedArrayTags["[object Arguments]"]=typedArrayTags["[object Array]"]=typedArrayTags["[object ArrayBuffer]"]=typedArrayTags["[object Boolean]"]=typedArrayTags["[object DataView]"]=typedArrayTags["[object Date]"]=typedArrayTags["[object Error]"]=typedArrayTags["[object Function]"]=typedArrayTags["[object Map]"]=typedArrayTags["[object Number]"]=typedArrayTags["[object Object]"]=typedArrayTags["[object RegExp]"]=typedArrayTags["[object Set]"]=typedArrayTags["[object String]"]=typedArrayTags["[object WeakMap]"]=!1,module2.exports=function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}}}),require_baseUnary=__commonJS({"../../node_modules/lodash/_baseUnary.js"(exports,module2){module2.exports=function baseUnary(func){return function(value){return func(value)}}}}),require_nodeUtil=__commonJS({"../../node_modules/lodash/_nodeUtil.js"(exports,module2){var freeGlobal=require_freeGlobal(),freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module2&&module2&&!module2.nodeType&&module2,freeProcess=freeModule&&freeModule.exports===freeExports&&freeGlobal.process,nodeUtil=function(){try{return freeModule&&freeModule.require&&freeModule.require("util").types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}();module2.exports=nodeUtil}}),require_isTypedArray=__commonJS({"../../node_modules/lodash/isTypedArray.js"(exports,module2){var baseIsTypedArray=require_baseIsTypedArray(),baseUnary=require_baseUnary(),nodeUtil=require_nodeUtil(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module2.exports=isTypedArray}}),require_arrayLikeKeys=__commonJS({"../../node_modules/lodash/_arrayLikeKeys.js"(exports,module2){var baseTimes=require_baseTimes(),isArguments=require_isArguments(),isArray=require_isArray(),isBuffer=require_isBuffer(),isIndex=require_isIndex(),isTypedArray=require_isTypedArray(),hasOwnProperty=Object.prototype.hasOwnProperty;module2.exports=function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty.call(value,key))&&(!skipIndexes||!("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length)))&&result.push(key);return result}}}),require_isPrototype=__commonJS({"../../node_modules/lodash/_isPrototype.js"(exports,module2){var objectProto=Object.prototype;module2.exports=function isPrototype(value){var Ctor=value&&value.constructor;return value===("function"==typeof Ctor&&Ctor.prototype||objectProto)}}}),require_overArg=__commonJS({"../../node_modules/lodash/_overArg.js"(exports,module2){module2.exports=function overArg(func,transform){return function(arg){return func(transform(arg))}}}}),require_nativeKeys=__commonJS({"../../node_modules/lodash/_nativeKeys.js"(exports,module2){var nativeKeys=require_overArg()(Object.keys,Object);module2.exports=nativeKeys}}),require_baseKeys=__commonJS({"../../node_modules/lodash/_baseKeys.js"(exports,module2){var isPrototype=require_isPrototype(),nativeKeys=require_nativeKeys(),hasOwnProperty=Object.prototype.hasOwnProperty;module2.exports=function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}}}),require_isArrayLike=__commonJS({"../../node_modules/lodash/isArrayLike.js"(exports,module2){var isFunction=require_isFunction(),isLength=require_isLength();module2.exports=function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}}}),require_keys=__commonJS({"../../node_modules/lodash/keys.js"(exports,module2){var arrayLikeKeys=require_arrayLikeKeys(),baseKeys=require_baseKeys(),isArrayLike=require_isArrayLike();module2.exports=function keys2(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}}}),require_getAllKeys=__commonJS({"../../node_modules/lodash/_getAllKeys.js"(exports,module2){var baseGetAllKeys=require_baseGetAllKeys(),getSymbols=require_getSymbols(),keys2=require_keys();module2.exports=function getAllKeys(object){return baseGetAllKeys(object,keys2,getSymbols)}}}),require_equalObjects=__commonJS({"../../node_modules/lodash/_equalObjects.js"(exports,module2){var getAllKeys=require_getAllKeys(),hasOwnProperty=Object.prototype.hasOwnProperty;module2.exports=function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,objProps=getAllKeys(object),objLength=objProps.length;if(objLength!=getAllKeys(other).length&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++indexarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:null,_iterator=function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function(){};return{s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}(properties);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn3.call(thisArg,values,key,properties)}}catch(err){_iterator.e(err)}finally{_iterator.f()}},get:function(key){var item=properties.find((function(tuple){return tuple[0]===key}));return item&&item[1]},has:function(key){return!!ariaPropsMap.get(key)},keys:function(){return properties.map((function(_ref){return _slicedToArray(_ref,1)[0]}))},values:function(){return properties.map((function(_ref3){return _slicedToArray(_ref3,2)[1]}))}},_default=(0,_iterationDecorator.default)(ariaPropsMap,ariaPropsMap.entries());exports.default=_default}}),require_domMap=__commonJS({"node_modules/aria-query/lib/domMap.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _iterationDecorator=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(require_iterationDecorator());function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:typeof Symbol<"u"&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||_unsupportedIterableToArray(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:null,_iterator=function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function(){};return{s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}(dom);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn3.call(thisArg,values,key,dom)}}catch(err){_iterator.e(err)}finally{_iterator.f()}},get:function(key){var item=dom.find((function(tuple){return tuple[0]===key}));return item&&item[1]},has:function(key){return!!domMap.get(key)},keys:function(){return dom.map((function(_ref){return _slicedToArray(_ref,1)[0]}))},values:function(){return dom.map((function(_ref3){return _slicedToArray(_ref3,2)[1]}))}},_default=(0,_iterationDecorator.default)(domMap,domMap.entries());exports.default=_default}}),require_commandRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};exports.default=_default}}),require_compositeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};exports.default=_default}}),require_inputRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};exports.default=_default}}),require_landmarkRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_rangeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_roletypeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"rel"},module:"HTML"},{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};exports.default=_default}}),require_sectionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_sectionheadRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_selectRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};exports.default=_default}}),require_structureRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};exports.default=_default}}),require_widgetRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};exports.default=_default}}),require_windowRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};exports.default=_default}}),require_ariaAbstractRoles=__commonJS({"node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _commandRole=_interopRequireDefault(require_commandRole()),_compositeRole=_interopRequireDefault(require_compositeRole()),_inputRole=_interopRequireDefault(require_inputRole()),_landmarkRole=_interopRequireDefault(require_landmarkRole()),_rangeRole=_interopRequireDefault(require_rangeRole()),_roletypeRole=_interopRequireDefault(require_roletypeRole()),_sectionRole=_interopRequireDefault(require_sectionRole()),_sectionheadRole=_interopRequireDefault(require_sectionheadRole()),_selectRole=_interopRequireDefault(require_selectRole()),_structureRole=_interopRequireDefault(require_structureRole()),_widgetRole=_interopRequireDefault(require_widgetRole()),_windowRole=_interopRequireDefault(require_windowRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=[["command",_commandRole.default],["composite",_compositeRole.default],["input",_inputRole.default],["landmark",_landmarkRole.default],["range",_rangeRole.default],["roletype",_roletypeRole.default],["section",_sectionRole.default],["sectionhead",_sectionheadRole.default],["select",_selectRole.default],["structure",_structureRole.default],["widget",_widgetRole.default],["window",_windowRole.default]];exports.default=_default}}),require_alertRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_alertdialogRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};exports.default=_default}}),require_applicationRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_articleRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};exports.default=_default}}),require_bannerRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_blockquoteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_buttonRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-pressed"},{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"false"}],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"true"}],constraints:["direct descendant of details element with the open attribute defined"],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};exports.default=_default}}),require_captionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_cellRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["descendant of table"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_checkboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_codeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_columnheaderRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{attributes:[{name:"scope",value:"col"}],concept:{name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};exports.default=_default}}),require_comboboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{name:"size",value:1}],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_complementaryRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_contentinfoRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_definitionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_deletionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_dialogRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};exports.default=_default}}),require_directoryRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};exports.default=_default}}),require_documentRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"body"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_emphasisRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_feedRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};exports.default=_default}}),require_figureRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_formRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/formRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_genericRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"span"},module:"HTML"},{concept:{name:"div"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_gridRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"grid"}],name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};exports.default=_default}}),require_gridcellRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"gridcell"}],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};exports.default=_default}}),require_groupRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_headingRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};exports.default=_default}}),require_imgRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_insertionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_linkRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"area"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"link"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};exports.default=_default}}),require_listRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/listRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_listboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"},{name:"multiple"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:[">1"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};exports.default=_default}}),require_listitemRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol, ul or menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_logRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/logRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_mainRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_marqueeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_mathRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_menuRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};exports.default=_default}}),require_menubarRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};exports.default=_default}}),require_menuitemRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"menuitem"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};exports.default=_default}}),require_menuitemcheckboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};exports.default=_default}}),require_menuitemradioRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};exports.default=_default}}),require_meterRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};exports.default=_default}}),require_navigationRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_noneRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};exports.default=_default}}),require_noteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_optionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_paragraphRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_presentationRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_progressbarRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};exports.default=_default}}),require_radioRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_radiogroupRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};exports.default=_default}}),require_regionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}},{concept:{name:"frame"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_rowRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};exports.default=_default}}),require_rowgroupRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_rowheaderRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};exports.default=_default}}),require_scrollbarRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};exports.default=_default}}),require_searchRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_searchboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};exports.default=_default}}),require_separatorRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_sliderRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};exports.default=_default}}),require_spinbuttonRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};exports.default=_default}}),require_statusRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_strongRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_subscriptRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_superscriptRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_switchRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};exports.default=_default}}),require_tabRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};exports.default=_default}}),require_tableRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_tablistRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};exports.default=_default}}),require_tabpanelRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_termRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/termRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_textboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_timeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_timerRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};exports.default=_default}}),require_toolbarRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};exports.default=_default}}),require_tooltipRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_treeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};exports.default=_default}}),require_treegridRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};exports.default=_default}}),require_treeitemRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};exports.default=_default}}),require_ariaLiteralRoles=__commonJS({"node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _alertRole=_interopRequireDefault(require_alertRole()),_alertdialogRole=_interopRequireDefault(require_alertdialogRole()),_applicationRole=_interopRequireDefault(require_applicationRole()),_articleRole=_interopRequireDefault(require_articleRole()),_bannerRole=_interopRequireDefault(require_bannerRole()),_blockquoteRole=_interopRequireDefault(require_blockquoteRole()),_buttonRole=_interopRequireDefault(require_buttonRole()),_captionRole=_interopRequireDefault(require_captionRole()),_cellRole=_interopRequireDefault(require_cellRole()),_checkboxRole=_interopRequireDefault(require_checkboxRole()),_codeRole=_interopRequireDefault(require_codeRole()),_columnheaderRole=_interopRequireDefault(require_columnheaderRole()),_comboboxRole=_interopRequireDefault(require_comboboxRole()),_complementaryRole=_interopRequireDefault(require_complementaryRole()),_contentinfoRole=_interopRequireDefault(require_contentinfoRole()),_definitionRole=_interopRequireDefault(require_definitionRole()),_deletionRole=_interopRequireDefault(require_deletionRole()),_dialogRole=_interopRequireDefault(require_dialogRole()),_directoryRole=_interopRequireDefault(require_directoryRole()),_documentRole=_interopRequireDefault(require_documentRole()),_emphasisRole=_interopRequireDefault(require_emphasisRole()),_feedRole=_interopRequireDefault(require_feedRole()),_figureRole=_interopRequireDefault(require_figureRole()),_formRole=_interopRequireDefault(require_formRole()),_genericRole=_interopRequireDefault(require_genericRole()),_gridRole=_interopRequireDefault(require_gridRole()),_gridcellRole=_interopRequireDefault(require_gridcellRole()),_groupRole=_interopRequireDefault(require_groupRole()),_headingRole=_interopRequireDefault(require_headingRole()),_imgRole=_interopRequireDefault(require_imgRole()),_insertionRole=_interopRequireDefault(require_insertionRole()),_linkRole=_interopRequireDefault(require_linkRole()),_listRole=_interopRequireDefault(require_listRole()),_listboxRole=_interopRequireDefault(require_listboxRole()),_listitemRole=_interopRequireDefault(require_listitemRole()),_logRole=_interopRequireDefault(require_logRole()),_mainRole=_interopRequireDefault(require_mainRole()),_marqueeRole=_interopRequireDefault(require_marqueeRole()),_mathRole=_interopRequireDefault(require_mathRole()),_menuRole=_interopRequireDefault(require_menuRole()),_menubarRole=_interopRequireDefault(require_menubarRole()),_menuitemRole=_interopRequireDefault(require_menuitemRole()),_menuitemcheckboxRole=_interopRequireDefault(require_menuitemcheckboxRole()),_menuitemradioRole=_interopRequireDefault(require_menuitemradioRole()),_meterRole=_interopRequireDefault(require_meterRole()),_navigationRole=_interopRequireDefault(require_navigationRole()),_noneRole=_interopRequireDefault(require_noneRole()),_noteRole=_interopRequireDefault(require_noteRole()),_optionRole=_interopRequireDefault(require_optionRole()),_paragraphRole=_interopRequireDefault(require_paragraphRole()),_presentationRole=_interopRequireDefault(require_presentationRole()),_progressbarRole=_interopRequireDefault(require_progressbarRole()),_radioRole=_interopRequireDefault(require_radioRole()),_radiogroupRole=_interopRequireDefault(require_radiogroupRole()),_regionRole=_interopRequireDefault(require_regionRole()),_rowRole=_interopRequireDefault(require_rowRole()),_rowgroupRole=_interopRequireDefault(require_rowgroupRole()),_rowheaderRole=_interopRequireDefault(require_rowheaderRole()),_scrollbarRole=_interopRequireDefault(require_scrollbarRole()),_searchRole=_interopRequireDefault(require_searchRole()),_searchboxRole=_interopRequireDefault(require_searchboxRole()),_separatorRole=_interopRequireDefault(require_separatorRole()),_sliderRole=_interopRequireDefault(require_sliderRole()),_spinbuttonRole=_interopRequireDefault(require_spinbuttonRole()),_statusRole=_interopRequireDefault(require_statusRole()),_strongRole=_interopRequireDefault(require_strongRole()),_subscriptRole=_interopRequireDefault(require_subscriptRole()),_superscriptRole=_interopRequireDefault(require_superscriptRole()),_switchRole=_interopRequireDefault(require_switchRole()),_tabRole=_interopRequireDefault(require_tabRole()),_tableRole=_interopRequireDefault(require_tableRole()),_tablistRole=_interopRequireDefault(require_tablistRole()),_tabpanelRole=_interopRequireDefault(require_tabpanelRole()),_termRole=_interopRequireDefault(require_termRole()),_textboxRole=_interopRequireDefault(require_textboxRole()),_timeRole=_interopRequireDefault(require_timeRole()),_timerRole=_interopRequireDefault(require_timerRole()),_toolbarRole=_interopRequireDefault(require_toolbarRole()),_tooltipRole=_interopRequireDefault(require_tooltipRole()),_treeRole=_interopRequireDefault(require_treeRole()),_treegridRole=_interopRequireDefault(require_treegridRole()),_treeitemRole=_interopRequireDefault(require_treeitemRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=[["alert",_alertRole.default],["alertdialog",_alertdialogRole.default],["application",_applicationRole.default],["article",_articleRole.default],["banner",_bannerRole.default],["blockquote",_blockquoteRole.default],["button",_buttonRole.default],["caption",_captionRole.default],["cell",_cellRole.default],["checkbox",_checkboxRole.default],["code",_codeRole.default],["columnheader",_columnheaderRole.default],["combobox",_comboboxRole.default],["complementary",_complementaryRole.default],["contentinfo",_contentinfoRole.default],["definition",_definitionRole.default],["deletion",_deletionRole.default],["dialog",_dialogRole.default],["directory",_directoryRole.default],["document",_documentRole.default],["emphasis",_emphasisRole.default],["feed",_feedRole.default],["figure",_figureRole.default],["form",_formRole.default],["generic",_genericRole.default],["grid",_gridRole.default],["gridcell",_gridcellRole.default],["group",_groupRole.default],["heading",_headingRole.default],["img",_imgRole.default],["insertion",_insertionRole.default],["link",_linkRole.default],["list",_listRole.default],["listbox",_listboxRole.default],["listitem",_listitemRole.default],["log",_logRole.default],["main",_mainRole.default],["marquee",_marqueeRole.default],["math",_mathRole.default],["menu",_menuRole.default],["menubar",_menubarRole.default],["menuitem",_menuitemRole.default],["menuitemcheckbox",_menuitemcheckboxRole.default],["menuitemradio",_menuitemradioRole.default],["meter",_meterRole.default],["navigation",_navigationRole.default],["none",_noneRole.default],["note",_noteRole.default],["option",_optionRole.default],["paragraph",_paragraphRole.default],["presentation",_presentationRole.default],["progressbar",_progressbarRole.default],["radio",_radioRole.default],["radiogroup",_radiogroupRole.default],["region",_regionRole.default],["row",_rowRole.default],["rowgroup",_rowgroupRole.default],["rowheader",_rowheaderRole.default],["scrollbar",_scrollbarRole.default],["search",_searchRole.default],["searchbox",_searchboxRole.default],["separator",_separatorRole.default],["slider",_sliderRole.default],["spinbutton",_spinbuttonRole.default],["status",_statusRole.default],["strong",_strongRole.default],["subscript",_subscriptRole.default],["superscript",_superscriptRole.default],["switch",_switchRole.default],["tab",_tabRole.default],["table",_tableRole.default],["tablist",_tablistRole.default],["tabpanel",_tabpanelRole.default],["term",_termRole.default],["textbox",_textboxRole.default],["time",_timeRole.default],["timer",_timerRole.default],["toolbar",_toolbarRole.default],["tooltip",_tooltipRole.default],["tree",_treeRole.default],["treegrid",_treegridRole.default],["treeitem",_treeitemRole.default]];exports.default=_default}}),require_docAbstractRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docAcknowledgmentsRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docAfterwordRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docAppendixRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docBacklinkRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","content"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};exports.default=_default}}),require_docBiblioentryRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};exports.default=_default}}),require_docBibliographyRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docBibliorefRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};exports.default=_default}}),require_docChapterRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docColophonRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docConclusionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docCoverRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};exports.default=_default}}),require_docCreditRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docCreditsRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docDedicationRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docEndnoteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};exports.default=_default}}),require_docEndnotesRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docEpigraphRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docEpilogueRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docErrataRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docExampleRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docFootnoteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docForewordRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docGlossaryRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docGlossrefRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};exports.default=_default}}),require_docIndexRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};exports.default=_default}}),require_docIntroductionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docNoterefRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};exports.default=_default}}),require_docNoticeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};exports.default=_default}}),require_docPagebreakRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};exports.default=_default}}),require_docPagelistRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};exports.default=_default}}),require_docPartRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docPrefaceRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docPrologueRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docPullquoteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};exports.default=_default}}),require_docQnaRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docSubtitleRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};exports.default=_default}}),require_docTipRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};exports.default=_default}}),require_docTocRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};exports.default=_default}}),require_ariaDpubRoles=__commonJS({"node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _docAbstractRole=_interopRequireDefault(require_docAbstractRole()),_docAcknowledgmentsRole=_interopRequireDefault(require_docAcknowledgmentsRole()),_docAfterwordRole=_interopRequireDefault(require_docAfterwordRole()),_docAppendixRole=_interopRequireDefault(require_docAppendixRole()),_docBacklinkRole=_interopRequireDefault(require_docBacklinkRole()),_docBiblioentryRole=_interopRequireDefault(require_docBiblioentryRole()),_docBibliographyRole=_interopRequireDefault(require_docBibliographyRole()),_docBibliorefRole=_interopRequireDefault(require_docBibliorefRole()),_docChapterRole=_interopRequireDefault(require_docChapterRole()),_docColophonRole=_interopRequireDefault(require_docColophonRole()),_docConclusionRole=_interopRequireDefault(require_docConclusionRole()),_docCoverRole=_interopRequireDefault(require_docCoverRole()),_docCreditRole=_interopRequireDefault(require_docCreditRole()),_docCreditsRole=_interopRequireDefault(require_docCreditsRole()),_docDedicationRole=_interopRequireDefault(require_docDedicationRole()),_docEndnoteRole=_interopRequireDefault(require_docEndnoteRole()),_docEndnotesRole=_interopRequireDefault(require_docEndnotesRole()),_docEpigraphRole=_interopRequireDefault(require_docEpigraphRole()),_docEpilogueRole=_interopRequireDefault(require_docEpilogueRole()),_docErrataRole=_interopRequireDefault(require_docErrataRole()),_docExampleRole=_interopRequireDefault(require_docExampleRole()),_docFootnoteRole=_interopRequireDefault(require_docFootnoteRole()),_docForewordRole=_interopRequireDefault(require_docForewordRole()),_docGlossaryRole=_interopRequireDefault(require_docGlossaryRole()),_docGlossrefRole=_interopRequireDefault(require_docGlossrefRole()),_docIndexRole=_interopRequireDefault(require_docIndexRole()),_docIntroductionRole=_interopRequireDefault(require_docIntroductionRole()),_docNoterefRole=_interopRequireDefault(require_docNoterefRole()),_docNoticeRole=_interopRequireDefault(require_docNoticeRole()),_docPagebreakRole=_interopRequireDefault(require_docPagebreakRole()),_docPagelistRole=_interopRequireDefault(require_docPagelistRole()),_docPartRole=_interopRequireDefault(require_docPartRole()),_docPrefaceRole=_interopRequireDefault(require_docPrefaceRole()),_docPrologueRole=_interopRequireDefault(require_docPrologueRole()),_docPullquoteRole=_interopRequireDefault(require_docPullquoteRole()),_docQnaRole=_interopRequireDefault(require_docQnaRole()),_docSubtitleRole=_interopRequireDefault(require_docSubtitleRole()),_docTipRole=_interopRequireDefault(require_docTipRole()),_docTocRole=_interopRequireDefault(require_docTocRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=[["doc-abstract",_docAbstractRole.default],["doc-acknowledgments",_docAcknowledgmentsRole.default],["doc-afterword",_docAfterwordRole.default],["doc-appendix",_docAppendixRole.default],["doc-backlink",_docBacklinkRole.default],["doc-biblioentry",_docBiblioentryRole.default],["doc-bibliography",_docBibliographyRole.default],["doc-biblioref",_docBibliorefRole.default],["doc-chapter",_docChapterRole.default],["doc-colophon",_docColophonRole.default],["doc-conclusion",_docConclusionRole.default],["doc-cover",_docCoverRole.default],["doc-credit",_docCreditRole.default],["doc-credits",_docCreditsRole.default],["doc-dedication",_docDedicationRole.default],["doc-endnote",_docEndnoteRole.default],["doc-endnotes",_docEndnotesRole.default],["doc-epigraph",_docEpigraphRole.default],["doc-epilogue",_docEpilogueRole.default],["doc-errata",_docErrataRole.default],["doc-example",_docExampleRole.default],["doc-footnote",_docFootnoteRole.default],["doc-foreword",_docForewordRole.default],["doc-glossary",_docGlossaryRole.default],["doc-glossref",_docGlossrefRole.default],["doc-index",_docIndexRole.default],["doc-introduction",_docIntroductionRole.default],["doc-noteref",_docNoterefRole.default],["doc-notice",_docNoticeRole.default],["doc-pagebreak",_docPagebreakRole.default],["doc-pagelist",_docPagelistRole.default],["doc-part",_docPartRole.default],["doc-preface",_docPrefaceRole.default],["doc-prologue",_docPrologueRole.default],["doc-pullquote",_docPullquoteRole.default],["doc-qna",_docQnaRole.default],["doc-subtitle",_docSubtitleRole.default],["doc-tip",_docTipRole.default],["doc-toc",_docTocRole.default]];exports.default=_default}}),require_graphicsDocumentRole=__commonJS({"node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};exports.default=_default}}),require_graphicsObjectRole=__commonJS({"node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};exports.default=_default}}),require_graphicsSymbolRole=__commonJS({"node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};exports.default=_default}}),require_ariaGraphicsRoles=__commonJS({"node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _graphicsDocumentRole=_interopRequireDefault(require_graphicsDocumentRole()),_graphicsObjectRole=_interopRequireDefault(require_graphicsObjectRole()),_graphicsSymbolRole=_interopRequireDefault(require_graphicsSymbolRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=[["graphics-document",_graphicsDocumentRole.default],["graphics-object",_graphicsObjectRole.default],["graphics-symbol",_graphicsSymbolRole.default]];exports.default=_default}}),require_rolesMap=__commonJS({"node_modules/aria-query/lib/rolesMap.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _ariaAbstractRoles=_interopRequireDefault(require_ariaAbstractRoles()),_ariaLiteralRoles=_interopRequireDefault(require_ariaLiteralRoles()),_ariaDpubRoles=_interopRequireDefault(require_ariaDpubRoles()),_ariaGraphicsRoles=_interopRequireDefault(require_ariaGraphicsRoles()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function(){};return{s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:typeof Symbol<"u"&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||_unsupportedIterableToArray(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:null,_iterator3=_createForOfIteratorHelper(roles3);try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var _step3$value=_slicedToArray(_step3.value,2),key=_step3$value[0],values=_step3$value[1];fn3.call(thisArg,values,key,roles3)}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}},get:function(key){var item=roles3.find((function(tuple){return tuple[0]===key}));return item&&item[1]},has:function(key){return!!rolesMap.get(key)},keys:function(){return roles3.map((function(_ref5){return _slicedToArray(_ref5,1)[0]}))},values:function(){return roles3.map((function(_ref7){return _slicedToArray(_ref7,2)[1]}))}},_default=(0,_iterationDecorator.default)(rolesMap,rolesMap.entries());exports.default=_default}}),require_isArguments2=__commonJS({"../../node_modules/object-keys/isArguments.js"(exports,module2){var toStr3=Object.prototype.toString;module2.exports=function(value){var str=toStr3.call(value),isArgs="[object Arguments]"===str;return isArgs||(isArgs="[object Array]"!==str&&null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Function]"===toStr3.call(value.callee)),isArgs}}}),require_implementation=__commonJS({"../../node_modules/object-keys/implementation.js"(exports,module2){var keysShim,has,toStr3,isArgs,isEnumerable,hasDontEnumBug,hasProtoEnumBug,dontEnums,equalsConstructorPrototype,excludedKeys,hasAutomationEqualityBug,equalsConstructorPrototypeIfNotBuggy;Object.keys||(has=Object.prototype.hasOwnProperty,toStr3=Object.prototype.toString,isArgs=require_isArguments2(),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},"toString"),hasProtoEnumBug=isEnumerable.call((function(){}),"prototype"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if(typeof window>"u")return!1;for(var k in window)try{if(!excludedKeys["$"+k]&&has.call(window,k)&&null!==window[k]&&"object"==typeof window[k])try{equalsConstructorPrototype(window[k])}catch{return!0}}catch{return!0}return!1}(),equalsConstructorPrototypeIfNotBuggy=function(o){if(typeof window>"u"||!hasAutomationEqualityBug)return equalsConstructorPrototype(o);try{return equalsConstructorPrototype(o)}catch{return!1}},keysShim=function(object){var isObject2=null!==object&&"object"==typeof object,isFunction="[object Function]"===toStr3.call(object),isArguments=isArgs(object),isString=isObject2&&"[object String]"===toStr3.call(object),theKeys=[];if(!isObject2&&!isFunction&&!isArguments)throw new TypeError("Object.keys called on a non-object");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i0)for(var j=0;j"u"||!getProto?undefined:getProto(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined:Atomics,"%BigInt%":typeof BigInt>"u"?undefined:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":typeof Map>"u"?undefined:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto?undefined:getProto((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined:Promise,"%Proxy%":typeof Proxy>"u"?undefined:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto?undefined:getProto((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":typeof Uint8Array>"u"?undefined:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined:WeakSet};if(getProto)try{null.error}catch(e){errorProto=getProto(getProto(e)),INTRINSICS["%Error.prototype%"]=errorProto}var errorProto,doEval=function doEval2(name){var value;if("%AsyncFunction%"===name)value=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===name)value=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===name)value=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===name){var fn3=doEval2("%AsyncGeneratorFunction%");fn3&&(value=fn3.prototype)}else if("%AsyncIteratorPrototype%"===name){var gen=doEval2("%AsyncGenerator%");gen&&getProto&&(value=getProto(gen.prototype))}return INTRINSICS[name]=value,value},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=require_function_bind(),hasOwn=require_hasown(),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,getBaseIntrinsic=function(name,allowMissing){var alias,intrinsicName=name;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(intrinsicName="%"+(alias=LEGACY_ALIASES[intrinsicName])[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),typeof value>"u"&&!allowMissing)throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return{alias,name:intrinsicName,value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module2.exports=function(name,allowMissing){if("string"!=typeof name||0===name.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,name))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var parts=function(string2){var first=$strSlice(string2,0,1),last=$strSlice(string2,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result=[];return $replace(string2,rePropName,(function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match})),result}(name),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);value=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value[part]}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value)}}return value}}}),require_es_define_property=__commonJS({"../../node_modules/es-define-property/index.js"(exports,module2){var $defineProperty=require_get_intrinsic()("%Object.defineProperty%",!0)||!1;if($defineProperty)try{$defineProperty({},"a",{value:1})}catch{$defineProperty=!1}module2.exports=$defineProperty}}),require_gopd=__commonJS({"../../node_modules/gopd/index.js"(exports,module2){var $gOPD=require_get_intrinsic()("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch{$gOPD=null}module2.exports=$gOPD}}),require_define_data_property=__commonJS({"../../node_modules/define-data-property/index.js"(exports,module2){var $defineProperty=require_es_define_property(),$SyntaxError=require_syntax(),$TypeError=require_type(),gopd=require_gopd();module2.exports=function(obj,property,value){if(!obj||"object"!=typeof obj&&"function"!=typeof obj)throw new $TypeError("`obj` must be an object or a function`");if("string"!=typeof property&&"symbol"!=typeof property)throw new $TypeError("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new $TypeError("`loose`, if provided, must be a boolean");var nonEnumerable=arguments.length>3?arguments[3]:null,nonWritable=arguments.length>4?arguments[4]:null,nonConfigurable=arguments.length>5?arguments[5]:null,loose=arguments.length>6&&arguments[6],desc=!!gopd&&gopd(obj,property);if($defineProperty)$defineProperty(obj,property,{configurable:null===nonConfigurable&&desc?desc.configurable:!nonConfigurable,enumerable:null===nonEnumerable&&desc?desc.enumerable:!nonEnumerable,value,writable:null===nonWritable&&desc?desc.writable:!nonWritable});else{if(!loose&&(nonEnumerable||nonWritable||nonConfigurable))throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");obj[property]=value}}}}),require_has_property_descriptors=__commonJS({"../../node_modules/has-property-descriptors/index.js"(exports,module2){var $defineProperty=require_es_define_property(),hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return 1!==$defineProperty([],"length",{value:1}).length}catch{return!0}},module2.exports=hasPropertyDescriptors}}),require_define_properties=__commonJS({"../../node_modules/define-properties/index.js"(exports,module2){var keys2=require_object_keys(),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr3=Object.prototype.toString,concat=Array.prototype.concat,defineDataProperty=require_define_data_property(),supportsDescriptors=require_has_property_descriptors()(),defineProperty=function(object,name,value,predicate){if(name in object)if(!0===predicate){if(object[name]===value)return}else if("function"!=typeof(fn3=predicate)||"[object Function]"!==toStr3.call(fn3)||!predicate())return;var fn3;supportsDescriptors?defineDataProperty(object,name,value,!0):defineDataProperty(object,name,value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys2(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i4294967295||$floor(length)!==length)throw new $TypeError("`length` must be a positive 32-bit integer");var loose=arguments.length>2&&!!arguments[2],functionLengthIsConfigurable=!0,functionLengthIsWritable=!0;if("length"in fn3&&gOPD){var desc=gOPD(fn3,"length");desc&&!desc.configurable&&(functionLengthIsConfigurable=!1),desc&&!desc.writable&&(functionLengthIsWritable=!1)}return(functionLengthIsConfigurable||functionLengthIsWritable||!loose)&&(hasDescriptors?define2(fn3,"length",length,!0,!0):define2(fn3,"length",length)),fn3}}}),require_call_bind=__commonJS({"../../node_modules/call-bind/index.js"(exports,module2){var bind=require_function_bind(),GetIntrinsic=require_get_intrinsic(),setFunctionLength=require_set_function_length(),$TypeError=require_type(),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$defineProperty=require_es_define_property(),$max=GetIntrinsic("%Math.max%");module2.exports=function(originalFunction){if("function"!=typeof originalFunction)throw new $TypeError("a function is required");var func=$reflectApply(bind,$call,arguments);return setFunctionLength(func,1+$max(0,originalFunction.length-(arguments.length-1)),!0)};var applyBind=function(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module2.exports,"apply",{value:applyBind}):module2.exports.apply=applyBind}}),require_callBound=__commonJS({"../../node_modules/call-bind/callBound.js"(exports,module2){var GetIntrinsic=require_get_intrinsic(),callBind=require_call_bind(),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module2.exports=function(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name,".prototype.")>-1?callBind(intrinsic):intrinsic}}}),require_implementation3=__commonJS({"../../node_modules/object.assign/implementation.js"(exports,module2){var objectKeys=require_object_keys(),hasSymbols=require_shams()(),callBound=require_callBound(),toObject=Object,$push=callBound("Array.prototype.push"),$propIsEnumerable=callBound("Object.prototype.propertyIsEnumerable"),originalGetSymbols=hasSymbols?Object.getOwnPropertySymbols:null;module2.exports=function(target,source1){if(null==target)throw new TypeError("target must be an object");var to=toObject(target);if(1===arguments.length)return to;for(var s=1;s2&&!!arguments[2])||functionsHaveConfigurableNames)&&(hasDescriptors?define2(fn3,"name",name,!0,!0):define2(fn3,"name",name)),fn3}}}),require_implementation4=__commonJS({"../../node_modules/regexp.prototype.flags/implementation.js"(exports,module2){var setFunctionName=require_set_function_name(),$TypeError=require_type(),$Object=Object;module2.exports=setFunctionName((function(){if(null==this||this!==$Object(this))throw new $TypeError("RegExp.prototype.flags getter called on non-object");var result="";return this.hasIndices&&(result+="d"),this.global&&(result+="g"),this.ignoreCase&&(result+="i"),this.multiline&&(result+="m"),this.dotAll&&(result+="s"),this.unicode&&(result+="u"),this.unicodeSets&&(result+="v"),this.sticky&&(result+="y"),result}),"get flags",!0)}}),require_polyfill2=__commonJS({"../../node_modules/regexp.prototype.flags/polyfill.js"(exports,module2){var implementation=require_implementation4(),supportsDescriptors=require_define_properties().supportsDescriptors,$gOPD=Object.getOwnPropertyDescriptor;module2.exports=function(){if(supportsDescriptors&&"gim"===/a/gim.flags){var descriptor=$gOPD(RegExp.prototype,"flags");if(descriptor&&"function"==typeof descriptor.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var calls="",o={};if(Object.defineProperty(o,"hasIndices",{get:function(){calls+="d"}}),Object.defineProperty(o,"sticky",{get:function(){calls+="y"}}),"dy"===calls)return descriptor.get}}return implementation}}}),require_shim2=__commonJS({"../../node_modules/regexp.prototype.flags/shim.js"(exports,module2){var supportsDescriptors=require_define_properties().supportsDescriptors,getPolyfill=require_polyfill2(),gOPD=Object.getOwnPropertyDescriptor,defineProperty=Object.defineProperty,TypeErr=TypeError,getProto=Object.getPrototypeOf,regex=/a/;module2.exports=function(){if(!supportsDescriptors||!getProto)throw new TypeErr("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var polyfill=getPolyfill(),proto=getProto(regex),descriptor=gOPD(proto,"flags");return(!descriptor||descriptor.get!==polyfill)&&defineProperty(proto,"flags",{configurable:!0,enumerable:!1,get:polyfill}),polyfill}}}),require_regexp_prototype=__commonJS({"../../node_modules/regexp.prototype.flags/index.js"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation4(),getPolyfill=require_polyfill2(),shim=require_shim2(),flagsBound=callBind(getPolyfill());define2(flagsBound,{getPolyfill,implementation,shim}),module2.exports=flagsBound}}),require_shams2=__commonJS({"../../node_modules/has-tostringtag/shams.js"(exports,module2){var hasSymbols=require_shams();module2.exports=function(){return hasSymbols()&&!!Symbol.toStringTag}}}),require_is_arguments=__commonJS({"../../node_modules/is-arguments/index.js"(exports,module2){var hasToStringTag=require_shams2()(),$toString=require_callBound()("Object.prototype.toString"),isStandardArguments=function(value){return!(hasToStringTag&&value&&"object"==typeof value&&Symbol.toStringTag in value)&&"[object Arguments]"===$toString(value)},isLegacyArguments=function(value){return!!isStandardArguments(value)||null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Array]"!==$toString(value)&&"[object Function]"===$toString(value.callee)},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module2.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments}}),require_util=__commonJS({"(disabled):../../node_modules/object-inspect/util.inspect"(){}}),require_object_inspect=__commonJS({"../../node_modules/object-inspect/index.js"(exports,module2){var hasMap="function"==typeof Map&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&"function"==typeof mapSizeDescriptor.get?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet="function"==typeof Set&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&"function"==typeof setSizeDescriptor.get?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,weakMapHas="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,weakSetHas="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,weakRefDeref="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString=Object.prototype.toString,functionToString2=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf="function"==typeof BigInt?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,hasShammedSymbols="function"==typeof Symbol&&"object"==typeof Symbol.iterator,toStringTag="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function addNumericSeparator(num,str){if(num===1/0||num===-1/0||num!=num||num&&num>-1e3&&num<1e3||$test.call(/e/,str))return str;var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof num){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int),dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,"$&_")+"."+$replace.call($replace.call(dec,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(str,sepRegex,"$&_")}var utilInspect=require_util(),inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null;function wrapQuotes(s,defaultStyle,opts){var quoteChar="double"===(opts.quoteStyle||defaultStyle)?'"':"'";return quoteChar+s+quoteChar}function quote(s){return $replace.call(String(s),/"/g,""")}function isArray(obj){return!("[object Array]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}function isRegExp(obj){return!("[object RegExp]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}function isSymbol(obj){if(hasShammedSymbols)return obj&&"object"==typeof obj&&obj instanceof Symbol;if("symbol"==typeof obj)return!0;if(!obj||"object"!=typeof obj||!symToString)return!1;try{return symToString.call(obj),!0}catch{}return!1}module2.exports=function inspect_(obj,options,depth,seen){var opts=options||{};if(has(opts,"quoteStyle")&&"single"!==opts.quoteStyle&&"double"!==opts.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(opts,"maxStringLength")&&("number"==typeof opts.maxStringLength?opts.maxStringLength<0&&opts.maxStringLength!==1/0:null!==opts.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var customInspect=!has(opts,"customInspect")||opts.customInspect;if("boolean"!=typeof customInspect&&"symbol"!==customInspect)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(opts,"indent")&&null!==opts.indent&&"\t"!==opts.indent&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(opts,"numericSeparator")&&"boolean"!=typeof opts.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var numericSeparator=opts.numericSeparator;if(typeof obj>"u")return"undefined";if(null===obj)return"null";if("boolean"==typeof obj)return obj?"true":"false";if("string"==typeof obj)return inspectString(obj,opts);if("number"==typeof obj){if(0===obj)return 1/0/obj>0?"0":"-0";var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if("bigint"==typeof obj){var bigIntStr=String(obj)+"n";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=typeof opts.depth>"u"?5:opts.depth;if(typeof depth>"u"&&(depth=0),depth>=maxDepth&&maxDepth>0&&"object"==typeof obj)return isArray(obj)?"[Array]":"[Object]";var indent=function getIndent(opts,depth){var baseIndent;if("\t"===opts.indent)baseIndent="\t";else{if(!("number"==typeof opts.indent&&opts.indent>0))return null;baseIndent=$join.call(Array(opts.indent+1)," ")}return{base:baseIndent,prev:$join.call(Array(depth+1),baseIndent)}}(opts,depth);if(typeof seen>"u")seen=[];else if(indexOf(seen,obj)>=0)return"[Circular]";function inspect3(value,from,noIndent){if(from&&(seen=$arrSlice.call(seen)).push(from),noIndent){var newOpts={depth:opts.depth};return has(opts,"quoteStyle")&&(newOpts.quoteStyle=opts.quoteStyle),inspect_(value,newOpts,depth+1,seen)}return inspect_(value,opts,depth+1,seen)}if("function"==typeof obj&&!isRegExp(obj)){var name=function nameOf(f){if(f.name)return f.name;var m2=$match.call(functionToString2.call(f),/^function\s*([\w$]+)/);return m2?m2[1]:null}(obj),keys2=arrObjKeys(obj,inspect3);return"[Function"+(name?": "+name:" (anonymous)")+"]"+(keys2.length>0?" { "+$join.call(keys2,", ")+" }":"")}if(isSymbol(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(obj);return"object"!=typeof obj||hasShammedSymbols?symString:markBoxed(symString)}if(function isElement5(x){return!(!x||"object"!=typeof x)&&(typeof HTMLElement<"u"&&x instanceof HTMLElement||"string"==typeof x.nodeName&&"function"==typeof x.getAttribute)}(obj)){for(var s="<"+$toLowerCase.call(String(obj.nodeName)),attrs=obj.attributes||[],i=0;i"}if(isArray(obj)){if(0===obj.length)return"[]";var xs=arrObjKeys(obj,inspect3);return indent&&!function singleLineValues(xs){for(var i=0;i=0)return!1;return!0}(xs)?"["+indentedJoin(xs,indent)+"]":"[ "+$join.call(xs,", ")+" ]"}if(function isError(obj){return!("[object Error]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj)){var parts=arrObjKeys(obj,inspect3);return"cause"in Error.prototype||!("cause"in obj)||isEnumerable.call(obj,"cause")?0===parts.length?"["+String(obj)+"]":"{ ["+String(obj)+"] "+$join.call(parts,", ")+" }":"{ ["+String(obj)+"] "+$join.call($concat.call("[cause]: "+inspect3(obj.cause),parts),", ")+" }"}if("object"==typeof obj&&customInspect){if(inspectSymbol&&"function"==typeof obj[inspectSymbol]&&utilInspect)return utilInspect(obj,{depth:maxDepth-depth});if("symbol"!==customInspect&&"function"==typeof obj.inspect)return obj.inspect()}if(function isMap(x){if(!mapSize||!x||"object"!=typeof x)return!1;try{mapSize.call(x);try{setSize.call(x)}catch{return!0}return x instanceof Map}catch{}return!1}(obj)){var mapParts=[];return mapForEach&&mapForEach.call(obj,(function(value,key){mapParts.push(inspect3(key,obj,!0)+" => "+inspect3(value,obj))})),collectionOf("Map",mapSize.call(obj),mapParts,indent)}if(function isSet(x){if(!setSize||!x||"object"!=typeof x)return!1;try{setSize.call(x);try{mapSize.call(x)}catch{return!0}return x instanceof Set}catch{}return!1}(obj)){var setParts=[];return setForEach&&setForEach.call(obj,(function(value){setParts.push(inspect3(value,obj))})),collectionOf("Set",setSize.call(obj),setParts,indent)}if(function isWeakMap(x){if(!weakMapHas||!x||"object"!=typeof x)return!1;try{weakMapHas.call(x,weakMapHas);try{weakSetHas.call(x,weakSetHas)}catch{return!0}return x instanceof WeakMap}catch{}return!1}(obj))return weakCollectionOf("WeakMap");if(function isWeakSet(x){if(!weakSetHas||!x||"object"!=typeof x)return!1;try{weakSetHas.call(x,weakSetHas);try{weakMapHas.call(x,weakMapHas)}catch{return!0}return x instanceof WeakSet}catch{}return!1}(obj))return weakCollectionOf("WeakSet");if(function isWeakRef(x){if(!weakRefDeref||!x||"object"!=typeof x)return!1;try{return weakRefDeref.call(x),!0}catch{}return!1}(obj))return weakCollectionOf("WeakRef");if(function isNumber(obj){return!("[object Number]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(inspect3(Number(obj)));if(function isBigInt(obj){if(!obj||"object"!=typeof obj||!bigIntValueOf)return!1;try{return bigIntValueOf.call(obj),!0}catch{}return!1}(obj))return markBoxed(inspect3(bigIntValueOf.call(obj)));if(function isBoolean(obj){return!("[object Boolean]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(booleanValueOf.call(obj));if(function isString(obj){return!("[object String]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(inspect3(String(obj)));if(typeof window<"u"&&obj===window)return"{ [object Window] }";if(obj===__webpack_require__.g)return"{ [object globalThis] }";if(!function isDate(obj){return!("[object Date]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj)&&!isRegExp(obj)){var ys=arrObjKeys(obj,inspect3),isPlainObject=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object,protoTag=obj instanceof Object?"":"null prototype",stringTag=!isPlainObject&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr3(obj),8,-1):protoTag?"Object":"",tag=(isPlainObject||"function"!=typeof obj.constructor?"":obj.constructor.name?obj.constructor.name+" ":"")+(stringTag||protoTag?"["+$join.call($concat.call([],stringTag||[],protoTag||[]),": ")+"] ":"");return 0===ys.length?tag+"{}":indent?tag+"{"+indentedJoin(ys,indent)+"}":tag+"{ "+$join.call(ys,", ")+" }"}return String(obj)};var hasOwn=Object.prototype.hasOwnProperty||function(key){return key in this};function has(obj,key){return hasOwn.call(obj,key)}function toStr3(obj){return objectToString.call(obj)}function indexOf(xs,x){if(xs.indexOf)return xs.indexOf(x);for(var i=0,l=xs.length;iopts.maxStringLength){var remaining=str.length-opts.maxStringLength,trailer="... "+remaining+" more character"+(remaining>1?"s":"");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}return wrapQuotes($replace.call($replace.call(str,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",opts)}function lowbyte(c){var n=c.charCodeAt(0),x={8:"b",9:"t",10:"n",12:"f",13:"r"}[n];return x?"\\"+x:"\\x"+(n<16?"0":"")+$toUpperCase.call(n.toString(16))}function markBoxed(str){return"Object("+str+")"}function weakCollectionOf(type3){return type3+" { ? }"}function collectionOf(type3,size,entries,indent){return type3+" ("+size+") {"+(indent?indentedJoin(entries,indent):$join.call(entries,", "))+"}"}function indentedJoin(xs,indent){if(0===xs.length)return"";var lineJoiner="\n"+indent.prev+indent.base;return lineJoiner+$join.call(xs,","+lineJoiner)+"\n"+indent.prev}function arrObjKeys(obj,inspect3){var isArr=isArray(obj),xs=[];if(isArr){xs.length=obj.length;for(var i=0;i=S.length)return index+1;var first=$charCodeAt(S,index);if(first<55296||first>56319)return index+1;var second=$charCodeAt(S,index+1);return second<56320||second>57343?index+1:index+2},getArrayIterator=function(arraylike){var i=0;return{next:function(){var value,done=i>=arraylike.length;return done||(value=arraylike[i],i+=1),{done,value}}}},getNonCollectionIterator=function(iterable,noPrimordialCollections){if(isArray(iterable)||isArguments(iterable))return getArrayIterator(iterable);if(isString(iterable)){var i=0;return{next:function(){var nextIndex=advanceStringIndex(iterable,i),value=$stringSlice(iterable,i,nextIndex);return i=nextIndex,{done:nextIndex>iterable.length,value}}}}return noPrimordialCollections&&typeof iterable["_es6-shim iterator_"]<"u"?iterable["_es6-shim iterator_"]():void 0},$Map||$Set?(isMap=require_is_map(),isSet=require_is_set(),$mapForEach=callBound("Map.prototype.forEach",!0),$setForEach=callBound("Set.prototype.forEach",!0),(typeof process>"u"||!process.versions||!process.versions.node)&&($mapIterator=callBound("Map.prototype.iterator",!0),$setIterator=callBound("Set.prototype.iterator",!0)),$mapAtAtIterator=callBound("Map.prototype.@@iterator",!0)||callBound("Map.prototype._es6-shim iterator_",!0),$setAtAtIterator=callBound("Set.prototype.@@iterator",!0)||callBound("Set.prototype._es6-shim iterator_",!0),getCollectionIterator=function(iterable){if(isMap(iterable)){if($mapIterator)return getStopIterationIterator($mapIterator(iterable));if($mapAtAtIterator)return $mapAtAtIterator(iterable);if($mapForEach){var entries=[];return $mapForEach(iterable,(function(v2,k){$arrayPush(entries,[k,v2])})),getArrayIterator(entries)}}if(isSet(iterable)){if($setIterator)return getStopIterationIterator($setIterator(iterable));if($setAtAtIterator)return $setAtAtIterator(iterable);if($setForEach){var values=[];return $setForEach(iterable,(function(v2){$arrayPush(values,v2)})),getArrayIterator(values)}}},module2.exports=function(iterable){return getCollectionIterator(iterable)||getNonCollectionIterator(iterable)}):module2.exports=function(iterable){if(null!=iterable)return getNonCollectionIterator(iterable,!0)})}}),require_implementation5=__commonJS({"../../node_modules/object-is/implementation.js"(exports,module2){var numberIsNaN=function(value){return value!=value};module2.exports=function(a,b2){return 0===a&&0===b2?1/a==1/b2:!!(a===b2||numberIsNaN(a)&&numberIsNaN(b2))}}}),require_polyfill3=__commonJS({"../../node_modules/object-is/polyfill.js"(exports,module2){var implementation=require_implementation5();module2.exports=function(){return"function"==typeof Object.is?Object.is:implementation}}}),require_shim3=__commonJS({"../../node_modules/object-is/shim.js"(exports,module2){var getPolyfill=require_polyfill3(),define2=require_define_properties();module2.exports=function(){var polyfill=getPolyfill();return define2(Object,{is:polyfill},{is:function(){return Object.is!==polyfill}}),polyfill}}}),require_object_is=__commonJS({"../../node_modules/object-is/index.js"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation5(),getPolyfill=require_polyfill3(),shim=require_shim3(),polyfill=callBind(getPolyfill(),Object);define2(polyfill,{getPolyfill,implementation,shim}),module2.exports=polyfill}}),require_is_array_buffer=__commonJS({"../../node_modules/is-array-buffer/index.js"(exports,module2){var callBind=require_call_bind(),callBound=require_callBound(),$ArrayBuffer=require_get_intrinsic()("%ArrayBuffer%",!0),$byteLength=callBound("ArrayBuffer.prototype.byteLength",!0),$toString=callBound("Object.prototype.toString"),abSlice=!!$ArrayBuffer&&!$byteLength&&new $ArrayBuffer(0).slice,$abSlice=!!abSlice&&callBind(abSlice);module2.exports=$byteLength||$abSlice?function(obj){if(!obj||"object"!=typeof obj)return!1;try{return $byteLength?$byteLength(obj):$abSlice(obj,0),!0}catch{return!1}}:$ArrayBuffer?function(obj){return"[object ArrayBuffer]"===$toString(obj)}:function(obj){return!1}}}),require_is_date_object=__commonJS({"../../node_modules/is-date-object/index.js"(exports,module2){var getDay=Date.prototype.getDay,toStr3=Object.prototype.toString,hasToStringTag=require_shams2()();module2.exports=function(value){return"object"==typeof value&&null!==value&&(hasToStringTag?function(value){try{return getDay.call(value),!0}catch{return!1}}(value):"[object Date]"===toStr3.call(value))}}}),require_is_regex=__commonJS({"../../node_modules/is-regex/index.js"(exports,module2){var has,$exec,isRegexMarker,badStringifier,callBound=require_callBound(),hasToStringTag=require_shams2()();hasToStringTag&&(has=callBound("Object.prototype.hasOwnProperty"),$exec=callBound("RegExp.prototype.exec"),isRegexMarker={},badStringifier={toString:throwRegexMarker=function(){throw isRegexMarker},valueOf:throwRegexMarker},"symbol"==typeof Symbol.toPrimitive&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker));var throwRegexMarker,$toString=callBound("Object.prototype.toString"),gOPD=Object.getOwnPropertyDescriptor;module2.exports=hasToStringTag?function(value){if(!value||"object"!=typeof value)return!1;var descriptor=gOPD(value,"lastIndex");if(!(descriptor&&has(descriptor,"value")))return!1;try{$exec(value,badStringifier)}catch(e){return e===isRegexMarker}}:function(value){return!(!value||"object"!=typeof value&&"function"!=typeof value)&&"[object RegExp]"===$toString(value)}}}),require_is_shared_array_buffer=__commonJS({"../../node_modules/is-shared-array-buffer/index.js"(exports,module2){var $byteLength=require_callBound()("SharedArrayBuffer.prototype.byteLength",!0);module2.exports=$byteLength?function(obj){if(!obj||"object"!=typeof obj)return!1;try{return $byteLength(obj),!0}catch{return!1}}:function(obj){return!1}}}),require_is_number_object=__commonJS({"../../node_modules/is-number-object/index.js"(exports,module2){var numToStr=Number.prototype.toString,toStr3=Object.prototype.toString,hasToStringTag=require_shams2()();module2.exports=function(value){return"number"==typeof value||"object"==typeof value&&(hasToStringTag?function(value){try{return numToStr.call(value),!0}catch{return!1}}(value):"[object Number]"===toStr3.call(value))}}}),require_is_boolean_object=__commonJS({"../../node_modules/is-boolean-object/index.js"(exports,module2){var callBound=require_callBound(),$boolToStr=callBound("Boolean.prototype.toString"),$toString=callBound("Object.prototype.toString"),hasToStringTag=require_shams2()();module2.exports=function(value){return"boolean"==typeof value||null!==value&&"object"==typeof value&&(hasToStringTag&&Symbol.toStringTag in value?function(value){try{return $boolToStr(value),!0}catch{return!1}}(value):"[object Boolean]"===$toString(value))}}}),require_is_symbol=__commonJS({"../../node_modules/is-symbol/index.js"(exports,module2){var symToStr,symStringRegex,isSymbolObject,toStr3=Object.prototype.toString;require_has_symbols()()?(symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\(.*\)$/,isSymbolObject=function(value){return"symbol"==typeof value.valueOf()&&symStringRegex.test(symToStr.call(value))},module2.exports=function(value){if("symbol"==typeof value)return!0;if("[object Symbol]"!==toStr3.call(value))return!1;try{return isSymbolObject(value)}catch{return!1}}):module2.exports=function(value){return!1}}}),require_has_bigints=__commonJS({"../../node_modules/has-bigints/index.js"(exports,module2){var $BigInt=typeof BigInt<"u"&&BigInt;module2.exports=function(){return"function"==typeof $BigInt&&"function"==typeof BigInt&&"bigint"==typeof $BigInt(42)&&"bigint"==typeof BigInt(42)}}}),require_is_bigint=__commonJS({"../../node_modules/is-bigint/index.js"(exports,module2){var bigIntValueOf,tryBigInt;require_has_bigints()()?(bigIntValueOf=BigInt.prototype.valueOf,tryBigInt=function(value){try{return bigIntValueOf.call(value),!0}catch{}return!1},module2.exports=function(value){return!(null===value||typeof value>"u"||"boolean"==typeof value||"string"==typeof value||"number"==typeof value||"symbol"==typeof value||"function"==typeof value)&&("bigint"==typeof value||tryBigInt(value))}):module2.exports=function(value){return!1}}}),require_which_boxed_primitive=__commonJS({"../../node_modules/which-boxed-primitive/index.js"(exports,module2){var isString=require_is_string(),isNumber=require_is_number_object(),isBoolean=require_is_boolean_object(),isSymbol=require_is_symbol(),isBigInt=require_is_bigint();module2.exports=function(value){return null==value||"object"!=typeof value&&"function"!=typeof value?null:isString(value)?"String":isNumber(value)?"Number":isBoolean(value)?"Boolean":isSymbol(value)?"Symbol":isBigInt(value)?"BigInt":void 0}}}),require_is_weakmap=__commonJS({"../../node_modules/is-weakmap/index.js"(exports,module2){var exported,$WeakMap="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,$WeakSet="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;$WeakMap||(exported=function(x){return!1});var $mapHas=$WeakMap?$WeakMap.prototype.has:null,$setHas=$WeakSet?$WeakSet.prototype.has:null;!exported&&!$mapHas&&(exported=function(x){return!1}),module2.exports=exported||function(x){if(!x||"object"!=typeof x)return!1;try{if($mapHas.call(x,$mapHas),$setHas)try{$setHas.call(x,$setHas)}catch{return!0}return x instanceof $WeakMap}catch{}return!1}}}),require_is_weakset=__commonJS({"../../node_modules/is-weakset/index.js"(exports,module2){var $mapHas,GetIntrinsic=require_get_intrinsic(),callBound=require_callBound(),$WeakSet=GetIntrinsic("%WeakSet%",!0),$setHas=callBound("WeakSet.prototype.has",!0);$setHas?($mapHas=callBound("WeakMap.prototype.has",!0),module2.exports=function(x){if(!x||"object"!=typeof x)return!1;try{if($setHas(x,$setHas),$mapHas)try{$mapHas(x,$mapHas)}catch{return!0}return x instanceof $WeakSet}catch{}return!1}):module2.exports=function(x){return!1}}}),require_which_collection=__commonJS({"../../node_modules/which-collection/index.js"(exports,module2){var isMap=require_is_map(),isSet=require_is_set(),isWeakMap=require_is_weakmap(),isWeakSet=require_is_weakset();module2.exports=function(value){if(value&&"object"==typeof value){if(isMap(value))return"Map";if(isSet(value))return"Set";if(isWeakMap(value))return"WeakMap";if(isWeakSet(value))return"WeakSet"}return!1}}}),require_is_callable=__commonJS({"../../node_modules/is-callable/index.js"(exports,module2){var badArrayLike,isCallableMarker,fnToStr=Function.prototype.toString,reflectApply="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof reflectApply&&"function"==typeof Object.defineProperty)try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply((function(){throw 42}),null,badArrayLike)}catch(_){_!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var all,constructorRegex=/^\s*class\b/,isES6ClassFn=function(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch{return!1}},tryFunctionObject=function(value){try{return!isES6ClassFn(value)&&(fnToStr.call(value),!0)}catch{return!1}},toStr3=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};"object"==typeof document&&(all=document.all,toStr3.call(all)===toStr3.call(document.all)&&(isDDA=function(value){if((isIE68||!value)&&(typeof value>"u"||"object"==typeof value))try{var str=toStr3.call(value);return("[object HTMLAllCollection]"===str||"[object HTML document.all class]"===str||"[object HTMLCollection]"===str||"[object Object]"===str)&&null==value("")}catch{}return!1})),module2.exports=reflectApply?function(value){if(isDDA(value))return!0;if(!value||"function"!=typeof value&&"object"!=typeof value)return!1;try{reflectApply(value,null,badArrayLike)}catch(e){if(e!==isCallableMarker)return!1}return!isES6ClassFn(value)&&tryFunctionObject(value)}:function(value){if(isDDA(value))return!0;if(!value||"function"!=typeof value&&"object"!=typeof value)return!1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=toStr3.call(value);return!("[object Function]"!==strClass&&"[object GeneratorFunction]"!==strClass&&!/^\[object HTML/.test(strClass))&&tryFunctionObject(value)}}}),require_for_each=__commonJS({"../../node_modules/for-each/index.js"(exports,module2){var isCallable3=require_is_callable(),toStr3=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty;module2.exports=function(list,iterator,thisArg){if(!isCallable3(iterator))throw new TypeError("iterator must be a function");var receiver;arguments.length>=3&&(receiver=thisArg),"[object Array]"===toStr3.call(list)?function(array,iterator,receiver){for(var i=0,len=array.length;i"u"?__webpack_require__.g:globalThis;module2.exports=function(){for(var out=[],i=0;i"u"?__webpack_require__.g:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function(array,value){for(var i=0;i-1?tag:"Object"===tag&&function(value){var found=!1;return forEach(cache,(function(getter,name){if(!found)try{getter(value),found=$slice(name,1)}catch{}})),found}(value)}return gOPD?function(value){var found=!1;return forEach(cache,(function(getter,typedArray){if(!found)try{"$"+getter(value)===typedArray&&(found=$slice(typedArray,1))}catch{}})),found}(value):null}}}),require_array_buffer_byte_length=__commonJS({"../../node_modules/array-buffer-byte-length/index.js"(exports,module2){var $byteLength=require_callBound()("ArrayBuffer.prototype.byteLength",!0),isArrayBuffer=require_is_array_buffer();module2.exports=function(ab){return isArrayBuffer(ab)?$byteLength?$byteLength(ab):ab.byteLength:NaN}}}),require_deep_equal=__commonJS({"../../node_modules/deep-equal/index.js"(exports,module2){var assign=require_object(),callBound=require_callBound(),flags=require_regexp_prototype(),GetIntrinsic=require_get_intrinsic(),getIterator=require_es_get_iterator(),getSideChannel=require_side_channel(),is=require_object_is(),isArguments=require_is_arguments(),isArray=require_isarray(),isArrayBuffer=require_is_array_buffer(),isDate=require_is_date_object(),isRegex=require_is_regex(),isSharedArrayBuffer=require_is_shared_array_buffer(),objectKeys=require_object_keys(),whichBoxedPrimitive=require_which_boxed_primitive(),whichCollection=require_which_collection(),whichTypedArray=require_which_typed_array(),byteLength=require_array_buffer_byte_length(),sabByteLength=callBound("SharedArrayBuffer.prototype.byteLength",!0),$getTime=callBound("Date.prototype.getTime"),gPO=Object.getPrototypeOf,$objToString=callBound("Object.prototype.toString"),$Set=GetIntrinsic("%Set%",!0),$mapHas=callBound("Map.prototype.has",!0),$mapGet=callBound("Map.prototype.get",!0),$mapSize=callBound("Map.prototype.size",!0),$setAdd=callBound("Set.prototype.add",!0),$setDelete=callBound("Set.prototype.delete",!0),$setHas=callBound("Set.prototype.has",!0),$setSize=callBound("Set.prototype.size",!0);function setHasEqualElement(set,val1,opts,channel){for(var result,i=getIterator(set);(result=i.next())&&!result.done;)if(internalDeepEqual(val1,result.value,opts,channel))return $setDelete(set,result.value),!0;return!1}function findLooseMatchingPrimitives(prim){return typeof prim>"u"?null:"object"!=typeof prim?"symbol"!=typeof prim&&("string"!=typeof prim&&"number"!=typeof prim||+prim==+prim):void 0}function mapMightHaveLoosePrim(a,b2,prim,item,opts,channel){var altValue=findLooseMatchingPrimitives(prim);if(null!=altValue)return altValue;var curB=$mapGet(b2,altValue),looseOpts=assign({},opts,{strict:!1});return!(typeof curB>"u"&&!$mapHas(b2,altValue)||!internalDeepEqual(item,curB,looseOpts,channel))&&(!$mapHas(a,altValue)&&internalDeepEqual(item,curB,looseOpts,channel))}function setMightHaveLoosePrim(a,b2,prim){var altValue=findLooseMatchingPrimitives(prim);return altValue??($setHas(b2,altValue)&&!$setHas(a,altValue))}function mapHasEqualEntry(set,map,key1,item1,opts,channel){for(var result,key2,i=getIterator(set);(result=i.next())&&!result.done;)if(internalDeepEqual(key1,key2=result.value,opts,channel)&&internalDeepEqual(item1,$mapGet(map,key2),opts,channel))return $setDelete(set,key2),!0;return!1}function internalDeepEqual(actual,expected,options,channel){var opts=options||{};if(opts.strict?is(actual,expected):actual===expected)return!0;if(whichBoxedPrimitive(actual)!==whichBoxedPrimitive(expected))return!1;if(!actual||!expected||"object"!=typeof actual&&"object"!=typeof expected)return opts.strict?is(actual,expected):actual==expected;var sentinel,hasActual=channel.has(actual),hasExpected=channel.has(expected);if(hasActual&&hasExpected){if(channel.get(actual)===channel.get(expected))return!0}else sentinel={};return hasActual||channel.set(actual,sentinel),hasExpected||channel.set(expected,sentinel),function objEquiv(a,b2,opts,channel){var i,key;if(typeof a!=typeof b2||null==a||null==b2||$objToString(a)!==$objToString(b2)||isArguments(a)!==isArguments(b2))return!1;var aIsArray=isArray(a),bIsArray=isArray(b2);if(aIsArray!==bIsArray)return!1;var aIsError=a instanceof Error,bIsError=b2 instanceof Error;if(aIsError!==bIsError||(aIsError||bIsError)&&(a.name!==b2.name||a.message!==b2.message))return!1;var aIsRegex=isRegex(a),bIsRegex=isRegex(b2);if(aIsRegex!==bIsRegex||(aIsRegex||bIsRegex)&&(a.source!==b2.source||flags(a)!==flags(b2)))return!1;var aIsDate=isDate(a),bIsDate=isDate(b2);if(aIsDate!==bIsDate||(aIsDate||bIsDate)&&$getTime(a)!==$getTime(b2)||opts.strict&&gPO&&gPO(a)!==gPO(b2))return!1;var aWhich=whichTypedArray(a),bWhich=whichTypedArray(b2);if(aWhich!==bWhich)return!1;if(aWhich||bWhich){if(a.length!==b2.length)return!1;for(i=0;i=0;i--)if(ka[i]!=kb[i])return!1;for(i=ka.length-1;i>=0;i--)if(key=ka[i],!internalDeepEqual(a[key],b2[key],opts,channel))return!1;var aCollection=whichCollection(a),bCollection=whichCollection(b2);return aCollection===bCollection&&("Set"===aCollection||"Set"===bCollection?function setEquiv(a,b2,opts,channel){if($setSize(a)!==$setSize(b2))return!1;for(var resultA,resultB,set,iA=getIterator(a),iB=getIterator(b2);(resultA=iA.next())&&!resultA.done;)if(resultA.value&&"object"==typeof resultA.value)set||(set=new $Set),$setAdd(set,resultA.value);else if(!$setHas(b2,resultA.value)){if(opts.strict||!setMightHaveLoosePrim(a,b2,resultA.value))return!1;set||(set=new $Set),$setAdd(set,resultA.value)}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(resultB.value&&"object"==typeof resultB.value){if(!setHasEqualElement(set,resultB.value,opts.strict,channel))return!1}else if(!opts.strict&&!$setHas(a,resultB.value)&&!setHasEqualElement(set,resultB.value,opts.strict,channel))return!1;return 0===$setSize(set)}return!0}(a,b2,opts,channel):"Map"!==aCollection||function mapEquiv(a,b2,opts,channel){if($mapSize(a)!==$mapSize(b2))return!1;for(var resultA,resultB,set,key,item1,item2,iA=getIterator(a),iB=getIterator(b2);(resultA=iA.next())&&!resultA.done;)if(key=resultA.value[0],item1=resultA.value[1],key&&"object"==typeof key)set||(set=new $Set),$setAdd(set,key);else if(typeof(item2=$mapGet(b2,key))>"u"&&!$mapHas(b2,key)||!internalDeepEqual(item1,item2,opts,channel)){if(opts.strict||!mapMightHaveLoosePrim(a,b2,key,item1,opts,channel))return!1;set||(set=new $Set),$setAdd(set,key)}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(key=resultB.value[0],item2=resultB.value[1],key&&"object"==typeof key){if(!mapHasEqualEntry(set,a,key,item2,opts,channel))return!1}else if(!(opts.strict||a.has(key)&&internalDeepEqual($mapGet(a,key),item2,opts,channel)||mapHasEqualEntry(set,a,key,item2,assign({},opts,{strict:!1}),channel)))return!1;return 0===$setSize(set)}return!0}(a,b2,opts,channel))}(actual,expected,opts,channel)}function isBuffer(x){return!(!x||"object"!=typeof x||"number"!=typeof x.length||"function"!=typeof x.copy||"function"!=typeof x.slice||x.length>0&&"number"!=typeof x[0])&&!!(x.constructor&&x.constructor.isBuffer&&x.constructor.isBuffer(x))}module2.exports=function(a,b2,opts){return internalDeepEqual(a,b2,opts,getSideChannel())}}}),require_elementRoleMap=__commonJS({"node_modules/aria-query/lib/elementRoleMap.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _deepEqual=_interopRequireDefault(require_deep_equal()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i2){var _i=null==arr?null:typeof Symbol<"u"&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i2||_arr.length!==i2);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i2)||_unsupportedIterableToArray(arr,i2)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&void 0!==arguments[1]?arguments[1]:null,_iterator=function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i2=0,F=function(){};return{s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}(elementRoles3);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),_key=_step$value[0],values=_step$value[1];fn3.call(thisArg,values,_key,elementRoles3)}}catch(err){_iterator.e(err)}finally{_iterator.f()}},get:function(key2){var item=elementRoles3.find((function(tuple){return(0,_deepEqual.default)(key2,tuple[0])}));return item&&item[1]},has:function(key2){return!!elementRoleMap.get(key2)},keys:function(){return elementRoles3.map((function(_ref){return _slicedToArray(_ref,1)[0]}))},values:function(){return elementRoles3.map((function(_ref3){return _slicedToArray(_ref3,2)[1]}))}},_default=(0,_iterationDecorator.default)(elementRoleMap,elementRoleMap.entries());exports.default=_default}}),require_roleElementMap=__commonJS({"node_modules/aria-query/lib/roleElementMap.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i2){var _i=null==arr?null:typeof Symbol<"u"&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i2||_arr.length!==i2);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i2)||_unsupportedIterableToArray(arr,i2)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&void 0!==arguments[1]?arguments[1]:null,_iterator=function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i2=0,F=function(){};return{s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}(roleElement);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn3.call(thisArg,values,key,roleElement)}}catch(err){_iterator.e(err)}finally{_iterator.f()}},get:function(key){var item=roleElement.find((function(tuple){return tuple[0]===key}));return item&&item[1]},has:function(key){return!!roleElementMap.get(key)},keys:function(){return roleElement.map((function(_ref){return _slicedToArray(_ref,1)[0]}))},values:function(){return roleElement.map((function(_ref3){return _slicedToArray(_ref3,2)[1]}))}},_default=(0,_iterationDecorator.default)(roleElementMap,roleElementMap.entries());exports.default=_default}}),require_lib=__commonJS({"node_modules/aria-query/lib/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.roles=exports.roleElements=exports.elementRoles=exports.dom=exports.aria=void 0;var _ariaPropsMap=_interopRequireDefault(require_ariaPropsMap()),_domMap=_interopRequireDefault(require_domMap()),_rolesMap=_interopRequireDefault(require_rolesMap()),_elementRoleMap=_interopRequireDefault(require_elementRoleMap()),_roleElementMap=_interopRequireDefault(require_roleElementMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var aria=_ariaPropsMap.default;exports.aria=aria;var dom=_domMap.default;exports.dom=dom;var roles3=_rolesMap.default;exports.roles=roles3;var elementRoles3=_elementRoleMap.default;exports.elementRoles=elementRoles3;var roleElements2=_roleElementMap.default;exports.roleElements=roleElements2}}),require_color_name=__commonJS({"../../node_modules/color-name/index.js"(exports,module2){module2.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),require_conversions=__commonJS({"../../node_modules/color-convert/conversions.js"(exports,module2){var cssKeywords=require_color_name(),reverseKeywords={};for(let key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;var convert={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};module2.exports=convert;for(let model of Object.keys(convert)){if(!("channels"in convert[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert[model]))throw new Error("missing channel labels property: "+model);if(convert[model].labels.length!==convert[model].channels)throw new Error("channel and label counts mismatch: "+model);let{channels,labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],"channels",{value:channels}),Object.defineProperty(convert[model],"labels",{value:labels})}convert.rgb.hsl=function(rgb){let h,s,r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,min=Math.min(r,g2,b2),max=Math.max(r,g2,b2),delta=max-min;max===min?h=0:r===max?h=(g2-b2)/delta:g2===max?h=2+(b2-r)/delta:b2===max&&(h=4+(r-g2)/delta),h=Math.min(60*h,360),h<0&&(h+=360);let l=(min+max)/2;return s=max===min?0:l<=.5?delta/(max+min):delta/(2-max-min),[h,100*s,100*l]},convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s,r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,v2=Math.max(r,g2,b2),diff2=v2-Math.min(r,g2,b2),diffc=function(c){return(v2-c)/6/diff2+.5};return 0===diff2?(h=0,s=0):(s=diff2/v2,rdif=diffc(r),gdif=diffc(g2),bdif=diffc(b2),r===v2?h=bdif-gdif:g2===v2?h=1/3+rdif-bdif:b2===v2&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v2]},convert.rgb.hwb=function(rgb){let r=rgb[0],g2=rgb[1],b2=rgb[2],h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g2,b2));return b2=1-1/255*Math.max(r,Math.max(g2,b2)),[h,100*w,100*b2]},convert.rgb.cmyk=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,k=Math.min(1-r,1-g2,1-b2);return[100*((1-r-k)/(1-k)||0),100*((1-g2-k)/(1-k)||0),100*((1-b2-k)/(1-k)||0),100*k]},convert.rgb.keyword=function(rgb){let reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestKeyword,currentClosestDistance=1/0;for(let keyword of Object.keys(cssKeywords)){let value=cssKeywords[keyword],distance=(y2=value,((x=rgb)[0]-y2[0])**2+(x[1]-y2[1])**2+(x[2]-y2[2])**2);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g2=g2>.04045?((g2+.055)/1.055)**2.4:g2/12.92,b2=b2>.04045?((b2+.055)/1.055)**2.4:b2/12.92,[100*(.4124*r+.3576*g2+.1805*b2),100*(.2126*r+.7152*g2+.0722*b2),100*(.0193*r+.1192*g2+.9505*b2)]},convert.rgb.lab=function(rgb){let xyz=convert.rgb.xyz(rgb),x=xyz[0],y2=xyz[1],z=xyz[2];return x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116,[116*y2-16,500*(x-y2),200*(y2-z)]},convert.hsl.rgb=function(hsl){let t2,t3,val,h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;if(0===s)return val=255*l,[val,val,val];t2=l<.5?l*(1+s):l+s-l*s;let t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[i]=255*val;return rgb},convert.hsl.hsv=function(hsl){let h=hsl[0],s=hsl[1]/100,l=hsl[2]/100,smin=s,lmin=Math.max(l,.01);return l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin,[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert.hsv.rgb=function(hsv){let h=hsv[0]/60,s=hsv[1]/100,v2=hsv[2]/100,hi=Math.floor(h)%6,f=h-Math.floor(h),p2=255*v2*(1-s),q=255*v2*(1-s*f),t=255*v2*(1-s*(1-f));switch(v2*=255,hi){case 0:return[v2,t,p2];case 1:return[q,v2,p2];case 2:return[p2,v2,t];case 3:return[p2,q,v2];case 4:return[t,p2,v2];case 5:return[v2,p2,q]}},convert.hsv.hsl=function(hsv){let sl,l,h=hsv[0],s=hsv[1]/100,v2=hsv[2]/100,vmin=Math.max(v2,.01);l=(2-s)*v2;let lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,100*sl,100*l]},convert.hwb.rgb=function(hwb){let f,h=hwb[0]/360,wh=hwb[1]/100,bl=hwb[2]/100,ratio=wh+bl;ratio>1&&(wh/=ratio,bl/=ratio);let i=Math.floor(6*h),v2=1-bl;f=6*h-i,1&i&&(f=1-f);let r,g2,b2,n=wh+f*(v2-wh);switch(i){default:case 6:case 0:r=v2,g2=n,b2=wh;break;case 1:r=n,g2=v2,b2=wh;break;case 2:r=wh,g2=v2,b2=n;break;case 3:r=wh,g2=n,b2=v2;break;case 4:r=n,g2=wh,b2=v2;break;case 5:r=v2,g2=wh,b2=n}return[255*r,255*g2,255*b2]},convert.cmyk.rgb=function(cmyk){let c=cmyk[0]/100,m2=cmyk[1]/100,y2=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m2*(1-k)+k)),255*(1-Math.min(1,y2*(1-k)+k))]},convert.xyz.rgb=function(xyz){let r,g2,b2,x=xyz[0]/100,y2=xyz[1]/100,z=xyz[2]/100;return r=3.2406*x+-1.5372*y2+-.4986*z,g2=-.9689*x+1.8758*y2+.0415*z,b2=.0557*x+-.204*y2+1.057*z,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,g2=g2>.0031308?1.055*g2**(1/2.4)-.055:12.92*g2,b2=b2>.0031308?1.055*b2**(1/2.4)-.055:12.92*b2,r=Math.min(Math.max(0,r),1),g2=Math.min(Math.max(0,g2),1),b2=Math.min(Math.max(0,b2),1),[255*r,255*g2,255*b2]},convert.xyz.lab=function(xyz){let x=xyz[0],y2=xyz[1],z=xyz[2];return x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116,[116*y2-16,500*(x-y2),200*(y2-z)]},convert.lab.xyz=function(lab){let x,y2,z;y2=(lab[0]+16)/116,x=lab[1]/500+y2,z=y2-lab[2]/200;let y22=y2**3,x2=x**3,z2=z**3;return y2=y22>.008856?y22:(y2-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y2*=100,z*=108.883,[x,y2,z]},convert.lab.lch=function(lab){let h,l=lab[0],a=lab[1],b2=lab[2];return h=360*Math.atan2(b2,a)/2/Math.PI,h<0&&(h+=360),[l,Math.sqrt(a*a+b2*b2),h]},convert.lch.lab=function(lch){let l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert.rgb.ansi16=function(args,saturation=null){let[r,g2,b2]=args,value=null===saturation?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),0===value)return 30;let ansi=30+(Math.round(b2/255)<<2|Math.round(g2/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])},convert.rgb.ansi256=function(args){let r=args[0],g2=args[1],b2=args[2];return r===g2&&g2===b2?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(g2/255*5)+Math.round(b2/255*5)},convert.ansi16.rgb=function(args){let color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];let mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert.ansi256.rgb=function(args){if(args>=232){let c=10*(args-232)+8;return[c,c,c]}let rem;return args-=16,[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert.rgb.hex=function(args){let string2=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string2.length)+string2},convert.hex.rgb=function(args){let match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];let colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map((char=>char+char)).join(""));let integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert.rgb.hcg=function(rgb){let grayscale,hue,r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,max=Math.max(Math.max(r,g2),b2),min=Math.min(Math.min(r,g2),b2),chroma=max-min;return grayscale=chroma<1?min/(1-chroma):0,hue=chroma<=0?0:max===r?(g2-b2)/chroma%6:max===g2?2+(b2-r)/chroma:4+(r-g2)/chroma,hue/=6,hue%=1,[360*hue,100*chroma,100*grayscale]},convert.hsl.hcg=function(hsl){let s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l),f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert.hsv.hcg=function(hsv){let s=hsv[1]/100,v2=hsv[2]/100,c=s*v2,f=0;return c<1&&(f=(v2-c)/(1-c)),[hsv[0],100*c,100*f]},convert.hcg.rgb=function(hcg){let h=hcg[0]/360,c=hcg[1]/100,g2=hcg[2]/100;if(0===c)return[255*g2,255*g2,255*g2];let pure=[0,0,0],hi=h%1*6,v2=hi%1,w=1-v2,mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v2,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v2;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v2,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g2,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert.hcg.hsv=function(hcg){let c=hcg[1]/100,v2=c+hcg[2]/100*(1-c),f=0;return v2>0&&(f=c/v2),[hcg[0],100*f,100*v2]},convert.hcg.hsl=function(hcg){let c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c,s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert.hcg.hwb=function(hcg){let c=hcg[1]/100,v2=c+hcg[2]/100*(1-c);return[hcg[0],100*(v2-c),100*(1-v2)]},convert.hwb.hcg=function(hwb){let w=hwb[1]/100,v2=1-hwb[2]/100,c=v2-w,g2=0;return c<1&&(g2=(v2-c)/(1-c)),[hwb[0],100*c,100*g2]},convert.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert.gray.hsl=function(args){return[0,0,args[0]]},convert.gray.hsv=convert.gray.hsl,convert.gray.hwb=function(gray){return[0,100,gray[0]]},convert.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert.gray.lab=function(gray){return[gray[0],0,0]},convert.gray.hex=function(gray){let val=255&Math.round(gray[0]/100*255),string2=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string2.length)+string2},convert.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]}}}),require_route=__commonJS({"../../node_modules/color-convert/route.js"(exports,module2){var conversions=require_conversions();function deriveBFS(fromModel){let graph=function buildGraph(){let graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i{convert[fromModel]={},Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});let routes=route(fromModel);Object.keys(routes).forEach((toModel=>{let fn3=routes[toModel];convert[fromModel][toModel]=function wrapRounded(fn3){let wrappedFn=function(...args){let arg0=args[0];if(null==arg0)return arg0;arg0.length>1&&(args=arg0);let result=fn3(args);if("object"==typeof result)for(let len=result.length,i=0;i1&&(args=arg0),fn3(args))};return"conversion"in fn3&&(wrappedFn.conversion=fn3.conversion),wrappedFn}(fn3)}))})),module2.exports=convert}}),require_ansi_styles2=__commonJS({"../../node_modules/ansi-styles/index.js"(exports,module2){var colorConvert,wrapAnsi16=(fn3,offset)=>(...args)=>`[${fn3(...args)+offset}m`,wrapAnsi256=(fn3,offset)=>(...args)=>{let code=fn3(...args);return`[${38+offset};5;${code}m`},wrapAnsi16m=(fn3,offset)=>(...args)=>{let rgb=fn3(...args);return`[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`},ansi2ansi=n=>n,rgb2rgb=(r,g2,b2)=>[r,g2,b2],setLazyProperty=(object,property,get)=>{Object.defineProperty(object,property,{get:()=>{let value=get();return Object.defineProperty(object,property,{value,enumerable:!0,configurable:!0}),value},enumerable:!0,configurable:!0})},makeDynamicStyles=(wrap,targetSpace,identity,isBackground)=>{void 0===colorConvert&&(colorConvert=require_color_convert());let offset=isBackground?10:0,styles={};for(let[sourceSpace,suite]of Object.entries(colorConvert)){let name="ansi16"===sourceSpace?"ansi":sourceSpace;sourceSpace===targetSpace?styles[name]=wrap(identity,offset):"object"==typeof suite&&(styles[name]=wrap(suite[targetSpace],offset))}return styles};Object.defineProperty(module2,"exports",{enumerable:!0,get:function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`[${style[0]}m`,close:`[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1})}return Object.defineProperty(styles,"codes",{value:codes,enumerable:!1}),styles.color.close="",styles.bgColor.close="",setLazyProperty(styles.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,!1))),setLazyProperty(styles.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,!1))),setLazyProperty(styles.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,!1))),setLazyProperty(styles.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,!0))),setLazyProperty(styles.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,!0))),setLazyProperty(styles.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,!0))),styles}})}}),require_browser=__commonJS({"../../node_modules/supports-color/browser.js"(exports,module2){module2.exports={stdout:!1,stderr:!1}}}),require_util2=__commonJS({"node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(exports,module2){module2.exports={stringReplaceAll:(string2,substring,replacer)=>{let index=string2.indexOf(substring);if(-1===index)return string2;let substringLength=substring.length,endIndex=0,returnValue="";do{returnValue+=string2.substr(endIndex,index-endIndex)+substring+replacer,endIndex=index+substringLength,index=string2.indexOf(substring,endIndex)}while(-1!==index);return returnValue+=string2.substr(endIndex),returnValue},stringEncaseCRLFWithFirstIndex:(string2,prefix,postfix,index)=>{let endIndex=0,returnValue="";do{let gotCR="\r"===string2[index-1];returnValue+=string2.substr(endIndex,(gotCR?index-1:index)-endIndex)+prefix+(gotCR?"\r\n":"\n")+postfix,endIndex=index+1,index=string2.indexOf("\n",endIndex)}while(-1!==index);return returnValue+=string2.substr(endIndex),returnValue}}}}),require_templates=__commonJS({"node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(exports,module2){var TEMPLATE_REGEX=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,STYLE_REGEX=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,STRING_REGEX=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,ESCAPE_REGEX=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,ESCAPES=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(c){let u2="u"===c[0],bracket="{"===c[1];return u2&&!bracket&&5===c.length||"x"===c[0]&&3===c.length?String.fromCharCode(parseInt(c.slice(1),16)):u2&&bracket?String.fromCodePoint(parseInt(c.slice(2,-1),16)):ESCAPES.get(c)||c}function parseArguments(name,arguments_){let matches3,results=[],chunks=arguments_.trim().split(/\s*,\s*/g);for(let chunk of chunks){let number=Number(chunk);if(Number.isNaN(number)){if(!(matches3=chunk.match(STRING_REGEX)))throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);results.push(matches3[2].replace(ESCAPE_REGEX,((m2,escape2,character)=>escape2?unescape(escape2):character)))}else results.push(number)}return results}function parseStyle(style){STYLE_REGEX.lastIndex=0;let matches3,results=[];for(;null!==(matches3=STYLE_REGEX.exec(style));){let name=matches3[1];if(matches3[2]){let args=parseArguments(name,matches3[2]);results.push([name].concat(args))}else results.push([name])}return results}function buildStyle(chalk3,styles){let enabled={};for(let layer of styles)for(let style of layer.styles)enabled[style[0]]=layer.inverse?null:style.slice(1);let current=chalk3;for(let[styleName,styles2]of Object.entries(enabled))if(Array.isArray(styles2)){if(!(styleName in current))throw new Error(`Unknown Chalk style: ${styleName}`);current=styles2.length>0?current[styleName](...styles2):current[styleName]}return current}module2.exports=(chalk3,temporary)=>{let styles=[],chunks=[],chunk=[];if(temporary.replace(TEMPLATE_REGEX,((m2,escapeCharacter,inverse,style,close,character)=>{if(escapeCharacter)chunk.push(unescape(escapeCharacter));else if(style){let string2=chunk.join("");chunk=[],chunks.push(0===styles.length?string2:buildStyle(chalk3,styles)(string2)),styles.push({inverse,styles:parseStyle(style)})}else if(close){if(0===styles.length)throw new Error("Found extraneous } in Chalk template literal");chunks.push(buildStyle(chalk3,styles)(chunk.join(""))),chunk=[],styles.pop()}else chunk.push(character)})),chunks.push(chunk.join("")),styles.length>0){let errMsg=`Chalk template literal is missing ${styles.length} closing bracket${1===styles.length?"":"s"} (\`}\`)`;throw new Error(errMsg)}return chunks.join("")}}}),require_source=__commonJS({"node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(exports,module2){var ansiStyles=require_ansi_styles2(),{stdout:stdoutColor,stderr:stderrColor}=require_browser(),{stringReplaceAll,stringEncaseCRLFWithFirstIndex}=require_util2(),levelMapping=["ansi","ansi","ansi256","ansi16m"],styles=Object.create(null),ChalkClass=class{constructor(options){return chalkFactory(options)}},chalkFactory=options=>{let chalk4={};return((object,options={})=>{if(options.level>3||options.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let colorLevel=stdoutColor?stdoutColor.level:0;object.level=void 0===options.level?colorLevel:options.level})(chalk4,options),chalk4.template=(...arguments_)=>chalkTag(chalk4.template,...arguments_),Object.setPrototypeOf(chalk4,Chalk.prototype),Object.setPrototypeOf(chalk4.template,chalk4),chalk4.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},chalk4.template.Instance=ChalkClass,chalk4.template};function Chalk(options){return chalkFactory(options)}for(let[styleName,style]of Object.entries(ansiStyles))styles[styleName]={get(){let builder=createBuilder(this,createStyler(style.open,style.close,this._styler),this._isEmpty);return Object.defineProperty(this,styleName,{value:builder}),builder}};styles.visible={get(){let builder=createBuilder(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:builder}),builder}};var usedModels=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let model of usedModels)styles[model]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_),ansiStyles.color.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}};for(let model of usedModels){styles["bg"+model[0].toUpperCase()+model.slice(1)]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_),ansiStyles.bgColor.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}}}var template,proto=Object.defineProperties((()=>{}),{...styles,level:{enumerable:!0,get(){return this._generator.level},set(level){this._generator.level=level}}}),createStyler=(open,close,parent)=>{let openAll,closeAll;return void 0===parent?(openAll=open,closeAll=close):(openAll=parent.openAll+open,closeAll=close+parent.closeAll),{open,close,openAll,closeAll,parent}},createBuilder=(self2,_styler,_isEmpty)=>{let builder=(...arguments_)=>applyStyle(builder,1===arguments_.length?""+arguments_[0]:arguments_.join(" "));return builder.__proto__=proto,builder._generator=self2,builder._styler=_styler,builder._isEmpty=_isEmpty,builder},applyStyle=(self2,string2)=>{if(self2.level<=0||!string2)return self2._isEmpty?"":string2;let styler=self2._styler;if(void 0===styler)return string2;let{openAll,closeAll}=styler;if(-1!==string2.indexOf(""))for(;void 0!==styler;)string2=stringReplaceAll(string2,styler.close,styler.open),styler=styler.parent;let lfIndex=string2.indexOf("\n");return-1!==lfIndex&&(string2=stringEncaseCRLFWithFirstIndex(string2,closeAll,openAll,lfIndex)),openAll+string2+closeAll},chalkTag=(chalk4,...strings)=>{let[firstString]=strings;if(!Array.isArray(firstString))return strings.join(" ");let arguments_=strings.slice(1),parts=[firstString.raw[0]];for(let i=1;i-1}}}),require_arrayIncludesWith=__commonJS({"../../node_modules/lodash/_arrayIncludesWith.js"(exports,module2){module2.exports=function arrayIncludesWith(array,value,comparator){for(var index=-1,length=null==array?0:array.length;++index=200){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=!1,includes=cacheHas,seen=new SetCache}else seen=iteratee?[]:result;outer:for(;++index=1&&codeUnit<=31||127==codeUnit||0==index&&codeUnit>=48&&codeUnit<=57||1==index&&codeUnit>=48&&codeUnit<=57&&45==firstCodeUnit?"\\"+codeUnit.toString(16)+" ":0==index&&1==length&&45==codeUnit||!(codeUnit>=128||45==codeUnit||95==codeUnit||codeUnit>=48&&codeUnit<=57||codeUnit>=65&&codeUnit<=90||codeUnit>=97&&codeUnit<=122)?"\\"+string2.charAt(index):string2.charAt(index):result+="�";return result};return root.CSS||(root.CSS={}),root.CSS.escape=cssEscape,cssEscape},"object"==typeof exports?module2.exports=factory(root):"function"==typeof define&&__webpack_require__.amdO?define([],factory.bind(root,root)):factory(root)}}),require_ansi_styles3=__commonJS({"node_modules/pretty-format/node_modules/ansi-styles/index.js"(exports,module2){var wrapAnsi256=(offset=0)=>code=>`[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`[${38+offset};2;${red};${green};${blue}m`;Object.defineProperty(module2,"exports",{enumerable:!0,get:function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`[${style[0]}m`,close:`[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1})}return Object.defineProperty(styles,"codes",{value:codes,enumerable:!1}),styles.color.close="",styles.bgColor.close="",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(hex.toString(16));if(!matches3)return[0,0,0];let{colorString}=matches3.groups;3===colorString.length&&(colorString=colorString.split("").map((character=>character+character)).join(""));let integer=Number.parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}})}}),require_collections2=__commonJS({"node_modules/pretty-format/build/collections.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printIteratorEntries=function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=": "){let result="",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){result+=indentationNext+printer(current.value[0],config3,indentationNext,depth,refs)+separator+printer(current.value[1],config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=","):result+=","+config3.spacingInner}result+=config3.spacingOuter+indentation}return result},exports.printIteratorValues=function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result="",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;)result+=indentationNext+printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=","):result+=","+config3.spacingInner;result+=config3.spacingOuter+indentation}return result},exports.printListItems=function printListItems(list,config3,indentation,depth,refs,printer){let result="";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let keys2=Object.keys(object).sort(compareKeys);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach((symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol)})),keys2})(val,config3.compareKeys);if(keys2.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();return"ArrayContaining"===stringedValue||"ArrayNotContaining"===stringedValue?++depth>config3.maxDepth?"["+stringedValue+"]":stringedValue+" ["+(0,_collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)+"]":"ObjectContaining"===stringedValue||"ObjectNotContaining"===stringedValue?++depth>config3.maxDepth?"["+stringedValue+"]":stringedValue+" {"+(0,_collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)+"}":"StringMatching"===stringedValue||"StringNotMatching"===stringedValue||"StringContaining"===stringedValue||"StringNotContaining"===stringedValue?stringedValue+" "+printer(val.sample,config3,indentation,depth,refs):val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_ansi_regex=__commonJS({"../../node_modules/ansi-regex/index.js"(exports,module2){module2.exports=({onlyFirst=!1}={})=>{let pattern=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(pattern,onlyFirst?void 0:"g")}}}),require_ConvertAnsi=__commonJS({"node_modules/pretty-format/build/plugins/ConvertAnsi.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _ansiRegex=_interopRequireDefault(require_ansi_regex()),_ansiStyles=_interopRequireDefault(require_ansi_styles3());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var test=val=>"string"==typeof val&&!!val.match((0,_ansiRegex.default)());exports.test=test;var serialize=(val,config3,indentation,depth,refs,printer)=>printer(val.replace((0,_ansiRegex.default)(),(match=>{switch(match){case _ansiStyles.default.red.close:case _ansiStyles.default.green.close:case _ansiStyles.default.cyan.close:case _ansiStyles.default.gray.close:case _ansiStyles.default.white.close:case _ansiStyles.default.yellow.close:case _ansiStyles.default.bgRed.close:case _ansiStyles.default.bgGreen.close:case _ansiStyles.default.bgYellow.close:case _ansiStyles.default.inverse.close:case _ansiStyles.default.dim.close:case _ansiStyles.default.bold.close:case _ansiStyles.default.reset.open:case _ansiStyles.default.reset.close:return"";case _ansiStyles.default.red.open:return"";case _ansiStyles.default.green.open:return"";case _ansiStyles.default.cyan.open:return"";case _ansiStyles.default.gray.open:return"";case _ansiStyles.default.white.open:return"";case _ansiStyles.default.yellow.open:return"";case _ansiStyles.default.bgRed.open:return"";case _ansiStyles.default.bgGreen.open:return"";case _ansiStyles.default.bgYellow.open:return"";case _ansiStyles.default.inverse.open:return"";case _ansiStyles.default.dim.open:return"";case _ansiStyles.default.bold.open:return"";default:return""}})),config3,indentation,depth,refs);exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_DOMCollection2=__commonJS({"node_modules/pretty-format/build/plugins/DOMCollection.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),OBJECT_NAMES=["DOMStringMap","NamedNodeMap"],ARRAY_REGEXP=/^(HTML\w*Collection|NodeList)$/,test=val=>{return val&&val.constructor&&!!val.constructor.name&&(name=val.constructor.name,-1!==OBJECT_NAMES.indexOf(name)||ARRAY_REGEXP.test(name));var name};exports.test=test;var serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return++depth>config3.maxDepth?"["+name+"]":(config3.min?"":name+" ")+(-1!==OBJECT_NAMES.indexOf(name)?"{"+(0,_collections.printObjectProperties)((collection=>"NamedNodeMap"===collection.constructor.name)(collection)?Array.from(collection).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}):{...collection},config3,indentation,depth,refs,printer)+"}":"["+(0,_collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)+"]")};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_escapeHTML2=__commonJS({"node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function escapeHTML2(str){return str.replace(//g,">")}}}),require_markup2=__commonJS({"node_modules/pretty-format/build/plugins/lib/markup.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(require_escapeHTML2());exports.printProps=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map((key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return"string"!=typeof value&&(-1!==printed.indexOf("\n")&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed="{"+printed+"}"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+"="+colors.value.open+printed+colors.value.close})).join("")};exports.printChildren=(children,config3,indentation,depth,refs,printer)=>children.map((child=>config3.spacingOuter+indentation+("string"==typeof child?printText2(child,config3):printer(child,config3,indentation,depth,refs)))).join("");var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0,_escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;exports.printComment=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+"\x3c!--"+(0,_escapeHTML.default)(comment)+"--\x3e"+commentColor.close};exports.printElement=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+"<"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?">"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+""+tagColor.close};exports.printElementAsLeaf=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+"<"+type3+tagColor.close+" …"+tagColor.open+" />"+tagColor.close}}}),require_DOMElement2=__commonJS({"node_modules/pretty-format/build/plugins/DOMElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),ELEMENT_REGEXP2=/^((HTML|SVG)\w*)?Element$/,test=val=>{var _val$constructor;return(null==val||null===(_val$constructor=val.constructor)||void 0===_val$constructor?void 0:_val$constructor.name)&&(val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2="string"==typeof tagName&&tagName.includes("-")||(val=>{try{return"function"==typeof val.hasAttribute&&val.hasAttribute("is")}catch{return!1}})(val);return 1===nodeType&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||3===nodeType&&"Text"===constructorName||8===nodeType&&"Comment"===constructorName||11===nodeType&&"DocumentFragment"===constructorName})(val)};function nodeIsFragment2(node){return 11===node.nodeType}exports.test=test;var serialize=(node,config3,indentation,depth,refs,printer)=>{if(function nodeIsText2(node){return 3===node.nodeType}(node))return(0,_markup.printText)(node.data,config3);if(function nodeIsComment2(node){return 8===node.nodeType}(node))return(0,_markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?"DocumentFragment":node.tagName.toLowerCase();return++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(type3,config3):(0,_markup.printElement)(type3,(0,_markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes).map((attr=>attr.name)).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}),config3,indentation+config3.indent,depth,refs,printer),(0,_markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_Immutable2=__commonJS({"node_modules/pretty-format/build/plugins/Immutable.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),getImmutableName=name=>"Immutable."+name,printAsLeaf=name=>"["+name+"]";var printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+" ["+(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+"]",serialize=(val,config3,indentation,depth,refs,printer)=>val["@@__IMMUTABLE_MAP__@@"]?((val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+" {"+(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)+"}")(val,config3,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedMap":"Map"):val["@@__IMMUTABLE_LIST__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,"List"):val["@@__IMMUTABLE_SET__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedSet":"Set"):val["@@__IMMUTABLE_STACK__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,"Stack"):val["@@__IMMUTABLE_SEQ__@@"]?((val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName("Seq");return++depth>config3.maxDepth?printAsLeaf(name):val["@@__IMMUTABLE_KEYED__@@"]?name+" {"+(val._iter||val._object?(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):"…")+"}":name+" ["+(val._iter||val._array||val._collection||val._iterable?(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):"…")+"]"})(val,config3,indentation,depth,refs,printer):((val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(val._name||"Record");return++depth>config3.maxDepth?printAsLeaf(name):name+" {"+(0,_collections.printIteratorEntries)(function getRecordEntries(val){let i=0;return{next(){if(ival&&(!0===val["@@__IMMUTABLE_ITERABLE__@@"]||!0===val["@@__IMMUTABLE_RECORD__@@"]);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_react_is_development2=__commonJS({"node_modules/react-is/cjs/react-is.development.js"(exports){!function(){var REACT_ELEMENT_TYPE=60103,REACT_PORTAL_TYPE=60106,REACT_FRAGMENT_TYPE=60107,REACT_STRICT_MODE_TYPE=60108,REACT_PROFILER_TYPE=60114,REACT_PROVIDER_TYPE=60109,REACT_CONTEXT_TYPE=60110,REACT_FORWARD_REF_TYPE=60112,REACT_SUSPENSE_TYPE=60113,REACT_SUSPENSE_LIST_TYPE=60120,REACT_MEMO_TYPE=60115,REACT_LAZY_TYPE=60116,REACT_BLOCK_TYPE=60121,REACT_SERVER_BLOCK_TYPE=60122,REACT_FUNDAMENTAL_TYPE=60117,REACT_DEBUG_TRACING_MODE_TYPE=60129,REACT_LEGACY_HIDDEN_TYPE=60131;if("function"==typeof Symbol&&Symbol.for){var symbolFor=Symbol.for;REACT_ELEMENT_TYPE=symbolFor("react.element"),REACT_PORTAL_TYPE=symbolFor("react.portal"),REACT_FRAGMENT_TYPE=symbolFor("react.fragment"),REACT_STRICT_MODE_TYPE=symbolFor("react.strict_mode"),REACT_PROFILER_TYPE=symbolFor("react.profiler"),REACT_PROVIDER_TYPE=symbolFor("react.provider"),REACT_CONTEXT_TYPE=symbolFor("react.context"),REACT_FORWARD_REF_TYPE=symbolFor("react.forward_ref"),REACT_SUSPENSE_TYPE=symbolFor("react.suspense"),REACT_SUSPENSE_LIST_TYPE=symbolFor("react.suspense_list"),REACT_MEMO_TYPE=symbolFor("react.memo"),REACT_LAZY_TYPE=symbolFor("react.lazy"),REACT_BLOCK_TYPE=symbolFor("react.block"),REACT_SERVER_BLOCK_TYPE=symbolFor("react.server.block"),REACT_FUNDAMENTAL_TYPE=symbolFor("react.fundamental"),symbolFor("react.scope"),symbolFor("react.opaque.id"),REACT_DEBUG_TRACING_MODE_TYPE=symbolFor("react.debug_trace_mode"),symbolFor("react.offscreen"),REACT_LEGACY_HIDDEN_TYPE=symbolFor("react.legacy_hidden")}function typeOf(object){if("object"==typeof object&&null!==object){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.isAsyncMode=function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isConcurrentMode=function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isContextConsumer=function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE},exports.isContextProvider=function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE},exports.isElement=function isElement5(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE},exports.isForwardRef=function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE},exports.isFragment=function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE},exports.isLazy=function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE},exports.isMemo=function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE},exports.isPortal=function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE},exports.isProfiler=function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE},exports.isStrictMode=function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE},exports.isSuspense=function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE},exports.isValidElementType=function isValidElementType(type3){return!("string"!=typeof type3&&"function"!=typeof type3&&type3!==REACT_FRAGMENT_TYPE&&type3!==REACT_PROFILER_TYPE&&type3!==REACT_DEBUG_TRACING_MODE_TYPE&&type3!==REACT_STRICT_MODE_TYPE&&type3!==REACT_SUSPENSE_TYPE&&type3!==REACT_SUSPENSE_LIST_TYPE&&type3!==REACT_LEGACY_HIDDEN_TYPE&&("object"!=typeof type3||null===type3||type3.$$typeof!==REACT_LAZY_TYPE&&type3.$$typeof!==REACT_MEMO_TYPE&&type3.$$typeof!==REACT_PROVIDER_TYPE&&type3.$$typeof!==REACT_CONTEXT_TYPE&&type3.$$typeof!==REACT_FORWARD_REF_TYPE&&type3.$$typeof!==REACT_FUNDAMENTAL_TYPE&&type3.$$typeof!==REACT_BLOCK_TYPE&&type3[0]!==REACT_SERVER_BLOCK_TYPE))},exports.typeOf=typeOf}()}}),require_react_is2=__commonJS({"node_modules/react-is/index.js"(exports,module2){module2.exports=require_react_is_development2()}}),require_ReactElement2=__commonJS({"node_modules/pretty-format/build/plugins/ReactElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var ReactIs=function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!=typeof obj&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}(require_react_is2()),_markup=require_markup2();function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach((item=>{getChildren(item,children)})):null!=arg&&!1!==arg&&children.push(arg),children),getType3=element=>{let type3=element.type;if("string"==typeof type3)return type3;if("function"==typeof type3)return type3.displayName||type3.name||"Unknown";if(ReactIs.isFragment(element))return"React.Fragment";if(ReactIs.isSuspense(element))return"React.Suspense";if("object"==typeof type3&&null!==type3){if(ReactIs.isContextProvider(element))return"Context.Provider";if(ReactIs.isContextConsumer(element))return"Context.Consumer";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||"";return""!==functionName?"ForwardRef("+functionName+")":"ForwardRef"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||"";return""!==functionName?"Memo("+functionName+")":"Memo"}}return"UNDEFINED"},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(getType3(element),config3):(0,_markup.printElement)(getType3(element),(0,_markup.printProps)((element=>{let{props}=element;return Object.keys(props).filter((key=>"children"!==key&&void 0!==props[key])).sort()})(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0,_markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>null!=val&&ReactIs.isElement(val);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_ReactTestComponent2=__commonJS({"node_modules/pretty-format/build/plugins/ReactTestComponent.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),global2=typeof globalThis<"u"?globalThis:typeof global2<"u"?global2:typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),Symbol2=global2["jest-symbol-do-not-touch"]||global2.Symbol,testSymbol="function"==typeof Symbol2&&Symbol2.for?Symbol2.for("react.test.json"):245830487,serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(object.type,config3):(0,_markup.printElement)(object.type,object.props?(0,_markup.printProps)((object=>{let{props}=object;return props?Object.keys(props).filter((key=>void 0!==props[key])).sort():[]})(object),object.props,config3,indentation+config3.indent,depth,refs,printer):"",object.children?(0,_markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):"",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_build3=__commonJS({"node_modules/pretty-format/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DEFAULT_OPTIONS=void 0,exports.format=format4,exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles3()),_collections=require_collections2(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher2()),_ConvertAnsi=_interopRequireDefault(require_ConvertAnsi()),_DOMCollection=_interopRequireDefault(require_DOMCollection2()),_DOMElement=_interopRequireDefault(require_DOMElement2()),_Immutable=_interopRequireDefault(require_Immutable2()),_ReactElement=_interopRequireDefault(require_ReactElement2()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent2());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>"function"==typeof val.constructor&&val.constructor.name||"Object",SYMBOL_REGEXP=/^Symbol\((.*)\)(.*)$/,NEWLINE_REGEXP=/\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name}};function printFunction(val,printFunctionName){return printFunctionName?"[Function "+(val.name||"anonymous")+"]":"[Function]"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,"Symbol($1)")}function printError(val){return"["+errorToString.call(val)+"]"}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(!0===val||!1===val)return""+val;if(void 0===val)return"undefined";if(null===val)return"null";let typeOf=typeof val;if("number"===typeOf)return function printNumber(val){return Object.is(val,-0)?"-0":String(val)}(val);if("bigint"===typeOf)return function printBigInt(val){return`${val}n`}(val);if("string"===typeOf)return escapeString?'"'+val.replace(/"|\\/g,"\\$&")+'"':'"'+val+'"';if("function"===typeOf)return printFunction(val,printFunctionName);if("symbol"===typeOf)return printSymbol(val);let toStringed=toString.call(val);return"[object WeakMap]"===toStringed?"WeakMap {}":"[object WeakSet]"===toStringed?"WeakSet {}":"[object Function]"===toStringed||"[object GeneratorFunction]"===toStringed?printFunction(val,printFunctionName):"[object Symbol]"===toStringed?printSymbol(val):"[object Date]"===toStringed?isNaN(+val)?"Date { NaN }":toISOString.call(val):"[object Error]"===toStringed?printError(val):"[object RegExp]"===toStringed?escapeRegex?regExpToString.call(val).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(-1!==refs.indexOf(val))return"[Circular]";(refs=refs.slice()).push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&"function"==typeof val.toJSON&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return"[object Arguments]"===toStringed?hitMaxDepth?"[Arguments]":(min?"":"Arguments ")+"["+(0,_collections.printListItems)(val,config3,indentation,depth,refs,printer)+"]":function isToStringedArrayType(toStringed){return"[object Array]"===toStringed||"[object ArrayBuffer]"===toStringed||"[object DataView]"===toStringed||"[object Float32Array]"===toStringed||"[object Float64Array]"===toStringed||"[object Int8Array]"===toStringed||"[object Int16Array]"===toStringed||"[object Int32Array]"===toStringed||"[object Uint8Array]"===toStringed||"[object Uint8ClampedArray]"===toStringed||"[object Uint16Array]"===toStringed||"[object Uint32Array]"===toStringed}(toStringed)?hitMaxDepth?"["+val.constructor.name+"]":(min||!config3.printBasicPrototype&&"Array"===val.constructor.name?"":val.constructor.name+" ")+"["+(0,_collections.printListItems)(val,config3,indentation,depth,refs,printer)+"]":"[object Map]"===toStringed?hitMaxDepth?"[Map]":"Map {"+(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer," => ")+"}":"[object Set]"===toStringed?hitMaxDepth?"[Set]":"Set {"+(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+"}":hitMaxDepth||(val=>typeof window<"u"&&val===window)(val)?"["+getConstructorName(val)+"]":(min||!config3.printBasicPrototype&&"Object"===getConstructorName(val)?"":getConstructorName(val)+" ")+"{"+(0,_collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)+"}"}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=function isNewPlugin(plugin){return null!=plugin.serialize}(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,(valChild=>printer(valChild,config3,indentation,depth,refs)),(str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,"\n"+indentationNext)}),{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors)}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if("string"!=typeof printed)throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2DEFAULT_THEME_KEYS.reduce(((colors,key)=>{let value=options.theme&&void 0!==options.theme[key]?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(!color||"string"!=typeof color.close||"string"!=typeof color.open)throw new Error(`pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`);return colors[key]=color,colors}),Object.create(null)),getPrintFunctionName=options=>options&&void 0!==options.printFunctionName?options.printFunctionName:DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options&&void 0!==options.escapeRegex?options.escapeRegex:DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options&&void 0!==options.escapeString?options.escapeString:DEFAULT_OPTIONS.escapeString,getConfig3=options=>{var _options$printBasicPr,indent;return{callToJSON:options&&void 0!==options.callToJSON?options.callToJSON:DEFAULT_OPTIONS.callToJSON,colors:options&&options.highlight?getColorsHighlight(options):DEFAULT_THEME_KEYS.reduce(((colors,key)=>(colors[key]={close:"",open:""},colors)),Object.create(null)),compareKeys:options&&"function"==typeof options.compareKeys?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options&&options.min?"":(indent=options&&void 0!==options.indent?options.indent:DEFAULT_OPTIONS.indent,new Array(indent+1).join(" ")),maxDepth:options&&void 0!==options.maxDepth?options.maxDepth:DEFAULT_OPTIONS.maxDepth,min:options&&void 0!==options.min?options.min:DEFAULT_OPTIONS.min,plugins:options&&void 0!==options.plugins?options.plugins:DEFAULT_OPTIONS.plugins,printBasicPrototype:null===(_options$printBasicPr=options?.printBasicPrototype)||void 0===_options$printBasicPr||_options$printBasicPr,printFunctionName:getPrintFunctionName(options),spacingInner:options&&options.min?" ":"\n",spacingOuter:options&&options.min?"":"\n"}};function format4(val,options){if(options&&(function validateOptions(options){if(Object.keys(options).forEach((key=>{if(!DEFAULT_OPTIONS.hasOwnProperty(key))throw new Error(`pretty-format: Unknown option "${key}".`)})),options.min&&void 0!==options.indent&&0!==options.indent)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(void 0!==options.theme){if(null===options.theme)throw new Error('pretty-format: Option "theme" must not be null.');if("object"!=typeof options.theme)throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof options.theme}".`)}}(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(null!==plugin)return printPlugin(plugin,val,getConfig3(options),"",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return null!==basicResult?basicResult:printComplexValue(val,getConfig3(options),"",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,ConvertAnsi:_ConvertAnsi.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default}}),require_lz_string=__commonJS({"../../node_modules/lz-string/libs/lz-string.js"(exports,module2){var LZString=function(){var f=String.fromCharCode,keyStrBase64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",keyStrUriSafe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",baseReverseDic={};function getBaseValue(alphabet,character){if(!baseReverseDic[alphabet]){baseReverseDic[alphabet]={};for(var i=0;i>>8,buf[2*i+1]=current_value%256}return buf},decompressFromUint8Array:function(compressed){if(null==compressed)return LZString2.decompress(compressed);for(var buf=new Array(compressed.length/2),i=0,TotalLen=buf.length;i>=1}else{for(value=1,i=0;i>=1}0==--context_enlargeIn&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w]}else for(value=context_dictionary[context_w],i=0;i>=1;0==--context_enlargeIn&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),context_dictionary[context_wc]=context_dictSize++,context_w=String(context_c)}if(""!==context_w){if(Object.prototype.hasOwnProperty.call(context_dictionaryToCreate,context_w)){if(context_w.charCodeAt(0)<256){for(i=0;i>=1}else{for(value=1,i=0;i>=1}0==--context_enlargeIn&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w]}else for(value=context_dictionary[context_w],i=0;i>=1;0==--context_enlargeIn&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++)}for(value=2,i=0;i>=1;for(;;){if(context_data_val<<=1,context_data_position==bitsPerChar-1){context_data.push(getCharFromInt(context_data_val));break}context_data_position++}return context_data.join("")},decompress:function(compressed){return null==compressed?"":""==compressed?null:LZString2._decompress(compressed.length,32768,(function(index){return compressed.charCodeAt(index)}))},_decompress:function(length,resetValue,getNextValue){var i,w,bits,resb,maxpower,power,c,dictionary=[],enlargeIn=4,dictSize=4,numBits=3,entry="",result=[],data={val:getNextValue(0),position:resetValue,index:1};for(i=0;i<3;i+=1)dictionary[i]=i;for(bits=0,maxpower=Math.pow(2,2),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 2:return""}for(dictionary[3]=c,w=c,result.push(c);;){if(data.index>length)return"";for(bits=0,maxpower=Math.pow(2,numBits),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(c=bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 2:return result.join("")}if(0==enlargeIn&&(enlargeIn=Math.pow(2,numBits),numBits++),dictionary[c])entry=dictionary[c];else{if(c!==dictSize)return null;entry=w+w.charAt(0)}result.push(entry),dictionary[dictSize++]=w+entry.charAt(0),w=entry,0==--enlargeIn&&(enlargeIn=Math.pow(2,numBits),numBits++)}}};return LZString2}();"function"==typeof define&&__webpack_require__.amdO?define((function(){return LZString})):typeof module2<"u"&&null!=module2?module2.exports=LZString:typeof angular<"u"&&null!=angular&&angular.module("LZString",[]).factory("LZString",(function(){return LZString}))}}),import_index=__toESM(require_chai2(),1),expect=import_index.default.expect;import_index.default.version,import_index.default.Assertion,import_index.default.AssertionError;var util=import_index.default.util;import_index.default.config;var use=import_index.default.use;import_index.default.should;var assert=import_index.default.assert;import_index.default.core;var chai_default=import_index.default,scope=(()=>{let win;return win=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof __webpack_require__.g<"u"?__webpack_require__.g:typeof self<"u"?self:{},win})();function assertTypes(value,name,types){let receivedType=typeof value;if(!types.includes(receivedType))throw new TypeError(`${name} value must be ${types.join(" or ")}, received "${receivedType}"`)}function getType(value){return Object.prototype.toString.apply(value).slice(8,-1)}function getOwnProperties(obj){let ownProps=new Set;return function isFinalObj(obj){return obj===Object.prototype||obj===Function.prototype||obj===RegExp.prototype}(obj)?[]:(function collectOwnProperties(obj,collector){let collect="function"==typeof collector?collector:key=>collector.add(key);Object.getOwnPropertyNames(obj).forEach(collect),Object.getOwnPropertySymbols(obj).forEach(collect)}(obj,ownProps),Array.from(ownProps))}var defaultCloneOptions={forceWritable:!1};function deepClone(val,options=defaultCloneOptions){return clone(val,new WeakMap,options)}function clone(val,seen,options=defaultCloneOptions){let k,out;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){for(out=Array(k=val.length),seen.set(val,out);k--;)out[k]=clone(val[k],seen,options);return out}if("[object Object]"===Object.prototype.toString.call(val)){out=Object.create(Object.getPrototypeOf(val)),seen.set(val,out);let props=getOwnProperties(val);for(let k2 of props){let descriptor=Object.getOwnPropertyDescriptor(val,k2);if(!descriptor)continue;let cloned=clone(val[k2],seen,options);"get"in descriptor?Object.defineProperty(out,k2,{...descriptor,get:()=>cloned}):Object.defineProperty(out,k2,{...descriptor,writable:!!options.forceWritable||descriptor.writable,value:cloned})}return out}return val}var import_pretty_format=__toESM(require_build(),1),loupe=__toESM(require_loupe(),1),{AsymmetricMatcher,DOMCollection,DOMElement,Immutable,ReactElement,ReactTestComponent}=import_pretty_format.plugins,PLUGINS=[ReactTestComponent,ReactElement,DOMElement,DOMCollection,Immutable,AsymmetricMatcher];function stringify(object,maxDepth=10,{maxLength,...options}={}){let result,MAX_LENGTH=maxLength??1e4;try{result=(0,import_pretty_format.format)(object,{maxDepth,escapeString:!1,plugins:PLUGINS,...options})}catch{result=(0,import_pretty_format.format)(object,{callToJSON:!1,maxDepth,escapeString:!1,plugins:PLUGINS,...options})}return result.length>=MAX_LENGTH&&maxDepth>1?stringify(object,Math.floor(maxDepth/2)):result}var formatRegExp=/%[sdjifoOcj%]/g;function inspect2(obj,options={}){return 0===options.truncate&&(options.truncate=Number.POSITIVE_INFINITY),loupe.inspect(obj,options)}var SAFE_COLORS_SYMBOL=Symbol("vitest:SAFE_COLORS"),colorsEntries=Object.entries({bold:["","",""],dim:["","",""],italic:["",""],underline:["",""],inverse:["",""],hidden:["",""],strikethrough:["",""],black:["",""],red:["",""],green:["",""],yellow:["",""],blue:["",""],magenta:["",""],cyan:["",""],white:["",""],gray:["",""],bgBlack:["",""],bgRed:["",""],bgGreen:["",""],bgYellow:["",""],bgBlue:["",""],bgMagenta:["",""],bgCyan:["",""],bgWhite:["",""]});function string(str){return String(str)}string.open="",string.close="";var defaultColors=colorsEntries.reduce(((acc,[key])=>(acc[key]=string,acc)),{isColorSupported:!1});function getColors(){return globalThis[SAFE_COLORS_SYMBOL]||defaultColors}__toESM(require_build(),1),__toESM(require_loupe(),1),RegExp(/\r?\n|[\r\u2028\u2029]/y.source);var reservedWords_strict=["implements","interface","let","package","private","protected","public","static","yield"];new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),new Set(reservedWords_strict);var import_pretty_format3=__toESM(require_build(),1),diff$1=__toESM(require_build2(),1);function getType2(value){if(void 0===value)return"undefined";if(null===value)return"null";if(Array.isArray(value))return"array";if("boolean"==typeof value)return"boolean";if("function"==typeof value)return"function";if("number"==typeof value)return"number";if("string"==typeof value)return"string";if("bigint"==typeof value)return"bigint";if("object"==typeof value){if(null!=value){if(value.constructor===RegExp)return"regexp";if(value.constructor===Map)return"map";if(value.constructor===Set)return"set";if(value.constructor===Date)return"date"}return"object"}if("symbol"==typeof value)return"symbol";throw new Error(`value of unknown type: ${value}`)}var DIFF_DELETE=-1,DIFF_INSERT=1,DIFF_EQUAL=0,Diff=class{0;1;constructor(op,text){this[0]=op,this[1]=text}},NO_DIFF_MESSAGE="Compared values have no visual difference.",SIMILAR_MESSAGE="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";function printDiffLine(line,isFirstOrLast,color,indicator,trailingSpaceFormatter,emptyFirstOrLastLinePlaceholder){return 0!==line.length?color(`${indicator} ${function formatTrailingSpaces(line,trailingSpaceFormatter){return line.replace(/\s+$/,(match=>trailingSpaceFormatter(match)))}(line,trailingSpaceFormatter)}`):" "!==indicator?color(indicator):isFirstOrLast&&0!==emptyFirstOrLastLinePlaceholder.length?color(`${indicator} ${emptyFirstOrLastLinePlaceholder}`):""}function printDeleteLine(line,isFirstOrLast,{aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printInsertLine(line,isFirstOrLast,{bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printCommonLine(line,isFirstOrLast,{commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function createPatchMark(aStart,aEnd,bStart,bEnd,{patchColor}){return patchColor(`@@ -${aStart+1},${aEnd-aStart} +${bStart+1},${bEnd-bStart} @@`)}var noColor=string2=>string2,DIFF_CONTEXT_DEFAULT=5;function getDefaultOptions(){let c=getColors();return{aAnnotation:"Expected",aColor:c.green,aIndicator:"-",bAnnotation:"Received",bColor:c.red,bIndicator:"+",changeColor:c.inverse,changeLineTrailingSpaceColor:noColor,commonColor:c.dim,commonIndicator:" ",commonLineTrailingSpaceColor:noColor,compareKeys:void 0,contextLines:DIFF_CONTEXT_DEFAULT,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:c.yellow}}function normalizeDiffOptions(options={}){return{...getDefaultOptions(),...options,compareKeys:(compareKeys=options.compareKeys,compareKeys&&"function"==typeof compareKeys?compareKeys:void 0),contextLines:(contextLines=options.contextLines,"number"==typeof contextLines&&Number.isSafeInteger(contextLines)&&contextLines>=0?contextLines:DIFF_CONTEXT_DEFAULT)};var contextLines,compareKeys}function isEmptyString(lines){return 1===lines.length&&0===lines[0].length}function printDiffLines(diffs,options){return function printAnnotation({aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator,includeChangeCounts,omitAnnotationLines},changeCounts){if(omitAnnotationLines)return"";let aRest="",bRest="";if(includeChangeCounts){let aCount=String(changeCounts.a),bCount=String(changeCounts.b),baAnnotationLengthDiff=bAnnotation.length-aAnnotation.length,aAnnotationPadding=" ".repeat(Math.max(0,baAnnotationLengthDiff)),bAnnotationPadding=" ".repeat(Math.max(0,-baAnnotationLengthDiff)),baCountLengthDiff=bCount.length-aCount.length;aRest=`${aAnnotationPadding} ${aIndicator} ${" ".repeat(Math.max(0,baCountLengthDiff))}${aCount}`,bRest=`${bAnnotationPadding} ${bIndicator} ${" ".repeat(Math.max(0,-baCountLengthDiff))}${bCount}`}let b2=`${bIndicator} ${bAnnotation}${bRest}`;return`${aColor(`${aIndicator} ${aAnnotation}${aRest}`)}\n${bColor(b2)}\n\n`}(options,function countChanges(diffs){let a=0,b2=0;return diffs.forEach((diff2=>{switch(diff2[0]){case DIFF_DELETE:a+=1;break;case DIFF_INSERT:b2+=1}})),{a,b:b2}}(diffs))+(options.expand?function joinAlignedDiffsExpand(diffs,options){return diffs.map(((diff2,i,diffs2)=>{let line=diff2[1],isFirstOrLast=0===i||i===diffs2.length-1;switch(diff2[0]){case DIFF_DELETE:return printDeleteLine(line,isFirstOrLast,options);case DIFF_INSERT:return printInsertLine(line,isFirstOrLast,options);default:return printCommonLine(line,isFirstOrLast,options)}})).join("\n")}(diffs,options):function joinAlignedDiffsNoExpand(diffs,options){let iLength=diffs.length,nContextLines=options.contextLines,nContextLines2=nContextLines+nContextLines,jLength=iLength,hasExcessAtStartOrEnd=!1,nExcessesBetweenChanges=0,i=0;for(;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(0===iStart)i>nContextLines&&(jLength-=i-nContextLines,hasExcessAtStartOrEnd=!0);else if(i===iLength){let n=i-iStart;n>nContextLines&&(jLength-=n-nContextLines,hasExcessAtStartOrEnd=!0)}else{let n=i-iStart;n>nContextLines2&&(jLength-=n-nContextLines2,nExcessesBetweenChanges+=1)}for(;i!==iLength&&diffs[i][0]!==DIFF_EQUAL;)i+=1}let hasPatch=0!==nExcessesBetweenChanges||hasExcessAtStartOrEnd;0!==nExcessesBetweenChanges?jLength+=nExcessesBetweenChanges+1:hasExcessAtStartOrEnd&&(jLength+=1);let jLast=jLength-1,lines=[],jPatchMark=0;hasPatch&&lines.push("");let aStart=0,bStart=0,aEnd=0,bEnd=0,pushCommonLine=line=>{let j=lines.length;lines.push(printCommonLine(line,0===j||j===jLast,options)),aEnd+=1,bEnd+=1},pushDeleteLine=line=>{let j=lines.length;lines.push(printDeleteLine(line,0===j||j===jLast,options)),aEnd+=1},pushInsertLine=line=>{let j=lines.length;lines.push(printInsertLine(line,0===j||j===jLast,options)),bEnd+=1};for(i=0;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(0===iStart){i>nContextLines&&(iStart=i-nContextLines,aStart=iStart,bStart=iStart,aEnd=aStart,bEnd=bStart);for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else if(i===iLength){let iEnd=i-iStart>nContextLines?iStart+nContextLines:i;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else{let nCommon=i-iStart;if(nCommon>nContextLines2){let iEnd=iStart+nContextLines;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options),jPatchMark=lines.length,lines.push("");let nOmit=nCommon-nContextLines2;aStart=aEnd+nOmit,bStart=bEnd+nOmit,aEnd=aStart,bEnd=bStart;for(let iCommon=i-nContextLines;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}for(;i!==iLength&&diffs[i][0]===DIFF_DELETE;)pushDeleteLine(diffs[i][1]),i+=1;for(;i!==iLength&&diffs[i][0]===DIFF_INSERT;)pushInsertLine(diffs[i][1]),i+=1}return hasPatch&&(lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options)),lines.join("\n")}(diffs,options))}function diffLinesUnified(aLines,bLines,options){return printDiffLines(diffLinesRaw(isEmptyString(aLines)?[]:aLines,isEmptyString(bLines)?[]:bLines),normalizeDiffOptions(options))}function diffLinesRaw(aLines,bLines){let aLength=aLines.length,bLength=bLines.length,isCommon=(aIndex2,bIndex2)=>aLines[aIndex2]===bLines[bIndex2],diffs=[],aIndex=0,bIndex=0,foundSubsequence=(nCommon,aCommon,bCommon)=>{for(;aIndex!==aCommon;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bCommon;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));for(;0!==nCommon;nCommon-=1,aIndex+=1,bIndex+=1)diffs.push(new Diff(DIFF_EQUAL,bLines[bIndex]))};for((diff$1.default.default||diff$1.default)(aLength,bLength,isCommon,foundSubsequence);aIndex!==aLength;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bLength;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));return diffs}function getCommonMessage(message,options){let{commonColor}=normalizeDiffOptions(options);return commonColor(message)}var{AsymmetricMatcher:AsymmetricMatcher2,DOMCollection:DOMCollection2,DOMElement:DOMElement2,Immutable:Immutable2,ReactElement:ReactElement2,ReactTestComponent:ReactTestComponent2}=import_pretty_format3.plugins,PLUGINS2=[ReactTestComponent2,ReactElement2,DOMElement2,DOMCollection2,Immutable2,AsymmetricMatcher2],FORMAT_OPTIONS={plugins:PLUGINS2},FALLBACK_FORMAT_OPTIONS={callToJSON:!1,maxDepth:10,plugins:PLUGINS2};function diff(a,b2,options){if(Object.is(a,b2))return"";let aType=getType2(a),expectedType=aType,omitDifference=!1;if("object"===aType&&"function"==typeof a.asymmetricMatch){if(a.$$typeof!==Symbol.for("jest.asymmetricMatcher")||"function"!=typeof a.getExpectedType)return null;expectedType=a.getExpectedType(),omitDifference="string"===expectedType}if(expectedType!==getType2(b2)){let{aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator}=normalizeDiffOptions(options),formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),aDisplay=(0,import_pretty_format3.format)(a,formatOptions),bDisplay=(0,import_pretty_format3.format)(b2,formatOptions);return`${`${aColor(`${aIndicator} ${aAnnotation}:`)} \n${aDisplay}`}\n\n${`${bColor(`${bIndicator} ${bAnnotation}:`)} \n${bDisplay}`}`}if(omitDifference)return null;switch(aType){case"string":return diffLinesUnified(a.split("\n"),b2.split("\n"),options);case"boolean":case"number":return function comparePrimitive(a,b2,options){let aFormat=(0,import_pretty_format3.format)(a,FORMAT_OPTIONS),bFormat=(0,import_pretty_format3.format)(b2,FORMAT_OPTIONS);return aFormat===bFormat?"":diffLinesUnified(aFormat.split("\n"),bFormat.split("\n"),options)}(a,b2,options);case"map":return compareObjects(sortMap(a),sortMap(b2),options);case"set":return compareObjects(sortSet(a),sortSet(b2),options);default:return compareObjects(a,b2,options)}}function sortMap(map){return new Map(Array.from(map.entries()).sort())}function sortSet(set){return new Set(Array.from(set.values()).sort())}function compareObjects(a,b2,options){let difference,hasThrown=!1;try{difference=getObjectsDifference(a,b2,getFormatOptions(FORMAT_OPTIONS,options),options)}catch{hasThrown=!0}let noDiffMessage=getCommonMessage(NO_DIFF_MESSAGE,options);if(void 0===difference||difference===noDiffMessage){difference=getObjectsDifference(a,b2,getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),options),difference!==noDiffMessage&&!hasThrown&&(difference=`${getCommonMessage(SIMILAR_MESSAGE,options)}\n\n${difference}`)}return difference}function getFormatOptions(formatOptions,options){let{compareKeys}=normalizeDiffOptions(options);return{...formatOptions,compareKeys}}function getObjectsDifference(a,b2,formatOptions,options){let formatOptionsZeroIndent={...formatOptions,indent:0},aCompare=(0,import_pretty_format3.format)(a,formatOptionsZeroIndent),bCompare=(0,import_pretty_format3.format)(b2,formatOptionsZeroIndent);if(aCompare===bCompare)return getCommonMessage(NO_DIFF_MESSAGE,options);{let aDisplay=(0,import_pretty_format3.format)(a,formatOptions),bDisplay=(0,import_pretty_format3.format)(b2,formatOptions);return function diffLinesUnified2(aLinesDisplay,bLinesDisplay,aLinesCompare,bLinesCompare,options){if(isEmptyString(aLinesDisplay)&&isEmptyString(aLinesCompare)&&(aLinesDisplay=[],aLinesCompare=[]),isEmptyString(bLinesDisplay)&&isEmptyString(bLinesCompare)&&(bLinesDisplay=[],bLinesCompare=[]),aLinesDisplay.length!==aLinesCompare.length||bLinesDisplay.length!==bLinesCompare.length)return diffLinesUnified(aLinesDisplay,bLinesDisplay,options);let diffs=diffLinesRaw(aLinesCompare,bLinesCompare),aIndex=0,bIndex=0;return diffs.forEach((diff2=>{switch(diff2[0]){case DIFF_DELETE:diff2[1]=aLinesDisplay[aIndex],aIndex+=1;break;case DIFF_INSERT:diff2[1]=bLinesDisplay[bIndex],bIndex+=1;break;default:diff2[1]=bLinesDisplay[bIndex],aIndex+=1,bIndex+=1}})),printDiffLines(diffs,normalizeDiffOptions(options))}(aDisplay.split("\n"),bDisplay.split("\n"),aCompare.split("\n"),bCompare.split("\n"),options)}}function m(e,t){if(!e)throw new Error(t)}function y(e,t){return typeof t===e}function d(e,t,n){Object.defineProperty(e,t,n)}function p(e,t,n){Object.defineProperty(e,t,{value:n})}var u=Symbol.for("tinyspy:spy"),I=new Set,v=e=>e[u]||(e=>(d(e,u,{value:{reset:()=>(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.next=[]})(e[u])}}),e[u]))(e);function T(e){m(y("function",e)||y("undefined",e),"cannot spy on a non-function value");let t=function(...a){let r=v(t);r.called=!0,r.callCount++,r.calls.push(a);let i=r.next.shift();if(i){r.results.push(i);let[s,l]=i;if("ok"===s)return l;throw l}let o,c="ok";if(r.impl)try{o=new.target?Reflect.construct(r.impl,a,new.target):r.impl.apply(this,a),c="ok"}catch(s){throw o=s,c="error",r.results.push([c,s]),s}let x=[c,o];if(function b(e){return e instanceof Promise}(o)){let s=o.then((l=>x[1]=l)).catch((l=>{throw x[0]="error",x[1]=l,l}));Object.assign(s,o),o=s}return r.results.push(x),o};p(t,"_isMockFunction",!0),p(t,"length",e?e.length:0),p(t,"name",e&&e.name||"spy");let n=v(t);return n.reset(),n.impl=e,t}var P=(e,t)=>Object.getOwnPropertyDescriptor(e,t);function E(e,t,n){m(!y("undefined",e),"spyOn could not find an object to spy upon"),m(y("object",e)||y("function",e),"cannot spyOn on a primitive value");let[r,i]=(()=>{if(!y("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),o=P(e,r),c=Object.getPrototypeOf(e),x=c&&P(c,r),s=o||x;m(s||r in e,`${String(r)} does not exist`);let f,l=!1;"value"===i&&s&&!s.value&&s.get&&(i="get",l=!0,n=s.get()),f=s?s[i]:"value"!==i?()=>e[r]:e[r],n||(n=f);let S=T(n),O=w=>{let{value:G,...k}=s||{configurable:!0,writable:!0};"value"!==i&&delete k.writable,k[i]=w,d(e,r,k)},A=S[u];return p(A,"restore",(()=>s?d(e,r,s):O(f))),p(A,"getOriginal",(()=>l?f():f)),p(A,"willCall",(w=>(A.impl=w,S))),O(l?()=>S:S),I.add(S),S}var mocks=new Set;function isMockFunction(fn22){return"function"==typeof fn22&&"_isMockFunction"in fn22&&fn22._isMockFunction}var callOrder=0;function enhanceSpy(spy){let implementation,stub=spy,instances=[],invocations=[],state=v(spy),mockContext={get calls(){return state.calls},get instances(){return instances},get invocationCallOrder(){return invocations},get results(){return state.results.map((([callType,value])=>({type:"error"===callType?"throw":"return",value})))},get lastCall(){return state.calls[state.calls.length-1]}},onceImplementations=[],implementationChangedTemporarily=!1;function mockCall(...args){return instances.push(this),invocations.push(++callOrder),(implementationChangedTemporarily?implementation:onceImplementations.shift()||implementation||state.getOriginal()||(()=>{})).apply(this,args)}let name=stub.name;return stub.getMockName=()=>name||"vi.fn()",stub.mockName=n=>(name=n,stub),stub.mockClear=()=>(state.reset(),instances=[],invocations=[],stub),stub.mockReset=()=>(stub.mockClear(),implementation=()=>{},onceImplementations=[],stub),stub.mockRestore=()=>(stub.mockReset(),state.restore(),implementation=void 0,stub),stub.getMockImplementation=()=>implementation,stub.mockImplementation=fn22=>(implementation=fn22,state.willCall(mockCall),stub),stub.mockImplementationOnce=fn22=>(onceImplementations.push(fn22),stub),stub.withImplementation=function withImplementation(fn22,cb){let originalImplementation=implementation;implementation=fn22,state.willCall(mockCall),implementationChangedTemporarily=!0;let reset=()=>{implementation=originalImplementation,implementationChangedTemporarily=!1},result=cb();return result instanceof Promise?result.then((()=>(reset(),stub))):(reset(),stub)},stub.mockReturnThis=()=>stub.mockImplementation((function(){return this})),stub.mockReturnValue=val=>stub.mockImplementation((()=>val)),stub.mockReturnValueOnce=val=>stub.mockImplementationOnce((()=>val)),stub.mockResolvedValue=val=>stub.mockImplementation((()=>Promise.resolve(val))),stub.mockResolvedValueOnce=val=>stub.mockImplementationOnce((()=>Promise.resolve(val))),stub.mockRejectedValue=val=>stub.mockImplementation((()=>Promise.reject(val))),stub.mockRejectedValueOnce=val=>stub.mockImplementationOnce((()=>Promise.reject(val))),Object.defineProperty(stub,"mock",{get:()=>mockContext}),state.willCall(mockCall),mocks.add(stub),stub}function fn(implementation){let enhancedSpy=enhanceSpy(E({spy:implementation||(()=>{})},"spy"));return implementation&&enhancedSpy.mockImplementation(implementation),enhancedSpy}__toESM(require_build(),1),__toESM(require_build2(),1),__toESM(require_loupe(),1);var IS_RECORD_SYMBOL="@@__IMMUTABLE_RECORD__@@",IS_COLLECTION_SYMBOL="@@__IMMUTABLE_ITERABLE__@@";var OBJECT_PROTO=Object.getPrototypeOf({});function getUnserializableMessage(err){return err instanceof Error?`: ${err.message}`:"string"==typeof err?`: ${err}`:""}function serializeError(val,seen=new WeakMap){if(!val||"string"==typeof val)return val;if("function"==typeof val)return`Function<${val.name||"anonymous"}>`;if("symbol"==typeof val)return val.toString();if("object"!=typeof val)return val;if(function isImmutable(v2){return v2&&(v2[IS_COLLECTION_SYMBOL]||v2[IS_RECORD_SYMBOL])}(val))return serializeError(val.toJSON(),seen);if(val instanceof Promise||val.constructor&&"AsyncFunction"===val.constructor.prototype)return"Promise";if(typeof Element<"u"&&val instanceof Element)return val.tagName;if("function"==typeof val.asymmetricMatch)return`${val.toString()} ${function format(...args){if("string"!=typeof args[0]){let objects=[];for(let i2=0;i2{if("%%"===x)return"%";if(i>=len)return x;switch(x){case"%s":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:"number"==typeof value&&0===value&&1/value<0?"-0":"object"==typeof value&&null!==value?inspect2(value,{depth:0,colors:!1,compact:3}):String(value)}case"%d":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:Number(value).toString()}case"%i":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:Number.parseInt(String(value)).toString()}case"%f":return Number.parseFloat(String(args[i++])).toString();case"%o":return inspect2(args[i++],{showHidden:!0,showProxy:!0});case"%O":return inspect2(args[i++]);case"%c":return i++,"";case"%j":try{return JSON.stringify(args[i++])}catch(err){let m2=err.message;if(m2.includes("circular structure")||m2.includes("cyclic structures")||m2.includes("cyclic object"))return"[Circular]";throw err}default:return x}}));for(let x=args[i];i{try{clone2[i]=serializeError(e,seen)}catch(err){clone2[i]=getUnserializableMessage(err)}})),clone2}{let clone2=Object.create(null);seen.set(val,clone2);let obj=val;for(;obj&&obj!==OBJECT_PROTO;)Object.getOwnPropertyNames(obj).forEach((key=>{if(!(key in clone2))try{clone2[key]=serializeError(val[key],seen)}catch(err){delete clone2[key],clone2[key]=getUnserializableMessage(err)}})),obj=Object.getPrototypeOf(obj);return clone2}}function normalizeErrorMessage(message){return message.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function processError(err,diffOptions){if(!err||"object"!=typeof err)return{message:err};if(err.stack&&(err.stackStr=String(err.stack)),err.name&&(err.nameStr=String(err.name)),err.showDiff||void 0===err.showDiff&&void 0!==err.expected&&void 0!==err.actual){let clonedActual=deepClone(err.actual,{forceWritable:!0}),clonedExpected=deepClone(err.expected,{forceWritable:!0}),{replacedActual,replacedExpected}=replaceAsymmetricMatcher(clonedActual,clonedExpected);err.diff=diff(replacedExpected,replacedActual,{...diffOptions,...err.diffOptions})}"string"!=typeof err.expected&&(err.expected=stringify(err.expected,10)),"string"!=typeof err.actual&&(err.actual=stringify(err.actual,10));try{"string"==typeof err.message&&(err.message=normalizeErrorMessage(err.message)),"object"==typeof err.cause&&"string"==typeof err.cause.message&&(err.cause.message=normalizeErrorMessage(err.cause.message))}catch{}try{return serializeError(err)}catch(e){return serializeError(new Error(`Failed to fully serialize error: ${e?.message}\nInner error message: ${err?.message}`))}}function isAsymmetricMatcher(data){return"Object"===getType(data)&&"function"==typeof data.asymmetricMatch}function isReplaceable(obj1,obj2){let obj1Type=getType(obj1);return obj1Type===getType(obj2)&&("Object"===obj1Type||"Array"===obj1Type)}function replaceAsymmetricMatcher(actual,expected,actualReplaced=new WeakSet,expectedReplaced=new WeakSet){return isReplaceable(actual,expected)?(actualReplaced.has(actual)||expectedReplaced.has(expected)||(actualReplaced.add(actual),expectedReplaced.add(expected),getOwnProperties(expected).forEach((key=>{let expectedValue=expected[key],actualValue=actual[key];if(isAsymmetricMatcher(expectedValue))expectedValue.asymmetricMatch(actualValue)&&(actual[key]=expectedValue);else if(isAsymmetricMatcher(actualValue))actualValue.asymmetricMatch(expectedValue)&&(expected[key]=actualValue);else if(isReplaceable(actualValue,expectedValue)){let replaced=replaceAsymmetricMatcher(actualValue,expectedValue,actualReplaced,expectedReplaced);actual[key]=replaced.replacedActual,expected[key]=replaced.replacedExpected}}))),{replacedActual:actual,replacedExpected:expected}):{replacedActual:actual,replacedExpected:expected}}var MATCHERS_OBJECT=Symbol.for("matchers-object"),JEST_MATCHERS_OBJECT=Symbol.for("$$jest-matchers-object-storybook"),GLOBAL_EXPECT=Symbol.for("expect-global"),ASYMMETRIC_MATCHERS_OBJECT=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,MATCHERS_OBJECT)){let globalState=new WeakMap;Object.defineProperty(globalThis,MATCHERS_OBJECT,{get:()=>globalState})}if(!Object.prototype.hasOwnProperty.call(globalThis,JEST_MATCHERS_OBJECT)){let matchers=Object.create(null),customEqualityTesters=[];Object.defineProperty(globalThis,JEST_MATCHERS_OBJECT,{configurable:!0,get:()=>({state:globalThis[MATCHERS_OBJECT].get(globalThis[GLOBAL_EXPECT]),matchers,customEqualityTesters})})}if(!Object.prototype.hasOwnProperty.call(globalThis,ASYMMETRIC_MATCHERS_OBJECT)){let assymetricMatchers=Object.create(null);Object.defineProperty(globalThis,ASYMMETRIC_MATCHERS_OBJECT,{get:()=>assymetricMatchers})}function getState(expect4){return globalThis[MATCHERS_OBJECT].get(expect4)}function setState(state,expect4){let map=globalThis[MATCHERS_OBJECT],current=map.get(expect4)||{};Object.assign(current,state),map.set(expect4,current)}function getMatcherUtils(){let c=()=>getColors(),EXPECTED_COLOR=c().green,RECEIVED_COLOR=c().red,INVERTED_COLOR=c().inverse,BOLD_WEIGHT=c().bold,DIM_COLOR=c().dim;let replaceTrailingSpaces=text=>text.replace(/\s+$/gm,(spaces=>"·".repeat(spaces.length)));return{EXPECTED_COLOR,RECEIVED_COLOR,INVERTED_COLOR,BOLD_WEIGHT,DIM_COLOR,matcherHint:function matcherHint(matcherName,received="received",expected="expected",options={}){let{comment="",isDirectExpectCall=!1,isNot=!1,promise="",secondArgument="",expectedColor=EXPECTED_COLOR,receivedColor=RECEIVED_COLOR,secondArgumentColor=EXPECTED_COLOR}=options,hint="",dimString="expect";return!isDirectExpectCall&&""!==received&&(hint+=DIM_COLOR(`${dimString}(`)+receivedColor(received),dimString=")"),""!==promise&&(hint+=DIM_COLOR(`${dimString}.`)+promise,dimString=""),isNot&&(hint+=`${DIM_COLOR(`${dimString}.`)}not`,dimString=""),matcherName.includes(".")?dimString+=matcherName:(hint+=DIM_COLOR(`${dimString}.`)+matcherName,dimString=""),""===expected?dimString+="()":(hint+=DIM_COLOR(`${dimString}(`)+expectedColor(expected),secondArgument&&(hint+=DIM_COLOR(", ")+secondArgumentColor(secondArgument)),dimString=")"),""!==comment&&(dimString+=` // ${comment}`),""!==dimString&&(hint+=DIM_COLOR(dimString)),hint},printReceived:object=>RECEIVED_COLOR(replaceTrailingSpaces(stringify(object))),printExpected:value=>EXPECTED_COLOR(replaceTrailingSpaces(stringify(value)))}}function getCustomEqualityTesters(){return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters}function equals(a,b2,customTesters,strictCheck){return eq(a,b2,[],[],customTesters=customTesters||[],strictCheck?hasKey:hasDefinedKey)}function isAsymmetric(obj){return!!obj&&"object"==typeof obj&&"asymmetricMatch"in obj&&isA("Function",obj.asymmetricMatch)}function eq(a,b2,aStack,bStack,customTesters,hasKey2){let result=!0,asymmetricResult=function asymmetricMatch(a,b2){let asymmetricA=isAsymmetric(a),asymmetricB=isAsymmetric(b2);if(!asymmetricA||!asymmetricB){if(asymmetricA)return a.asymmetricMatch(b2);if(asymmetricB)return b2.asymmetricMatch(a)}}(a,b2);if(void 0!==asymmetricResult)return asymmetricResult;let testerContext={equals};for(let i=0;iObject.getOwnPropertyDescriptor(obj,symbol).enumerable)))}function hasDefinedKey(obj,key){return hasKey(obj,key)&&void 0!==obj[key]}function hasKey(obj,key){return Object.prototype.hasOwnProperty.call(obj,key)}function isA(typeName,value){return Object.prototype.toString.apply(value)===`[object ${typeName}]`}function isDomNode(obj){return null!==obj&&"object"==typeof obj&&"nodeType"in obj&&"number"==typeof obj.nodeType&&"nodeName"in obj&&"string"==typeof obj.nodeName&&"isEqualNode"in obj&&"function"==typeof obj.isEqualNode}var IS_KEYED_SENTINEL="@@__IMMUTABLE_KEYED__@@",IS_SET_SENTINEL="@@__IMMUTABLE_SET__@@",IS_ORDERED_SENTINEL="@@__IMMUTABLE_ORDERED__@@";var IteratorSymbol=Symbol.iterator;function hasIterator(object){return!(null==object||!object[IteratorSymbol])}function iterableEquality(a,b2,customTesters=[],aStack=[],bStack=[]){if("object"!=typeof a||"object"!=typeof b2||Array.isArray(a)||Array.isArray(b2)||!hasIterator(a)||!hasIterator(b2))return;if(a.constructor!==b2.constructor)return!1;let length=aStack.length;for(;length--;)if(aStack[length]===a)return bStack[length]===b2;aStack.push(a),bStack.push(b2);let filteredCustomTesters=[...customTesters.filter((t=>t!==iterableEquality)),function iterableEqualityWithStack(a2,b22){return iterableEquality(a2,b22,[...filteredCustomTesters],[...aStack],[...bStack])}];if(void 0!==a.size){if(a.size!==b2.size)return!1;if(isA("Set",a)||function isImmutableUnorderedSet(maybeSet){return!(!maybeSet||!maybeSet[IS_SET_SENTINEL]||maybeSet[IS_ORDERED_SENTINEL])}(a)){let allFound=!0;for(let aValue of a)if(!b2.has(aValue)){let has=!1;for(let bValue of b2)!0===equals(aValue,bValue,filteredCustomTesters)&&(has=!0);if(!1===has){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}if(isA("Map",a)||function isImmutableUnorderedKeyed(maybeKeyed){return!(!maybeKeyed||!maybeKeyed[IS_KEYED_SENTINEL]||maybeKeyed[IS_ORDERED_SENTINEL])}(a)){let allFound=!0;for(let aEntry of a)if(!b2.has(aEntry[0])||!equals(aEntry[1],b2.get(aEntry[0]),filteredCustomTesters)){let has=!1;for(let bEntry of b2){let matchedValue=!1;!0===equals(aEntry[0],bEntry[0],filteredCustomTesters)&&(matchedValue=equals(aEntry[1],bEntry[1],filteredCustomTesters)),!0===matchedValue&&(has=!0)}if(!1===has){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}}let bIterator=b2[IteratorSymbol]();for(let aValue of a){let nextB=bIterator.next();if(nextB.done||!equals(aValue,nextB.value,filteredCustomTesters))return!1}return!!bIterator.next().done&&(aStack.pop(),bStack.pop(),!0)}function hasPropertyInObject(object,key){return!(!object||"object"!=typeof object||object===Object.prototype)&&(Object.prototype.hasOwnProperty.call(object,key)||hasPropertyInObject(Object.getPrototypeOf(object),key))}function isObjectWithKeys(a){return function isObject(item){return null!=item&&"object"==typeof item&&!Array.isArray(item)}(a)&&!(a instanceof Error)&&!Array.isArray(a)&&!(a instanceof Date)}function subsetEquality(object,subset,customTesters=[]){let filteredCustomTesters=customTesters.filter((t=>t!==subsetEquality)),subsetEqualityWithContext=(seenReferences=new WeakMap)=>(object2,subset2)=>{if(isObjectWithKeys(subset2))return Object.keys(subset2).every((key=>{if(isObjectWithKeys(subset2[key])){if(seenReferences.has(subset2[key]))return equals(object2[key],subset2[key],filteredCustomTesters);seenReferences.set(subset2[key],!0)}let result=null!=object2&&hasPropertyInObject(object2,key)&&equals(object2[key],subset2[key],[...filteredCustomTesters,subsetEqualityWithContext(seenReferences)]);return seenReferences.delete(subset2[key]),result}))};return subsetEqualityWithContext()(object,subset)}function typeEquality(a,b2){if(null!=a&&null!=b2&&a.constructor!==b2.constructor)return!1}function arrayBufferEquality(a,b2){let dataViewA=a,dataViewB=b2;if(!(a instanceof DataView&&b2 instanceof DataView)){if(!(a instanceof ArrayBuffer&&b2 instanceof ArrayBuffer))return;try{dataViewA=new DataView(a),dataViewB=new DataView(b2)}catch{return}}if(dataViewA.byteLength!==dataViewB.byteLength)return!1;for(let i=0;it!==sparseArrayEquality)),!0)&&equals(aKeys,bKeys)}var AsymmetricMatcher3=class{constructor(sample,inverse=!1){this.sample=sample,this.inverse=inverse}$$typeof=Symbol.for("jest.asymmetricMatcher");getMatcherContext(expect4){return{...getState(expect4||globalThis[GLOBAL_EXPECT]),equals,isNot:this.inverse,customTesters:getCustomEqualityTesters(),utils:{...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality}}}[Symbol.for("chai/inspect")](options){let result=stringify(this,options.depth,{min:!0});return result.length<=options.truncate?result:`${this.toString()}{…}`}},StringContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA("String",sample))throw new Error("Expected is not a string");super(sample,inverse)}asymmetricMatch(other){let result=isA("String",other)&&other.includes(this.sample);return this.inverse?!result:result}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},Anything=class extends AsymmetricMatcher3{asymmetricMatch(other){return null!=other}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},ObjectContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse)}getPrototype(obj){return Object.getPrototypeOf?Object.getPrototypeOf(obj):obj.constructor.prototype===obj?null:obj.constructor.prototype}hasProperty(obj,property){return!!obj&&(!!Object.prototype.hasOwnProperty.call(obj,property)||this.hasProperty(this.getPrototype(obj),property))}asymmetricMatch(other){if("object"!=typeof this.sample)throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let result=!0,matcherContext=this.getMatcherContext();for(let property in this.sample)if(!this.hasProperty(other,property)||!equals(this.sample[property],other[property],matcherContext.customTesters)){result=!1;break}return this.inverse?!result:result}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},ArrayContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse)}asymmetricMatch(other){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let matcherContext=this.getMatcherContext(),result=0===this.sample.length||Array.isArray(other)&&this.sample.every((item=>other.some((another=>equals(item,another,matcherContext.customTesters)))));return this.inverse?!result:result}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},Any=class extends AsymmetricMatcher3{constructor(sample){if(typeof sample>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(sample)}fnNameFor(func){if(func.name)return func.name;let matches3=Function.prototype.toString.call(func).match(/^(?:async)?\s*function\s*\*?\s*([\w$]+)\s*\(/);return matches3?matches3[1]:""}asymmetricMatch(other){return this.sample===String?"string"==typeof other||other instanceof String:this.sample===Number?"number"==typeof other||other instanceof Number:this.sample===Function?"function"==typeof other||other instanceof Function:this.sample===Boolean?"boolean"==typeof other||other instanceof Boolean:this.sample===BigInt?"bigint"==typeof other||other instanceof BigInt:this.sample===Symbol?"symbol"==typeof other||other instanceof Symbol:this.sample===Object?"object"==typeof other:other instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},StringMatching=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA("String",sample)&&!isA("RegExp",sample))throw new Error("Expected is not a String or a RegExp");super(new RegExp(sample),inverse)}asymmetricMatch(other){let result=isA("String",other)&&this.sample.test(other);return this.inverse?!result:result}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},CloseTo=class extends AsymmetricMatcher3{precision;constructor(sample,precision=2,inverse=!1){if(!isA("Number",sample))throw new Error("Expected is not a Number");if(!isA("Number",precision))throw new Error("Precision is not a Number");super(sample),this.inverse=inverse,this.precision=precision}asymmetricMatch(other){if(!isA("Number",other))return!1;let result=!1;return result=other===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||other===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY||Math.abs(this.sample-other)<10**-this.precision/2,this.inverse?!result:result}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${word="digit",count=this.precision,`${count} ${word}${1===count?"":"s"}`})`].join(" ");var word,count}},JestAsymmetricMatchers=(chai2,utils)=>{utils.addMethod(chai2.expect,"anything",(()=>new Anything)),utils.addMethod(chai2.expect,"any",(expected=>new Any(expected))),utils.addMethod(chai2.expect,"stringContaining",(expected=>new StringContaining(expected))),utils.addMethod(chai2.expect,"objectContaining",(expected=>new ObjectContaining(expected))),utils.addMethod(chai2.expect,"arrayContaining",(expected=>new ArrayContaining(expected))),utils.addMethod(chai2.expect,"stringMatching",(expected=>new StringMatching(expected))),utils.addMethod(chai2.expect,"closeTo",((expected,precision)=>new CloseTo(expected,precision))),chai2.expect.not={stringContaining:expected=>new StringContaining(expected,!0),objectContaining:expected=>new ObjectContaining(expected,!0),arrayContaining:expected=>new ArrayContaining(expected,!0),stringMatching:expected=>new StringMatching(expected,!0),closeTo:(expected,precision)=>new CloseTo(expected,precision,!0)}};function recordAsyncExpect(test,promise){return test&&promise instanceof Promise&&(promise=promise.finally((()=>{let index=test.promises.indexOf(promise);-1!==index&&test.promises.splice(index,1)})),test.promises||(test.promises=[]),test.promises.push(promise)),promise}function wrapSoft(utils,fn3){return function(...args){var _a;let test=utils.flag(this,"vitest-test");if(!(test?.context._local?test.context.expect.getState():getState(globalThis[GLOBAL_EXPECT])).soft)return fn3.apply(this,args);if(!test)throw new Error("expect.soft() can only be used inside a test");try{return fn3.apply(this,args)}catch(err){test.result||(test.result={state:"fail"}),test.result.state="fail",(_a=test.result).errors||(_a.errors=[]),test.result.errors.push(processError(err))}}}var JestChaiExpect=(chai2,utils)=>{let{AssertionError:AssertionError2}=chai2,c=()=>getColors(),customTesters=getCustomEqualityTesters();function def(name,fn3){let addMethod=n=>{let softWrapper=wrapSoft(utils,fn3);utils.addMethod(chai2.Assertion.prototype,n,softWrapper),utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,n,softWrapper)};Array.isArray(name)?name.forEach((n=>addMethod(n))):addMethod(name)}["throw","throws","Throw"].forEach((m2=>{utils.overwriteMethod(chai2.Assertion.prototype,m2,(_super=>function(...args){let promise=utils.flag(this,"promise"),object=utils.flag(this,"object"),isNot=utils.flag(this,"negate");if("rejects"===promise)utils.flag(this,"object",(()=>{throw object}));else if("resolves"===promise&&"function"!=typeof object){if(isNot)return;{let message=utils.flag(this,"message")||"expected promise to throw an error, but it didn't";throw new AssertionError2(message,{showDiff:!1},utils.flag(this,"ssfi"))}}_super.apply(this,args)}))})),def("withTest",(function(test){return utils.flag(this,"vitest-test",test),this})),def("toEqual",(function(expected){let actual=utils.flag(this,"object"),equal=equals(actual,expected,[...customTesters,iterableEquality]);return this.assert(equal,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",expected,actual)})),def("toStrictEqual",(function(expected){let obj=utils.flag(this,"object"),equal=equals(obj,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0);return this.assert(equal,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",expected,obj)})),def("toBe",(function(expected){let actual=this._obj,pass=Object.is(actual,expected),deepEqualityName="";return pass||(equals(actual,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0)?deepEqualityName="toStrictEqual":equals(actual,expected,[...customTesters,iterableEquality])&&(deepEqualityName="toEqual")),this.assert(pass,function generateToBeMessage(deepEqualityName,expected="#{this}",actual="#{exp}"){let toBeMessage=`expected ${expected} to be ${actual} // Object.is equality`;return["toStrictEqual","toEqual"].includes(deepEqualityName)?`${toBeMessage}\n\nIf it should pass with deep equality, replace "toBe" with "${deepEqualityName}"\n\nExpected: ${expected}\nReceived: serializes to the same string\n`:toBeMessage}(deepEqualityName),"expected #{this} not to be #{exp} // Object.is equality",expected,actual)})),def("toMatchObject",(function(expected){let actual=this._obj;return this.assert(equals(actual,expected,[...customTesters,iterableEquality,subsetEquality]),"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",expected,actual)})),def("toMatch",(function(expected){return"string"==typeof expected?this.include(expected):this.match(expected)})),def("toContain",(function(item){let actual=this._obj;if(typeof Node<"u"&&actual instanceof Node){if(!(item instanceof Node))throw new TypeError("toContain() expected a DOM node as the argument, but got "+typeof item);return this.assert(actual.contains(item),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",item,actual)}if(typeof DOMTokenList<"u"&&actual instanceof DOMTokenList){assertTypes(item,"class name",["string"]);let expectedClassList=utils.flag(this,"negate")?actual.value.replace(item,"").trim():`${actual.value} ${item}`;return this.assert(actual.contains(item),`expected "${actual.value}" to contain "${item}"`,`expected "${actual.value}" not to contain "${item}"`,expectedClassList,actual.value)}return null!=actual&&"string"!=typeof actual&&utils.flag(this,"object",Array.from(actual)),this.contain(item)})),def("toContainEqual",(function(expected){let obj=utils.flag(this,"object"),index=Array.from(obj).findIndex((item=>equals(item,expected,customTesters)));this.assert(-1!==index,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",expected)})),def("toBeTruthy",(function(){let obj=utils.flag(this,"object");this.assert(!!obj,"expected #{this} to be truthy","expected #{this} to not be truthy",obj,!1)})),def("toBeFalsy",(function(){let obj=utils.flag(this,"object");this.assert(!obj,"expected #{this} to be falsy","expected #{this} to not be falsy",obj,!1)})),def("toBeGreaterThan",(function(expected){let actual=this._obj;return assertTypes(actual,"actual",["number","bigint"]),assertTypes(expected,"expected",["number","bigint"]),this.assert(actual>expected,`expected ${actual} to be greater than ${expected}`,`expected ${actual} to be not greater than ${expected}`,actual,expected,!1)})),def("toBeGreaterThanOrEqual",(function(expected){let actual=this._obj;return assertTypes(actual,"actual",["number","bigint"]),assertTypes(expected,"expected",["number","bigint"]),this.assert(actual>=expected,`expected ${actual} to be greater than or equal to ${expected}`,`expected ${actual} to be not greater than or equal to ${expected}`,actual,expected,!1)})),def("toBeLessThan",(function(expected){let actual=this._obj;return assertTypes(actual,"actual",["number","bigint"]),assertTypes(expected,"expected",["number","bigint"]),this.assert(actualString(key).replace(/([.[\]])/g,"\\$1"))).join("."));let actual=this._obj,[propertyName,expected]=args,{value,exists}=Object.prototype.hasOwnProperty.call(actual,propertyName)?{value:actual[propertyName],exists:!0}:utils.getPathInfo(actual,propertyName),pass=exists&&(1===args.length||equals(expected,value,customTesters)),valueString=1===args.length?"":` with value ${utils.objDisplay(expected)}`;return this.assert(pass,`expected #{this} to have property "${propertyName}"${valueString}`,`expected #{this} to not have property "${propertyName}"${valueString}`,expected,exists?value:void 0)})),def("toBeCloseTo",(function(received,precision=2){let expected=this._obj,pass=!1,expectedDiff2=0,receivedDiff=0;return received===Number.POSITIVE_INFINITY&&expected===Number.POSITIVE_INFINITY||received===Number.NEGATIVE_INFINITY&&expected===Number.NEGATIVE_INFINITY?pass=!0:(expectedDiff2=10**-precision/2,receivedDiff=Math.abs(expected-received),pass=receivedDiff((assertion=>{if(!isMockFunction(assertion._obj))throw new TypeError(`${utils.inspect(assertion._obj)} is not a spy or a call to a spy!`)})(assertion),assertion._obj),ordinalOf=i=>{let j=i%10,k=i%100;return 1===j&&11!==k?`${i}st`:2===j&&12!==k?`${i}nd`:3===j&&13!==k?`${i}rd`:`${i}th`},formatCalls=(spy,msg,actualCall)=>(spy.mock.calls&&(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.calls.map(((callArg,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call:\n\n`);return methodCall+=actualCall?diff(actualCall,callArg,{omitAnnotationLines:!0}):stringify(callArg).split("\n").map((line=>` ${line}`)).join("\n"),methodCall+="\n",methodCall})).join("\n")}`)),msg+=c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`));def(["toHaveBeenCalledTimes","toBeCalledTimes"],(function(number){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(callCount===number,`expected "${spyName}" to be called #{exp} times, but got ${callCount} times`,`expected "${spyName}" to not be called #{exp} times`,number,callCount,!1)})),def("toHaveBeenCalledOnce",(function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(1===callCount,`expected "${spyName}" to be called once, but got ${callCount} times`,`expected "${spyName}" to not be called once`,1,callCount,!1)})),def(["toHaveBeenCalled","toBeCalled"],(function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length,called=callCount>0,isNot=utils.flag(this,"negate"),msg=utils.getMessage(this,[called,`expected "${spyName}" to be called at least once`,`expected "${spyName}" to not be called at all, but actually been called ${callCount} times`,!0,called]);if(called&&isNot&&(msg=formatCalls(spy,msg)),called&&isNot||!called&&!isNot)throw new AssertionError2(msg)})),def(["toHaveBeenCalledWith","toBeCalledWith"],(function(...args){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.calls.some((callArg=>equals(callArg,args,[...customTesters,iterableEquality]))),isNot=utils.flag(this,"negate"),msg=utils.getMessage(this,[pass,`expected "${spyName}" to be called with arguments: #{exp}`,`expected "${spyName}" to not be called with arguments: #{exp}`,args]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(formatCalls(spy,msg,args))})),def(["toHaveBeenNthCalledWith","nthCalledWith"],(function(times,...args){let spy=getSpy(this),spyName=spy.getMockName(),nthCall=spy.mock.calls[times-1];this.assert(equals(nthCall,args,[...customTesters,iterableEquality]),`expected ${ordinalOf(times)} "${spyName}" call to have been called with #{exp}`,`expected ${ordinalOf(times)} "${spyName}" call to not have been called with #{exp}`,args,nthCall)})),def(["toHaveBeenLastCalledWith","lastCalledWith"],(function(...args){let spy=getSpy(this),spyName=spy.getMockName(),lastCall=spy.mock.calls[spy.mock.calls.length-1];this.assert(equals(lastCall,args,[...customTesters,iterableEquality]),`expected last "${spyName}" call to have been called with #{exp}`,`expected last "${spyName}" call to not have been called with #{exp}`,args,lastCall)})),def(["toThrow","toThrowError"],(function(expected){if("string"==typeof expected||typeof expected>"u"||expected instanceof RegExp)return this.throws(expected);let obj=this._obj,promise=utils.flag(this,"promise"),isNot=utils.flag(this,"negate"),thrown=null;if("rejects"===promise)thrown=obj;else{if("resolves"===promise&&"function"!=typeof obj){if(isNot)return;{let message=utils.flag(this,"message")||"expected promise to throw an error, but it didn't";throw new AssertionError2(message,{showDiff:!1},utils.flag(this,"ssfi"))}}{let isThrow=!1;try{obj()}catch(err){isThrow=!0,thrown=err}if(!isThrow&&!isNot){let message=utils.flag(this,"message")||"expected function to throw an error, but it didn't";throw new AssertionError2(message,{showDiff:!1},utils.flag(this,"ssfi"))}}}if("function"==typeof expected){let name=expected.name||expected.prototype.constructor.name;return this.assert(thrown&&thrown instanceof expected,`expected error to be instance of ${name}`,`expected error not to be instance of ${name}`,expected,thrown)}if(expected instanceof Error)return this.assert(thrown&&expected.message===thrown.message,`expected error to have message: ${expected.message}`,`expected error not to have message: ${expected.message}`,expected.message,thrown&&thrown.message);if("object"==typeof expected&&"asymmetricMatch"in expected&&"function"==typeof expected.asymmetricMatch){let matcher=expected;return this.assert(thrown&&matcher.asymmetricMatch(thrown),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",matcher,thrown)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof expected}"`)})),def(["toHaveReturned","toReturn"],(function(){let spy=getSpy(this),spyName=spy.getMockName(),calledAndNotThrew=spy.mock.calls.length>0&&spy.mock.results.some((({type:type3})=>"throw"!==type3));this.assert(calledAndNotThrew,`expected "${spyName}" to be successfully called at least once`,`expected "${spyName}" to not be successfully called`,calledAndNotThrew,!calledAndNotThrew,!1)})),def(["toHaveReturnedTimes","toReturnTimes"],(function(times){let spy=getSpy(this),spyName=spy.getMockName(),successfulReturns=spy.mock.results.reduce(((success,{type:type3})=>"throw"===type3?success:++success),0);this.assert(successfulReturns===times,`expected "${spyName}" to be successfully called ${times} times`,`expected "${spyName}" to not be successfully called ${times} times`,`expected number of returns: ${times}`,`received number of returns: ${successfulReturns}`,!1)})),def(["toHaveReturnedWith","toReturnWith"],(function(value){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.results.some((({type:type3,value:result})=>"return"===type3&&equals(value,result))),isNot=utils.flag(this,"negate"),msg=utils.getMessage(this,[pass,`expected "${spyName}" to return with: #{exp} at least once`,`expected "${spyName}" to not return with: #{exp}`,value]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(((spy,msg,actualReturn)=>(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.results.map(((callReturn,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call return:\n\n`);return methodCall+=actualReturn?diff(actualReturn,callReturn.value,{omitAnnotationLines:!0}):stringify(callReturn).split("\n").map((line=>` ${line}`)).join("\n"),methodCall+="\n",methodCall})).join("\n")}`),msg+c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`)))(spy,msg,value))})),def(["toHaveLastReturnedWith","lastReturnedWith"],(function(value){let spy=getSpy(this),spyName=spy.getMockName(),{value:lastResult}=spy.mock.results[spy.mock.results.length-1],pass=equals(lastResult,value);this.assert(pass,`expected last "${spyName}" call to return #{exp}`,`expected last "${spyName}" call to not return #{exp}`,value,lastResult)})),def(["toHaveNthReturnedWith","nthReturnedWith"],(function(nthCall,value){let spy=getSpy(this),spyName=spy.getMockName(),isNot=utils.flag(this,"negate"),{type:callType,value:callResult}=spy.mock.results[nthCall-1],ordinalCall=`${ordinalOf(nthCall)} call`;!isNot&&"throw"===callType&&chai2.assert.fail(`expected ${ordinalCall} to return #{exp}, but instead it threw an error`);let nthCallReturn=equals(callResult,value);this.assert(nthCallReturn,`expected ${ordinalCall} "${spyName}" call to return #{exp}`,`expected ${ordinalCall} "${spyName}" call to not return #{exp}`,value,callResult)})),def("toSatisfy",(function(matcher,message){return this.be.satisfy(matcher,message)})),utils.addProperty(chai2.Assertion.prototype,"resolves",(function(){let error=new Error("resolves");utils.flag(this,"promise","resolves"),utils.flag(this,"error",error);let test=utils.flag(this,"vitest-test"),obj=utils.flag(this,"object");if("function"!=typeof obj?.then)throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof obj}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return"function"!=typeof result?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=obj.then((value=>(utils.flag(this,"object",value),result.call(this,...args))),(err=>{let _error=new AssertionError2(`promise rejected "${utils.inspect(err)}" instead of resolving`,{showDiff:!1});throw _error.cause=err,_error.stack=error.stack.replace(error.message,_error.message),_error}));return recordAsyncExpect(test,promise)}}});return proxy})),utils.addProperty(chai2.Assertion.prototype,"rejects",(function(){let error=new Error("rejects");utils.flag(this,"promise","rejects"),utils.flag(this,"error",error);let test=utils.flag(this,"vitest-test"),obj=utils.flag(this,"object"),wrapper="function"==typeof obj?obj():obj;if("function"!=typeof wrapper?.then)throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof wrapper}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return"function"!=typeof result?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=wrapper.then((value=>{let _error=new AssertionError2(`promise resolved "${utils.inspect(value)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:value});throw _error.stack=error.stack.replace(error.message,_error.message),_error}),(err=>(utils.flag(this,"object",err),result.call(this,...args))));return recordAsyncExpect(test,promise)}}});return proxy}))};var JestExtendError=class extends Error{constructor(message,actual,expected){super(message),this.actual=actual,this.expected=expected}};function JestExtendPlugin(expect4,matchers){return(c,utils)=>{Object.entries(matchers).forEach((([expectAssertionName,expectAssertion])=>{let softWrapper=wrapSoft(utils,(function expectWrapper(...args){let{state,isNot,obj}=function getMatcherState(assertion,expect4){let obj=assertion._obj,isNot=util.flag(assertion,"negate"),promise=util.flag(assertion,"promise")||"",jestUtils={...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality};return{state:{...getState(expect4),customTesters:getCustomEqualityTesters(),isNot,utils:jestUtils,promise,equals,suppressedErrors:[]},isNot,obj}}(this,expect4),result=expectAssertion.call(state,obj,...args);if(result&&"object"==typeof result&&result instanceof Promise)return result.then((({pass:pass2,message:message2,actual:actual2,expected:expected2})=>{if(pass2&&isNot||!pass2&&!isNot)throw new JestExtendError(message2(),actual2,expected2)}));let{pass,message,actual,expected}=result;if(pass&&isNot||!pass&&!isNot)throw new JestExtendError(message(),actual,expected)}));utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,expectAssertionName,softWrapper),utils.addMethod(c.Assertion.prototype,expectAssertionName,softWrapper);class CustomMatcher extends AsymmetricMatcher3{constructor(inverse=!1,...sample){super(sample,inverse)}asymmetricMatch(other){let{pass}=expectAssertion.call(this.getMatcherContext(expect4),other,...this.sample);return this.inverse?!pass:pass}toString(){return`${this.inverse?"not.":""}${expectAssertionName}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let customMatcher=(...sample)=>new CustomMatcher(!1,...sample);Object.defineProperty(expect4,expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0}),Object.defineProperty(expect4.not,expectAssertionName,{configurable:!0,enumerable:!0,value:(...sample)=>new CustomMatcher(!0,...sample),writable:!0}),Object.defineProperty(globalThis[ASYMMETRIC_MATCHERS_OBJECT],expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0})}))}}var JestExtend=(chai2,utils)=>{utils.addMethod(chai2.expect,"extend",((expect4,expects)=>{chai2.use(JestExtendPlugin(expect4,expects))}))},matchers_exports={};__export(matchers_exports,{toBeChecked:()=>toBeChecked,toBeDisabled:()=>toBeDisabled,toBeEmpty:()=>toBeEmpty,toBeEmptyDOMElement:()=>toBeEmptyDOMElement,toBeEnabled:()=>toBeEnabled,toBeInTheDOM:()=>toBeInTheDOM,toBeInTheDocument:()=>toBeInTheDocument,toBeInvalid:()=>toBeInvalid,toBePartiallyChecked:()=>toBePartiallyChecked,toBeRequired:()=>toBeRequired,toBeValid:()=>toBeValid,toBeVisible:()=>toBeVisible,toContainElement:()=>toContainElement,toContainHTML:()=>toContainHTML,toHaveAccessibleDescription:()=>toHaveAccessibleDescription,toHaveAccessibleErrorMessage:()=>toHaveAccessibleErrorMessage,toHaveAccessibleName:()=>toHaveAccessibleName,toHaveAttribute:()=>toHaveAttribute,toHaveClass:()=>toHaveClass,toHaveDescription:()=>toHaveDescription,toHaveDisplayValue:()=>toHaveDisplayValue,toHaveErrorMessage:()=>toHaveErrorMessage,toHaveFocus:()=>toHaveFocus,toHaveFormValues:()=>toHaveFormValues,toHaveRole:()=>toHaveRole,toHaveStyle:()=>toHaveStyle,toHaveTextContent:()=>toHaveTextContent,toHaveValue:()=>toHaveValue});var import_redent=__toESM(require_redent(),1),import_isEqual=__toESM(require_isEqual(),1);function $parcel$defineInteropFlag(a){Object.defineProperty(a,"__esModule",{value:!0,configurable:!0})}function $parcel$export(e,n,v2,s){Object.defineProperty(e,n,{get:v2,set:s,enumerable:!0,configurable:!0})}var $009ddb00d3ec72b8$exports={};$parcel$defineInteropFlag($009ddb00d3ec72b8$exports),$parcel$export($009ddb00d3ec72b8$exports,"default",(()=>$009ddb00d3ec72b8$export$2e2bcd8739ae039));var $009ddb00d3ec72b8$export$2e2bcd8739ae039=class extends Error{constructor(filename,msg,lineno,column,css){super(filename+":"+lineno+":"+column+": "+msg),this.reason=msg,this.filename=filename,this.line=lineno,this.column=column,this.source=css}},$0865a9fb4cc365fe$exports={};$parcel$defineInteropFlag($0865a9fb4cc365fe$exports),$parcel$export($0865a9fb4cc365fe$exports,"default",(()=>$0865a9fb4cc365fe$export$2e2bcd8739ae039));var $b2e137848b48cf4f$export$9be5dd6e61d5d73a,CssTypes,$0865a9fb4cc365fe$export$2e2bcd8739ae039=class{constructor(start,end,source){this.start=start,this.end=end,this.source=source}};$parcel$export({},"CssTypes",(()=>$b2e137848b48cf4f$export$9be5dd6e61d5d73a)),(CssTypes=$b2e137848b48cf4f$export$9be5dd6e61d5d73a||($b2e137848b48cf4f$export$9be5dd6e61d5d73a={})).stylesheet="stylesheet",CssTypes.rule="rule",CssTypes.declaration="declaration",CssTypes.comment="comment",CssTypes.container="container",CssTypes.charset="charset",CssTypes.document="document",CssTypes.customMedia="custom-media",CssTypes.fontFace="font-face",CssTypes.host="host",CssTypes.import="import",CssTypes.keyframes="keyframes",CssTypes.keyframe="keyframe",CssTypes.layer="layer",CssTypes.media="media",CssTypes.namespace="namespace",CssTypes.page="page",CssTypes.supports="supports";var $d708735ed1303b43$var$commentre=/\/\*[^]*?(?:\*\/|$)/g;function $d708735ed1303b43$var$trim(str){return str?str.trim():""}function $d708735ed1303b43$var$addParent(obj,parent){let isNode=obj&&"string"==typeof obj.type,childParent=isNode?obj:parent;for(let k in obj){let value=obj[k];Array.isArray(value)?value.forEach((v2=>{$d708735ed1303b43$var$addParent(v2,childParent)})):value&&"object"==typeof value&&$d708735ed1303b43$var$addParent(value,childParent)}return isNode&&Object.defineProperty(obj,"parent",{configurable:!0,writable:!0,enumerable:!1,value:parent||null}),obj}var $149c1bd638913645$export$98e6a39c04603d36=(css,options)=>{options=options||{};let lineno=1,column=1;function position(){let start={line:lineno,column};return function(node){return node.position=new $0865a9fb4cc365fe$export$2e2bcd8739ae039(start,{line:lineno,column},options?.source||""),whitespace(),node}}let errorsList=[];function error(msg){let err=new $009ddb00d3ec72b8$export$2e2bcd8739ae039(options?.source||"",msg,lineno,column,css);if(!options?.silent)throw err;errorsList.push(err)}function open(){return match(/^{\s*/)}function close(){return match(/^}/)}function rules(){let node,rules2=[];for(whitespace(),comments(rules2);css.length&&"}"!==css.charAt(0)&&(node=atrule()||rule());)node&&(rules2.push(node),comments(rules2));return rules2}function match(re){let m2=re.exec(css);if(!m2)return;let str=m2[0];return function updatePosition(str){let lines=str.match(/\n/g);lines&&(lineno+=lines.length);let i=str.lastIndexOf("\n");column=~i?str.length-i:column+str.length}(str),css=css.slice(str.length),m2}function whitespace(){match(/^\s*/)}function comments(rules2){let c;for(rules2=rules2||[];c=comment();)c&&rules2.push(c);return rules2}function comment(){let pos=position();if("/"!==css.charAt(0)||"*"!==css.charAt(1))return;let m2=match(/^\/\*[^]*?\*\//);return m2?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.comment,comment:m2[0].slice(2,-2)}):error("End of comment missing")}function findClosingParenthese(str,start,depth){let ptr=start+1,found=!1,closeParentheses=str.indexOf(")",ptr);for(;!found&&-1!==closeParentheses;){let nextParentheses=str.indexOf("(",ptr);-1!==nextParentheses&&nextParenthesesm3.replace(/,/g,"‌"))),res.split(",").map((s=>$d708735ed1303b43$var$trim(s.replace(/\u200C/g,","))))}function declaration(){let pos=position(),propMatch=match(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!propMatch)return;let propValue=$d708735ed1303b43$var$trim(propMatch[0]);if(!match(/^:\s*/))return error("property missing ':'");let val=match(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),ret=pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.declaration,property:propValue.replace($d708735ed1303b43$var$commentre,""),value:val?$d708735ed1303b43$var$trim(val[0]).replace($d708735ed1303b43$var$commentre,""):""});return match(/^[;\s]*/),ret}function declarations(){let decl,decls=[];if(!open())return error("missing '{'");for(comments(decls);decl=declaration();)decl&&(decls.push(decl),comments(decls));return close()?decls:error("missing '}'")}function keyframe(){let m2,vals=[],pos=position();for(;m2=match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)vals.push(m2[1]),match(/^,\s*/);if(vals.length)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframe,values:vals,declarations:declarations()||[]})}let atimport=_compileAtrule("import"),atcharset=_compileAtrule("charset"),atnamespace=_compileAtrule("namespace");function _compileAtrule(name){let re=new RegExp("^@"+name+"\\s*((?::?[^;'\"]|\"(?:\\\\\"|[^\"])*?\"|'(?:\\\\'|[^'])*?')+)(?:;|$)");return function(){let pos=position(),m2=match(re);if(!m2)return;let ret={type:name};return ret[name]=m2[1].trim(),pos(ret)}}function atrule(){if("@"===css[0])return function atkeyframes(){let pos=position(),m1=match(/^@([-\w]+)?keyframes\s*/);if(!m1)return;let vendor=m1[1],m2=match(/^([-\w]+)\s*/);if(!m2)return error("@keyframes missing name");let name=m2[1];if(!open())return error("@keyframes missing '{'");let frame,frames=comments();for(;frame=keyframe();)frames.push(frame),frames=frames.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframes,name,vendor,keyframes:frames}):error("@keyframes missing '}'")}()||function atmedia(){let pos=position(),m2=match(/^@media *([^{]+)/);if(!m2)return;let media=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error("@media missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.media,media,rules:style}):error("@media missing '}'")}()||function atcustommedia(){let pos=position(),m2=match(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(m2)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.customMedia,name:$d708735ed1303b43$var$trim(m2[1]),media:$d708735ed1303b43$var$trim(m2[2])})}()||function atsupports(){let pos=position(),m2=match(/^@supports *([^{]+)/);if(!m2)return;let supports=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error("@supports missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.supports,supports,rules:style}):error("@supports missing '}'")}()||atimport()||atcharset()||atnamespace()||function atdocument(){let pos=position(),m2=match(/^@([-\w]+)?document *([^{]+)/);if(!m2)return;let vendor=$d708735ed1303b43$var$trim(m2[1]),doc=$d708735ed1303b43$var$trim(m2[2]);if(!open())return error("@document missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.document,document:doc,vendor,rules:style}):error("@document missing '}'")}()||function atpage(){let pos=position();if(!match(/^@page */))return;let sel=selector()||[];if(!open())return error("@page missing '{'");let decl,decls=comments();for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.page,selectors:sel,declarations:decls}):error("@page missing '}'")}()||function athost(){let pos=position();if(!match(/^@host\s*/))return;if(!open())return error("@host missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.host,rules:style}):error("@host missing '}'")}()||function atfontface(){let pos=position();if(!match(/^@font-face\s*/))return;if(!open())return error("@font-face missing '{'");let decl,decls=comments();for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.fontFace,declarations:decls}):error("@font-face missing '}'")}()||function atcontainer(){let pos=position(),m2=match(/^@container *([^{]+)/);if(!m2)return;let container=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error("@container missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.container,container,rules:style}):error("@container missing '}'")}()||function atlayer(){let pos=position(),m2=match(/^@layer *([^{;@]+)/);if(!m2)return;let layer=$d708735ed1303b43$var$trim(m2[1]);if(!open())return match(/^[;\s]*/),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer});let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer,rules:style}):error("@layer missing '}'")}()}function rule(){let pos=position(),sel=selector();return sel?(comments(),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.rule,selectors:sel,declarations:declarations()||[]})):error("selector missing")}return $d708735ed1303b43$var$addParent(function stylesheet(){let rulesList=rules();return{type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.stylesheet,stylesheet:{source:options?.source,rules:rulesList,parsingErrors:errorsList}}}())},toStr=Object.prototype.toString;function isCallable(fn3){return"function"==typeof fn3||"[object Function]"===toStr.call(fn3)}var maxSafeInteger=Math.pow(2,53)-1;function toLength(value){var len=function toInteger(value){var number=Number(value);return isNaN(number)?0:0!==number&&isFinite(number)?(number>0?1:-1)*Math.floor(Math.abs(number)):number}(value);return Math.min(Math.max(len,0),maxSafeInteger)}function arrayFrom(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(null==arrayLike)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof mapFn<"u"&&!isCallable(mapFn))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var kValue,len=toLength(items.length),A=isCallable(C2)?Object(new C2(len)):new Array(len),k=0;k0&&void 0!==arguments[0]?arguments[0]:[];(function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")})(this,SetLike3),function _defineProperty(obj,key,value){return(key=_toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(this,"items",void 0),this.items=items}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(SetLike3,[{key:"add",value:function(value){return!1===this.has(value)&&this.items.push(value),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter((function(item){return item!==value})),previousLength!==this.items.length}},{key:"forEach",value:function(callbackfn){var _this=this;this.items.forEach((function(item){callbackfn(item,item,_this)}))}},{key:"has",value:function(value){return-1!==this.items.indexOf(value)}},{key:"size",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default=typeof Set>"u"?Set:SetLike;function getLocalName(element){var _element$localName;return null!==(_element$localName=element.localName)&&void 0!==_element$localName?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},prohibitedAttributes={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function ignorePresentationalRole(element,implicitRole){return function hasGlobalAriaAttributes(element,role){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some((function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!(null!==(_prohibitedAttributes=prohibitedAttributes[role])&&void 0!==_prohibitedAttributes&&_prohibitedAttributes.has(attributeName))}))}(element,implicitRole)}function getRole(element){var explicitRole=function getExplicitRole(element){var role=element.getAttribute("role");if(null!==role){var explicitRole=role.trim().split(" ")[0];if(explicitRole.length>0)return explicitRole}return null}(element);if(null===explicitRole||-1!==presentationRoles.indexOf(explicitRole)){var implicitRole=function getImplicitRole(element){var mappedByTag=localNameToRoleMappings[getLocalName(element)];if(void 0!==mappedByTag)return mappedByTag;switch(getLocalName(element)){case"a":case"area":case"link":if(element.hasAttribute("href"))return"link";break;case"img":return""!==element.getAttribute("alt")||ignorePresentationalRole(element,"img")?"img":"presentation";case"input":var type3=element.type;switch(type3){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return type3;case"range":return"slider";case"email":case"tel":case"text":case"url":return element.hasAttribute("list")?"combobox":"textbox";case"search":return element.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}case"select":return element.hasAttribute("multiple")||element.size>1?"listbox":"combobox"}return null}(element);if(-1===presentationRoles.indexOf(explicitRole||"")||ignorePresentationalRole(element,implicitRole||""))return implicitRole}return explicitRole}var presentationRoles=["presentation","none"];function isElement(node){return null!==node&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement(node){return isElement(node)&&"caption"===getLocalName(node)}function isHTMLInputElement(node){return isElement(node)&&"input"===getLocalName(node)}function isHTMLLegendElement(node){return isElement(node)&&"legend"===getLocalName(node)}function isSVGTitleElement(node){return function isSVGElement(node){return isElement(node)&&void 0!==node.ownerSVGElement}(node)&&"title"===getLocalName(node)}function queryIdRefs(node,attributeName){if(isElement(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(" "),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map((function(id){return root.getElementById(id)})).filter((function(element){return null!==element}))}return[]}function hasAnyConcreteRoles(node,roles3){return!!isElement(node)&&-1!==roles3.indexOf(getRole(node))}function hasAbstractRole(node,role){if(!isElement(node))return!1;if("range"===role)return hasAnyConcreteRoles(node,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(role,"'. This is likely a bug :("))}function querySelectorAllSubtree(element,selectors){var elements=arrayFrom(element.querySelectorAll(selectors));return queryIdRefs(element,"aria-owns").forEach((function(root){elements.push.apply(elements,arrayFrom(root.querySelectorAll(selectors)))})),elements}function querySelectedOptions(listbox){return function isHTMLSelectElement(node){return isElement(node)&&"select"===getLocalName(node)}(listbox)?listbox.selectedOptions||querySelectorAllSubtree(listbox,"[selected]"):querySelectorAllSubtree(listbox,'[aria-selected="true"]')}function getValueOfTextbox(element){return isHTMLInputElement(element)||function isHTMLTextAreaElement(node){return isElement(node)&&"textarea"===getLocalName(node)}(element)?element.value:element.textContent||""}function getTextualContent(declaration){var content=declaration.getPropertyValue("content");return/^["'].*["']$/.test(content)?content.slice(1,-1):""}function isLabelableElement(element){var localName=getLocalName(element);return"button"===localName||"input"===localName&&"hidden"!==element.getAttribute("type")||"meter"===localName||"output"===localName||"progress"===localName||"select"===localName||"textarea"===localName}function findLabelableElement(element){if(isLabelableElement(element))return element;var labelableElement=null;return element.childNodes.forEach((function(childNode){if(null===labelableElement&&isElement(childNode)){var descendantLabelableElement=findLabelableElement(childNode);null!==descendantLabelableElement&&(labelableElement=descendantLabelableElement)}})),labelableElement}function getControlOfLabel(label){if(void 0!==label.control)return label.control;var htmlFor=label.getAttribute("for");return null!==htmlFor?label.ownerDocument.getElementById(htmlFor):findLabelableElement(label)}function computeTextAlternative(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},consultedNodes=new SetLike_default,window2=function safeWindow(node){var defaultView=(null===node.ownerDocument?node:node.ownerDocument).defaultView;if(null===defaultView)throw new TypeError("no window available");return defaultView}(root),_options$compute=options.compute,compute=void 0===_options$compute?"name":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=void 0===_options$computedStyl?void 0!==options.getComputedStyle:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=void 0===_options$getComputedS?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=void 0!==_options$hidden&&_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText="";if(isElement(node)&&computedStyleSupportsPseudoElements){var beforeContent=getTextualContent(getComputedStyle(node,"::before"));accumulatedText="".concat(beforeContent," ").concat(accumulatedText)}if((function isHTMLSlotElement(node){return isElement(node)&&"slot"===getLocalName(node)}(node)?function getSlotContents(slot){var assignedNodes=slot.assignedNodes();return 0===assignedNodes.length?arrayFrom(slot.childNodes):assignedNodes}(node):arrayFrom(node.childNodes).concat(queryIdRefs(node,"aria-owns"))).forEach((function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),separator="inline"!==(isElement(child)?getComputedStyle(child).getPropertyValue("display"):"inline")?" ":"";accumulatedText+="".concat(separator).concat(result).concat(separator)})),isElement(node)&&computedStyleSupportsPseudoElements){var afterContent=getTextualContent(getComputedStyle(node,"::after"));accumulatedText="".concat(accumulatedText," ").concat(afterContent)}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return null===attribute||consultedNodes.has(attribute)||""===attribute.value.trim()?null:(consultedNodes.add(attribute),attribute.value)}function computeElementTextAlternative(node){if(!isElement(node))return null;if(function isHTMLFieldSetElement(node){return isElement(node)&&"fieldset"===getLocalName(node)}(node)){consultedNodes.add(node);for(var children=arrayFrom(node.childNodes),i=0;i0})).join(" ");if(isHTMLInputElement(node)&&"image"===node.type){var _nameFromAlt=useAttribute(node,"alt");if(null!==_nameFromAlt)return _nameFromAlt;var nameFromTitle=useAttribute(node,"title");return null!==nameFromTitle?nameFromTitle:"Submit Query"}if(hasAnyConcreteRoles(node,["button"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(""!==nameFromSubTree)return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return"";if(!hidden&&function isHidden(node,getComputedStyleImplementation){if(!isElement(node))return!1;if(node.hasAttribute("hidden")||"true"===node.getAttribute("aria-hidden"))return!0;var style=getComputedStyleImplementation(node);return"none"===style.getPropertyValue("display")||"hidden"===style.getPropertyValue("visibility")}(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),"";var labelAttributeNode=isElement(current)?current.getAttributeNode("aria-labelledby"):null,labelElements=null===labelAttributeNode||consultedNodes.has(labelAttributeNode)?[]:queryIdRefs(current,"aria-labelledby");if("name"===compute&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map((function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})})).join(" ");var skipToStep2E=context.recursion&&function isControl(node){return hasAnyConcreteRoles(node,["button","combobox","listbox","textbox"])||hasAbstractRole(node,"range")}(current)&&"name"===compute;if(!skipToStep2E){var ariaLabel=(isElement(current)&¤t.getAttribute("aria-label")||"").trim();if(""!==ariaLabel&&"name"===compute)return consultedNodes.add(current),ariaLabel;if(!function isMarkedPresentational(node){return hasAnyConcreteRoles(node,presentationRoles)}(current)){var elementTextAlternative=computeElementTextAlternative(current);if(null!==elementTextAlternative)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles(current,["menu"]))return consultedNodes.add(current),"";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles(current,["combobox","listbox"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions(current);return 0===selectedOptions.length?isHTMLInputElement(current)?current.value:"":arrayFrom(selectedOptions).map((function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})})).join(" ")}if(hasAbstractRole(current,"range"))return consultedNodes.add(current),current.hasAttribute("aria-valuetext")?current.getAttribute("aria-valuetext"):current.hasAttribute("aria-valuenow")?current.getAttribute("aria-valuenow"):current.getAttribute("value")||"";if(hasAnyConcreteRoles(current,["textbox"]))return consultedNodes.add(current),getValueOfTextbox(current)}if(function allowsNameFromContent(node){return hasAnyConcreteRoles(node,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}(current)||isElement(current)&&context.isReferenced||function isNativeHostLanguageTextAlternativeElement(node){return isHTMLTableCaptionElement(node)}(current)){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(""!==accumulatedText2F)return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||"";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=function computeTooltipAttributeValue(node){return isElement(node)?useAttribute(node,"title"):null}(current);return null!==tooltipAttributeValue?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),"")}return function asFlatString(s){return s.trim().replace(/\s\s+/g," ")}(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:"description"===compute,recursion:!1}))}function _typeof2(o){return(_typeof2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o2){return typeof o2}:function(o2){return o2&&"function"==typeof Symbol&&o2.constructor===Symbol&&o2!==Symbol.prototype?"symbol":typeof o2})(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r1&&void 0!==arguments[1]?arguments[1]:{};return function prohibitsNaming(node){return hasAnyConcreteRoles(node,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}(root)?"":computeTextAlternative(root,options)}var import_aria_query=__toESM(require_lib(),1),import_chalk=__toESM(require_source(),1),import_isEqualWith=__toESM(require_isEqualWith(),1),import_uniq=__toESM(require_uniq(),1),import_css=__toESM(require_css_escape(),1),GenericTypeError=class extends Error{constructor(expectedString,received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn);let withType="";try{withType=context.utils.printWithType("Received",received,context.utils.printReceived)}catch{}this.message=[context.utils.matcherHint(`${context.isNot?".not":""}.${matcherFn.name}`,"received",""),"",`${context.utils.RECEIVED_COLOR("received")} value must ${expectedString}.`,withType].join("\n")}},HtmlElementTypeError=class extends GenericTypeError{constructor(...args){super("be an HTMLElement or an SVGElement",...args)}},NodeTypeError=class extends GenericTypeError{constructor(...args){super("be a Node",...args)}};function checkHasWindow(htmlElement,ErrorClass,...args){if(!htmlElement||!htmlElement.ownerDocument||!htmlElement.ownerDocument.defaultView)throw new ErrorClass(htmlElement,...args)}function checkHtmlElement(htmlElement,...args){checkHasWindow(htmlElement,HtmlElementTypeError,...args);let window2=htmlElement.ownerDocument.defaultView;if(!(htmlElement instanceof window2.HTMLElement||htmlElement instanceof window2.SVGElement))throw new HtmlElementTypeError(htmlElement,...args)}var InvalidCSSError=class extends Error{constructor(received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn),this.message=[received.message,"",context.utils.RECEIVED_COLOR("Failing css:"),context.utils.RECEIVED_COLOR(`${received.css}`)].join("\n")}};function display(context,value){return"string"==typeof value?value:context.utils.stringify(value)}function getMessage(context,matcher,expectedLabel,expectedValue,receivedLabel,receivedValue){return[`${matcher}\n`,`${expectedLabel}:\n${context.utils.EXPECTED_COLOR((0,import_redent.default)(display(context,expectedValue),2))}`,`${receivedLabel}:\n${context.utils.RECEIVED_COLOR((0,import_redent.default)(display(context,receivedValue),2))}`].join("\n")}function deprecate(name,replacementText){console.warn(`Warning: ${name} has been deprecated and will be removed in future updates.`,replacementText)}function normalize(text){return text.replace(/\s+/g," ").trim()}function getTag(element){return element.tagName&&element.tagName.toLowerCase()}function getSingleElementValue(element){if(element)switch(element.tagName.toLowerCase()){case"input":return function getInputValue(inputElement){switch(inputElement.type){case"number":return""===inputElement.value?null:Number(inputElement.value);case"checkbox":return inputElement.checked;default:return inputElement.value}}(element);case"select":return function getSelectValue({multiple,options}){let selectedOptions=[...options].filter((option=>option.selected));return multiple?[...selectedOptions].map((opt=>opt.value)):0!==selectedOptions.length?selectedOptions[0].value:void 0}(element);default:return element.value}}function compareArraysAsSet(a,b2){if(Array.isArray(a)&&Array.isArray(b2))return(0,import_isEqual.default)(new Set(a),new Set(b2))}function toBeInTheDOM(element,container){return deprecate("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),element&&checkHtmlElement(element,toBeInTheDOM,this),container&&checkHtmlElement(container,toBeInTheDOM,this),{pass:container?container.contains(element):!!element,message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toBeInTheDOM","element",""),"","Received:",` ${this.utils.printReceived(element&&element.cloneNode(!1))}`].join("\n")}}function toBeInTheDocument(element){(null!==element||!this.isNot)&&checkHtmlElement(element,toBeInTheDocument,this);let pass=null!==element&&element.ownerDocument===element.getRootNode({composed:!0}),errorFound=()=>`expected document not to contain element, found ${this.utils.stringify(element.cloneNode(!0))} instead`;return{pass,message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toBeInTheDocument","element",""),"",this.utils.RECEIVED_COLOR(this.isNot?errorFound():"element could not be found in the document")].join("\n")}}function toBeEmpty(element){return deprecate("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),checkHtmlElement(element,toBeEmpty,this),{pass:""===element.innerHTML,message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toBeEmpty","element",""),"","Received:",` ${this.utils.printReceived(element.innerHTML)}`].join("\n")}}function toBeEmptyDOMElement(element){return checkHtmlElement(element,toBeEmptyDOMElement,this),{pass:isEmptyElement(element),message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toBeEmptyDOMElement","element",""),"","Received:",` ${this.utils.printReceived(element.innerHTML)}`].join("\n")}}function isEmptyElement(element){return 0===[...element.childNodes].filter((node=>8!==node.nodeType)).length}function toContainElement(container,element){return checkHtmlElement(container,toContainElement,this),null!==element&&checkHtmlElement(element,toContainElement,this),{pass:container.contains(element),message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toContainElement","element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(container.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(element&&element.cloneNode(!1))}\n `)].join("\n")}}function getNormalizedHtml(container,htmlText){let div=container.ownerDocument.createElement("div");return div.innerHTML=htmlText,div.innerHTML}function toContainHTML(container,htmlText){if(checkHtmlElement(container,toContainHTML,this),"string"!=typeof htmlText)throw new Error(`.toContainHTML() expects a string value, got ${htmlText}`);return{pass:container.outerHTML.includes(getNormalizedHtml(container,htmlText)),message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toContainHTML","element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(htmlText)}`,"Received:",` ${this.utils.printReceived(container.cloneNode(!0))}`].join("\n")}}function toHaveTextContent(node,checkWith,options={normalizeWhitespace:!0}){!function checkNode(node,...args){if(checkHasWindow(node,NodeTypeError,...args),!(node instanceof node.ownerDocument.defaultView.Node))throw new NodeTypeError(node,...args)}(node,toHaveTextContent,this);let textContent=options.normalizeWhitespace?normalize(node.textContent):node.textContent.replace(/\u00a0/g," "),checkingWithEmptyString=""!==textContent&&""===checkWith;return{pass:!checkingWithEmptyString&&(textToMatch=textContent,matcher=checkWith,matcher instanceof RegExp?matcher.test(textToMatch):textToMatch.includes(String(matcher))),message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveTextContent","element",""),checkingWithEmptyString?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${to} have text content`,checkWith,"Received",textContent)}};var textToMatch,matcher}function toHaveAccessibleDescription(htmlElement,expectedAccessibleDescription){checkHtmlElement(htmlElement,toHaveAccessibleDescription,this);let actualAccessibleDescription=function computeAccessibleDescription(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},description=queryIdRefs(root,"aria-describedby").map((function(element){return computeTextAlternative(element,_objectSpread(_objectSpread({},options),{},{compute:"description"}))})).join(" ");if(""===description){var ariaDescription=root.getAttribute("aria-description");description=null===ariaDescription?"":ariaDescription}if(""===description){var title=root.getAttribute("title");description=null===title?"":title}return description}(htmlElement),pass=!1;return pass=1===arguments.length?""!==actualAccessibleDescription:expectedAccessibleDescription instanceof RegExp?expectedAccessibleDescription.test(actualAccessibleDescription):this.equals(actualAccessibleDescription,expectedAccessibleDescription),{pass,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint(`${this.isNot?".not":""}.${toHaveAccessibleDescription.name}`,"element",""),`Expected element ${to} have accessible description`,expectedAccessibleDescription,"Received",actualAccessibleDescription)}}}var ariaInvalidName="aria-invalid",validStates=["false"];function toHaveAccessibleErrorMessage(htmlElement,expectedAccessibleErrorMessage){checkHtmlElement(htmlElement,toHaveAccessibleErrorMessage,this);let to=this.isNot?"not to":"to",method=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",errormessageId=htmlElement.getAttribute("aria-errormessage");if(errormessageId&&/\s+/.test(errormessageId))return{pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${errormessageId}"`)};let ariaInvalidVal=htmlElement.getAttribute(ariaInvalidName);if(!htmlElement.hasAttribute(ariaInvalidName)||validStates.includes(ariaInvalidVal))return{pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,"element"),"Expected element to be marked as invalid with attribute",`${ariaInvalidName}="${String(!0)}"`,"Received",htmlElement.hasAttribute("aria-invalid")?`${ariaInvalidName}="${htmlElement.getAttribute(ariaInvalidName)}`:null)};let error=normalize(htmlElement.ownerDocument.getElementById(errormessageId)?.textContent??"");return{pass:void 0===expectedAccessibleErrorMessage?!!error:expectedAccessibleErrorMessage instanceof RegExp?expectedAccessibleErrorMessage.test(error):this.equals(error,expectedAccessibleErrorMessage),message:()=>getMessage(this,this.utils.matcherHint(method,"element"),`Expected element ${to} have accessible error message`,expectedAccessibleErrorMessage??"","Received",error)}}var elementRoleList=function buildElementRoleList(elementRolesMap){function getSelectorSpecificity({attributes=[]}){return attributes.length}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex((attribute=>attribute.value&&"type"===attribute.name&&"text"===attribute.value));typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=function makeElementSelector({name,attributes}){return`${name}${attributes.map((({name:attributeName,value,constraints=[]})=>-1!==constraints.indexOf("undefined")?`:not([${attributeName}])`:value?`[${attributeName}="${value}"]`:`[${attributeName}]`)).join("")}`}({...element,attributes});return node=>!(typeTextIndex>=0&&"text"!==node.type)&&node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort((function bySelectorSpecificity({specificity:leftSpecificity},{specificity:rightSpecificity}){return rightSpecificity-leftSpecificity}))}(import_aria_query.elementRoles);function toHaveRole(htmlElement,expectedRole){checkHtmlElement(htmlElement,toHaveRole,this);let actualRoles=function getExplicitOrImplicitRoles(htmlElement){return htmlElement.hasAttribute("role")?htmlElement.getAttribute("role").split(" ").filter(Boolean):function getImplicitAriaRoles(currentNode){for(let{match,roles:roles3}of elementRoleList)if(match(currentNode))return[...roles3];return[]}(htmlElement)}(htmlElement);return{pass:actualRoles.some((el=>el===expectedRole)),message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint(`${this.isNot?".not":""}.${toHaveRole.name}`,"element",""),`Expected element ${to} have role`,expectedRole,"Received",actualRoles.join(", "))}}}function toHaveAccessibleName(htmlElement,expectedAccessibleName){checkHtmlElement(htmlElement,toHaveAccessibleName,this);let actualAccessibleName=computeAccessibleName(htmlElement),pass=!1;return pass=1===arguments.length?""!==actualAccessibleName:expectedAccessibleName instanceof RegExp?expectedAccessibleName.test(actualAccessibleName):this.equals(actualAccessibleName,expectedAccessibleName),{pass,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint(`${this.isNot?".not":""}.${toHaveAccessibleName.name}`,"element",""),`Expected element ${to} have accessible name`,expectedAccessibleName,"Received",actualAccessibleName)}}}function printAttribute(stringify2,name,value){return void 0===value?name:`${name}=${stringify2(value)}`}function getAttributeComment(stringify2,name,value){return void 0===value?`element.hasAttribute(${stringify2(name)})`:`element.getAttribute(${stringify2(name)}) === ${stringify2(value)}`}function toHaveAttribute(htmlElement,name,expectedValue){checkHtmlElement(htmlElement,toHaveAttribute,this);let isExpectedValuePresent=void 0!==expectedValue,hasAttribute=htmlElement.hasAttribute(name),receivedValue=htmlElement.getAttribute(name);return{pass:isExpectedValuePresent?hasAttribute&&this.equals(receivedValue,expectedValue):hasAttribute,message:()=>{let to=this.isNot?"not to":"to",receivedAttribute=hasAttribute?printAttribute(this.utils.stringify,name,receivedValue):null;return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveAttribute","element",this.utils.printExpected(name),{secondArgument:isExpectedValuePresent?this.utils.printExpected(expectedValue):void 0,comment:getAttributeComment(this.utils.stringify,name,expectedValue)}),`Expected the element ${to} have attribute`,printAttribute(this.utils.stringify,name,expectedValue),"Received",receivedAttribute)}}}function splitClassNames(str){return str?str.split(/\s+/).filter((s=>s.length>0)):[]}function isSubset$1(subset,superset){return subset.every((strOrRegexp=>"string"==typeof strOrRegexp?superset.includes(strOrRegexp):superset.some((className=>strOrRegexp.test(className)))))}function toHaveClass(htmlElement,...params){checkHtmlElement(htmlElement,toHaveClass,this);let{expectedClassNames,options}=function getExpectedClassNamesAndOptions(params){let expectedClassNames,options,lastParam=params.pop();return"object"!=typeof lastParam||lastParam instanceof RegExp?(expectedClassNames=params.concat(lastParam),options={exact:!1}):(expectedClassNames=params,options=lastParam),{expectedClassNames,options}}(params),received=splitClassNames(htmlElement.getAttribute("class")),expected=expectedClassNames.reduce(((acc,className)=>acc.concat("string"!=typeof className&&className?className:splitClassNames(className))),[]),hasRegExp=expected.some((className=>className instanceof RegExp));if(options.exact&&hasRegExp)throw new Error("Exact option does not support RegExp expected class names");return options.exact?{pass:isSubset$1(expected,received)&&expected.length===received.length,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveClass","element",this.utils.printExpected(expected.join(" "))),`Expected the element ${to} have EXACTLY defined classes`,expected.join(" "),"Received",received.join(" "))}}:expected.length>0?{pass:isSubset$1(expected,received),message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveClass","element",this.utils.printExpected(expected.join(" "))),`Expected the element ${to} have class`,expected.join(" "),"Received",received.join(" "))}}:{pass:!!this.isNot&&received.length>0,message:()=>this.isNot?getMessage(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",received.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join("\n")}}function printoutStyles(styles){return Object.keys(styles).sort().map((prop=>`${prop}: ${styles[prop]};`)).join("\n")}function expectedDiff(diffFn,expected,computedStyles){let received=Array.from(computedStyles).filter((prop=>void 0!==expected[prop])).reduce(((obj,prop)=>Object.assign(obj,{[prop]:computedStyles.getPropertyValue(prop)})),{});return diffFn(printoutStyles(expected),printoutStyles(received)).replace(`${import_chalk.default.red("+ Received")}\n`,"")}function toHaveStyle(htmlElement,css){checkHtmlElement(htmlElement,toHaveStyle,this);let parsedCSS="object"==typeof css?css:function parseCSS(css,...args){let ast=$149c1bd638913645$export$98e6a39c04603d36(`selector { ${css} }`,{silent:!0}).stylesheet;if(ast.parsingErrors&&ast.parsingErrors.length>0){let{reason,line}=ast.parsingErrors[0];throw new InvalidCSSError({css,message:`Syntax error parsing expected css: ${reason} on line: ${line}`},...args)}return ast.rules[0].declarations.filter((d2=>"declaration"===d2.type)).reduce(((obj,{property,value})=>Object.assign(obj,{[property]:value})),{})}(css,toHaveStyle,this),{getComputedStyle}=htmlElement.ownerDocument.defaultView,expected=function getStyleDeclaration(document2,css){let styles={},copy3=document2.createElement("div");return Object.keys(css).forEach((property=>{copy3.style[property]=css[property],styles[property]=copy3.style[property]})),styles}(htmlElement.ownerDocument,parsedCSS),received=getComputedStyle(htmlElement);return{pass:(styles=expected,computedStyle=received,!!Object.keys(styles).length&&Object.entries(styles).every((([prop,value])=>{let isCustomProperty=prop.startsWith("--"),spellingVariants=[prop];return isCustomProperty||spellingVariants.push(prop.toLowerCase()),spellingVariants.some((name=>computedStyle[name]===value||computedStyle.getPropertyValue(name)===value))}))),message:()=>{let matcher=(this.isNot?".not":"")+".toHaveStyle";return[this.utils.matcherHint(matcher,"element",""),expectedDiff(this.utils.diff,expected,received)].join("\n\n")}};var styles,computedStyle}function toHaveFocus(element){return checkHtmlElement(element,toHaveFocus,this),{pass:element.ownerDocument.activeElement===element,message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toHaveFocus","element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(element)}`]:["Expected element with focus:",` ${this.utils.printExpected(element)}`,"Received element with focus:",` ${this.utils.printReceived(element.ownerDocument.activeElement)}`]].join("\n")}}function getFormValue(container,name){let elements=[...container.querySelectorAll(`[name="${(0,import_css.default)(name)}"]`)];if(0!==elements.length){if(1===elements.length)return getSingleElementValue(elements[0]);return function getMultiElementValue(elements){let types=(0,import_uniq.default)(elements.map((element=>element.type)));if(1!==types.length)throw new Error("Multiple form elements with the same name must be of the same type");switch(types[0]){case"radio":{let theChosenOne=elements.find((radio=>radio.checked));return theChosenOne?theChosenOne.value:void 0}case"checkbox":return elements.filter((checkbox=>checkbox.checked)).map((checkbox=>checkbox.value));default:return elements.map((element=>element.value))}}(elements)}}function getPureName(name){return/\[\]$/.test(name)?name.slice(0,-2):name}function toHaveFormValues(formElement,expectedValues){if(checkHtmlElement(formElement,toHaveFormValues,this),!formElement.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let formValues=function getAllFormValues(container){return Array.from(container.elements).map((element=>element.name)).reduce(((obj,name)=>({...obj,[getPureName(name)]:getFormValue(container,name)})),{})}(formElement);return{pass:Object.entries(expectedValues).every((([name,expectedValue])=>(0,import_isEqualWith.default)(formValues[name],expectedValue,compareArraysAsSet))),message:()=>{let to=this.isNot?"not to":"to",matcher=(this.isNot?".not":"")+".toHaveFormValues",commonKeyValues=Object.keys(formValues).filter((key=>expectedValues.hasOwnProperty(key))).reduce(((obj,key)=>({...obj,[key]:formValues[key]})),{});return[this.utils.matcherHint(matcher,"element",""),`Expected the element ${to} have form values`,this.utils.diff(expectedValues,commonKeyValues)].join("\n\n")}}}function isElementVisible(element,previousElement){return function isStyleVisible(element){let{getComputedStyle}=element.ownerDocument.defaultView,{display:display2,visibility,opacity}=getComputedStyle(element);return"none"!==display2&&"hidden"!==visibility&&"collapse"!==visibility&&"0"!==opacity&&0!==opacity}(element)&&function isAttributeVisible(element,previousElement){let detailsVisibility;return detailsVisibility=previousElement?"DETAILS"!==element.nodeName||"SUMMARY"===previousElement.nodeName||element.hasAttribute("open"):"DETAILS"!==element.nodeName||element.hasAttribute("open"),!element.hasAttribute("hidden")&&detailsVisibility}(element,previousElement)&&(!element.parentElement||isElementVisible(element.parentElement,element))}function toBeVisible(element){checkHtmlElement(element,toBeVisible,this);let isInDocument=element.ownerDocument===element.getRootNode({composed:!0}),isVisible2=isInDocument&&isElementVisible(element);return{pass:isVisible2,message:()=>{let is=isVisible2?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeVisible","element",""),"",`Received element ${is} visible${isInDocument?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}var FORM_TAGS$2=["fieldset","input","select","optgroup","option","button","textarea"];function isElementDisabledByParent(element,parent){return isElementDisabled(parent)&&!function isFirstLegendChildOfFieldset(element,parent){return"legend"===getTag(element)&&"fieldset"===getTag(parent)&&element.isSameNode(Array.from(parent.children).find((child=>"legend"===getTag(child))))}(element,parent)}function canElementBeDisabled(element){let tag=getTag(element);return FORM_TAGS$2.includes(tag)||function isCustomElement(tag){return tag.includes("-")}(tag)}function isElementDisabled(element){return canElementBeDisabled(element)&&element.hasAttribute("disabled")}function isAncestorDisabled(element){let parent=element.parentElement;return!!parent&&(isElementDisabledByParent(element,parent)||isAncestorDisabled(parent))}function isElementOrAncestorDisabled(element){return canElementBeDisabled(element)&&(isElementDisabled(element)||isAncestorDisabled(element))}function toBeDisabled(element){checkHtmlElement(element,toBeDisabled,this);let isDisabled3=isElementOrAncestorDisabled(element);return{pass:isDisabled3,message:()=>{let is=isDisabled3?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeDisabled","element",""),"",`Received element ${is} disabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function toBeEnabled(element){checkHtmlElement(element,toBeEnabled,this);let isEnabled=!isElementOrAncestorDisabled(element);return{pass:isEnabled,message:()=>{let is=isEnabled?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeEnabled","element",""),"",`Received element ${is} enabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}var FORM_TAGS$1=["select","textarea"],ARIA_FORM_TAGS=["input","select","textarea"],UNSUPPORTED_INPUT_TYPES=["color","hidden","range","submit","image","reset"],SUPPORTED_ARIA_ROLES=["combobox","gridcell","radiogroup","spinbutton","tree"];function toBeRequired(element){checkHtmlElement(element,toBeRequired,this);let isRequired=function isRequiredOnFormTagsExceptInput(element){return FORM_TAGS$1.includes(getTag(element))&&element.hasAttribute("required")}(element)||function isRequiredOnSupportedInput(element){return"input"===getTag(element)&&element.hasAttribute("required")&&(element.hasAttribute("type")&&!UNSUPPORTED_INPUT_TYPES.includes(element.getAttribute("type"))||!element.hasAttribute("type"))}(element)||function isElementRequiredByARIA(element){return element.hasAttribute("aria-required")&&"true"===element.getAttribute("aria-required")&&(ARIA_FORM_TAGS.includes(getTag(element))||element.hasAttribute("role")&&SUPPORTED_ARIA_ROLES.includes(element.getAttribute("role")))}(element);return{pass:isRequired,message:()=>{let is=isRequired?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeRequired","element",""),"",`Received element ${is} required:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}var FORM_TAGS=["form","input","select","textarea"];function isElementInvalid(element){let isHaveAriaInvalid=function isElementHavingAriaInvalid(element){return element.hasAttribute("aria-invalid")&&"false"!==element.getAttribute("aria-invalid")}(element);return function isSupportsValidityMethod(element){return FORM_TAGS.includes(getTag(element))}(element)?isHaveAriaInvalid||!element.checkValidity():isHaveAriaInvalid}function toBeInvalid(element){checkHtmlElement(element,toBeInvalid,this);let isInvalid=isElementInvalid(element);return{pass:isInvalid,message:()=>{let is=isInvalid?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeInvalid","element",""),"",`Received element ${is} currently invalid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function toBeValid(element){checkHtmlElement(element,toBeValid,this);let isValid=!isElementInvalid(element);return{pass:isValid,message:()=>{let is=isValid?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeValid","element",""),"",`Received element ${is} currently valid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function toHaveValue(htmlElement,expectedValue){if(checkHtmlElement(htmlElement,toHaveValue,this),"input"===htmlElement.tagName.toLowerCase()&&["checkbox","radio"].includes(htmlElement.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let receivedValue=getSingleElementValue(htmlElement),expectsValue=void 0!==expectedValue,expectedTypedValue=expectedValue,receivedTypedValue=receivedValue;return expectedValue==receivedValue&&expectedValue!==receivedValue&&(expectedTypedValue=`${expectedValue} (${typeof expectedValue})`,receivedTypedValue=`${receivedValue} (${typeof receivedValue})`),{pass:expectsValue?(0,import_isEqualWith.default)(receivedValue,expectedValue,compareArraysAsSet):!!receivedValue,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveValue","element",expectedValue),`Expected the element ${to} have value`,expectsValue?expectedTypedValue:"(any)","Received",receivedTypedValue)}}}function toHaveDisplayValue(htmlElement,expectedValue){checkHtmlElement(htmlElement,toHaveDisplayValue,this);let tagName=htmlElement.tagName.toLowerCase();if(!["select","input","textarea"].includes(tagName))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if("input"===tagName&&["radio","checkbox"].includes(htmlElement.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${htmlElement.type}"], try with another matcher instead.`);let values=function getValues(tagName,htmlElement){return"select"===tagName?Array.from(htmlElement).filter((option=>option.selected)).map((option=>option.textContent)):[htmlElement.value]}(tagName,htmlElement),expectedValues=function getExpectedValues(expectedValue){return expectedValue instanceof Array?expectedValue:[expectedValue]}(expectedValue),numberOfMatchesWithValues=expectedValues.filter((expected=>values.some((value=>expected instanceof RegExp?expected.test(value):this.equals(value,String(expected)))))).length,matchedWithAllValues=numberOfMatchesWithValues===values.length,matchedWithAllExpectedValues=numberOfMatchesWithValues===expectedValues.length;return{pass:matchedWithAllValues&&matchedWithAllExpectedValues,message:()=>getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveDisplayValue","element",""),`Expected element ${this.isNot?"not ":""}to have display value`,expectedValue,"Received",values)}}function toBeChecked(element){checkHtmlElement(element,toBeChecked,this);let isValidInput=()=>"input"===element.tagName.toLowerCase()&&["checkbox","radio"].includes(element.type);if(!(isValidInput()||roleSupportsChecked(element.getAttribute("role"))&&["true","false"].includes(element.getAttribute("aria-checked"))))return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${function supportedRolesSentence(){return function toSentence(array,{wordConnector=", ",lastWordConnector=" and "}={}){return[array.slice(0,-1).join(wordConnector),array[array.length-1]].join(array.length>1?lastWordConnector:"")}(function supportedRoles(){return import_aria_query.roles.keys().filter(roleSupportsChecked)}().map((role=>`role="${role}"`)),{lastWordConnector:" or "})}()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let isChecked=()=>isValidInput()?element.checked:"true"===element.getAttribute("aria-checked");return{pass:isChecked(),message:()=>{let is=isChecked()?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeChecked","element",""),"",`Received element ${is} checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function roleSupportsChecked(role){return void 0!==import_aria_query.roles.get(role)?.props["aria-checked"]}function toBePartiallyChecked(element){checkHtmlElement(element,toBePartiallyChecked,this);let isValidInput=()=>"input"===element.tagName.toLowerCase()&&"checkbox"===element.type;if(!isValidInput()&&"checkbox"!==element.getAttribute("role"))return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let isPartiallyChecked=()=>{let isAriaMixed="mixed"===element.getAttribute("aria-checked");return isValidInput()&&element.indeterminate||isAriaMixed};return{pass:isPartiallyChecked(),message:()=>{let is=isPartiallyChecked()?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBePartiallyChecked","element",""),"",`Received element ${is} partially checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function toHaveDescription(htmlElement,checkWith){deprecate("toHaveDescription","Please use toHaveAccessibleDescription."),checkHtmlElement(htmlElement,toHaveDescription,this);let expectsDescription=void 0!==checkWith,descriptionIDs=(htmlElement.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),description="";if(descriptionIDs.length>0){let document2=htmlElement.ownerDocument,descriptionEls=descriptionIDs.map((descriptionID=>document2.getElementById(descriptionID))).filter(Boolean);description=normalize(descriptionEls.map((el=>el.textContent)).join(" "))}return{pass:expectsDescription?checkWith instanceof RegExp?checkWith.test(description):this.equals(description,checkWith):!!description,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveDescription","element",""),`Expected the element ${to} have description`,this.utils.printExpected(checkWith),"Received",this.utils.printReceived(description))}}}function toHaveErrorMessage(htmlElement,checkWith){if(deprecate("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),checkHtmlElement(htmlElement,toHaveErrorMessage,this),!htmlElement.hasAttribute("aria-invalid")||"false"===htmlElement.getAttribute("aria-invalid")){let not=this.isNot?".not":"";return{pass:!1,message:()=>getMessage(this,this.utils.matcherHint(`${not}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",htmlElement.hasAttribute("aria-invalid")?`aria-invalid="${htmlElement.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let expectsErrorMessage=void 0!==checkWith,errormessageIDs=(htmlElement.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),errormessage="";if(errormessageIDs.length>0){let document2=htmlElement.ownerDocument,errormessageEls=errormessageIDs.map((errormessageID=>document2.getElementById(errormessageID))).filter(Boolean);errormessage=normalize(errormessageEls.map((el=>el.textContent)).join(" "))}return{pass:expectsErrorMessage?checkWith instanceof RegExp?checkWith.test(errormessage):this.equals(errormessage,checkWith):!!errormessage,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveErrorMessage","element",""),`Expected the element ${to} have error message`,this.utils.printExpected(checkWith),"Received",this.utils.printReceived(errormessage))}}}__toESM(require_redent(),1),__toESM(require_isEqual(),1),__toESM(require_lib(),1),__toESM(require_source(),1),__toESM(require_isEqualWith(),1),__toESM(require_uniq(),1),__toESM(require_css_escape(),1);var expect2=function createExpect(){use(JestExtend),use(JestChaiExpect),use(JestAsymmetricMatchers);let expect4=(value,message)=>{let{assertionCalls}=getState(expect4);return setState({assertionCalls:assertionCalls+1,soft:!1},expect4),expect(value,message)};return Object.assign(expect4,expect),expect4.getState=()=>getState(expect4),expect4.setState=state=>setState(state,expect4),expect4.extend=expects=>expect.extend(expect4,expects),expect4.soft=(...args)=>{let assert2=expect4(...args);return expect4.setState({soft:!0}),assert2},expect4.unreachable=message=>{assert.fail(`expected${message?` "${message}" `:" "}not to be reached`)},setState({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},expect4),util.addMethod(expect4,"assertions",(function assertions(expected){let errorGen=()=>new Error(`expected number of assertions to be ${expected}, but got ${expect4.getState().assertionCalls}`);"captureStackTrace"in Error&&"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(errorGen(),assertions),expect4.setState({expectedAssertionsNumber:expected,expectedAssertionsNumberErrorGen:errorGen})})),util.addMethod(expect4,"hasAssertions",(function hasAssertions(){let error=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(error,hasAssertions),expect4.setState({isExpectingAssertions:!0,isExpectingAssertionsError:error})})),expect4.extend(matchers_exports),expect4}();Object.defineProperty(globalThis,GLOBAL_EXPECT,{value:expect2,writable:!0,configurable:!0});var listeners=new Set;var fn2=implementation=>reactiveMock(implementation?fn(implementation):fn());function reactiveMock(mock){let reactive=listenWhenCalled(mock),originalMockImplementation=reactive.mockImplementation.bind(null);return reactive.mockImplementation=fn3=>listenWhenCalled(originalMockImplementation(fn3)),reactive}function listenWhenCalled(mock){let state=v(mock),impl=state.impl?.bind(null);return state.willCall(((...args)=>(listeners.forEach((listener=>listener(mock,args))),impl?.(...args)))),mock}var dom_esm_exports={};__export(dom_esm_exports,{buildQueries:()=>buildQueries,configure:()=>configure,createEvent:()=>createEvent,findAllByAltText:()=>findAllByAltText,findAllByDisplayValue:()=>findAllByDisplayValue,findAllByLabelText:()=>findAllByLabelText,findAllByPlaceholderText:()=>findAllByPlaceholderText,findAllByRole:()=>findAllByRole,findAllByTestId:()=>findAllByTestId,findAllByText:()=>findAllByText,findAllByTitle:()=>findAllByTitle,findByAltText:()=>findByAltText,findByDisplayValue:()=>findByDisplayValue,findByLabelText:()=>findByLabelText,findByPlaceholderText:()=>findByPlaceholderText,findByRole:()=>findByRole,findByTestId:()=>findByTestId,findByText:()=>findByText,findByTitle:()=>findByTitle,fireEvent:()=>fireEvent,getAllByAltText:()=>getAllByAltText,getAllByDisplayValue:()=>getAllByDisplayValue,getAllByLabelText:()=>getAllByLabelTextWithSuggestions,getAllByPlaceholderText:()=>getAllByPlaceholderText,getAllByRole:()=>getAllByRole,getAllByTestId:()=>getAllByTestId,getAllByText:()=>getAllByText,getAllByTitle:()=>getAllByTitle,getByAltText:()=>getByAltText,getByDisplayValue:()=>getByDisplayValue,getByLabelText:()=>getByLabelTextWithSuggestions,getByPlaceholderText:()=>getByPlaceholderText,getByRole:()=>getByRole,getByTestId:()=>getByTestId,getByText:()=>getByText,getByTitle:()=>getByTitle,getConfig:()=>getConfig,getDefaultNormalizer:()=>getDefaultNormalizer,getElementError:()=>getElementError,getMultipleElementsFoundError:()=>getMultipleElementsFoundError,getNodeText:()=>getNodeText,getQueriesForElement:()=>getQueriesForElement,getRoles:()=>getRoles,getSuggestedQuery:()=>getSuggestedQuery,isInaccessible:()=>isInaccessible,logDOM:()=>logDOM,logRoles:()=>logRoles,makeFindQuery:()=>makeFindQuery,makeGetAllQuery:()=>makeGetAllQuery,makeSingleQuery:()=>makeSingleQuery,prettyDOM:()=>prettyDOM,prettyFormat:()=>prettyFormat,queries:()=>queries,queryAllByAltText:()=>queryAllByAltTextWithSuggestions,queryAllByAttribute:()=>queryAllByAttribute,queryAllByDisplayValue:()=>queryAllByDisplayValueWithSuggestions,queryAllByLabelText:()=>queryAllByLabelTextWithSuggestions,queryAllByPlaceholderText:()=>queryAllByPlaceholderTextWithSuggestions,queryAllByRole:()=>queryAllByRoleWithSuggestions,queryAllByTestId:()=>queryAllByTestIdWithSuggestions,queryAllByText:()=>queryAllByTextWithSuggestions,queryAllByTitle:()=>queryAllByTitleWithSuggestions,queryByAltText:()=>queryByAltText,queryByAttribute:()=>queryByAttribute,queryByDisplayValue:()=>queryByDisplayValue,queryByLabelText:()=>queryByLabelText,queryByPlaceholderText:()=>queryByPlaceholderText,queryByRole:()=>queryByRole,queryByTestId:()=>queryByTestId,queryByText:()=>queryByText,queryByTitle:()=>queryByTitle,queryHelpers:()=>queryHelpers,screen:()=>screen,waitFor:()=>waitForWrapper,waitForElementToBeRemoved:()=>waitForElementToBeRemoved,within:()=>getQueriesForElement,wrapAllByQueryWithSuggestion:()=>wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion:()=>wrapSingleQueryWithSuggestion});var prettyFormat=__toESM(require_build3()),toStr2=Object.prototype.toString;function isCallable2(fn3){return"function"==typeof fn3||"[object Function]"===toStr2.call(fn3)}var maxSafeInteger2=Math.pow(2,53)-1;function toLength2(value){var len=function toInteger2(value){var number=Number(value);return isNaN(number)?0:0!==number&&isFinite(number)?(number>0?1:-1)*Math.floor(Math.abs(number)):number}(value);return Math.min(Math.max(len,0),maxSafeInteger2)}function arrayFrom2(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(null==arrayLike)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof mapFn<"u"&&!isCallable2(mapFn))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var kValue,len=toLength2(items.length),A=isCallable2(C2)?Object(new C2(len)):new Array(len),k=0;k0&&void 0!==arguments[0]?arguments[0]:[];(function _classCallCheck2(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")})(this,SetLike3),function _defineProperty3(obj,key,value){return(key=_toPropertyKey3(key))in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(this,"items",void 0),this.items=items}return function _createClass2(Constructor,protoProps,staticProps){return protoProps&&_defineProperties2(Constructor.prototype,protoProps),staticProps&&_defineProperties2(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(SetLike3,[{key:"add",value:function(value){return!1===this.has(value)&&this.items.push(value),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter((function(item){return item!==value})),previousLength!==this.items.length}},{key:"forEach",value:function(callbackfn){var _this=this;this.items.forEach((function(item){callbackfn(item,item,_this)}))}},{key:"has",value:function(value){return-1!==this.items.indexOf(value)}},{key:"size",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default2=typeof Set>"u"?Set:SetLike2;function getLocalName2(element){var _element$localName;return null!==(_element$localName=element.localName)&&void 0!==_element$localName?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings2={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},prohibitedAttributes2={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function ignorePresentationalRole2(element,implicitRole){return function hasGlobalAriaAttributes2(element,role){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some((function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!(null!==(_prohibitedAttributes=prohibitedAttributes2[role])&&void 0!==_prohibitedAttributes&&_prohibitedAttributes.has(attributeName))}))}(element,implicitRole)}function getRole2(element){var explicitRole=function getExplicitRole2(element){var role=element.getAttribute("role");if(null!==role){var explicitRole=role.trim().split(" ")[0];if(explicitRole.length>0)return explicitRole}return null}(element);if(null===explicitRole||"presentation"===explicitRole){var implicitRole=function getImplicitRole2(element){var mappedByTag=localNameToRoleMappings2[getLocalName2(element)];if(void 0!==mappedByTag)return mappedByTag;switch(getLocalName2(element)){case"a":case"area":case"link":if(element.hasAttribute("href"))return"link";break;case"img":return""!==element.getAttribute("alt")||ignorePresentationalRole2(element,"img")?"img":"presentation";case"input":var type3=element.type;switch(type3){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return type3;case"range":return"slider";case"email":case"tel":case"text":case"url":return element.hasAttribute("list")?"combobox":"textbox";case"search":return element.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}case"select":return element.hasAttribute("multiple")||element.size>1?"listbox":"combobox"}return null}(element);if("presentation"!==explicitRole||ignorePresentationalRole2(element,implicitRole||""))return implicitRole}return explicitRole}function isElement2(node){return null!==node&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement2(node){return isElement2(node)&&"caption"===getLocalName2(node)}function isHTMLInputElement2(node){return isElement2(node)&&"input"===getLocalName2(node)}function isHTMLLegendElement2(node){return isElement2(node)&&"legend"===getLocalName2(node)}function isSVGTitleElement2(node){return function isSVGElement2(node){return isElement2(node)&&void 0!==node.ownerSVGElement}(node)&&"title"===getLocalName2(node)}function queryIdRefs2(node,attributeName){if(isElement2(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(" "),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map((function(id){return root.getElementById(id)})).filter((function(element){return null!==element}))}return[]}function hasAnyConcreteRoles2(node,roles3){return!!isElement2(node)&&-1!==roles3.indexOf(getRole2(node))}function hasAbstractRole2(node,role){if(!isElement2(node))return!1;if("range"===role)return hasAnyConcreteRoles2(node,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(role,"'. This is likely a bug :("))}function querySelectorAllSubtree2(element,selectors){var elements=arrayFrom2(element.querySelectorAll(selectors));return queryIdRefs2(element,"aria-owns").forEach((function(root){elements.push.apply(elements,arrayFrom2(root.querySelectorAll(selectors)))})),elements}function querySelectedOptions2(listbox){return function isHTMLSelectElement2(node){return isElement2(node)&&"select"===getLocalName2(node)}(listbox)?listbox.selectedOptions||querySelectorAllSubtree2(listbox,"[selected]"):querySelectorAllSubtree2(listbox,'[aria-selected="true"]')}function getValueOfTextbox2(element){return isHTMLInputElement2(element)||function isHTMLTextAreaElement2(node){return isElement2(node)&&"textarea"===getLocalName2(node)}(element)?element.value:element.textContent||""}function getTextualContent2(declaration){var content=declaration.getPropertyValue("content");return/^["'].*["']$/.test(content)?content.slice(1,-1):""}function isLabelableElement2(element){var localName=getLocalName2(element);return"button"===localName||"input"===localName&&"hidden"!==element.getAttribute("type")||"meter"===localName||"output"===localName||"progress"===localName||"select"===localName||"textarea"===localName}function findLabelableElement2(element){if(isLabelableElement2(element))return element;var labelableElement=null;return element.childNodes.forEach((function(childNode){if(null===labelableElement&&isElement2(childNode)){var descendantLabelableElement=findLabelableElement2(childNode);null!==descendantLabelableElement&&(labelableElement=descendantLabelableElement)}})),labelableElement}function getControlOfLabel2(label){if(void 0!==label.control)return label.control;var htmlFor=label.getAttribute("for");return null!==htmlFor?label.ownerDocument.getElementById(htmlFor):findLabelableElement2(label)}function computeTextAlternative2(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},consultedNodes=new SetLike_default2,window2=function safeWindow2(node){var defaultView=(null===node.ownerDocument?node:node.ownerDocument).defaultView;if(null===defaultView)throw new TypeError("no window available");return defaultView}(root),_options$compute=options.compute,compute=void 0===_options$compute?"name":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=void 0===_options$computedStyl?void 0!==options.getComputedStyle:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=void 0===_options$getComputedS?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=void 0!==_options$hidden&&_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText="";if(isElement2(node)&&computedStyleSupportsPseudoElements){var beforeContent=getTextualContent2(getComputedStyle(node,"::before"));accumulatedText="".concat(beforeContent," ").concat(accumulatedText)}if((function isHTMLSlotElement2(node){return isElement2(node)&&"slot"===getLocalName2(node)}(node)?function getSlotContents2(slot){var assignedNodes=slot.assignedNodes();return 0===assignedNodes.length?arrayFrom2(slot.childNodes):assignedNodes}(node):arrayFrom2(node.childNodes).concat(queryIdRefs2(node,"aria-owns"))).forEach((function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),separator="inline"!==(isElement2(child)?getComputedStyle(child).getPropertyValue("display"):"inline")?" ":"";accumulatedText+="".concat(separator).concat(result).concat(separator)})),isElement2(node)&&computedStyleSupportsPseudoElements){var afterContent=getTextualContent2(getComputedStyle(node,"::after"));accumulatedText="".concat(accumulatedText," ").concat(afterContent)}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return null===attribute||consultedNodes.has(attribute)||""===attribute.value.trim()?null:(consultedNodes.add(attribute),attribute.value)}function computeElementTextAlternative(node){if(!isElement2(node))return null;if(function isHTMLFieldSetElement2(node){return isElement2(node)&&"fieldset"===getLocalName2(node)}(node)){consultedNodes.add(node);for(var children=arrayFrom2(node.childNodes),i=0;i0})).join(" ");if(isHTMLInputElement2(node)&&"image"===node.type){var _nameFromAlt=useAttribute(node,"alt");if(null!==_nameFromAlt)return _nameFromAlt;var nameFromTitle=useAttribute(node,"title");return null!==nameFromTitle?nameFromTitle:"Submit Query"}if(hasAnyConcreteRoles2(node,["button"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(""!==nameFromSubTree)return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return"";if(!hidden&&function isHidden2(node,getComputedStyleImplementation){if(!isElement2(node))return!1;if(node.hasAttribute("hidden")||"true"===node.getAttribute("aria-hidden"))return!0;var style=getComputedStyleImplementation(node);return"none"===style.getPropertyValue("display")||"hidden"===style.getPropertyValue("visibility")}(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),"";var labelAttributeNode=isElement2(current)?current.getAttributeNode("aria-labelledby"):null,labelElements=null===labelAttributeNode||consultedNodes.has(labelAttributeNode)?[]:queryIdRefs2(current,"aria-labelledby");if("name"===compute&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map((function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})})).join(" ");var skipToStep2E=context.recursion&&function isControl2(node){return hasAnyConcreteRoles2(node,["button","combobox","listbox","textbox"])||hasAbstractRole2(node,"range")}(current)&&"name"===compute;if(!skipToStep2E){var ariaLabel=(isElement2(current)&¤t.getAttribute("aria-label")||"").trim();if(""!==ariaLabel&&"name"===compute)return consultedNodes.add(current),ariaLabel;if(!function isMarkedPresentational2(node){return hasAnyConcreteRoles2(node,["none","presentation"])}(current)){var elementTextAlternative=computeElementTextAlternative(current);if(null!==elementTextAlternative)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles2(current,["menu"]))return consultedNodes.add(current),"";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles2(current,["combobox","listbox"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions2(current);return 0===selectedOptions.length?isHTMLInputElement2(current)?current.value:"":arrayFrom2(selectedOptions).map((function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})})).join(" ")}if(hasAbstractRole2(current,"range"))return consultedNodes.add(current),current.hasAttribute("aria-valuetext")?current.getAttribute("aria-valuetext"):current.hasAttribute("aria-valuenow")?current.getAttribute("aria-valuenow"):current.getAttribute("value")||"";if(hasAnyConcreteRoles2(current,["textbox"]))return consultedNodes.add(current),getValueOfTextbox2(current)}if(function allowsNameFromContent2(node){return hasAnyConcreteRoles2(node,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}(current)||isElement2(current)&&context.isReferenced||function isNativeHostLanguageTextAlternativeElement2(node){return isHTMLTableCaptionElement2(node)}(current)){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(""!==accumulatedText2F)return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||"";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=function computeTooltipAttributeValue(node){return isElement2(node)?useAttribute(node,"title"):null}(current);return null!==tooltipAttributeValue?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),"")}return function asFlatString2(s){return s.trim().replace(/\s\s+/g," ")}(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:"description"===compute,recursion:!1}))}function _typeof4(obj){return(_typeof4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj2){return typeof obj2}:function(obj2){return obj2&&"function"==typeof Symbol&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2})(obj)}function ownKeys2(object,enumerableOnly){var keys2=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys2.push.apply(keys2,symbols)}return keys2}function _objectSpread2(target){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:{},description=queryIdRefs2(root,"aria-describedby").map((function(element){return computeTextAlternative2(element,_objectSpread2(_objectSpread2({},options),{},{compute:"description"}))})).join(" ");if(""===description){var title=root.getAttribute("title");description=null===title?"":title}return description}function computeAccessibleName2(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function prohibitsNaming2(node){return hasAnyConcreteRoles2(node,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}(root)?"":computeTextAlternative2(root,options)}var import_aria_query3=__toESM(require_lib()),import_lz_string=__toESM(require_lz_string());function escapeHTML(str){return str.replace(//g,">")}var printProps=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map((key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return"string"!=typeof value&&(-1!==printed.indexOf("\n")&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed="{"+printed+"}"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+"="+colors.value.open+printed+colors.value.close})).join("")},printChildren=(children,config3,indentation,depth,refs,printer)=>children.map((child=>{let printedChild="string"==typeof child?printText(child,config3):printer(child,config3,indentation,depth,refs);return""===printedChild&&"object"==typeof child&&null!==child&&3!==child.nodeType?"":config3.spacingOuter+indentation+printedChild})).join(""),printText=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+escapeHTML(text)+contentColor.close},printComment=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+"\x3c!--"+escapeHTML(comment)+"--\x3e"+commentColor.close},printElement=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+"<"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?">"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+""+tagColor.close},printElementAsLeaf=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+"<"+type3+tagColor.close+" …"+tagColor.open+" />"+tagColor.close},TEXT_NODE$1=3,COMMENT_NODE$1=8,FRAGMENT_NODE=11,ELEMENT_REGEXP=/^((HTML|SVG)\w*)?Element$/,testNode=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2="string"==typeof tagName&&tagName.includes("-")||"function"==typeof val.hasAttribute&&val.hasAttribute("is");return 1===nodeType&&(ELEMENT_REGEXP.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE$1&&"Text"===constructorName||nodeType===COMMENT_NODE$1&&"Comment"===constructorName||nodeType===FRAGMENT_NODE&&"DocumentFragment"===constructorName};function nodeIsFragment(node){return node.nodeType===FRAGMENT_NODE}function createDOMElementFilter(filterNode){return{test:val=>{var _val$constructor2;return(null==val||null==(_val$constructor2=val.constructor)?void 0:_val$constructor2.name)&&testNode(val)},serialize:(node,config3,indentation,depth,refs,printer)=>{if(function nodeIsText(node){return node.nodeType===TEXT_NODE$1}(node))return printText(node.data,config3);if(function nodeIsComment(node){return node.nodeType===COMMENT_NODE$1}(node))return printComment(node.data,config3);let type3=nodeIsFragment(node)?"DocumentFragment":node.tagName.toLowerCase();return++depth>config3.maxDepth?printElementAsLeaf(type3,config3):printElement(type3,printProps(nodeIsFragment(node)?[]:Array.from(node.attributes).map((attr=>attr.name)).sort(),nodeIsFragment(node)?{}:Array.from(node.attributes).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}),config3,indentation+config3.indent,depth,refs,printer),printChildren(Array.prototype.slice.call(node.childNodes||node.children).filter(filterNode),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)}}}var chalk2=null,readFileSync=null,codeFrameColumns=null;try{let nodeRequire=module&&module.require;readFileSync=nodeRequire.call(module,"fs").readFileSync,codeFrameColumns=nodeRequire.call(module,"@babel/code-frame").codeFrameColumns,chalk2=nodeRequire.call(module,"chalk")}catch{}function getUserCodeFrame(){if(!readFileSync||!codeFrameColumns)return"";return function getCodeFrame(frame){let locationStart=frame.indexOf("(")+1,locationEnd=frame.indexOf(")"),frameLocation=frame.slice(locationStart,locationEnd),frameLocationElements=frameLocation.split(":"),[filename,line,column]=[frameLocationElements[0],parseInt(frameLocationElements[1],10),parseInt(frameLocationElements[2],10)],rawFileContents="";try{rawFileContents=readFileSync(filename,"utf-8")}catch{return""}let codeFrame=codeFrameColumns(rawFileContents,{start:{line,column}},{highlightCode:!0,linesBelow:0});return chalk2.dim(frameLocation)+"\n"+codeFrame+"\n"}((new Error).stack.split("\n").slice(1).find((frame=>!frame.includes("node_modules/"))))}var TEXT_NODE=3;function jestFakeTimersAreEnabled(){return typeof jest<"u"&&null!==jest&&(!0===setTimeout._isMockFunction||Object.prototype.hasOwnProperty.call(setTimeout,"clock"))}function getDocument(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function getWindowFromNode(node){if(node.defaultView)return node.defaultView;if(node.ownerDocument&&node.ownerDocument.defaultView)return node.ownerDocument.defaultView;if(node.window)return node.window;throw node.ownerDocument&&null===node.ownerDocument.defaultView?new Error("It looks like the window object is not available for the provided node."):node.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(node)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):"function"==typeof node.debug&&"function"==typeof node.logTestingPlaygroundURL?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof node+".")}function checkContainerType(container){if(!container||"function"!=typeof container.querySelector||"function"!=typeof container.querySelectorAll)throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+function getTypeName(object){return"object"==typeof object?null===object?"null":object.constructor.name:typeof object}(container)+".")}var shouldHighlight=()=>{let colors;try{var _process;colors=JSON.parse(null==(_process=process)||null==(_process=_process.env)?void 0:_process.COLORS)}catch{}return"boolean"==typeof colors?colors:typeof process<"u"&&void 0!==process.versions&&void 0!==process.versions.node},{DOMCollection:DOMCollection3}=prettyFormat.plugins,ELEMENT_NODE=1,COMMENT_NODE=8;function filterCommentsAndDefaultIgnoreTagsTags(value){return value.nodeType!==COMMENT_NODE&&(value.nodeType!==ELEMENT_NODE||!value.matches(getConfig().defaultIgnore))}function prettyDOM(dom,maxLength,options){if(void 0===options&&(options={}),dom||(dom=getDocument().body),"number"!=typeof maxLength&&(maxLength=typeof process<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),0===maxLength)return"";dom.documentElement&&(dom=dom.documentElement);let domTypeName=typeof dom;if("object"===domTypeName?domTypeName=dom.constructor.name:dom={},!("outerHTML"in dom))throw new TypeError("Expected an element or document but got "+domTypeName);let{filterNode=filterCommentsAndDefaultIgnoreTagsTags,...prettyFormatOptions}=options,debugContent=prettyFormat.format(dom,{plugins:[createDOMElementFilter(filterNode),DOMCollection3],printFunctionName:!1,highlight:shouldHighlight(),...prettyFormatOptions});return void 0!==maxLength&&dom.outerHTML.length>maxLength?debugContent.slice(0,maxLength)+"...":debugContent}var logDOM=function(){let userCodeFrame=getUserCodeFrame();console.log(userCodeFrame?prettyDOM(...arguments)+"\n\n"+userCodeFrame:prettyDOM(...arguments))},config2={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:cb=>cb(),unstable_advanceTimersWrapper:cb=>cb(),eventWrapper:cb=>cb(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(message,container){let prettifiedDOM=prettyDOM(container),error=new Error([message,"Ignored nodes: comments, "+config2.defaultIgnore+"\n"+prettifiedDOM].filter(Boolean).join("\n\n"));return error.name="TestingLibraryElementError",error},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function configure(newConfig){"function"==typeof newConfig&&(newConfig=newConfig(config2)),config2={...config2,...newConfig}}function getConfig(){return config2}var labelledNodeNames=["button","meter","output","progress","select","textarea","input"];function getTextContent(node){return labelledNodeNames.includes(node.nodeName.toLowerCase())?"":node.nodeType===TEXT_NODE?node.textContent:Array.from(node.childNodes).map((childNode=>getTextContent(childNode))).join("")}function getLabelContent(element){let textContent;return textContent="label"===element.tagName.toLowerCase()?getTextContent(element):element.value||element.textContent,textContent}function getRealLabels(element){var _labels;if(void 0!==element.labels)return null!=(_labels=element.labels)?_labels:[];if(!function isLabelable(element){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(element.tagName)||"INPUT"===element.tagName&&"hidden"!==element.getAttribute("type")}(element))return[];let labels=element.ownerDocument.querySelectorAll("label");return Array.from(labels).filter((label=>label.control===element))}function getLabels3(container,element,_temp){let{selector="*"}=void 0===_temp?{}:_temp,ariaLabelledBy=element.getAttribute("aria-labelledby"),labelsId=ariaLabelledBy?ariaLabelledBy.split(" "):[];return labelsId.length?labelsId.map((labelId=>{let labellingElement=container.querySelector('[id="'+labelId+'"]');return labellingElement?{content:getLabelContent(labellingElement),formControl:null}:{content:"",formControl:null}})):Array.from(getRealLabels(element)).map((label=>({content:getLabelContent(label),formControl:Array.from(label.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((formControlElement=>formControlElement.matches(selector)))[0]})))}function assertNotNullOrUndefined(matcher){if(null==matcher)throw new Error("It looks like "+matcher+" was passed instead of a matcher. Did you do something like getByText("+matcher+")?")}function fuzzyMatches(textToMatch,node,matcher,normalizer){if("string"!=typeof textToMatch)return!1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return"string"==typeof matcher||"number"==typeof matcher?normalizedText.toLowerCase().includes(matcher.toString().toLowerCase()):"function"==typeof matcher?matcher(normalizedText,node):matchRegExp(matcher,normalizedText)}function matches2(textToMatch,node,matcher,normalizer){if("string"!=typeof textToMatch)return!1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return matcher instanceof Function?matcher(normalizedText,node):matcher instanceof RegExp?matchRegExp(matcher,normalizedText):normalizedText===String(matcher)}function getDefaultNormalizer(_temp){let{trim=!0,collapseWhitespace=!0}=void 0===_temp?{}:_temp;return text=>{let normalizedText=text;return normalizedText=trim?normalizedText.trim():normalizedText,normalizedText=collapseWhitespace?normalizedText.replace(/\s+/g," "):normalizedText,normalizedText}}function makeNormalizer(_ref){let{trim,collapseWhitespace,normalizer}=_ref;if(!normalizer)return getDefaultNormalizer({trim,collapseWhitespace});if(typeof trim<"u"||typeof collapseWhitespace<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return normalizer}function matchRegExp(matcher,text){let match=matcher.test(text);return matcher.global&&0!==matcher.lastIndex&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),matcher.lastIndex=0),match}function getNodeText(node){return node.matches("input[type=submit], input[type=button], input[type=reset]")?node.value:Array.from(node.childNodes).filter((child=>child.nodeType===TEXT_NODE&&!!child.textContent)).map((c=>c.textContent)).join("")}var elementRoleList2=function buildElementRoleList2(elementRolesMap){function getSelectorSpecificity(_ref3){let{attributes=[]}=_ref3;return attributes.length}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex((attribute=>attribute.value&&"type"===attribute.name&&"text"===attribute.value));typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=function makeElementSelector(_ref){let{name,attributes}=_ref;return""+name+attributes.map((_ref2=>{let{name:attributeName,value,constraints=[]}=_ref2;return-1!==constraints.indexOf("undefined")?":not(["+attributeName+"])":value?"["+attributeName+'="'+value+'"]':"["+attributeName+"]"})).join("")}({...element,attributes});return node=>!(typeTextIndex>=0&&"text"!==node.type)&&node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort((function bySelectorSpecificity(_ref4,_ref5){let{specificity:leftSpecificity}=_ref4,{specificity:rightSpecificity}=_ref5;return rightSpecificity-leftSpecificity}))}(import_aria_query3.elementRoles);function isSubtreeInaccessible(element){return!0===element.hidden||"true"===element.getAttribute("aria-hidden")||"none"===element.ownerDocument.defaultView.getComputedStyle(element).display}function isInaccessible(element,options){void 0===options&&(options={});let{isSubtreeInaccessible:isSubtreeInaccessibleImpl=isSubtreeInaccessible}=options;if("hidden"===element.ownerDocument.defaultView.getComputedStyle(element).visibility)return!0;let currentElement=element;for(;currentElement;){if(isSubtreeInaccessibleImpl(currentElement))return!0;currentElement=currentElement.parentElement}return!1}function getImplicitAriaRoles2(currentNode){for(let{match,roles:roles3}of elementRoleList2)if(match(currentNode))return[...roles3];return[]}function getRoles(container,_temp){let{hidden=!1}=void 0===_temp?{}:_temp;return function flattenDOM(node){return[node,...Array.from(node.children).reduce(((acc,child)=>[...acc,...flattenDOM(child)]),[])]}(container).filter((element=>!1!==hidden||!1===isInaccessible(element))).reduce(((acc,node)=>{let roles3=[];return roles3=node.hasAttribute("role")?node.getAttribute("role").split(" ").slice(0,1):getImplicitAriaRoles2(node),roles3.reduce(((rolesAcc,role)=>Array.isArray(rolesAcc[role])?{...rolesAcc,[role]:[...rolesAcc[role],node]}:{...rolesAcc,[role]:[node]}),acc)}),{})}function prettyRoles(dom,_ref6){let{hidden,includeDescription}=_ref6,roles3=getRoles(dom,{hidden});return Object.entries(roles3).filter((_ref7=>{let[role]=_ref7;return"generic"!==role})).map((_ref8=>{let[role,elements]=_ref8,delimiterBar="-".repeat(50);return role+":\n\n"+elements.map((el=>{let nameString='Name "'+computeAccessibleName2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+'":\n',domString=prettyDOM(el.cloneNode(!1));if(includeDescription){return""+nameString+('Description "'+computeAccessibleDescription2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+'":\n')+domString}return""+nameString+domString})).join("\n\n")+"\n\n"+delimiterBar})).join("\n")}var logRoles=function(dom,_temp2){let{hidden=!1}=void 0===_temp2?{}:_temp2;return console.log(prettyRoles(dom,{hidden}))};function checkBooleanAttribute(element,attribute){let attributeValue=element.getAttribute(attribute);return"true"===attributeValue||"false"!==attributeValue&&void 0}var normalize2=getDefaultNormalizer();function getRegExpMatcher(string2){return new RegExp(function escapeRegExp(string2){return string2.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}(string2.toLowerCase()),"i")}function makeSuggestion(queryName,element,content,_ref){let{variant,name}=_ref,warning="",queryOptions={},queryArgs=[["Role","TestId"].includes(queryName)?content:getRegExpMatcher(content)];name&&(queryOptions.name=getRegExpMatcher(name)),"Role"===queryName&&isInaccessible(element)&&(queryOptions.hidden=!0,warning="Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n "),Object.keys(queryOptions).length>0&&queryArgs.push(queryOptions);let queryMethod=variant+"By"+queryName;return{queryName,queryMethod,queryArgs,variant,warning,toString(){warning&&console.warn(warning);let[text,options]=queryArgs;return text="string"==typeof text?"'"+text+"'":text,options=options?", { "+Object.entries(options).map((_ref2=>{let[k,v2]=_ref2;return k+": "+v2})).join(", ")+" }":"",queryMethod+"("+text+options+")"}}}function canSuggest(currentMethod,requestedMethod,data){return data&&(!requestedMethod||requestedMethod.toLowerCase()===currentMethod.toLowerCase())}function getSuggestedQuery(element,variant,method){var _element$getAttribute,_getImplicitAriaRoles;if(void 0===variant&&(variant="get"),element.matches(getConfig().defaultIgnore))return;let role=null!=(_element$getAttribute=element.getAttribute("role"))?_element$getAttribute:null==(_getImplicitAriaRoles=getImplicitAriaRoles2(element))?void 0:_getImplicitAriaRoles[0];if("generic"!==role&&canSuggest("Role",method,role))return makeSuggestion("Role",element,role,{variant,name:computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})});let labelText=getLabels3(document,element).map((label=>label.content)).join(" ");if(canSuggest("LabelText",method,labelText))return makeSuggestion("LabelText",element,labelText,{variant});let placeholderText=element.getAttribute("placeholder");if(canSuggest("PlaceholderText",method,placeholderText))return makeSuggestion("PlaceholderText",element,placeholderText,{variant});let textContent=normalize2(getNodeText(element));if(canSuggest("Text",method,textContent))return makeSuggestion("Text",element,textContent,{variant});if(canSuggest("DisplayValue",method,element.value))return makeSuggestion("DisplayValue",element,normalize2(element.value),{variant});let alt=element.getAttribute("alt");if(canSuggest("AltText",method,alt))return makeSuggestion("AltText",element,alt,{variant});let title=element.getAttribute("title");if(canSuggest("Title",method,title))return makeSuggestion("Title",element,title,{variant});let testId=element.getAttribute(getConfig().testIdAttribute);return canSuggest("TestId",method,testId)?makeSuggestion("TestId",element,testId,{variant}):void 0}function copyStackTrace(target,source){target.stack=source.stack.replace(source.message,target.message)}function waitFor(callback,_ref){let{container=getDocument(),timeout=getConfig().asyncUtilTimeout,showOriginalStackTrace=getConfig().showOriginalStackTrace,stackTraceError,interval=50,onTimeout=error=>(Object.defineProperty(error,"message",{value:getConfig().getElementError(error.message,container).message}),error),mutationObserverOptions={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=_ref;if("function"!=typeof callback)throw new TypeError("Received `callback` arg must be a function");return new Promise((async(resolve,reject)=>{let lastError,intervalId,observer,finished=!1,promiseStatus="idle",overallTimeoutTimer=setTimeout((function handleTimeout(){let error;lastError?(error=lastError,!showOriginalStackTrace&&"TestingLibraryElementError"===error.name&©StackTrace(error,stackTraceError)):(error=new Error("Timed out in waitFor."),showOriginalStackTrace||copyStackTrace(error,stackTraceError)),onDone(onTimeout(error),null)}),timeout),usingJestFakeTimers=jestFakeTimersAreEnabled();if(usingJestFakeTimers){let{unstable_advanceTimersWrapper:advanceTimersWrapper}=getConfig();for(checkCallback();!finished;){if(!jestFakeTimersAreEnabled()){let error=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return showOriginalStackTrace||copyStackTrace(error,stackTraceError),void reject(error)}if(await advanceTimersWrapper((async()=>{jest.advanceTimersByTime(interval)})),finished)break;checkCallback()}}else{try{checkContainerType(container)}catch(e){return void reject(e)}intervalId=setInterval(checkRealTimersCallback,interval);let{MutationObserver}=getWindowFromNode(container);observer=new MutationObserver(checkRealTimersCallback),observer.observe(container,mutationObserverOptions),checkCallback()}function onDone(error,result){finished=!0,clearTimeout(overallTimeoutTimer),usingJestFakeTimers||(clearInterval(intervalId),observer.disconnect()),error?reject(error):resolve(result)}function checkRealTimersCallback(){if(jestFakeTimersAreEnabled()){let error=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return showOriginalStackTrace||copyStackTrace(error,stackTraceError),reject(error)}return checkCallback()}function checkCallback(){if("pending"!==promiseStatus)try{let result=function runWithExpensiveErrorDiagnosticsDisabled(callback){try{return config2._disableExpensiveErrorDiagnostics=!0,callback()}finally{config2._disableExpensiveErrorDiagnostics=!1}}(callback);"function"==typeof result?.then?(promiseStatus="pending",result.then((resolvedValue=>{promiseStatus="resolved",onDone(null,resolvedValue)}),(rejectedValue=>{promiseStatus="rejected",lastError=rejectedValue}))):onDone(null,result)}catch(error){lastError=error}}}))}function waitForWrapper(callback,options){let stackTraceError=new Error("STACK_TRACE_MESSAGE");return getConfig().asyncWrapper((()=>waitFor(callback,{stackTraceError,...options})))}function getElementError(message,container){return getConfig().getElementError(message,container)}function getMultipleElementsFoundError(message,container){return getElementError(message+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",container)}function queryAllByAttribute(attribute,container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=void 0===_temp?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll("["+attribute+"]")).filter((node=>matcher(node.getAttribute(attribute),node,text,matchNormalizer)))}function queryByAttribute(attribute,container,text,options){let els=queryAllByAttribute(attribute,container,text,options);if(els.length>1)throw getMultipleElementsFoundError("Found multiple elements by ["+attribute+"="+text+"]",container);return els[0]||null}function makeSingleQuery(allQuery,getMultipleError2){return function(container){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];let els=allQuery(container,...args);if(els.length>1){let elementStrings=els.map((element=>getElementError(null,element).message)).join("\n\n");throw getMultipleElementsFoundError(getMultipleError2(container,...args)+"\n\nHere are the matching elements:\n\n"+elementStrings,container)}return els[0]||null}}function getSuggestionError(suggestion,container){return getConfig().getElementError("A better query is available, try this:\n"+suggestion.toString()+"\n",container)}function makeGetAllQuery(allQuery,getMissingError2){return function(container){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];let els=allQuery(container,...args);if(!els.length)throw getConfig().getElementError(getMissingError2(container,...args),container);return els}}function makeFindQuery(getter){return(container,text,options,waitForOptions)=>waitForWrapper((()=>getter(container,text,options)),{container,...waitForOptions})}var wrapSingleQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];let element=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(element&&suggest){let suggestion=getSuggestedQuery(element,variant);if(suggestion&&!queryAllByName.endsWith(suggestion.queryName))throw getSuggestionError(suggestion.toString(),container)}return element},wrapAllByQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];let els=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(els.length&&suggest){let uniqueSuggestionMessages=[...new Set(els.map((element=>{var _getSuggestedQuery;return null==(_getSuggestedQuery=getSuggestedQuery(element,variant))?void 0:_getSuggestedQuery.toString()})))];if(1===uniqueSuggestionMessages.length&&!queryAllByName.endsWith(getSuggestedQuery(els[0],variant).queryName))throw getSuggestionError(uniqueSuggestionMessages[0],container)}return els};function buildQueries(queryAllBy,getMultipleError2,getMissingError2){let queryBy=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllBy,getMultipleError2),queryAllBy.name,"query"),getAllBy=makeGetAllQuery(queryAllBy,getMissingError2),getBy=makeSingleQuery(getAllBy,getMultipleError2),getByWithSuggestions=wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,"get");return[queryBy,wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name.replace("query","get"),"getAll"),getByWithSuggestions,makeFindQuery(wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name,"findAll")),makeFindQuery(wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,"find"))]}var queryHelpers=Object.freeze({__proto__:null,getElementError,wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion,getMultipleElementsFoundError,queryAllByAttribute,queryByAttribute,makeSingleQuery,makeGetAllQuery,makeFindQuery,buildQueries});var queryAllLabelsByText=function(container,text,_temp){let{exact=!0,trim,collapseWhitespace,normalizer}=void 0===_temp?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return function queryAllLabels(container){return Array.from(container.querySelectorAll("label,input")).map((node=>({node,textToMatch:getLabelContent(node)}))).filter((_ref=>{let{textToMatch}=_ref;return null!==textToMatch}))}(container).filter((_ref2=>{let{node,textToMatch}=_ref2;return matcher(textToMatch,node,text,matchNormalizer)})).map((_ref3=>{let{node}=_ref3;return node}))},queryAllByLabelText=function(container,text,_temp2){let{selector="*",exact=!0,collapseWhitespace,trim,normalizer}=void 0===_temp2?{}:_temp2;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),matchingLabelledElements=Array.from(container.querySelectorAll("*")).filter((element=>getRealLabels(element).length||element.hasAttribute("aria-labelledby"))).reduce(((labelledElements,labelledElement)=>{let labelList=getLabels3(container,labelledElement,{selector});labelList.filter((label=>!!label.formControl)).forEach((label=>{matcher(label.content,label.formControl,text,matchNormalizer)&&label.formControl&&labelledElements.push(label.formControl)}));let labelsValue=labelList.filter((label=>!!label.content)).map((label=>label.content));return matcher(labelsValue.join(" "),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement),labelsValue.length>1&&labelsValue.forEach(((labelValue,index)=>{matcher(labelValue,labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement);let labelsFiltered=[...labelsValue];labelsFiltered.splice(index,1),labelsFiltered.length>1&&matcher(labelsFiltered.join(" "),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement)})),labelledElements}),[]).concat(queryAllByAttribute("aria-label",container,text,{exact,normalizer:matchNormalizer}));return Array.from(new Set(matchingLabelledElements)).filter((element=>element.matches(selector)))},getAllByLabelText=function(container,text){for(var _len=arguments.length,rest=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)rest[_key-2]=arguments[_key];let els=queryAllByLabelText(container,text,...rest);if(!els.length){let labels=queryAllLabelsByText(container,text,...rest);if(labels.length){let tagNames=labels.map((label=>function getTagNameOfElementAssociatedWithLabelViaFor(container,label){let htmlFor=label.getAttribute("for");if(!htmlFor)return null;let element=container.querySelector('[id="'+htmlFor+'"]');return element?element.tagName.toLowerCase():null}(container,label))).filter((tagName=>!!tagName));throw tagNames.length?getConfig().getElementError(tagNames.map((tagName=>"Found a label with the text of: "+text+", however the element associated with this label (<"+tagName+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+tagName+" />, you can use aria-label or aria-labelledby instead.")).join("\n\n"),container):getConfig().getElementError("Found a label with the text of: "+text+', however no form control was found associated to that label. Make sure you\'re using the "for" attribute or "aria-labelledby" attribute correctly.',container)}throw getConfig().getElementError("Unable to find a label with the text of: "+text,container)}return els};var getMultipleError$7=(c,text)=>"Found multiple elements with the text of: "+text,queryByLabelText=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllByLabelText,getMultipleError$7),queryAllByLabelText.name,"query"),getByLabelText=makeSingleQuery(getAllByLabelText,getMultipleError$7),findAllByLabelText=makeFindQuery(wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,"findAll")),findByLabelText=makeFindQuery(wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,"find")),getAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,"getAll"),getByLabelTextWithSuggestions=wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,"get"),queryAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByLabelText,queryAllByLabelText.name,"queryAll"),queryAllByPlaceholderText=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute("placeholder",...args)},queryAllByPlaceholderTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByPlaceholderText,queryAllByPlaceholderText.name,"queryAll"),[queryByPlaceholderText,getAllByPlaceholderText,getByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText]=buildQueries(queryAllByPlaceholderText,((c,text)=>"Found multiple elements with the placeholder text of: "+text),((c,text)=>"Unable to find an element with the placeholder text of: "+text)),queryAllByText=function(container,text,_temp){let{selector="*",exact=!0,collapseWhitespace,trim,ignore=getConfig().defaultIgnore,normalizer}=void 0===_temp?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),baseArray=[];return"function"==typeof container.matches&&container.matches(selector)&&(baseArray=[container]),[...baseArray,...Array.from(container.querySelectorAll(selector))].filter((node=>!ignore||!node.matches(ignore))).filter((node=>matcher(getNodeText(node),node,text,matchNormalizer)))},queryAllByTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByText,queryAllByText.name,"queryAll"),[queryByText,getAllByText,getByText,findAllByText,findByText]=buildQueries(queryAllByText,((c,text)=>"Found multiple elements with the text: "+text),(function(c,text,options){void 0===options&&(options={});let{collapseWhitespace,trim,normalizer,selector}=options,normalizedText=makeNormalizer({collapseWhitespace,trim,normalizer})(text.toString());return"Unable to find an element with the text: "+(normalizedText!==text.toString()?normalizedText+" (normalized from '"+text+"')":text)+("*"!==(selector??"*")?", which matches selector '"+selector+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."})),queryAllByDisplayValue=function(container,value,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=void 0===_temp?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll("input,textarea,select")).filter((node=>"SELECT"===node.tagName?Array.from(node.options).filter((option=>option.selected)).some((optionNode=>matcher(getNodeText(optionNode),optionNode,value,matchNormalizer))):matcher(node.value,node,value,matchNormalizer)))},queryAllByDisplayValueWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByDisplayValue,queryAllByDisplayValue.name,"queryAll"),[queryByDisplayValue,getAllByDisplayValue,getByDisplayValue,findAllByDisplayValue,findByDisplayValue]=buildQueries(queryAllByDisplayValue,((c,value)=>"Found multiple elements with the display value: "+value+"."),((c,value)=>"Unable to find an element with the display value: "+value+".")),VALID_TAG_REGEXP=/^(img|input|area|.+-.+)$/i,queryAllByAltText=function(container,alt,options){return void 0===options&&(options={}),checkContainerType(container),queryAllByAttribute("alt",container,alt,options).filter((node=>VALID_TAG_REGEXP.test(node.tagName)))},queryAllByAltTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByAltText,queryAllByAltText.name,"queryAll"),[queryByAltText,getAllByAltText,getByAltText,findAllByAltText,findByAltText]=buildQueries(queryAllByAltText,((c,alt)=>"Found multiple elements with the alt text: "+alt),((c,alt)=>"Unable to find an element with the alt text: "+alt)),queryAllByTitle=function(container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=void 0===_temp?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll("[title], svg > title")).filter((node=>matcher(node.getAttribute("title"),node,text,matchNormalizer)||(node=>{var _node$parentElement;return"title"===node.tagName.toLowerCase()&&"svg"===(null==(_node$parentElement=node.parentElement)?void 0:_node$parentElement.tagName.toLowerCase())})(node)&&matcher(getNodeText(node),node,text,matchNormalizer)))},queryAllByTitleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTitle,queryAllByTitle.name,"queryAll"),[queryByTitle,getAllByTitle,getByTitle,findAllByTitle,findByTitle]=buildQueries(queryAllByTitle,((c,title)=>"Found multiple elements with the title: "+title+"."),((c,title)=>"Unable to find an element with the title: "+title+".")),queryAllByRole=function(container,role,_temp){let{hidden=getConfig().defaultHidden,name,description,queryFallbacks=!1,selected,busy,checked,pressed,current,level,expanded,value:{now:valueNow,min:valueMin,max:valueMax,text:valueText}={}}=void 0===_temp?{}:_temp;var _allRoles$get,_allRoles$get2,_allRoles$get3,_allRoles$get4,_allRoles$get5,_allRoles$get6,_allRoles$get7,_allRoles$get8,_allRoles$get9,_allRoles$get10;if((checkContainerType(container),void 0!==selected)&&void 0===(null==(_allRoles$get=import_aria_query3.roles.get(role))?void 0:_allRoles$get.props["aria-selected"]))throw new Error('"aria-selected" is not supported on role "'+role+'".');if(void 0!==busy&&void 0===(null==(_allRoles$get2=import_aria_query3.roles.get(role))?void 0:_allRoles$get2.props["aria-busy"]))throw new Error('"aria-busy" is not supported on role "'+role+'".');if(void 0!==checked&&void 0===(null==(_allRoles$get3=import_aria_query3.roles.get(role))?void 0:_allRoles$get3.props["aria-checked"]))throw new Error('"aria-checked" is not supported on role "'+role+'".');if(void 0!==pressed&&void 0===(null==(_allRoles$get4=import_aria_query3.roles.get(role))?void 0:_allRoles$get4.props["aria-pressed"]))throw new Error('"aria-pressed" is not supported on role "'+role+'".');if(void 0!==current&&void 0===(null==(_allRoles$get5=import_aria_query3.roles.get(role))?void 0:_allRoles$get5.props["aria-current"]))throw new Error('"aria-current" is not supported on role "'+role+'".');if(void 0!==level&&"heading"!==role)throw new Error('Role "'+role+'" cannot have "level" property.');if(void 0!==valueNow&&void 0===(null==(_allRoles$get6=import_aria_query3.roles.get(role))?void 0:_allRoles$get6.props["aria-valuenow"]))throw new Error('"aria-valuenow" is not supported on role "'+role+'".');if(void 0!==valueMax&&void 0===(null==(_allRoles$get7=import_aria_query3.roles.get(role))?void 0:_allRoles$get7.props["aria-valuemax"]))throw new Error('"aria-valuemax" is not supported on role "'+role+'".');if(void 0!==valueMin&&void 0===(null==(_allRoles$get8=import_aria_query3.roles.get(role))?void 0:_allRoles$get8.props["aria-valuemin"]))throw new Error('"aria-valuemin" is not supported on role "'+role+'".');if(void 0!==valueText&&void 0===(null==(_allRoles$get9=import_aria_query3.roles.get(role))?void 0:_allRoles$get9.props["aria-valuetext"]))throw new Error('"aria-valuetext" is not supported on role "'+role+'".');if(void 0!==expanded&&void 0===(null==(_allRoles$get10=import_aria_query3.roles.get(role))?void 0:_allRoles$get10.props["aria-expanded"]))throw new Error('"aria-expanded" is not supported on role "'+role+'".');let subtreeIsInaccessibleCache=new WeakMap;function cachedIsSubtreeInaccessible(element){return subtreeIsInaccessibleCache.has(element)||subtreeIsInaccessibleCache.set(element,isSubtreeInaccessible(element)),subtreeIsInaccessibleCache.get(element)}return Array.from(container.querySelectorAll(function makeRoleSelector(role){var _roleElements$get;let explicitRoleSelector='*[role~="'+role+'"]',roleRelations=null!=(_roleElements$get=import_aria_query3.roleElements.get(role))?_roleElements$get:new Set,implicitRoleSelectors=new Set(Array.from(roleRelations).map((_ref=>{let{name}=_ref;return name})));return[explicitRoleSelector].concat(Array.from(implicitRoleSelectors)).join(",")}(role))).filter((node=>{if(node.hasAttribute("role")){let roleValue=node.getAttribute("role");if(queryFallbacks)return roleValue.split(" ").filter(Boolean).some((roleAttributeToken=>roleAttributeToken===role));let[firstRoleAttributeToken]=roleValue.split(" ");return firstRoleAttributeToken===role}return getImplicitAriaRoles2(node).some((implicitRole=>implicitRole===role))})).filter((element=>{if(void 0!==selected)return selected===function computeAriaSelected(element){return"OPTION"===element.tagName?element.selected:checkBooleanAttribute(element,"aria-selected")}(element);if(void 0!==busy)return busy===function computeAriaBusy(element){return"true"===element.getAttribute("aria-busy")}(element);if(void 0!==checked)return checked===function computeAriaChecked(element){if(!("indeterminate"in element)||!element.indeterminate)return"checked"in element?element.checked:checkBooleanAttribute(element,"aria-checked")}(element);if(void 0!==pressed)return pressed===function computeAriaPressed(element){return checkBooleanAttribute(element,"aria-pressed")}(element);if(void 0!==current)return current===function computeAriaCurrent(element){var _ref9,_checkBooleanAttribut;return null!=(_ref9=null!=(_checkBooleanAttribut=checkBooleanAttribute(element,"aria-current"))?_checkBooleanAttribut:element.getAttribute("aria-current"))&&_ref9}(element);if(void 0!==expanded)return expanded===function computeAriaExpanded(element){return checkBooleanAttribute(element,"aria-expanded")}(element);if(void 0!==level)return level===function computeHeadingLevel(element){return element.getAttribute("aria-level")&&Number(element.getAttribute("aria-level"))||{H1:1,H2:2,H3:3,H4:4,H5:5,H6:6}[element.tagName]}(element);if(void 0!==valueNow||void 0!==valueMax||void 0!==valueMin||void 0!==valueText){let valueMatches=!0;var _computeAriaValueText;if(void 0!==valueNow&&valueMatches&&(valueMatches=valueNow===function computeAriaValueNow(element){let valueNow=element.getAttribute("aria-valuenow");return null===valueNow?void 0:+valueNow}(element)),void 0!==valueMax&&valueMatches&&(valueMatches=valueMax===function computeAriaValueMax(element){let valueMax=element.getAttribute("aria-valuemax");return null===valueMax?void 0:+valueMax}(element)),void 0!==valueMin&&valueMatches&&(valueMatches=valueMin===function computeAriaValueMin(element){let valueMin=element.getAttribute("aria-valuemin");return null===valueMin?void 0:+valueMin}(element)),void 0!==valueText)valueMatches&&(valueMatches=matches2(null!=(_computeAriaValueText=function computeAriaValueText(element){let valueText=element.getAttribute("aria-valuetext");return null===valueText?void 0:valueText}(element))?_computeAriaValueText:null,element,valueText,(text=>text)));return valueMatches}return!0})).filter((element=>void 0===name||matches2(computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,name,(text=>text)))).filter((element=>void 0===description||matches2(computeAccessibleDescription2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,description,(text=>text)))).filter((element=>!1!==hidden||!1===isInaccessible(element,{isSubtreeInaccessible:cachedIsSubtreeInaccessible})))};var getNameHint=name=>{let nameHint="";return nameHint=void 0===name?"":"string"==typeof name?' and name "'+name+'"':" and name `"+name+"`",nameHint},queryAllByRoleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByRole,queryAllByRole.name,"queryAll"),[queryByRole,getAllByRole,getByRole,findAllByRole,findByRole]=buildQueries(queryAllByRole,(function(c,role,_temp2){let{name}=void 0===_temp2?{}:_temp2;return'Found multiple elements with the role "'+role+'"'+getNameHint(name)}),(function(container,role,_temp3){let{hidden=getConfig().defaultHidden,name,description}=void 0===_temp3?{}:_temp3;if(getConfig()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+role+'"'+getNameHint(name);let roleMessage,roles3="";Array.from(container.children).forEach((childElement=>{roles3+=prettyRoles(childElement,{hidden,includeDescription:void 0!==description})})),roleMessage=0===roles3.length?!1===hidden?"There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":"There are no available roles.":("\nHere are the "+(!1===hidden?"accessible":"available")+" roles:\n\n "+roles3.replace(/\n/g,"\n ").replace(/\n\s\s\n/g,"\n\n")+"\n").trim();let nameHint="";nameHint=void 0===name?"":"string"==typeof name?' and name "'+name+'"':" and name `"+name+"`";let descriptionHint="";return descriptionHint=void 0===description?"":"string"==typeof description?' and description "'+description+'"':" and description `"+description+"`",("\nUnable to find an "+(!1===hidden?"accessible ":"")+'element with the role "'+role+'"'+nameHint+descriptionHint+"\n\n"+roleMessage).trim()})),getTestIdAttribute=()=>getConfig().testIdAttribute,queryAllByTestId=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute(getTestIdAttribute(),...args)},queryAllByTestIdWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTestId,queryAllByTestId.name,"queryAll"),[queryByTestId,getAllByTestId,getByTestId,findAllByTestId,findByTestId]=buildQueries(queryAllByTestId,((c,id)=>"Found multiple elements by: ["+getTestIdAttribute()+'="'+id+'"]'),((c,id)=>"Unable to find an element by: ["+getTestIdAttribute()+'="'+id+'"]')),queries=Object.freeze({__proto__:null,queryAllByLabelText:queryAllByLabelTextWithSuggestions,queryByLabelText,getAllByLabelText:getAllByLabelTextWithSuggestions,getByLabelText:getByLabelTextWithSuggestions,findAllByLabelText,findByLabelText,queryByPlaceholderText,queryAllByPlaceholderText:queryAllByPlaceholderTextWithSuggestions,getByPlaceholderText,getAllByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText,queryByText,queryAllByText:queryAllByTextWithSuggestions,getByText,getAllByText,findAllByText,findByText,queryByDisplayValue,queryAllByDisplayValue:queryAllByDisplayValueWithSuggestions,getByDisplayValue,getAllByDisplayValue,findAllByDisplayValue,findByDisplayValue,queryByAltText,queryAllByAltText:queryAllByAltTextWithSuggestions,getByAltText,getAllByAltText,findAllByAltText,findByAltText,queryByTitle,queryAllByTitle:queryAllByTitleWithSuggestions,getByTitle,getAllByTitle,findAllByTitle,findByTitle,queryByRole,queryAllByRole:queryAllByRoleWithSuggestions,getAllByRole,getByRole,findAllByRole,findByRole,queryByTestId,queryAllByTestId:queryAllByTestIdWithSuggestions,getByTestId,getAllByTestId,findAllByTestId,findByTestId});function getQueriesForElement(element,queries$1,initialValue2){return void 0===queries$1&&(queries$1=queries),void 0===initialValue2&&(initialValue2={}),Object.keys(queries$1).reduce(((helpers,key)=>{let fn3=queries$1[key];return helpers[key]=fn3.bind(null,element),helpers}),initialValue2)}var isRemoved=result=>!result||Array.isArray(result)&&!result.length;function initialCheck(elements){if(isRemoved(elements))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function waitForElementToBeRemoved(callback,options){let timeoutError=new Error("Timed out in waitForElementToBeRemoved.");if("function"!=typeof callback){initialCheck(callback);let getRemainingElements=(Array.isArray(callback)?callback:[callback]).map((element=>{let parent=element.parentElement;if(null===parent)return()=>null;for(;parent.parentElement;)parent=parent.parentElement;return()=>parent.contains(element)?element:null}));callback=()=>getRemainingElements.map((c=>c())).filter(Boolean)}return initialCheck(callback()),waitForWrapper((()=>{let result;try{result=callback()}catch(error){if("TestingLibraryElementError"===error.name)return;throw error}if(!isRemoved(result))throw timeoutError}),options)}var eventMap={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}}},eventAliasMap={doubleClick:"dblClick"};function fireEvent(element,event){return getConfig().eventWrapper((()=>{if(!event)throw new Error("Unable to fire an event - please provide an event object.");if(!element)throw new Error('Unable to fire a "'+event.type+'" event - please provide a DOM element.');return element.dispatchEvent(event)}))}function createEvent(eventName,node,init,_temp){let{EventType="Event",defaultInit={}}=void 0===_temp?{}:_temp;if(!node)throw new Error('Unable to fire a "'+eventName+'" event - please provide a DOM element.');let eventInit={...defaultInit,...init},{target:{value,files,...targetProperties}={}}=eventInit;void 0!==value&&function setNativeValue(element,value){let{set:valueSetter}=Object.getOwnPropertyDescriptor(element,"value")||{},prototype=Object.getPrototypeOf(element),{set:prototypeValueSetter}=Object.getOwnPropertyDescriptor(prototype,"value")||{};if(prototypeValueSetter&&valueSetter!==prototypeValueSetter)prototypeValueSetter.call(element,value);else{if(!valueSetter)throw new Error("The given element does not have a value setter");valueSetter.call(element,value)}}(node,value),void 0!==files&&Object.defineProperty(node,"files",{configurable:!0,enumerable:!0,writable:!0,value:files}),Object.assign(node,targetProperties);let event,window2=getWindowFromNode(node),EventConstructor=window2[EventType]||window2.Event;if("function"==typeof EventConstructor)event=new EventConstructor(eventName,eventInit);else{event=window2.document.createEvent(EventType);let{bubbles,cancelable,detail,...otherInit}=eventInit;event.initEvent(eventName,bubbles,cancelable,detail),Object.keys(otherInit).forEach((eventKey=>{event[eventKey]=otherInit[eventKey]}))}return["dataTransfer","clipboardData"].forEach((dataTransferKey=>{let dataTransferValue=eventInit[dataTransferKey];"object"==typeof dataTransferValue&&("function"==typeof window2.DataTransfer?Object.defineProperty(event,dataTransferKey,{value:Object.getOwnPropertyNames(dataTransferValue).reduce(((acc,propName)=>(Object.defineProperty(acc,propName,{value:dataTransferValue[propName]}),acc)),new window2.DataTransfer)}):Object.defineProperty(event,dataTransferKey,{value:dataTransferValue}))})),event}function getPlaygroundUrl(markup){return"https://testing-playground.com/#markup="+function encode(value){return import_lz_string.default.compressToEncodedURIComponent(function unindent(string2){return string2.replace(/[ \t]*[\n][ \t]*/g,"\n")}(value))}(markup)}Object.keys(eventMap).forEach((key=>{let{EventType,defaultInit}=eventMap[key],eventName=key.toLowerCase();createEvent[key]=(node,init)=>createEvent(eventName,node,init,{EventType,defaultInit}),fireEvent[key]=(node,init)=>fireEvent(node,createEvent[key](node,init))})),Object.keys(eventAliasMap).forEach((aliasKey=>{let key=eventAliasMap[aliasKey];fireEvent[aliasKey]=function(){return fireEvent[key](...arguments)}}));var clickableInputTypes,clickableInputTypes2,initialValue={debug:(element,maxLength,options)=>Array.isArray(element)?element.forEach((el=>logDOM(el,maxLength,options))):logDOM(element,maxLength,options),logTestingPlaygroundURL:function(element){if(void 0===element&&(element=getDocument().body),!element||!("innerHTML"in element))return void console.log("The element you're providing isn't a valid DOM element.");if(!element.innerHTML)return void console.log("The provided element doesn't have any children.");let playgroundUrl=getPlaygroundUrl(element.innerHTML);return console.log("Open this URL in your browser\n\n"+playgroundUrl),playgroundUrl}},screen=typeof document<"u"&&document.body?getQueriesForElement(document.body,queries,initialValue):Object.keys(queries).reduce(((helpers,key)=>(helpers[key]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},helpers)),initialValue);function isElementType(element,tag,props){return!(element.namespaceURI&&"http://www.w3.org/1999/xhtml"!==element.namespaceURI||(tag=Array.isArray(tag)?tag:[tag],!tag.includes(element.tagName.toLowerCase())))&&(!props||Object.entries(props).every((([k,v2])=>element[k]===v2)))}function isClickableInput(element){return isElementType(element,"button")||isElementType(element,"input")&&element.type in clickableInputTypes}function getWindow(node){var _node_ownerDocument;if(function isDocument(node){return 9===node.nodeType}(node)&&node.defaultView)return node.defaultView;if(null!==(_node_ownerDocument=node.ownerDocument)&&void 0!==_node_ownerDocument&&_node_ownerDocument.defaultView)return node.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${function describe(val){return"function"==typeof val?`function ${val.name}`:null===val?"null":String(val)}(node)}`)}function readBlobText(blob,FileReader){return new Promise(((res,rej)=>{let fr=new FileReader;fr.onerror=rej,fr.onabort=rej,fr.onload=()=>{res(String(fr.result))},fr.readAsText(blob)}))}function createFileList(window2,files){let list={...files,length:files.length,item:index=>list[index],[Symbol.iterator]:function*(){for(let i=0;iexact?item.type===(isGroup?group:type3):isGroup?item.type.startsWith(`${group}/`):item.type===group}function createDataTransfer(window2,files=[]){let dt=typeof window2.DataTransfer>"u"?function createDataTransferStub(window2){return new class{getData(format4){var _this_items_find;let match=null!==(_this_items_find=this.items.find(getTypeMatcher(format4,!0)))&&void 0!==_this_items_find?_this_items_find:this.items.find(getTypeMatcher(format4,!1)),text="";return match?.getAsString((t=>{text=t})),text}setData(format4,data){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0)),item=new DataTransferItemStub(data,format4);matchIndex>=0?this.items.splice(matchIndex,1,item):this.items.push(item)}clearData(format4){if(format4){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0));matchIndex>=0&&this.items.remove(matchIndex)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach((i=>t.push(i.type))),Object.freeze(t),t}setDragImage(){}constructor(){_define_property(this,"dropEffect","none"),_define_property(this,"effectAllowed","uninitialized"),_define_property(this,"items",new DataTransferItemListStub),_define_property(this,"files",createFileList(window2,[]))}}}(window2):new window2.DataTransfer;return Object.defineProperty(dt,"files",{get:()=>createFileList(window2,files)}),dt}function getBlobFromDataTransferItem(window2,item){if("file"===item.kind)return item.getAsFile();let data="";return item.getAsString((s=>{data=s})),new window2.Blob([data],{type:item.type})}function _define_property2(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function createClipboardItem(window2,...blobs){let dataMap=Object.fromEntries(blobs.map((b2=>["string"==typeof b2?"text/plain":b2.type,Promise.resolve(b2)])));return typeof window2.ClipboardItem<"u"?new window2.ClipboardItem(dataMap):new class{get types(){return Array.from(Object.keys(this.data))}async getType(type3){let value=await this.data[type3];if(!value)throw new Error(`${type3} is not one of the available MIME types on this item.`);return value instanceof window2.Blob?value:new window2.Blob([value],{type:type3})}constructor(d2){_define_property2(this,"data",void 0),this.data=d2}}(dataMap)}var ClipboardStubControl=Symbol("Manage ClipboardSub");function createClipboardStub(window2,control){return Object.assign(new class extends window2.EventTarget{async read(){return Array.from(this.items)}async readText(){let text="";for(let item of this.items){let type3=item.types.includes("text/plain")?"text/plain":item.types.find((t=>t.startsWith("text/")));type3&&(text+=await item.getType(type3).then((b2=>readBlobText(b2,window2.FileReader))))}return text}async write(data){this.items=data}async writeText(text){this.items=[createClipboardItem(window2,text)]}constructor(...args){super(...args),_define_property2(this,"items",[])}},{[ClipboardStubControl]:control})}function isClipboardStub(clipboard){return!!clipboard?.[ClipboardStubControl]}async function writeDataTransferToClipboard(document2,clipboardData){let window2=getWindow(document2),clipboard=window2.navigator.clipboard,items=[];for(let i=0;i!0),(()=>!1)))throw new Error("The Clipboard API is unavailable.")}var editableInputTypes,editableInputTypes2,maxLengthSupportedTypes,maxLengthSupportedTypes2,g=globalThis;function isContentEditable(element){return element.hasAttribute("contenteditable")&&("true"==element.getAttribute("contenteditable")||""==element.getAttribute("contenteditable"))}function getContentEditable(node){let element=function getElement(node){return 1===node.nodeType?node:node.parentElement}(node);return element&&(element.closest('[contenteditable=""]')||element.closest('[contenteditable="true"]'))}function isEditable(element){return isEditableInputOrTextArea(element)&&!element.readOnly||isContentEditable(element)}function isEditableInputOrTextArea(element){return isElementType(element,"textarea")||isElementType(element,"input")&&element.type in editableInputTypes}"function"==typeof g.afterEach&&g.afterEach((()=>function resetClipboardStubOnView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].resetClipboardStub()}(globalThis.window))),"function"==typeof g.afterAll&&g.afterAll((()=>function detachClipboardStubFromView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].detachClipboardStub()}(globalThis.window))),(editableInputTypes2=editableInputTypes||(editableInputTypes={})).text="text",editableInputTypes2.date="date",editableInputTypes2["datetime-local"]="datetime-local",editableInputTypes2.email="email",editableInputTypes2.month="month",editableInputTypes2.number="number",editableInputTypes2.password="password",editableInputTypes2.search="search",editableInputTypes2.tel="tel",editableInputTypes2.time="time",editableInputTypes2.url="url",editableInputTypes2.week="week",(maxLengthSupportedTypes2=maxLengthSupportedTypes||(maxLengthSupportedTypes={})).email="email",maxLengthSupportedTypes2.password="password",maxLengthSupportedTypes2.search="search",maxLengthSupportedTypes2.telephone="telephone",maxLengthSupportedTypes2.text="text",maxLengthSupportedTypes2.url="url";var bracketDict,bracketDict2,ApiLevel,ApiLevel2,PointerEventsCheckLevel,PointerEventsCheckLevel2,FOCUSABLE_SELECTOR=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function isFocusable(element){return element.matches(FOCUSABLE_SELECTOR)}function readNextDescriptor(text,context){let pos=0,startBracket=text[pos]in bracketDict?text[pos]:"";pos+=startBracket.length;let type3=new RegExp(`^\\${startBracket}{2}`).test(text)?"":startBracket;return{type:type3,...""===type3?readPrintableChar(text,pos,context):readTag(text,pos,type3,context)}}function readPrintableChar(text,pos,context){let descriptor=text[pos];return assertDescriptor(descriptor,text,pos,context),{consumedLength:pos+=descriptor.length,descriptor,releasePrevious:!1,releaseSelf:!0,repeat:1}}function readTag(text,pos,startBracket,context){var _text_slice_match,_text_slice_match1;let releasePreviousModifier="/"===text[pos]?"/":"";pos+=releasePreviousModifier.length;let escapedDescriptor="{"===startBracket&&"\\"===text[pos];pos+=Number(escapedDescriptor);let descriptor=escapedDescriptor?text[pos]:null===(_text_slice_match=text.slice(pos).match("{"===startBracket?/^\w+|^[^}>/]/:/^\w+/))||void 0===_text_slice_match?void 0:_text_slice_match[0];var _text_slice_match_;assertDescriptor(descriptor,text,pos,context),pos+=descriptor.length;let repeatModifier=null!==(_text_slice_match_=null===(_text_slice_match1=text.slice(pos).match(/^>\d+/))||void 0===_text_slice_match1?void 0:_text_slice_match1[0])&&void 0!==_text_slice_match_?_text_slice_match_:"",releaseSelfModifier="/"===text[pos+=repeatModifier.length]||!repeatModifier&&">"===text[pos]?text[pos]:"";pos+=releaseSelfModifier.length;let expectedEndBracket=bracketDict[startBracket],endBracket=text[pos]===expectedEndBracket?expectedEndBracket:"";if(!endBracket)throw new Error(getErrorMessage([!repeatModifier&&"repeat modifier",!releaseSelfModifier&&"release modifier",`"${expectedEndBracket}"`].filter(Boolean).join(" or "),text[pos],text,context));return{consumedLength:pos+=endBracket.length,descriptor,releasePrevious:!!releasePreviousModifier,repeat:repeatModifier?Math.max(Number(repeatModifier.substr(1)),1):1,releaseSelf:hasReleaseSelf(releaseSelfModifier,repeatModifier)}}function assertDescriptor(descriptor,text,pos,context){if(!descriptor)throw new Error(getErrorMessage("key descriptor",text[pos],text,context))}function hasReleaseSelf(releaseSelfModifier,repeatModifier){return releaseSelfModifier?"/"===releaseSelfModifier:!repeatModifier&&void 0}function getErrorMessage(expected,found,text,context){return`Expected ${expected} but found "${found??""}" in "${text}"\n See ${"pointer"===context?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}\n for more information about how userEvent parses your input.`}function setLevelRef(instance,level){instance.levelRefs[level]={}}function getLevelRef(instance,level){return instance.levelRefs[level]}function isDisabled2(element){for(let el=element;el;el=el.parentElement)if(isElementType(el,["button","input","select","textarea","optgroup","option"])){if(el.hasAttribute("disabled"))return!0}else if(isElementType(el,"fieldset")){var _el_querySelector;if(el.hasAttribute("disabled")&&(null===(_el_querySelector=el.querySelector(":scope > legend"))||void 0===_el_querySelector||!_el_querySelector.contains(element)))return!0}else if(el.tagName.includes("-")&&el.constructor.formAssociated&&el.hasAttribute("disabled"))return!0;return!1}function getActiveElement(document2){let activeElement=document2.activeElement;return activeElement?.shadowRoot?getActiveElement(activeElement.shadowRoot):isDisabled2(activeElement)?document2.ownerDocument?document2.ownerDocument.body:document2.body:activeElement}function getActiveElementOrBody(document2){var _getActiveElement;return null!==(_getActiveElement=getActiveElement(document2))&&void 0!==_getActiveElement?_getActiveElement:document2.body}function hasOwnSelection(node){return isElement3(node)&&isEditableInputOrTextArea(node)}function isElement3(node){return 1===node.nodeType}function wrapEvent(cb,_element){return getConfig().eventWrapper(cb)}function focusElement(element){let target=function findClosest(element,callback){let el=element;do{if(callback(el))return el;el=el.parentElement}while(el&&el!==element.ownerDocument.body)}(element,isFocusable),activeElement=getActiveElement(element.ownerDocument);(target??element.ownerDocument.body)!==activeElement&&(wrapEvent(target?()=>target.focus():()=>activeElement?.blur()),function updateSelectionOnFocus(element){let selection=element.ownerDocument.getSelection();if(selection?.focusNode&&hasOwnSelection(element)){let contenteditable=getContentEditable(selection.focusNode);if(contenteditable){if(!selection.isCollapsed){var _contenteditable_firstChild;let focusNode=3===(null===(_contenteditable_firstChild=contenteditable.firstChild)||void 0===_contenteditable_firstChild?void 0:_contenteditable_firstChild.nodeType)?contenteditable.firstChild:contenteditable;selection.setBaseAndExtent(focusNode,0,focusNode,0)}}else selection.setBaseAndExtent(element,0,element,0)}}(target??element.ownerDocument.body))}(bracketDict2=bracketDict||(bracketDict={}))["{"]="}",bracketDict2["["]="]",(ApiLevel2=ApiLevel||(ApiLevel={}))[ApiLevel2.Trigger=2]="Trigger",ApiLevel2[ApiLevel2.Call=1]="Call",(PointerEventsCheckLevel2=PointerEventsCheckLevel||(PointerEventsCheckLevel={}))[PointerEventsCheckLevel2.EachTrigger=4]="EachTrigger",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachApiCall=2]="EachApiCall",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachTarget=1]="EachTarget",PointerEventsCheckLevel2[PointerEventsCheckLevel2.Never=0]="Never";var behavior={};behavior.click=(event,target,instance)=>{let context=target.closest("button,input,label,select,textarea"),control=context&&isElementType(context,"label")&&context.control;return control?()=>{isFocusable(control)&&focusElement(control),instance.dispatchEvent(control,function cloneEvent(event){return new event.constructor(event.type,event)}(event))}:isElementType(target,"input",{type:"file"})?()=>{(function blurElement(element){!isFocusable(element)||getActiveElement(element.ownerDocument)!==element||wrapEvent((()=>element.blur()))})(target),target.dispatchEvent(new(getWindow(target).Event)("fileDialog")),focusElement(target)}:void 0};var UIValue=Symbol("Displayed value in UI"),UISelection=Symbol("Displayed selection in UI"),InitialValue=Symbol("Initial value to compare on blur");function getUIValue(element){return void 0===element[UIValue]?element.value:String(element[UIValue])}function setUIValueClean(element){element[UIValue]=void 0}function clearInitialValue(element){element[InitialValue]=void 0}function setUISelection(element,{focusOffset:focusOffsetParam,anchorOffset:anchorOffsetParam=focusOffsetParam},mode="replace"){let valueLength=getUIValue(element).length,sanitizeOffset=o=>Math.max(0,Math.min(valueLength,o)),anchorOffset="replace"===mode||void 0===element[UISelection]?sanitizeOffset(anchorOffsetParam):element[UISelection].anchorOffset,focusOffset=sanitizeOffset(focusOffsetParam),startOffset=Math.min(anchorOffset,focusOffset),endOffset=Math.max(anchorOffset,focusOffset);if(element[UISelection]={anchorOffset,focusOffset},element.selectionStart===startOffset&&element.selectionEnd===endOffset)return;let startObj=Object.assign(new Number(startOffset),{[UISelection]:!0});try{element.setSelectionRange(startObj,endOffset)}catch{}}function getUISelection(element){var _element_selectionStart,_element_selectionEnd,_element_UISelection;let sel=null!==(_element_UISelection=element[UISelection])&&void 0!==_element_UISelection?_element_UISelection:{anchorOffset:null!==(_element_selectionStart=element.selectionStart)&&void 0!==_element_selectionStart?_element_selectionStart:0,focusOffset:null!==(_element_selectionEnd=element.selectionEnd)&&void 0!==_element_selectionEnd?_element_selectionEnd:0};return{...sel,startOffset:Math.min(sel.anchorOffset,sel.focusOffset),endOffset:Math.max(sel.anchorOffset,sel.focusOffset)}}function setUISelectionClean(element){element[UISelection]=void 0}var parseInt2=globalThis.parseInt;function build(onlyDigitsValue,index){let hours=onlyDigitsValue.slice(0,index),validHours=Math.min(parseInt2(hours,10),23),minuteCharacters=onlyDigitsValue.slice(index),parsedMinutes=parseInt2(minuteCharacters,10),validMinutes=Math.min(parsedMinutes,59);return`${validHours.toString().padStart(2,"0")}:${validMinutes.toString().padStart(2,"0")}`}function isValidDateOrTimeValue(element,value){let clone2=element.cloneNode();return clone2.value=value,clone2.value===value}function getNextCursorPosition(node,offset,direction,inputType){if(isTextNode(node)&&offset+direction>=0&&offset+direction<=node.nodeValue.length)return{node,offset:offset+direction};let nextNode=getNextCharacterContentNode(node,offset,direction);if(nextNode){if(isTextNode(nextNode))return{node:nextNode,offset:direction>0?Math.min(1,nextNode.nodeValue.length):Math.max(nextNode.nodeValue.length-1,0)};if(isElementType(nextNode,"br")){let nextPlusOne=getNextCharacterContentNode(nextNode,void 0,direction);return nextPlusOne?isTextNode(nextPlusOne)?{node:nextPlusOne,offset:direction>0?0:nextPlusOne.nodeValue.length}:direction<0&&isElementType(nextPlusOne,"br")?{node:nextNode.parentNode,offset:getOffset(nextNode)}:{node:nextPlusOne.parentNode,offset:getOffset(nextPlusOne)+(direction>0?0:1)}:direction<0&&"deleteContentBackward"===inputType?{node:nextNode.parentNode,offset:getOffset(nextNode)}:void 0}return{node:nextNode.parentNode,offset:getOffset(nextNode)+(direction>0?1:0)}}}function getNextCharacterContentNode(node,offset,direction){let nextOffset=Number(offset)+(direction<0?-1:0);return void 0!==offset&&isElement4(node)&&nextOffset>=0&&nextOffsetk.startsWith("__react")))&&17===getWindow(element).REACT_VERSION})(element)&&(element[TrackChanges]={previousValue:String(element.value),tracked:[]})}function commitValueAfterInput(element,cursorOffset){var _changes_tracked;let changes=element[TrackChanges];if(element[TrackChanges]=void 0,null==changes||null===(_changes_tracked=changes.tracked)||void 0===_changes_tracked||!_changes_tracked.length)return;let isJustReactStateUpdate=2===changes.tracked.length&&changes.tracked[0]===changes.previousValue&&changes.tracked[1]===element.value;isJustReactStateUpdate||setUIValueClean(element),function hasUISelection(element){return!!element[UISelection]}(element)&&setUISelection(element,{focusOffset:isJustReactStateUpdate?cursorOffset:element.value.length})}function getTargetTypeAndSelection(node){let element=function getElement2(node){return 1===node.nodeType?node:node.parentElement}(node);if(element&&hasOwnSelection(element))return{type:"input",selection:getUISelection(element)};let selection=element?.ownerDocument.getSelection();return{type:getContentEditable(node)&&selection?.anchorNode&&getContentEditable(selection.anchorNode)?"contenteditable":"default",selection}}function setSelection({focusNode,focusOffset,anchorNode=focusNode,anchorOffset=focusOffset}){var _anchorNode_ownerDocument_getSelection,_anchorNode_ownerDocument;if("input"===getTargetTypeAndSelection(focusNode).type)return setUISelection(focusNode,{anchorOffset,focusOffset});null===(_anchorNode_ownerDocument=anchorNode.ownerDocument)||void 0===_anchorNode_ownerDocument||null===(_anchorNode_ownerDocument_getSelection=_anchorNode_ownerDocument.getSelection())||void 0===_anchorNode_ownerDocument_getSelection||_anchorNode_ownerDocument_getSelection.setBaseAndExtent(anchorNode,anchorOffset,focusNode,focusOffset)}function isDateOrTime(element){return isElementType(element,"input")&&["date","time"].includes(element.type)}function input(instance,element,data,inputType="insertText"){let inputRange=function getInputRange(focusNode){let typeAndSelection=getTargetTypeAndSelection(focusNode);return"input"===typeAndSelection.type?typeAndSelection.selection:"contenteditable"===typeAndSelection.type?null===(_typeAndSelection_selection=typeAndSelection.selection)||void 0===_typeAndSelection_selection?void 0:_typeAndSelection_selection.getRangeAt(0):void 0;var _typeAndSelection_selection}(element);inputRange&&(!isDateOrTime(element)&&!instance.dispatchUIEvent(element,"beforeinput",{inputType,data})||("startContainer"in inputRange?function editContenteditable(instance,element,inputRange,data,inputType){let del=!1;if(inputRange.collapsed){if(["deleteContentBackward","deleteContentForward"].includes(inputType)){let nextPosition=getNextCursorPosition(inputRange.startContainer,inputRange.startOffset,"deleteContentBackward"===inputType?-1:1,inputType);if(nextPosition){del=!0;let delRange=inputRange.cloneRange();delRange.comparePoint(nextPosition.node,nextPosition.offset)<0?delRange.setStart(nextPosition.node,nextPosition.offset):delRange.setEnd(nextPosition.node,nextPosition.offset),delRange.deleteContents()}}}else del=!0,inputRange.deleteContents();if(data)if(3===inputRange.endContainer.nodeType){let offset=inputRange.endOffset;inputRange.endContainer.insertData(offset,data),inputRange.setStart(inputRange.endContainer,offset+data.length),inputRange.setEnd(inputRange.endContainer,offset+data.length)}else{let text=element.ownerDocument.createTextNode(data);inputRange.insertNode(text),inputRange.setStart(text,data.length),inputRange.setEnd(text,data.length)}(del||data)&&instance.dispatchUIEvent(element,"input",{inputType})}(instance,element,inputRange,data,inputType):function editInputElement(instance,element,inputRange,data,inputType){let dataToInsert=data;if(function supportsMaxLength(element){return isElementType(element,"textarea")||isElementType(element,"input")&&element.type in maxLengthSupportedTypes}(element)){let maxLength=function getMaxLength(element){var _element_getAttribute;let attr=null!==(_element_getAttribute=element.getAttribute("maxlength"))&&void 0!==_element_getAttribute?_element_getAttribute:"";return/^\d+$/.test(attr)&&Number(attr)>=0?Number(attr):void 0}(element);if(void 0!==maxLength&&data.length>0){let spaceUntilMaxLength=maxLength-element.value.length;if(!(spaceUntilMaxLength>0))return;dataToInsert=data.substring(0,spaceUntilMaxLength)}}let{newValue,newOffset,oldValue}=function calculateNewValue(inputData,node,{startOffset,endOffset},inputType){let value=getUIValue(node),prologEnd=Math.max(0,startOffset===endOffset&&"deleteContentBackward"===inputType?startOffset-1:startOffset),prolog=value.substring(0,prologEnd),epilogStart=Math.min(value.length,startOffset===endOffset&&"deleteContentForward"===inputType?startOffset+1:endOffset),epilog=value.substring(epilogStart,value.length),newValue=`${prolog}${inputData}${epilog}`,newOffset=prologEnd+inputData.length;if(isElementType(node,"input",{type:"time"})){let builtValue=function buildTimeValue(value){let onlyDigitsValue=value.replace(/\D/g,"");if(onlyDigitsValue.length<2)return value;let firstDigit=parseInt2(onlyDigitsValue[0],10),secondDigit=parseInt2(onlyDigitsValue[1],10);if(firstDigit>=3||2===firstDigit&&secondDigit>=4){let index;return index=firstDigit>=3?1:2,build(onlyDigitsValue,index)}return 2===value.length?value:build(onlyDigitsValue,2)}(newValue);""!==builtValue&&isValidDateOrTimeValue(node,builtValue)&&(newValue=builtValue,newOffset=builtValue.length)}return{oldValue:value,newValue,newOffset}}(dataToInsert,element,inputRange,inputType);newValue===oldValue&&newOffset===inputRange.startOffset&&newOffset===inputRange.endOffset||isElementType(element,"input",{type:"number"})&&!function isValidNumberInput(value){var _value_match,_value_match1;let valueParts=value.split("e",2);return!(/[^\d.\-e]/.test(value)||Number(null===(_value_match=value.match(/-/g))||void 0===_value_match?void 0:_value_match.length)>2||Number(null===(_value_match1=value.match(/\./g))||void 0===_value_match1?void 0:_value_match1.length)>1||valueParts[1]&&!/^-?\d*$/.test(valueParts[1]))}(newValue)||(function setUIValue(element,value){void 0===element[InitialValue]&&(element[InitialValue]=element.value),element[UIValue]=value,element.value=Object.assign(new String(value),{[UIValue]:!0})}(element,newValue),setSelection({focusNode:element,anchorOffset:newOffset,focusOffset:newOffset}),isDateOrTime(element)?isValidDateOrTimeValue(element,newValue)&&(commitInput(instance,element,newOffset,{}),instance.dispatchUIEvent(element,"change"),clearInitialValue(element)):commitInput(instance,element,newOffset,{data,inputType}))}(instance,element,inputRange,data,inputType)))}function commitInput(instance,element,newOffset,inputInit){instance.dispatchUIEvent(element,"input",inputInit),commitValueAfterInput(element,newOffset)}function isVisible(element){let window2=getWindow(element);for(let el=element;el?.ownerDocument;el=el.parentElement){let{display:display2,visibility}=window2.getComputedStyle(el);if("none"===display2||"hidden"===visibility)return!1}return!0}function moveSelection(node,direction){if(hasOwnSelection(node)){let selection=getUISelection(node);setSelection({focusNode:node,focusOffset:selection.startOffset===selection.endOffset?selection.focusOffset+direction:direction<0?selection.startOffset:selection.endOffset})}else{let selection=node.ownerDocument.getSelection();if(!selection?.focusNode)return;if(selection.isCollapsed){let nextPosition=getNextCursorPosition(selection.focusNode,selection.focusOffset,direction);nextPosition&&setSelection({focusNode:nextPosition.node,focusOffset:nextPosition.offset})}else selection[direction<0?"collapseToStart":"collapseToEnd"]()}}function selectAll(target){if(hasOwnSelection(target))return setSelection({focusNode:target,anchorOffset:0,focusOffset:getUIValue(target).length});var _getContentEditable;let focusNode=null!==(_getContentEditable=getContentEditable(target))&&void 0!==_getContentEditable?_getContentEditable:target.ownerDocument.body;setSelection({focusNode,anchorOffset:0,focusOffset:focusNode.childNodes.length})}function setSelectionRange(element,anchorOffset,focusOffset){var _element_firstChild;if(hasOwnSelection(element))return setSelection({focusNode:element,anchorOffset,focusOffset});if(isContentEditable(element)&&3===(null===(_element_firstChild=element.firstChild)||void 0===_element_firstChild?void 0:_element_firstChild.nodeType))return setSelection({focusNode:element.firstChild,anchorOffset,focusOffset});throw new Error("Not implemented. The result of this interaction is unreliable.")}function walkRadio(instance,el,direction){let window2=getWindow(el),group=Array.from(el.ownerDocument.querySelectorAll(el.name?`input[type="radio"][name="${window2.CSS.escape(el.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=group.findIndex((e=>e===el))+direction;;i+=direction){if(group[i]||(i=direction>0?0:group.length-1),group[i]===el)return;isDisabled2(group[i])||(focusElement(group[i]),instance.dispatchUIEvent(group[i],"click"))}}behavior.cut=(event,target,instance)=>()=>{isEditable(target)&&input(instance,target,"","deleteByCut")},behavior.keydown=(event,target,instance)=>{var _keydownBehavior_event_key,_keydownBehavior_event_key1;return null!==(_keydownBehavior_event_key1=null===(_keydownBehavior_event_key=keydownBehavior[event.key])||void 0===_keydownBehavior_event_key?void 0:_keydownBehavior_event_key.call(keydownBehavior,event,target,instance))&&void 0!==_keydownBehavior_event_key1?_keydownBehavior_event_key1:combinationBehavior(event,target,instance)};var keydownBehavior={ArrowDown:(event,target,instance)=>{if(isElementType(target,"input",{type:"radio"}))return()=>walkRadio(instance,target,-1)},ArrowLeft:(event,target,instance)=>isElementType(target,"input",{type:"radio"})?()=>walkRadio(instance,target,-1):()=>moveSelection(target,-1),ArrowRight:(event,target,instance)=>isElementType(target,"input",{type:"radio"})?()=>walkRadio(instance,target,1):()=>moveSelection(target,1),ArrowUp:(event,target,instance)=>{if(isElementType(target,"input",{type:"radio"}))return()=>walkRadio(instance,target,1)},Backspace:(event,target,instance)=>{if(isEditable(target))return()=>{input(instance,target,"","deleteContentBackward")}},Delete:(event,target,instance)=>{if(isEditable(target))return()=>{input(instance,target,"","deleteContentForward")}},End:(event,target)=>{if(isElementType(target,["input","textarea"])||isContentEditable(target))return()=>{var _getValueOrTextContent,_getValueOrTextContent_length;let newPos=null!==(_getValueOrTextContent_length=null===(_getValueOrTextContent=function getValueOrTextContent(element){return element?isContentEditable(element)?element.textContent:getUIValue(element):null}(target))||void 0===_getValueOrTextContent?void 0:_getValueOrTextContent.length)&&void 0!==_getValueOrTextContent_length?_getValueOrTextContent_length:0;setSelectionRange(target,newPos,newPos)}},Home:(event,target)=>{if(isElementType(target,["input","textarea"])||isContentEditable(target))return()=>{setSelectionRange(target,0,0)}},PageDown:(event,target)=>{if(isElementType(target,["input"]))return()=>{let newPos=getUIValue(target).length;setSelectionRange(target,newPos,newPos)}},PageUp:(event,target)=>{if(isElementType(target,["input"]))return()=>{setSelectionRange(target,0,0)}},Tab:(event,target,instance)=>()=>{let dest=function getTabDestination(activeElement,shift){let document2=activeElement.ownerDocument,focusableElements=document2.querySelectorAll(FOCUSABLE_SELECTOR),enabledElements=Array.from(focusableElements).filter((el=>el===activeElement||!(Number(el.getAttribute("tabindex"))<0||isDisabled2(el))));Number(activeElement.getAttribute("tabindex"))>=0&&enabledElements.sort(((a,b2)=>{let i=Number(a.getAttribute("tabindex")),j=Number(b2.getAttribute("tabindex"));return i===j?0:0===i?1:0===j?-1:i-j}));let checkedRadio={},prunedElements=[document2.body],activeRadioGroup=isElementType(activeElement,"input",{type:"radio"})?activeElement.name:void 0;enabledElements.forEach((currentElement=>{let el=currentElement;if(isElementType(el,"input",{type:"radio"})&&el.name){if(el===activeElement)return void prunedElements.push(el);if(el.name===activeRadioGroup)return;if(el.checked)return prunedElements=prunedElements.filter((e=>!isElementType(e,"input",{type:"radio",name:el.name}))),prunedElements.push(el),void(checkedRadio[el.name]=el);if(typeof checkedRadio[el.name]<"u")return}prunedElements.push(el)}));for(let index=prunedElements.findIndex((el=>el===activeElement));;)if(index+=shift?-1:1,index===prunedElements.length?index=0:-1===index&&(index=prunedElements.length-1),prunedElements[index]===activeElement||prunedElements[index]===document2.body||isVisible(prunedElements[index]))return prunedElements[index]}(target,instance.system.keyboard.modifiers.Shift);focusElement(dest),hasOwnSelection(dest)&&setUISelection(dest,{anchorOffset:0,focusOffset:dest.value.length})}},combinationBehavior=(event,target,instance)=>{if("KeyA"===event.code&&instance.system.keyboard.modifiers.Control)return()=>selectAll(target)};behavior.keypress=(event,target,instance)=>{if("Enter"===event.key){if(isElementType(target,"button")||isElementType(target,"input")&&ClickInputOnEnter.includes(target.type)||isElementType(target,"a")&&target.href)return()=>{instance.dispatchUIEvent(target,"click")};if(isElementType(target,"input")){let form=target.form,submit=form?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return submit?()=>instance.dispatchUIEvent(submit,"click"):form&&SubmitSingleInputOnEnter.includes(target.type)&&1===form.querySelectorAll("input").length?()=>instance.dispatchUIEvent(form,"submit"):void 0}}if(isEditable(target)){let inputType="Enter"===event.key?isContentEditable(target)&&!instance.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",inputData="Enter"===event.key?"\n":event.key;return()=>input(instance,target,inputData,inputType)}};var ClickInputOnEnter=["button","color","file","image","reset","submit"],SubmitSingleInputOnEnter=["email","month","password","search","tel","text","url","week"];behavior.keyup=(event,target,instance)=>{var _keyupBehavior_event_key;return null===(_keyupBehavior_event_key=keyupBehavior[event.key])||void 0===_keyupBehavior_event_key?void 0:_keyupBehavior_event_key.call(keyupBehavior,event,target,instance)};var keyupBehavior={" ":(event,target,instance)=>{if(isClickableInput(target))return()=>instance.dispatchUIEvent(target,"click")}};behavior.paste=(event,target,instance)=>{if(isEditable(target))return()=>{var _event_clipboardData;let insertData=null===(_event_clipboardData=event.clipboardData)||void 0===_event_clipboardData?void 0:_event_clipboardData.getData("text");insertData&&input(instance,target,insertData,"insertFromPaste")}};var eventMap2={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function getEventClass(type3){return eventMap2[type3].EventType}var mouseEvents=["MouseEvent","PointerEvent"];var eventInitializer={ClipboardEvent:[function initClipboardEvent(event,{clipboardData}){assignProps(event,{clipboardData})}],Event:[],InputEvent:[initUIEvent,function initInputEvent(event,{data,inputType,isComposing}){assignProps(event,{data,isComposing:!!isComposing,inputType:String(inputType)})}],MouseEvent:[initUIEvent,initUIEventModififiers,initMouseEvent],PointerEvent:[initUIEvent,initUIEventModififiers,initMouseEvent,function initPointerEvent(event,{pointerId,width,height,pressure,tangentialPressure,tiltX,tiltY,twist,pointerType,isPrimary}){assignProps(event,{pointerId:sanitizeNumber(pointerId),width:sanitizeNumber(width),height:sanitizeNumber(height),pressure:sanitizeNumber(pressure),tangentialPressure:sanitizeNumber(tangentialPressure),tiltX:sanitizeNumber(tiltX),tiltY:sanitizeNumber(tiltY),twist:sanitizeNumber(twist),pointerType:String(pointerType),isPrimary:!!isPrimary})}],KeyboardEvent:[initUIEvent,initUIEventModififiers,function initKeyboardEvent(event,{key,code,location,repeat,isComposing,charCode}){assignProps(event,{key:String(key),code:String(code),location:sanitizeNumber(location),repeat:!!repeat,isComposing:!!isComposing,charCode})}]};function createEvent2(type3,target,init){let window2=getWindow(target),{EventType,defaultInit}=eventMap2[type3],event=new(function getEventConstructors(window2){var _window_Event;let Event=null!==(_window_Event=window2.Event)&&void 0!==_window_Event?_window_Event:class{};var _window_AnimationEvent;let AnimationEvent=null!==(_window_AnimationEvent=window2.AnimationEvent)&&void 0!==_window_AnimationEvent?_window_AnimationEvent:class extends Event{};var _window_ClipboardEvent;let ClipboardEvent=null!==(_window_ClipboardEvent=window2.ClipboardEvent)&&void 0!==_window_ClipboardEvent?_window_ClipboardEvent:class extends Event{};var _window_PopStateEvent;let PopStateEvent=null!==(_window_PopStateEvent=window2.PopStateEvent)&&void 0!==_window_PopStateEvent?_window_PopStateEvent:class extends Event{};var _window_ProgressEvent;let ProgressEvent=null!==(_window_ProgressEvent=window2.ProgressEvent)&&void 0!==_window_ProgressEvent?_window_ProgressEvent:class extends Event{};var _window_TransitionEvent;let TransitionEvent=null!==(_window_TransitionEvent=window2.TransitionEvent)&&void 0!==_window_TransitionEvent?_window_TransitionEvent:class extends Event{};var _window_UIEvent;let UIEvent=null!==(_window_UIEvent=window2.UIEvent)&&void 0!==_window_UIEvent?_window_UIEvent:class extends Event{};var _window_CompositionEvent;let CompositionEvent=null!==(_window_CompositionEvent=window2.CompositionEvent)&&void 0!==_window_CompositionEvent?_window_CompositionEvent:class extends UIEvent{};var _window_FocusEvent;let FocusEvent=null!==(_window_FocusEvent=window2.FocusEvent)&&void 0!==_window_FocusEvent?_window_FocusEvent:class extends UIEvent{};var _window_InputEvent;let InputEvent=null!==(_window_InputEvent=window2.InputEvent)&&void 0!==_window_InputEvent?_window_InputEvent:class extends UIEvent{};var _window_KeyboardEvent;let KeyboardEvent=null!==(_window_KeyboardEvent=window2.KeyboardEvent)&&void 0!==_window_KeyboardEvent?_window_KeyboardEvent:class extends UIEvent{};var _window_MouseEvent;let MouseEvent=null!==(_window_MouseEvent=window2.MouseEvent)&&void 0!==_window_MouseEvent?_window_MouseEvent:class extends UIEvent{};var _window_DragEvent;let DragEvent=null!==(_window_DragEvent=window2.DragEvent)&&void 0!==_window_DragEvent?_window_DragEvent:class extends MouseEvent{};var _window_PointerEvent;let PointerEvent=null!==(_window_PointerEvent=window2.PointerEvent)&&void 0!==_window_PointerEvent?_window_PointerEvent:class extends MouseEvent{};var _window_TouchEvent;let TouchEvent=null!==(_window_TouchEvent=window2.TouchEvent)&&void 0!==_window_TouchEvent?_window_TouchEvent:class extends UIEvent{};return{Event,AnimationEvent,ClipboardEvent,PopStateEvent,ProgressEvent,TransitionEvent,UIEvent,CompositionEvent,FocusEvent,InputEvent,KeyboardEvent,MouseEvent,DragEvent,PointerEvent,TouchEvent}}(window2)[EventType])(type3,defaultInit);return eventInitializer[EventType].forEach((f=>f(event,init??{}))),event}function assignProps(obj,props){for(let[key,value]of Object.entries(props))Object.defineProperty(obj,key,{get:()=>value??null})}function sanitizeNumber(n){return Number(n??0)}function initUIEvent(event,{view,detail}){assignProps(event,{view,detail:sanitizeNumber(detail??0)})}function initUIEventModififiers(event,{altKey,ctrlKey,metaKey,shiftKey,modifierAltGraph,modifierCapsLock,modifierFn,modifierFnLock,modifierNumLock,modifierScrollLock,modifierSymbol,modifierSymbolLock}){assignProps(event,{altKey:!!altKey,ctrlKey:!!ctrlKey,metaKey:!!metaKey,shiftKey:!!shiftKey,getModifierState:k=>!!{Alt:altKey,AltGraph:modifierAltGraph,CapsLock:modifierCapsLock,Control:ctrlKey,Fn:modifierFn,FnLock:modifierFnLock,Meta:metaKey,NumLock:modifierNumLock,ScrollLock:modifierScrollLock,Shift:shiftKey,Symbol:modifierSymbol,SymbolLock:modifierSymbolLock}[k]})}function initMouseEvent(event,{x,y:y2,screenX,screenY,clientX=x,clientY=y2,button,buttons,relatedTarget}){assignProps(event,{screenX:sanitizeNumber(screenX),screenY:sanitizeNumber(screenY),clientX:sanitizeNumber(clientX),x:sanitizeNumber(clientX),clientY:sanitizeNumber(clientY),y:sanitizeNumber(clientY),button:sanitizeNumber(button),buttons:sanitizeNumber(buttons),relatedTarget})}function dispatchUIEvent(target,type3,init,preventDefault=!1){(function isMouseEvent(type3){return mouseEvents.includes(getEventClass(type3))}(type3)||function isKeyboardEvent(type3){return"KeyboardEvent"===getEventClass(type3)}(type3))&&(init={...init,...this.system.getUIEventModifiers()});let event=createEvent2(type3,target,init);return dispatchEvent.call(this,target,event,preventDefault)}function dispatchEvent(target,event,preventDefault=!1){var _behavior_type;let type3=event.type,behaviorImplementation=preventDefault?()=>{}:null===(_behavior_type=behavior[type3])||void 0===_behavior_type?void 0:_behavior_type.call(behavior,event,target,this);if(behaviorImplementation){event.preventDefault();let defaultPrevented=!1;return Object.defineProperty(event,"defaultPrevented",{get:()=>defaultPrevented}),Object.defineProperty(event,"preventDefault",{value:()=>{defaultPrevented=event.cancelable}}),wrapEvent((()=>target.dispatchEvent(event))),defaultPrevented||behaviorImplementation(),!defaultPrevented}return wrapEvent((()=>target.dispatchEvent(event)))}var Interceptor=Symbol("Interceptor for programmatical calls");function prepareInterceptor(element,propName,interceptorImpl){let prototypeDescriptor=Object.getOwnPropertyDescriptor(element.constructor.prototype,propName),objectDescriptor=Object.getOwnPropertyDescriptor(element,propName),target=prototypeDescriptor?.set?"set":"value";if("function"!=typeof prototypeDescriptor?.[target]||prototypeDescriptor[target][Interceptor])throw new Error(`Element ${element.tagName} does not implement "${String(propName)}".`);function intercept(...args){let{applyNative=!1,realArgs,then}=interceptorImpl.call(this,...args),realFunc=(!applyNative&&objectDescriptor||prototypeDescriptor)[target];"set"===target?realFunc.call(this,realArgs):realFunc.call(this,...realArgs),then?.()}intercept[Interceptor]=Interceptor,Object.defineProperty(element,propName,{...objectDescriptor??prototypeDescriptor,[target]:intercept})}function prepareValueInterceptor(element){prepareInterceptor(element,"value",(function(v2){let isUI=function isUIValue(value){return"object"==typeof value&&UIValue in value}(v2);return isUI&&startTrackValue(this),{applyNative:!!isUI,realArgs:sanitizeValue(this,v2),then:isUI?void 0:()=>function trackOrSetValue(element,v2){var _element_TrackChanges_tracked,_element_TrackChanges;null===(_element_TrackChanges=element[TrackChanges])||void 0===_element_TrackChanges||null===(_element_TrackChanges_tracked=_element_TrackChanges.tracked)||void 0===_element_TrackChanges_tracked||_element_TrackChanges_tracked.push(v2),element[TrackChanges]||(setUIValueClean(element),setUISelection(element,{focusOffset:v2.length}))}(this,String(v2))}}))}function sanitizeValue(element,v2){return isElementType(element,"input",{type:"number"})&&""!==String(v2)&&!Number.isNaN(Number(v2))?String(Number(v2)):String(v2)}function prepareSelectionInterceptor(element){prepareInterceptor(element,"setSelectionRange",(function(start,...others){let isUI=function isUISelectionStart(start){return!!start&&"object"==typeof start&&UISelection in start}(start);return{applyNative:!!isUI,realArgs:[Number(start),...others],then:()=>isUI?void 0:setUISelectionClean(element)}})),prepareInterceptor(element,"selectionStart",(function(v2){return{realArgs:v2,then:()=>setUISelectionClean(element)}})),prepareInterceptor(element,"selectionEnd",(function(v2){return{realArgs:v2,then:()=>setUISelectionClean(element)}})),prepareInterceptor(element,"select",(function(){return{realArgs:[],then:()=>function setUISelectionRaw(element,selection){element[UISelection]=selection}(element,{anchorOffset:0,focusOffset:getUIValue(element).length})}}))}var DOM_KEY_LOCATION,DOM_KEY_LOCATION2,isPrepared=Symbol("Node prepared with document state workarounds");function prepareDocument(document2){document2[isPrepared]||(document2.addEventListener("focus",(e=>{prepareElement(e.target)}),{capture:!0,passive:!0}),document2.activeElement&&prepareElement(document2.activeElement),document2.addEventListener("blur",(e=>{let el=e.target,initialValue2=function getInitialValue(element){return element[InitialValue]}(el);void 0!==initialValue2&&(el.value!==initialValue2&&function dispatchDOMEvent(target,type3,init){let event=createEvent2(type3,target,init);wrapEvent((()=>target.dispatchEvent(event)))}(el,"change"),clearInitialValue(el))}),{capture:!0,passive:!0}),document2[isPrepared]=isPrepared)}function prepareElement(el){el[isPrepared]||(isElementType(el,["input","textarea"])&&(prepareValueInterceptor(el),prepareSelectionInterceptor(el),function prepareRangeTextInterceptor(element){prepareInterceptor(element,"setRangeText",(function(...realArgs){return{realArgs,then:()=>{setUIValueClean(element),setUISelectionClean(element)}}}))}(el)),el[isPrepared]=isPrepared)}function wait(config3){let delay=config3.delay;if("number"==typeof delay)return Promise.all([new Promise((resolve=>globalThis.setTimeout((()=>resolve()),delay))),config3.advanceTimers(delay)])}function _define_property3(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(DOM_KEY_LOCATION2=DOM_KEY_LOCATION||(DOM_KEY_LOCATION={}))[DOM_KEY_LOCATION2.STANDARD=0]="STANDARD",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.LEFT=1]="LEFT",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.RIGHT=2]="RIGHT",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.NUMPAD=3]="NUMPAD";var modifierKeys=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function isModifierKey(key){return modifierKeys.includes(key)}var modifierLocks=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function isModifierLock(key){return modifierLocks.includes(key)}var defaultKeyMap=[..."0123456789".split("").map((c=>({code:`Digit${c}`,key:c}))),...")!@#$%^&*(".split("").map(((c,i)=>({code:`Digit${i}`,key:c,shiftKey:!0}))),..."abcdefghijklmnopqrstuvwxyz".split("").map((c=>({code:`Key${c.toUpperCase()}`,key:c}))),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map((c=>({code:`Key${c}`,key:c,shiftKey:!0}))),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:DOM_KEY_LOCATION.LEFT},{code:"AltRight",key:"Alt",location:DOM_KEY_LOCATION.RIGHT},{code:"ShiftLeft",key:"Shift",location:DOM_KEY_LOCATION.LEFT},{code:"ShiftRight",key:"Shift",location:DOM_KEY_LOCATION.RIGHT},{code:"ControlLeft",key:"Control",location:DOM_KEY_LOCATION.LEFT},{code:"ControlRight",key:"Control",location:DOM_KEY_LOCATION.RIGHT},{code:"MetaLeft",key:"Meta",location:DOM_KEY_LOCATION.LEFT},{code:"MetaRight",key:"Meta",location:DOM_KEY_LOCATION.RIGHT},{code:"OSLeft",key:"OS",location:DOM_KEY_LOCATION.LEFT},{code:"OSRight",key:"OS",location:DOM_KEY_LOCATION.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}];var Buttons=class{getButtons(){let v2=0;for(let button of Object.keys(this.pressed))v2|=2**Number(button);return v2}down(keyDef){let button=getMouseButtonId(keyDef.button);if(!(button in this.pressed))return this.pressed[button]=[keyDef],button;this.pressed[button].push(keyDef)}up(keyDef){let button=getMouseButtonId(keyDef.button);if(button in this.pressed&&(this.pressed[button]=this.pressed[button].filter((k=>k.name!==keyDef.name)),0===this.pressed[button].length))return delete this.pressed[button],button}constructor(){!function _define_property4(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(this,"pressed",{})}},MouseButton={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function getMouseButtonId(button=0){return button in MouseButton?MouseButton[button]:Number(button)}var MouseButtonFlip={1:2,2:1};function getMouseEventButton(button){return(button=getMouseButtonId(button))in MouseButtonFlip?MouseButtonFlip[button]:button}function getTreeDiff(a,b2){let treeA=[];for(let el=a;el;el=el.parentElement)treeA.push(el);let treeB=[];for(let el=b2;el;el=el.parentElement)treeB.push(el);let i=0;for(;!(i>=treeA.length||i>=treeB.length||treeA[treeA.length-1-i]!==treeB[treeB.length-1-i]);i++);return[treeA.slice(0,treeA.length-i),treeB.slice(0,treeB.length-i),treeB.slice(treeB.length-i)]}function resolveCaretPosition({target,node,offset}){return hasOwnSelection(target)?{node:target,offset:offset??getUIValue(target).length}:node?{node,offset:offset??(3===node.nodeType?node.nodeValue.length:node.childNodes.length)}:findNodeAtTextOffset(target,offset)}function findNodeAtTextOffset(node,offset,isRoot=!0){let i=void 0===offset?node.childNodes.length-1:0,step=void 0===offset?-1:1;for(;void 0===offset?i>=(isRoot?Math.max(node.childNodes.length-1,0):0):i<=node.childNodes.length;){if(offset&&i===node.childNodes.length)throw new Error("The given offset is out of bounds.");let c=node.childNodes.item(i),text=String(c.textContent);if(text.length)if(void 0!==offset&&text.length1?"inherits":"has"} \`pointer-events: none\`:`,"",(tree=declaration.tree,tree.reverse().map(((el,i)=>["".padEnd(i),el.tagName,el.id&&`#${el.id}`,el.hasAttribute("data-testid")&&`(testId=${el.getAttribute("data-testid")})`,getLabelDescr(el),tree.length>1&&0===i&&" <-- This element declared `pointer-events: none`",tree.length>1&&i===tree.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join(""))).join("\n"))].join("\n"));var tree}function getLabelDescr(element){var _element_labels;let label;if(element.hasAttribute("aria-label"))label=element.getAttribute("aria-label");else if(element.hasAttribute("aria-labelledby")){var _element_ownerDocument_getElementById_textContent,_element_ownerDocument_getElementById;label=null===(_element_ownerDocument_getElementById=element.ownerDocument.getElementById(element.getAttribute("aria-labelledby")))||void 0===_element_ownerDocument_getElementById||null===(_element_ownerDocument_getElementById_textContent=_element_ownerDocument_getElementById.textContent)||void 0===_element_ownerDocument_getElementById_textContent?void 0:_element_ownerDocument_getElementById_textContent.trim()}else if(isElementType(element,["button","input","meter","output","progress","select","textarea"])&&null!==(_element_labels=element.labels)&&void 0!==_element_labels&&_element_labels.length)label=Array.from(element.labels).map((el=>{var _el_textContent;return null===(_el_textContent=el.textContent)||void 0===_el_textContent?void 0:_el_textContent.trim()})).join("|");else if(isElementType(element,"button")){var _element_textContent;label=null===(_element_textContent=element.textContent)||void 0===_element_textContent?void 0:_element_textContent.trim()}return label=label?.replace(/\n/g," "),Number(label?.length)>30&&(label=`${label?.substring(0,29)}…`),label?`(label=${label})`:""}function hasBitFlag(conf,flag){return(conf&flag)>0}function _define_property7(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Pointer=class{init(instance,position){this.position=position;let target=this.getTarget(instance),[,enter]=getTreeDiff(null,target),init=this.getEventInit();return assertPointerEvents(instance,target),instance.dispatchUIEvent(target,"pointerover",init),enter.forEach((el=>instance.dispatchUIEvent(el,"pointerenter",init))),this}move(instance,position){let prevPosition=this.position,prevTarget=this.getTarget(instance);if(this.position=position,!isDifferentPointerPosition(prevPosition,position))return;let nextTarget=this.getTarget(instance),init=this.getEventInit(),[leave,enter]=getTreeDiff(prevTarget,nextTarget);return{leave:()=>{hasPointerEvents(instance,prevTarget)&&prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,"pointerout",init),leave.forEach((el=>instance.dispatchUIEvent(el,"pointerleave",init))))},enter:()=>{assertPointerEvents(instance,nextTarget),prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,"pointerover",init),enter.forEach((el=>instance.dispatchUIEvent(el,"pointerenter",init))))},move:()=>{instance.dispatchUIEvent(nextTarget,"pointermove",init)}}}down(instance,_keyDef){if(this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!0,this.isPrevented=!instance.dispatchUIEvent(target,"pointerdown",this.getEventInit())}up(instance,_keyDef){if(!this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!1,instance.dispatchUIEvent(target,"pointerup",this.getEventInit())}release(instance){let target=this.getTarget(instance),[leave]=getTreeDiff(target,null),init=this.getEventInit();hasPointerEvents(instance,target)&&(instance.dispatchUIEvent(target,"pointerout",init),leave.forEach((el=>instance.dispatchUIEvent(el,"pointerleave",init)))),this.isCancelled=!0}getTarget(instance){var _this_position_target;return null!==(_this_position_target=this.position.target)&&void 0!==_this_position_target?_this_position_target:instance.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId,pointerType,isPrimary}){_define_property7(this,"pointerId",void 0),_define_property7(this,"pointerType",void 0),_define_property7(this,"isPrimary",void 0),_define_property7(this,"isMultitouch",!1),_define_property7(this,"isCancelled",!1),_define_property7(this,"isDown",!1),_define_property7(this,"isPrevented",!1),_define_property7(this,"position",{}),this.pointerId=pointerId,this.pointerType=pointerType,this.isPrimary=isPrimary,this.isMultitouch=!isPrimary}};function _define_property8(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _define_property9(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var System=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){_define_property9(this,"keyboard",new class{isKeyPressed(keyDef){return!!this.pressed[String(keyDef.code)]}getPressedKeys(){return Object.values(this.pressed).map((p2=>p2.keyDef))}async keydown(instance,keyDef){var _this_pressed,_code,_this_pressed_code;let key=String(keyDef.key),code=String(keyDef.code),target=getActiveElementOrBody(instance.config.document);var _;this.setKeydownTarget(target),null!==(_=(_this_pressed=this.pressed)[_code=code])&&void 0!==_||(_this_pressed[_code]={keyDef,unpreventedDefault:!1}),isModifierKey(key)&&(this.modifiers[key]=!0);let unprevented=instance.dispatchUIEvent(target,"keydown",{key,code});isModifierLock(key)&&!this.modifiers[key]&&(this.modifiers[key]=!0,this.modifierLockStart[key]=!0),(_this_pressed_code=this.pressed[code]).unpreventedDefault||(_this_pressed_code.unpreventedDefault=unprevented),unprevented&&this.hasKeyPress(key)&&instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),"keypress",{key,code,charCode:"Enter"===keyDef.key?13:String(keyDef.key).charCodeAt(0)})}async keyup(instance,keyDef){let key=String(keyDef.key),code=String(keyDef.code),unprevented=this.pressed[code].unpreventedDefault;delete this.pressed[code],isModifierKey(key)&&!Object.values(this.pressed).find((p2=>p2.keyDef.key===key))&&(this.modifiers[key]=!1),instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),"keyup",{key,code},!unprevented),isModifierLock(key)&&this.modifiers[key]&&(this.modifierLockStart[key]?this.modifierLockStart[key]=!1:this.modifiers[key]=!1)}setKeydownTarget(target){target!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=target}hasKeyPress(key){return!(1!==key.length&&"Enter"!==key||this.modifiers.Control||this.modifiers.Alt)}constructor(system){_define_property3(this,"system",void 0),_define_property3(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),_define_property3(this,"pressed",{}),_define_property3(this,"carryChar",""),_define_property3(this,"lastKeydownTarget",void 0),_define_property3(this,"modifierLockStart",{}),this.system=system}}(this)),_define_property9(this,"pointer",new class{isKeyPressed(keyDef){return this.devices.get(keyDef.pointerType).isPressed(keyDef)}async press(instance,keyDef,position){let pointerName=this.getPointerName(keyDef),pointer3="touch"===keyDef.pointerType?this.pointers.new(pointerName,keyDef).init(instance,position):this.pointers.get(pointerName);pointer3.position=position,"touch"!==pointer3.pointerType&&(this.mouse.position=position),this.devices.get(keyDef.pointerType).addPressed(keyDef),this.buttons.down(keyDef),pointer3.down(instance,keyDef),"touch"!==pointer3.pointerType&&!pointer3.isPrevented&&this.mouse.down(instance,keyDef,pointer3)}async move(instance,pointerName,position){let pointer3=this.pointers.get(pointerName),pointermove=pointer3.move(instance,position),mousemove="touch"===pointer3.pointerType||pointer3.isPrevented&&pointer3.isDown?void 0:this.mouse.move(instance,position);pointermove?.leave(),mousemove?.leave(),pointermove?.enter(),mousemove?.enter(),pointermove?.move(),mousemove?.move()}async release(instance,keyDef,position){let device=this.devices.get(keyDef.pointerType);device.removePressed(keyDef),this.buttons.up(keyDef);let pointer3=this.pointers.get(this.getPointerName(keyDef));if(pointer3.position=position,"touch"!==pointer3.pointerType&&(this.mouse.position=position),0===device.countPressed&&pointer3.up(instance,keyDef),"touch"===pointer3.pointerType&&pointer3.release(instance),!pointer3.isPrevented){if("touch"===pointer3.pointerType&&!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.down(instance,keyDef,pointer3)}if(!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.up(instance,keyDef,pointer3)}}}getPointerName(keyDef){return"touch"===keyDef.pointerType?keyDef.name:keyDef.pointerType}getPreviousPosition(pointerName){return this.pointers.has(pointerName)?this.pointers.get(pointerName).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(instance){var _this_mouse_position_target;return null!==(_this_mouse_position_target=this.mouse.position.target)&&void 0!==_this_mouse_position_target?_this_mouse_position_target:instance.config.document.body}setMousePosition(position){this.mouse.position=position,this.pointers.get("mouse").position=position}constructor(system){_define_property8(this,"system",void 0),_define_property8(this,"mouse",void 0),_define_property8(this,"buttons",void 0),_define_property8(this,"devices",new class{get(k){var _this_registry,_k,_;return null!==(_=(_this_registry=this.registry)[_k=k])&&void 0!==_||(_this_registry[_k]=new class{get countPressed(){return this.pressedKeys.size}isPressed(keyDef){return this.pressedKeys.has(keyDef.name)}addPressed(keyDef){return this.pressedKeys.add(keyDef.name)}removePressed(keyDef){return this.pressedKeys.delete(keyDef.name)}constructor(){!function _define_property5(obj,key,value){key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value}(this,"pressedKeys",new Set)}}),this.registry[k]}constructor(){_define_property8(this,"registry",{})}}),_define_property8(this,"pointers",new class{new(pointerName,keyDef){let isPrimary="touch"!==keyDef.pointerType||!Object.values(this.registry).some((p2=>"touch"===p2.pointerType&&!p2.isCancelled));return isPrimary||Object.values(this.registry).forEach((p2=>{p2.pointerType===keyDef.pointerType&&!p2.isCancelled&&(p2.isMultitouch=!0)})),this.registry[pointerName]=new Pointer({pointerId:this.nextId++,pointerType:keyDef.pointerType,isPrimary}),this.registry[pointerName]}get(pointerName){if(!this.has(pointerName))throw new Error(`Trying to access pointer "${pointerName}" which does not exist.`);return this.registry[pointerName]}has(pointerName){return pointerName in this.registry}constructor(){_define_property8(this,"registry",{mouse:new Pointer({pointerId:1,pointerType:"mouse",isPrimary:!0})}),_define_property8(this,"nextId",2)}}),this.system=system,this.buttons=new Buttons,this.mouse=new class{move(instance,position){let prevPosition=this.position,prevTarget=this.getTarget(instance);if(this.position=position,!isDifferentPointerPosition(prevPosition,position))return;let nextTarget=this.getTarget(instance),init=this.getEventInit("mousemove"),[leave,enter]=getTreeDiff(prevTarget,nextTarget);return{leave:()=>{prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,"mouseout",init),leave.forEach((el=>instance.dispatchUIEvent(el,"mouseleave",init))))},enter:()=>{prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,"mouseover",init),enter.forEach((el=>instance.dispatchUIEvent(el,"mouseenter",init))))},move:()=>{instance.dispatchUIEvent(nextTarget,"mousemove",init),this.modifySelecting(instance)}}}down(instance,keyDef,pointer3){let button=this.buttons.down(keyDef);if(void 0===button)return;let target=this.getTarget(instance);this.buttonDownTarget[button]=target;let disabled=isDisabled2(target),init=this.getEventInit("mousedown",keyDef.button);(disabled||instance.dispatchUIEvent(target,"mousedown",init))&&(this.startSelecting(instance,init.detail),focusElement(target)),!disabled&&2===getMouseEventButton(keyDef.button)&&instance.dispatchUIEvent(target,"contextmenu",this.getEventInit("contextmenu",keyDef.button,pointer3))}up(instance,keyDef,pointer3){let button=this.buttons.up(keyDef);if(void 0===button)return;let target=this.getTarget(instance);if(!isDisabled2(target)){instance.dispatchUIEvent(target,"mouseup",this.getEventInit("mouseup",keyDef.button)),this.endSelecting();let clickTarget=getTreeDiff(this.buttonDownTarget[button],target)[2][0];if(clickTarget){let init=this.getEventInit("click",keyDef.button,pointer3);init.detail&&(instance.dispatchUIEvent(clickTarget,0===init.button?"click":"auxclick",init),0===init.button&&2===init.detail&&instance.dispatchUIEvent(clickTarget,"dblclick",{...this.getEventInit("dblclick",keyDef.button),detail:init.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(type3,button,pointer3){let init={...this.position.coords};return pointer3&&(init.pointerId=pointer3.pointerId,init.pointerType=pointer3.pointerType,init.isPrimary=pointer3.isPrimary),init.button=getMouseEventButton(button),init.buttons=this.buttons.getButtons(),"mousedown"===type3?init.detail=this.clickCount.getOnDown(init.button):"mouseup"===type3?init.detail=this.clickCount.getOnUp(init.button):("click"===type3||"auxclick"===type3)&&(init.detail=this.clickCount.incOnClick(init.button)),init}getTarget(instance){var _this_position_target;return null!==(_this_position_target=this.position.target)&&void 0!==_this_position_target?_this_position_target:instance.config.document.body}startSelecting(instance,clickCount){var _this_position_caret,_this_position_caret1;this.selecting=setSelectionPerMouseDown({document:instance.config.document,target:this.getTarget(instance),node:null===(_this_position_caret=this.position.caret)||void 0===_this_position_caret?void 0:_this_position_caret.node,offset:null===(_this_position_caret1=this.position.caret)||void 0===_this_position_caret1?void 0:_this_position_caret1.offset,clickCount})}modifySelecting(instance){var _this_position_caret,_this_position_caret1;this.selecting&&function modifySelectionPerMouseMove(selectionRange,{document:document2,target,node,offset}){let selectionFocus=resolveCaretPosition({target,node,offset});if("node"in selectionRange){if(selectionFocus.node===selectionRange.node){let anchorOffset=selectionFocus.offsetselectionRange.end||selectionFocus.offset0&&range.setEnd(selectionFocus.node,selectionFocus.offset);let selection=document2.getSelection();selection?.removeAllRanges(),selection?.addRange(range.cloneRange())}}(this.selecting,{document:instance.config.document,target:this.getTarget(instance),node:null===(_this_position_caret=this.position.caret)||void 0===_this_position_caret?void 0:_this_position_caret.node,offset:null===(_this_position_caret1=this.position.caret)||void 0===_this_position_caret1?void 0:_this_position_caret1.offset})}endSelecting(){this.selecting=void 0}constructor(){_define_property6(this,"position",{}),_define_property6(this,"buttons",new Buttons),_define_property6(this,"selecting",void 0),_define_property6(this,"buttonDownTarget",{}),_define_property6(this,"clickCount",new class{incOnClick(button){let current=void 0===this.down[button]?void 0:Number(this.down[button])+1;return this.count=void 0===this.count[button]?{}:{[button]:Number(this.count[button])+1},current}getOnDown(button){var _this_count_button,_this_count_button1;return this.down={[button]:null!==(_this_count_button=this.count[button])&&void 0!==_this_count_button?_this_count_button:0},this.count={[button]:null!==(_this_count_button1=this.count[button])&&void 0!==_this_count_button1?_this_count_button1:0},Number(this.count[button])+1}getOnUp(button){return void 0===this.down[button]?void 0:Number(this.down[button])+1}reset(){this.count={}}constructor(){_define_property6(this,"down",{}),_define_property6(this,"count",{})}})}}}}(this))}};async function keyboardAction(instance,{keyDef,releasePrevious,releaseSelf,repeat}){let{system}=instance;if(system.keyboard.isKeyPressed(keyDef)&&await system.keyboard.keyup(instance,keyDef),!releasePrevious){for(let i=1;i<=repeat;i++)await system.keyboard.keydown(instance,keyDef),ip2.name===descriptor));keyDef&&defs.push({keyDef,releasePrevious,releaseSelf}),keys2=keys2.slice(consumedLength)}while(keys2);return defs}async function pointerAction(instance,action){var _previousPosition_caret,_previousPosition_caret1;let pointerName="pointerName"in action&&action.pointerName?action.pointerName:"keyDef"in action?instance.system.pointer.getPointerName(action.keyDef):"mouse",previousPosition=instance.system.pointer.getPreviousPosition(pointerName);var _action_target,_action_coords,_action_node,_action_offset;let position={target:null!==(_action_target=action.target)&&void 0!==_action_target?_action_target:getPrevTarget(instance,previousPosition),coords:null!==(_action_coords=action.coords)&&void 0!==_action_coords?_action_coords:previousPosition?.coords,caret:{node:null!==(_action_node=action.node)&&void 0!==_action_node?_action_node:hasCaretPosition(action)||null==previousPosition||null===(_previousPosition_caret=previousPosition.caret)||void 0===_previousPosition_caret?void 0:_previousPosition_caret.node,offset:null!==(_action_offset=action.offset)&&void 0!==_action_offset?_action_offset:hasCaretPosition(action)||null==previousPosition||null===(_previousPosition_caret1=previousPosition.caret)||void 0===_previousPosition_caret1?void 0:_previousPosition_caret1.offset}};"keyDef"in action?(instance.system.pointer.isKeyPressed(action.keyDef)&&(setLevelRef(instance,ApiLevel.Trigger),await instance.system.pointer.release(instance,action.keyDef,position)),action.releasePrevious||(setLevelRef(instance,ApiLevel.Trigger),await instance.system.pointer.press(instance,action.keyDef,position),action.releaseSelf&&(setLevelRef(instance,ApiLevel.Trigger),await instance.system.pointer.release(instance,action.keyDef,position)))):(setLevelRef(instance,ApiLevel.Trigger),await instance.system.pointer.move(instance,pointerName,position))}function hasCaretPosition(action){var _action_target,_ref;return!!(null!==(_ref=null!==(_action_target=action.target)&&void 0!==_action_target?_action_target:action.node)&&void 0!==_ref?_ref:void 0!==action.offset)}function getPrevTarget(instance,position){if(!position)throw new Error("This pointer has no previous position. Provide a target property!");var _position_target;return null!==(_position_target=position.target)&&void 0!==_position_target?_position_target:instance.config.document.body}async function selectOptionsBase(newValue,select,values){if(!newValue&&!select.multiple)throw getConfig().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",select);let valArray=Array.isArray(values)?values:[values],allOptions=Array.from(select.querySelectorAll('option, [role="option"]')),selectedOptions=valArray.map((val=>{if("string"!=typeof val&&allOptions.includes(val))return val;{let matchingOption=allOptions.find((o=>o.value===val||o.innerHTML===val));if(matchingOption)return matchingOption;throw getConfig().getElementError(`Value "${String(val)}" not found in options`,select)}})).filter((option=>!isDisabled2(option)));if(isDisabled2(select)||!selectedOptions.length)return;let selectOption=option=>{option.selected=newValue,this.dispatchUIEvent(select,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(select,"change")};if(isElementType(select,"select"))if(select.multiple)for(let option of selectedOptions){let withPointerEvents=0===this.config.pointerEventsCheck||hasPointerEvents(this,option);withPointerEvents&&(this.dispatchUIEvent(option,"pointerover"),this.dispatchUIEvent(select,"pointerenter"),this.dispatchUIEvent(option,"mouseover"),this.dispatchUIEvent(select,"mouseenter"),this.dispatchUIEvent(option,"pointermove"),this.dispatchUIEvent(option,"mousemove"),this.dispatchUIEvent(option,"pointerdown"),this.dispatchUIEvent(option,"mousedown")),focusElement(select),withPointerEvents&&(this.dispatchUIEvent(option,"pointerup"),this.dispatchUIEvent(option,"mouseup")),selectOption(option),withPointerEvents&&this.dispatchUIEvent(option,"click"),await wait(this.config)}else{if(1!==selectedOptions.length)throw getConfig().getElementError("Cannot select multiple options on a non-multiple select",select);{let withPointerEvents=0===this.config.pointerEventsCheck||hasPointerEvents(this,select);withPointerEvents?await this.click(select):focusElement(select),selectOption(selectedOptions[0]),withPointerEvents&&(this.dispatchUIEvent(select,"pointerover"),this.dispatchUIEvent(select,"pointerenter"),this.dispatchUIEvent(select,"mouseover"),this.dispatchUIEvent(select,"mouseenter"),this.dispatchUIEvent(select,"pointerup"),this.dispatchUIEvent(select,"mouseup"),this.dispatchUIEvent(select,"click")),await wait(this.config)}}else{if("listbox"!==select.getAttribute("role"))throw getConfig().getElementError("Cannot select options on elements that are neither select nor listbox elements",select);for(let option of selectedOptions)await this.click(option),await this.unhover(option)}}var fakeFiles=Symbol("files and value properties are mocked");function restoreProperty(obj,prop,descriptor){descriptor?Object.defineProperty(obj,prop,descriptor):delete obj[prop]}var userEventApi={click:async function click(element){let pointerIn=[];return this.config.skipHover||pointerIn.push({target:element}),pointerIn.push({keys:"[MouseLeft]",target:element}),this.pointer(pointerIn)},dblClick:async function dblClick(element){return this.pointer([{target:element},"[MouseLeft][MouseLeft]"])},tripleClick:async function tripleClick(element){return this.pointer([{target:element},"[MouseLeft][MouseLeft][MouseLeft]"])},hover:async function hover(element){return this.pointer({target:element})},unhover:async function unhover(element){return assertPointerEvents(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:element.ownerDocument.body})},tab:async function tab({shift}={}){return this.keyboard(!0===shift?"{Shift>}{Tab}{/Shift}":!1===shift?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")},keyboard:async function keyboard(text){let actions=function parseKeyDef(keyboardMap,text){let defs=[];do{let{type:type3,descriptor,consumedLength,releasePrevious,releaseSelf=!0,repeat}=readNextDescriptor(text,"keyboard");var _keyboardMap_find;let keyDef=null!==(_keyboardMap_find=keyboardMap.find((def=>{var _def_code,_def_key;return"["===type3?(null===(_def_code=def.code)||void 0===_def_code?void 0:_def_code.toLowerCase())===descriptor.toLowerCase():"{"===type3?(null===(_def_key=def.key)||void 0===_def_key?void 0:_def_key.toLowerCase())===descriptor.toLowerCase():def.key===descriptor})))&&void 0!==_keyboardMap_find?_keyboardMap_find:{key:"Unknown",code:"Unknown",["["===type3?"code":"key"]:descriptor};defs.push({keyDef,releasePrevious,releaseSelf,repeat}),text=text.slice(consumedLength)}while(text);return defs}(this.config.keyboardMap,text);for(let i=0;ireadBlobText(b2,window2.FileReader))));return dt}(doc).catch((()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")}));this.dispatchUIEvent(target,"paste",{clipboardData:dataTransfer})},pointer:async function pointer(input2){let{pointerMap}=this.config,actions=[];(Array.isArray(input2)?input2:[input2]).forEach((actionInput=>{"string"==typeof actionInput?actions.push(...parseKeyDef2(pointerMap,actionInput)):"keys"in actionInput?actions.push(...parseKeyDef2(pointerMap,actionInput.keys).map((i=>({...actionInput,...i})))):actions.push(actionInput)}));for(let i=0;i!this.config.applyAccept||function isAcceptableFile(file,accept){if(!accept)return!0;let wildcards=["audio/*","image/*","video/*"];return accept.split(",").some((acceptToken=>acceptToken.startsWith(".")?file.name.endsWith(acceptToken):wildcards.includes(acceptToken)?file.type.startsWith(acceptToken.substr(0,acceptToken.length-1)):file.type===acceptToken))}(file,input2.accept))).slice(0,input2.multiple?void 0:1),fileDialog=()=>{var _input_files;files.length===(null===(_input_files=input2.files)||void 0===_input_files?void 0:_input_files.length)&&files.every(((f,i)=>{var _input_files2;return f===(null===(_input_files2=input2.files)||void 0===_input_files2?void 0:_input_files2.item(i))}))||(function setFiles(el,files){var _el_fakeFiles;null===(_el_fakeFiles=el[fakeFiles])||void 0===_el_fakeFiles||_el_fakeFiles.restore();let typeDescr=Object.getOwnPropertyDescriptor(el,"type"),valueDescr=Object.getOwnPropertyDescriptor(el,"value"),filesDescr=Object.getOwnPropertyDescriptor(el,"files");function restore(){restoreProperty(el,"type",typeDescr),restoreProperty(el,"value",valueDescr),restoreProperty(el,"files",filesDescr)}el[fakeFiles]={restore},Object.defineProperties(el,{files:{configurable:!0,get:()=>files},value:{configurable:!0,get:()=>files.length?`C:\\fakepath\\${files[0].name}`:"",set(v2){var _valueDescr_set;""===v2?restore():null==valueDescr||null===(_valueDescr_set=valueDescr.set)||void 0===_valueDescr_set||_valueDescr_set.call(el,v2)}},type:{configurable:!0,get:()=>"file",set(v2){"file"!==v2&&(restore(),el.type=v2)}}})}(input2,createFileList(getWindow(element),files)),this.dispatchUIEvent(input2,"input"),this.dispatchUIEvent(input2,"change"))};input2.addEventListener("fileDialog",fileDialog),await this.click(element),input2.removeEventListener("fileDialog",fileDialog)}};var defaultOptionsDirect={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:defaultKeyMap,pointerMap:[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}],pointerEventsCheck:PointerEventsCheckLevel.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},defaultOptionsSetup={...defaultOptionsDirect,writeToClipboard:!0};function createConfig(options={},defaults=defaultOptionsSetup,node){let document2=function getDocument2(options,node,defaults){var _options_document,_ref;return null!==(_ref=null!==(_options_document=options.document)&&void 0!==_options_document?_options_document:node&&function getDocumentFromNode(el){return function isDocument2(node){return 9===node.nodeType}(el)?el:el.ownerDocument}(node))&&void 0!==_ref?_ref:defaults.document}(options,node,defaults);return{...defaults,...options,document:document2}}function setupDirect({keyboardState,pointerState,...options}={},node){let config3=createConfig(options,defaultOptionsDirect,node);var _ref;prepareDocument(config3.document);let system=null!==(_ref=pointerState??keyboardState)&&void 0!==_ref?_ref:new System;return{api:createInstance(config3,system).api,system}}function setupSub(options){return createInstance({...this.config,...options},this.system).api}function wrapAndBindImpl(instance,impl){function method(...args){return setLevelRef(instance,ApiLevel.Call),function wrapAsync(implementation){return getConfig().asyncWrapper(implementation)}((()=>impl.apply(instance,args).then((async ret=>(await wait(instance.config),ret)))))}return Object.defineProperty(method,"name",{get:()=>impl.name}),method}function createInstance(config3,system=new System){let instance={};return Object.assign(instance,{config:config3,dispatchEvent:dispatchEvent.bind(instance),dispatchUIEvent:dispatchUIEvent.bind(instance),system,levelRefs:{},...userEventApi}),{instance,api:{...Object.fromEntries(Object.entries(userEventApi).map((([name,api])=>[name,wrapAndBindImpl(instance,api)]))),setup:setupSub.bind(instance)}}}var directApi_exports={};function clear2(element){return setupDirect().api.clear(element)}function click2(element,options={}){return setupDirect(options,element).api.click(element)}function copy2(options={}){return setupDirect(options).api.copy()}function cut2(options={}){return setupDirect(options).api.cut()}function dblClick2(element,options={}){return setupDirect(options).api.dblClick(element)}function deselectOptions2(select,values,options={}){return setupDirect(options).api.deselectOptions(select,values)}function hover2(element,options={}){return setupDirect(options).api.hover(element)}async function keyboard2(text,options={}){let{api,system}=setupDirect(options);return api.keyboard(text).then((()=>system))}async function pointer2(input2,options={}){let{api,system}=setupDirect(options);return api.pointer(input2).then((()=>system))}function paste2(clipboardData,options){return setupDirect(options).api.paste(clipboardData)}function selectOptions2(select,values,options={}){return setupDirect(options).api.selectOptions(select,values)}function tripleClick2(element,options={}){return setupDirect(options).api.tripleClick(element)}function type2(element,text,options={}){return setupDirect(options,element).api.type(element,text,options)}function unhover2(element,options={}){let{api,system}=setupDirect(options);return system.pointer.setMousePosition({target:element}),api.unhover(element)}function upload2(element,fileOrFiles,options={}){return setupDirect(options).api.upload(element,fileOrFiles)}function tab2(options={}){return setupDirect().api.tab(options)}__export(directApi_exports,{clear:()=>clear2,click:()=>click2,copy:()=>copy2,cut:()=>cut2,dblClick:()=>dblClick2,deselectOptions:()=>deselectOptions2,hover:()=>hover2,keyboard:()=>keyboard2,paste:()=>paste2,pointer:()=>pointer2,selectOptions:()=>selectOptions2,tab:()=>tab2,tripleClick:()=>tripleClick2,type:()=>type2,unhover:()=>unhover2,upload:()=>upload2});var userEvent={...directApi_exports,setup:function setupMain(options={}){let config3=createConfig(options);var _config_document_defaultView;return prepareDocument(config3.document),function attachClipboardStubToView(window2){if(isClipboardStub(window2.navigator.clipboard))return window2.navigator.clipboard[ClipboardStubControl];let stub,realClipboard=Object.getOwnPropertyDescriptor(window2.navigator,"clipboard"),control={resetClipboardStub:()=>{stub=createClipboardStub(window2,control)},detachClipboardStub:()=>{realClipboard?Object.defineProperty(window2.navigator,"clipboard",realClipboard):Object.defineProperty(window2.navigator,"clipboard",{value:void 0,configurable:!0})}};return stub=createClipboardStub(window2,control),Object.defineProperty(window2.navigator,"clipboard",{get:()=>stub,configurable:!0}),stub[ClipboardStubControl]}(null!==(_config_document_defaultView=config3.document.defaultView)&&void 0!==_config_document_defaultView?_config_document_defaultView:globalThis.window),createInstance(config3).api}};var esm_default=function dedent(templ){for(var values=[],_i=1;_i"fireEvent"===path[0]||method.startsWith("find")||method.startsWith("waitFor")});testingLibrary.screen=new Proxy(testingLibrary.screen,{get:(target,prop,receiver)=>(_storybook_client_logger__WEBPACK_IMPORTED_MODULE_0__.once.warn(esm_default` + You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead. + More info: https://storybook.js.org/docs/react/essentials/interactions + `),Reflect.get(target,prop,receiver))});var{buildQueries:buildQueries2,configure:configure2,createEvent:createEvent3,fireEvent:fireEvent2,findAllByAltText:findAllByAltText2,findAllByDisplayValue:findAllByDisplayValue2,findAllByLabelText:findAllByLabelText2,findAllByPlaceholderText:findAllByPlaceholderText2,findAllByRole:findAllByRole2,findAllByTestId:findAllByTestId2,findAllByText:findAllByText2,findAllByTitle:findAllByTitle2,findByAltText:findByAltText2,findByDisplayValue:findByDisplayValue2,findByLabelText:findByLabelText2,findByPlaceholderText:findByPlaceholderText2,findByRole:findByRole2,findByTestId:findByTestId2,findByText:findByText2,findByTitle:findByTitle2,getAllByAltText:getAllByAltText2,getAllByDisplayValue:getAllByDisplayValue2,getAllByLabelText:getAllByLabelText2,getAllByPlaceholderText:getAllByPlaceholderText2,getAllByRole:getAllByRole2,getAllByTestId:getAllByTestId2,getAllByText:getAllByText2,getAllByTitle:getAllByTitle2,getByAltText:getByAltText2,getByDisplayValue:getByDisplayValue2,getByLabelText:getByLabelText2,getByPlaceholderText:getByPlaceholderText2,getByRole:getByRole2,getByTestId:getByTestId2,getByText:getByText2,getByTitle:getByTitle2,getConfig:getConfig2,getDefaultNormalizer:getDefaultNormalizer2,getElementError:getElementError2,getNodeText:getNodeText2,getQueriesForElement:getQueriesForElement2,getRoles:getRoles2,getSuggestedQuery:getSuggestedQuery2,isInaccessible:isInaccessible2,logDOM:logDOM2,logRoles:logRoles2,prettyDOM:prettyDOM2,queries:queries2,queryAllByAltText:queryAllByAltText2,queryAllByAttribute:queryAllByAttribute2,queryAllByDisplayValue:queryAllByDisplayValue2,queryAllByLabelText:queryAllByLabelText2,queryAllByPlaceholderText:queryAllByPlaceholderText2,queryAllByRole:queryAllByRole2,queryAllByTestId:queryAllByTestId2,queryAllByText:queryAllByText2,queryAllByTitle:queryAllByTitle2,queryByAltText:queryByAltText2,queryByAttribute:queryByAttribute2,queryByDisplayValue:queryByDisplayValue2,queryByLabelText:queryByLabelText2,queryByPlaceholderText:queryByPlaceholderText2,queryByRole:queryByRole2,queryByTestId:queryByTestId2,queryByText:queryByText2,queryByTitle:queryByTitle2,queryHelpers:queryHelpers2,screen:screen2,waitFor:waitFor2,waitForElementToBeRemoved:waitForElementToBeRemoved2,within,prettyFormat:prettyFormat2}=testingLibrary,{userEvent:userEvent2}=(0,_storybook_instrumenter__WEBPACK_IMPORTED_MODULE_1__.x6)({userEvent},{intercept:!0}),{expect:expect3}=(0,_storybook_instrumenter__WEBPACK_IMPORTED_MODULE_1__.x6)({expect:expect2},{getKeys:(obj,depth)=>{let privateApi=["assert","__methods","__flags","_obj"];if(obj.constructor===chai_default.Assertion){let keys2=Object.keys(Object.getPrototypeOf(obj)).filter((it=>!privateApi.includes(it)));return depth>2?keys2:[...keys2,"not"]}return Object.keys(obj)},intercept:method=>"expect"!==method}),traverseArgs=(value,depth=0,key)=>{if(depth>5||null==value)return value;if(isMockFunction(value))return key&&value.mockName(key),value;if("function"==typeof value&&"isAction"in value&&value.isAction&&(!("implicit"in value)||!value.implicit)){let mock=fn2(value);return key&&mock.mockName(key),mock}if(Array.isArray(value))return depth++,value.map((item=>traverseArgs(item,depth)));if("object"==typeof value&&value.constructor===Object){depth++;for(let[k,v2]of Object.entries(value))Object.getOwnPropertyDescriptor(value,k)?.writable&&(value[k]=traverseArgs(v2,depth,k));return value}return value};scope.__STORYBOOK_TEST_LOADERS__=[({parameters})=>{!0===parameters?.test?.mockReset?function resetAllMocks(){mocks.forEach((spy=>spy.mockReset()))}():!0===parameters?.test?.clearMocks?function clearAllMocks(){mocks.forEach((spy=>spy.mockClear()))}():!1!==parameters?.test?.restoreMocks&&function restoreAllMocks(){mocks.forEach((spy=>spy.mockRestore()))}()},({initialArgs})=>{traverseArgs(initialArgs)}],scope.__STORYBOOK_TEST_ON_MOCK_CALL__=function onMockCall(callback){return listeners.add(callback),()=>{listeners.delete(callback)}}}}]); +//# sourceMappingURL=3049.299fd9a7.iframe.bundle.js.map \ No newline at end of file diff --git a/3049.299fd9a7.iframe.bundle.js.map b/3049.299fd9a7.iframe.bundle.js.map new file mode 100644 index 00000000..3a143dc0 --- /dev/null +++ b/3049.299fd9a7.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3049.299fd9a7.iframe.bundle.js","mappings":";;;AAyKA","sources":["webpack://@linzjs/step-ag-grid/./node_modules/@storybook/test/dist/index.mjs"],"sourcesContent":["import { instrument } from '@storybook/instrumenter';\nimport { once } from '@storybook/client-logger';\n\nvar __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __require=(x=>typeof require<\"u\"?require:typeof Proxy<\"u\"?new Proxy(x,{get:(a,b2)=>(typeof require<\"u\"?require:a)[b2]}):x)(function(x){if(typeof require<\"u\")return require.apply(this,arguments);throw Error('Dynamic require of \"'+x+'\" is not supported')});var __commonJS=(cb,mod)=>function(){return mod||(0, cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==\"object\"||typeof from==\"function\")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,\"default\",{value:mod,enumerable:!0}):target,mod));var require_assertion_error=__commonJS({\"../../node_modules/assertion-error/index.js\"(exports,module2){function exclude(){var excludes=[].slice.call(arguments);function excludeProps(res,obj){Object.keys(obj).forEach(function(key){~excludes.indexOf(key)||(res[key]=obj[key]);});}return function(){for(var args=[].slice.call(arguments),i=0,res={};i\"u\"||obj===null?!1:name in Object(obj)}function parsePath(path){var str=path.replace(/([^\\\\])\\[/g,\"$1.[\"),parts=str.match(/(\\\\\\.|[^.]+?)+/g);return parts.map(function(value){if(value===\"constructor\"||value===\"__proto__\"||value===\"prototype\")return {};var regexp=/^\\[(\\d+)\\]$/,mArr=regexp.exec(value),parsed=null;return mArr?parsed={i:parseFloat(mArr[1])}:parsed={p:value.replace(/\\\\([.[\\]])/g,\"$1\")},parsed})}function internalGetPathValue(obj,parsed,pathDepth){var temporaryValue=obj,res=null;pathDepth=typeof pathDepth>\"u\"?parsed.length:pathDepth;for(var i=0;i\"u\"?temporaryValue=temporaryValue[part.i]:temporaryValue=temporaryValue[part.p],i===pathDepth-1&&(res=temporaryValue));}return res}function internalSetPathValue(obj,val,parsed){for(var tempObj=obj,pathDepth=parsed.length,part=null,i=0;i\"u\"?part.i:part.p,tempObj[propName]=val;else if(typeof part.p<\"u\"&&tempObj[part.p])tempObj=tempObj[part.p];else if(typeof part.i<\"u\"&&tempObj[part.i])tempObj=tempObj[part.i];else {var next=parsed[i+1];propName=typeof part.p>\"u\"?part.i:part.p,propVal=typeof next.p>\"u\"?[]:{},tempObj[propName]=propVal,tempObj=tempObj[propName];}}}function getPathInfo(obj,path){var parsed=parsePath(path),last=parsed[parsed.length-1],info={parent:parsed.length>1?internalGetPathValue(obj,parsed,parsed.length-1):obj,name:last.p||last.i,value:internalGetPathValue(obj,parsed)};return info.exists=hasProperty(info.parent,info.name),info}function getPathValue(obj,path){var info=getPathInfo(obj,path);return info.value}function setPathValue(obj,path,val){var parsed=parsePath(path);return internalSetPathValue(obj,val,parsed),obj}module2.exports={hasProperty,getPathInfo,getPathValue,setPathValue};}});var require_flag=__commonJS({\"../../node_modules/chai/lib/chai/utils/flag.js\"(exports,module2){module2.exports=function(obj,key,value){var flags=obj.__flags||(obj.__flags=Object.create(null));if(arguments.length===3)flags[key]=value;else return flags[key]};}});var require_test=__commonJS({\"../../node_modules/chai/lib/chai/utils/test.js\"(exports,module2){var flag=require_flag();module2.exports=function(obj,args){var negate=flag(obj,\"negate\"),expr=args[0];return negate?!expr:expr};}});var require_type_detect=__commonJS({\"../../node_modules/type-detect/type-detect.js\"(exports,module2){(function(global2,factory){typeof exports==\"object\"&&typeof module2<\"u\"?module2.exports=factory():typeof define==\"function\"&&define.amd?define(factory):global2.typeDetect=factory();})(exports,function(){var promiseExists=typeof Promise==\"function\",globalObject=typeof self==\"object\"?self:global,symbolExists=typeof Symbol<\"u\",mapExists=typeof Map<\"u\",setExists=typeof Set<\"u\",weakMapExists=typeof WeakMap<\"u\",weakSetExists=typeof WeakSet<\"u\",dataViewExists=typeof DataView<\"u\",symbolIteratorExists=symbolExists&&typeof Symbol.iterator<\"u\",symbolToStringTagExists=symbolExists&&typeof Symbol.toStringTag<\"u\",setEntriesExists=setExists&&typeof Set.prototype.entries==\"function\",mapEntriesExists=mapExists&&typeof Map.prototype.entries==\"function\",setIteratorPrototype=setEntriesExists&&Object.getPrototypeOf(new Set().entries()),mapIteratorPrototype=mapEntriesExists&&Object.getPrototypeOf(new Map().entries()),arrayIteratorExists=symbolIteratorExists&&typeof Array.prototype[Symbol.iterator]==\"function\",arrayIteratorPrototype=arrayIteratorExists&&Object.getPrototypeOf([][Symbol.iterator]()),stringIteratorExists=symbolIteratorExists&&typeof String.prototype[Symbol.iterator]==\"function\",stringIteratorPrototype=stringIteratorExists&&Object.getPrototypeOf(\"\"[Symbol.iterator]()),toStringLeftSliceLength=8,toStringRightSliceLength=-1;function typeDetect(obj){var typeofObj=typeof obj;if(typeofObj!==\"object\")return typeofObj;if(obj===null)return \"null\";if(obj===globalObject)return \"global\";if(Array.isArray(obj)&&(symbolToStringTagExists===!1||!(Symbol.toStringTag in obj)))return \"Array\";if(typeof window==\"object\"&&window!==null){if(typeof window.location==\"object\"&&obj===window.location)return \"Location\";if(typeof window.document==\"object\"&&obj===window.document)return \"Document\";if(typeof window.navigator==\"object\"){if(typeof window.navigator.mimeTypes==\"object\"&&obj===window.navigator.mimeTypes)return \"MimeTypeArray\";if(typeof window.navigator.plugins==\"object\"&&obj===window.navigator.plugins)return \"PluginArray\"}if((typeof window.HTMLElement==\"function\"||typeof window.HTMLElement==\"object\")&&obj instanceof window.HTMLElement){if(obj.tagName===\"BLOCKQUOTE\")return \"HTMLQuoteElement\";if(obj.tagName===\"TD\")return \"HTMLTableDataCellElement\";if(obj.tagName===\"TH\")return \"HTMLTableHeaderCellElement\"}}var stringTag=symbolToStringTagExists&&obj[Symbol.toStringTag];if(typeof stringTag==\"string\")return stringTag;var objPrototype=Object.getPrototypeOf(obj);return objPrototype===RegExp.prototype?\"RegExp\":objPrototype===Date.prototype?\"Date\":promiseExists&&objPrototype===Promise.prototype?\"Promise\":setExists&&objPrototype===Set.prototype?\"Set\":mapExists&&objPrototype===Map.prototype?\"Map\":weakSetExists&&objPrototype===WeakSet.prototype?\"WeakSet\":weakMapExists&&objPrototype===WeakMap.prototype?\"WeakMap\":dataViewExists&&objPrototype===DataView.prototype?\"DataView\":mapExists&&objPrototype===mapIteratorPrototype?\"Map Iterator\":setExists&&objPrototype===setIteratorPrototype?\"Set Iterator\":arrayIteratorExists&&objPrototype===arrayIteratorPrototype?\"Array Iterator\":stringIteratorExists&&objPrototype===stringIteratorPrototype?\"String Iterator\":objPrototype===null?\"Object\":Object.prototype.toString.call(obj).slice(toStringLeftSliceLength,toStringRightSliceLength)}return typeDetect});}});var require_expectTypes=__commonJS({\"../../node_modules/chai/lib/chai/utils/expectTypes.js\"(exports,module2){var AssertionError2=require_assertion_error(),flag=require_flag(),type3=require_type_detect();module2.exports=function(obj,types){var flagMsg=flag(obj,\"message\"),ssfi=flag(obj,\"ssfi\");flagMsg=flagMsg?flagMsg+\": \":\"\",obj=flag(obj,\"object\"),types=types.map(function(t){return t.toLowerCase()}),types.sort();var str=types.map(function(t,index){var art=~[\"a\",\"e\",\"i\",\"o\",\"u\"].indexOf(t.charAt(0))?\"an\":\"a\",or=types.length>1&&index===types.length-1?\"or \":\"\";return or+art+\" \"+t}).join(\", \"),objType=type3(obj).toLowerCase();if(!types.some(function(expected){return objType===expected}))throw new AssertionError2(flagMsg+\"object tested must be \"+str+\", but \"+objType+\" given\",void 0,ssfi)};}});var require_getActual=__commonJS({\"../../node_modules/chai/lib/chai/utils/getActual.js\"(exports,module2){module2.exports=function(obj,args){return args.length>4?args[4]:obj._obj};}});var require_get_func_name=__commonJS({\"../../node_modules/get-func-name/index.js\"(exports,module2){var toString=Function.prototype.toString,functionNameMatch=/\\s*function(?:\\s|\\s*\\/\\*[^(?:*\\/)]+\\*\\/\\s*)*([^\\s\\(\\/]+)/,maxFunctionSourceLength=512;function getFuncName(aFunc){if(typeof aFunc!=\"function\")return null;var name=\"\";if(typeof Function.prototype.name>\"u\"&&typeof aFunc.name>\"u\"){var functionSource=toString.call(aFunc);if(functionSource.indexOf(\"(\")>maxFunctionSourceLength)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1]);}else name=aFunc.name;return name}module2.exports=getFuncName;}});var require_loupe=__commonJS({\"../../node_modules/loupe/loupe.js\"(exports,module2){(function(global2,factory){typeof exports==\"object\"&&typeof module2<\"u\"?factory(exports):typeof define==\"function\"&&define.amd?define([\"exports\"],factory):(global2=typeof globalThis<\"u\"?globalThis:global2||self,factory(global2.loupe={}));})(exports,function(exports2){function _typeof5(obj){\"@babel/helpers - typeof\";return typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?_typeof5=function(obj2){return typeof obj2}:_typeof5=function(obj2){return obj2&&typeof Symbol==\"function\"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?\"symbol\":typeof obj2},_typeof5(obj)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _iterableToArrayLimit(arr,i){if(!(typeof Symbol>\"u\"||!(Symbol.iterator in Object(arr)))){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _i=arr[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i&&_arr.length===i));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&arguments[0]!==void 0?arguments[0]:{},_ref$showHidden=_ref.showHidden,showHidden=_ref$showHidden===void 0?!1:_ref$showHidden,_ref$depth=_ref.depth,depth=_ref$depth===void 0?2:_ref$depth,_ref$colors=_ref.colors,colors=_ref$colors===void 0?!1:_ref$colors,_ref$customInspect=_ref.customInspect,customInspect=_ref$customInspect===void 0?!0:_ref$customInspect,_ref$showProxy=_ref.showProxy,showProxy=_ref$showProxy===void 0?!1:_ref$showProxy,_ref$maxArrayLength=_ref.maxArrayLength,maxArrayLength=_ref$maxArrayLength===void 0?1/0:_ref$maxArrayLength,_ref$breakLength=_ref.breakLength,breakLength=_ref$breakLength===void 0?1/0:_ref$breakLength,_ref$seen=_ref.seen,seen=_ref$seen===void 0?[]:_ref$seen,_ref$truncate=_ref.truncate,truncate2=_ref$truncate===void 0?1/0:_ref$truncate,_ref$stylize=_ref.stylize,stylize=_ref$stylize===void 0?String:_ref$stylize,options={showHidden:!!showHidden,depth:Number(depth),colors:!!colors,customInspect:!!customInspect,showProxy:!!showProxy,maxArrayLength:Number(maxArrayLength),breakLength:Number(breakLength),truncate:Number(truncate2),seen,stylize};return options.colors&&(options.stylize=colorise),options}function truncate(string2,length){var tail=arguments.length>2&&arguments[2]!==void 0?arguments[2]:truncator;string2=String(string2);var tailLength=tail.length,stringLength=string2.length;return tailLength>length&&stringLength>tailLength?tail:stringLength>length&&stringLength>tailLength?\"\".concat(string2.slice(0,length-tailLength)).concat(tail):string2}function inspectList(list,options,inspectItem){var separator=arguments.length>3&&arguments[3]!==void 0?arguments[3]:\", \";inspectItem=inspectItem||options.inspect;var size=list.length;if(size===0)return \"\";for(var originalLength=options.truncate,output=\"\",peek=\"\",truncated=\"\",i=0;ioriginalLength&&output.length+truncated.length<=originalLength||!last&&!secondToLast&&truncatedLength>originalLength||(peek=last?\"\":inspectItem(list[i+1],options)+(secondToLast?\"\":separator),!last&&secondToLast&&truncatedLength>originalLength&&nextLength+peek.length>originalLength))break;if(output+=string2,!last&&!secondToLast&&nextLength+peek.length>=originalLength){truncated=\"\".concat(truncator,\"(\").concat(list.length-i-1,\")\");break}truncated=\"\";}return \"\".concat(output).concat(truncated)}function quoteComplexKey(key){return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?key:JSON.stringify(key).replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\")}function inspectProperty(_ref2,options){var _ref3=_slicedToArray(_ref2,2),key=_ref3[0],value=_ref3[1];return options.truncate-=2,typeof key==\"string\"?key=quoteComplexKey(key):typeof key!=\"number\"&&(key=\"[\".concat(options.inspect(key,options),\"]\")),options.truncate-=key.length,value=options.inspect(value,options),\"\".concat(key,\": \").concat(value)}function inspectArray(array,options){var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return \"[]\";options.truncate-=4;var listContents=inspectList(array,options);options.truncate-=listContents.length;var propertyContents=\"\";return nonIndexProperties.length&&(propertyContents=inspectList(nonIndexProperties.map(function(key){return [key,array[key]]}),options,inspectProperty)),\"[ \".concat(listContents).concat(propertyContents?\", \".concat(propertyContents):\"\",\" ]\")}var toString=Function.prototype.toString,functionNameMatch=/\\s*function(?:\\s|\\s*\\/\\*[^(?:*\\/)]+\\*\\/\\s*)*([^\\s\\(\\/]+)/,maxFunctionSourceLength=512;function getFuncName(aFunc){if(typeof aFunc!=\"function\")return null;var name=\"\";if(typeof Function.prototype.name>\"u\"&&typeof aFunc.name>\"u\"){var functionSource=toString.call(aFunc);if(functionSource.indexOf(\"(\")>maxFunctionSourceLength)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1]);}else name=aFunc.name;return name}var getFuncName_1=getFuncName,getArrayName=function(array){return typeof Buffer==\"function\"&&array instanceof Buffer?\"Buffer\":array[Symbol.toStringTag]?array[Symbol.toStringTag]:getFuncName_1(array.constructor)};function inspectTypedArray(array,options){var name=getArrayName(array);options.truncate-=name.length+4;var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return \"\".concat(name,\"[]\");for(var output=\"\",i=0;i \").concat(value)}function mapToEntries(map){var entries=[];return map.forEach(function(value,key){entries.push([key,value]);}),entries}function inspectMap(map,options){var size=map.size-1;return size<=0?\"Map{}\":(options.truncate-=7,\"Map{ \".concat(inspectList(mapToEntries(map),options,inspectMapEntry),\" }\"))}var isNaN2=Number.isNaN||function(i){return i!==i};function inspectNumber(number,options){return isNaN2(number)?options.stylize(\"NaN\",\"number\"):number===1/0?options.stylize(\"Infinity\",\"number\"):number===-1/0?options.stylize(\"-Infinity\",\"number\"):number===0?options.stylize(1/number===1/0?\"+0\":\"-0\",\"number\"):options.stylize(truncate(number,options.truncate),\"number\")}function inspectBigInt(number,options){var nums=truncate(number.toString(),options.truncate-1);return nums!==truncator&&(nums+=\"n\"),options.stylize(nums,\"bigint\")}function inspectRegExp(value,options){var flags=value.toString().split(\"/\")[2],sourceLength=options.truncate-(2+flags.length),source=value.source;return options.stylize(\"/\".concat(truncate(source,sourceLength),\"/\").concat(flags),\"regexp\")}function arrayFromSet(set){var values=[];return set.forEach(function(value){values.push(value);}),values}function inspectSet(set,options){return set.size===0?\"Set{}\":(options.truncate-=7,\"Set{ \".concat(inspectList(arrayFromSet(set),options),\" }\"))}var stringEscapeChars=new RegExp(\"['\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f\\\\u00ad\\\\u0600-\\\\u0604\\\\u070f\\\\u17b4\\\\u17b5\\\\u200c-\\\\u200f\\\\u2028-\\\\u202f\\\\u2060-\\\\u206f\\\\ufeff\\\\ufff0-\\\\uffff]\",\"g\"),escapeCharacters={\"\\b\":\"\\\\b\",\"\t\":\"\\\\t\",\"\\n\":\"\\\\n\",\"\\f\":\"\\\\f\",\"\\r\":\"\\\\r\",\"'\":\"\\\\'\",\"\\\\\":\"\\\\\\\\\"},hex=16,unicodeLength=4;function escape2(char){return escapeCharacters[char]||\"\\\\u\".concat(\"0000\".concat(char.charCodeAt(0).toString(hex)).slice(-unicodeLength))}function inspectString(string2,options){return stringEscapeChars.test(string2)&&(string2=string2.replace(stringEscapeChars,escape2)),options.stylize(\"'\".concat(truncate(string2,options.truncate-2),\"'\"),\"string\")}function inspectSymbol(value){return \"description\"in Symbol.prototype?value.description?\"Symbol(\".concat(value.description,\")\"):\"Symbol()\":value.toString()}var getPromiseValue=function(){return \"Promise{\\u2026}\"};try{var _process$binding=process.binding(\"util\"),getPromiseDetails=_process$binding.getPromiseDetails,kPending=_process$binding.kPending,kRejected=_process$binding.kRejected;Array.isArray(getPromiseDetails(Promise.resolve()))&&(getPromiseValue=function(value,options){var _getPromiseDetails=getPromiseDetails(value),_getPromiseDetails2=_slicedToArray(_getPromiseDetails,2),state=_getPromiseDetails2[0],innerValue=_getPromiseDetails2[1];return state===kPending?\"Promise{}\":\"Promise\".concat(state===kRejected?\"!\":\"\",\"{\").concat(options.inspect(innerValue,options),\"}\")});}catch{}var inspectPromise=getPromiseValue;function inspectObject(object,options){var properties=Object.getOwnPropertyNames(object),symbols=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(object):[];if(properties.length===0&&symbols.length===0)return \"{}\";if(options.truncate-=4,options.seen=options.seen||[],options.seen.indexOf(object)>=0)return \"[Circular]\";options.seen.push(object);var propertyContents=inspectList(properties.map(function(key){return [key,object[key]]}),options,inspectProperty),symbolContents=inspectList(symbols.map(function(key){return [key,object[key]]}),options,inspectProperty);options.seen.pop();var sep=\"\";return propertyContents&&symbolContents&&(sep=\", \"),\"{ \".concat(propertyContents).concat(sep).concat(symbolContents,\" }\")}var toStringTag=typeof Symbol<\"u\"&&Symbol.toStringTag?Symbol.toStringTag:!1;function inspectClass(value,options){var name=\"\";return toStringTag&&toStringTag in value&&(name=value[toStringTag]),name=name||getFuncName_1(value.constructor),(!name||name===\"_class\")&&(name=\"\"),options.truncate-=name.length,\"\".concat(name).concat(inspectObject(value,options))}function inspectArguments(args,options){return args.length===0?\"Arguments[]\":(options.truncate-=13,\"Arguments[ \".concat(inspectList(args,options),\" ]\"))}var errorKeys=[\"stack\",\"line\",\"column\",\"name\",\"message\",\"fileName\",\"lineNumber\",\"columnNumber\",\"number\",\"description\"];function inspectObject$1(error,options){var properties=Object.getOwnPropertyNames(error).filter(function(key){return errorKeys.indexOf(key)===-1}),name=error.name;options.truncate-=name.length;var message=\"\";typeof error.message==\"string\"?message=truncate(error.message,options.truncate):properties.unshift(\"message\"),message=message?\": \".concat(message):\"\",options.truncate-=message.length+5;var propertyContents=inspectList(properties.map(function(key){return [key,error[key]]}),options,inspectProperty);return \"\".concat(name).concat(message).concat(propertyContents?\" { \".concat(propertyContents,\" }\"):\"\")}function inspectAttribute(_ref,options){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];return options.truncate-=3,value?\"\".concat(options.stylize(key,\"yellow\"),\"=\").concat(options.stylize('\"'.concat(value,'\"'),\"string\")):\"\".concat(options.stylize(key,\"yellow\"))}function inspectHTMLCollection(collection,options){return inspectList(collection,options,inspectHTML,`\n`)}function inspectHTML(element,options){var properties=element.getAttributeNames(),name=element.tagName.toLowerCase(),head=options.stylize(\"<\".concat(name),\"special\"),headClose=options.stylize(\">\",\"special\"),tail=options.stylize(\"\"),\"special\");options.truncate-=name.length*2+5;var propertyContents=\"\";properties.length>0&&(propertyContents+=\" \",propertyContents+=inspectList(properties.map(function(key){return [key,element.getAttribute(key)]}),options,inspectAttribute,\" \")),options.truncate-=propertyContents.length;var truncate2=options.truncate,children=inspectHTMLCollection(element.children,options);return children&&children.length>truncate2&&(children=\"\".concat(truncator,\"(\").concat(element.children.length,\")\")),\"\".concat(head).concat(propertyContents).concat(headClose).concat(children).concat(tail)}var symbolsSupported=typeof Symbol==\"function\"&&typeof Symbol.for==\"function\",chaiInspect=symbolsSupported?Symbol.for(\"chai/inspect\"):\"@@chai/inspect\",nodeInspect=!1;try{var nodeUtil=__require(\"util\");nodeInspect=nodeUtil.inspect?nodeUtil.inspect.custom:!1;}catch{nodeInspect=!1;}function FakeMap(){this.key=\"chai/loupe__\"+Math.random()+Date.now();}FakeMap.prototype={get:function(key){return key[this.key]},has:function(key){return this.key in key},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this.key,{value,configurable:!0});}};var constructorMap=new(typeof WeakMap==\"function\"?WeakMap:FakeMap),stringTagMap={},baseTypesMap={undefined:function(value,options){return options.stylize(\"undefined\",\"undefined\")},null:function(value,options){return options.stylize(null,\"null\")},boolean:function(value,options){return options.stylize(value,\"boolean\")},Boolean:function(value,options){return options.stylize(value,\"boolean\")},number:inspectNumber,Number:inspectNumber,bigint:inspectBigInt,BigInt:inspectBigInt,string:inspectString,String:inspectString,function:inspectFunction,Function:inspectFunction,symbol:inspectSymbol,Symbol:inspectSymbol,Array:inspectArray,Date:inspectDate,Map:inspectMap,Set:inspectSet,RegExp:inspectRegExp,Promise:inspectPromise,WeakSet:function(value,options){return options.stylize(\"WeakSet{\\u2026}\",\"special\")},WeakMap:function(value,options){return options.stylize(\"WeakMap{\\u2026}\",\"special\")},Arguments:inspectArguments,Int8Array:inspectTypedArray,Uint8Array:inspectTypedArray,Uint8ClampedArray:inspectTypedArray,Int16Array:inspectTypedArray,Uint16Array:inspectTypedArray,Int32Array:inspectTypedArray,Uint32Array:inspectTypedArray,Float32Array:inspectTypedArray,Float64Array:inspectTypedArray,Generator:function(){return \"\"},DataView:function(){return \"\"},ArrayBuffer:function(){return \"\"},Error:inspectObject$1,HTMLCollection:inspectHTMLCollection,NodeList:inspectHTMLCollection},inspectCustom=function(value,options,type3){return chaiInspect in value&&typeof value[chaiInspect]==\"function\"?value[chaiInspect](options):nodeInspect&&nodeInspect in value&&typeof value[nodeInspect]==\"function\"?value[nodeInspect](options.depth,options):\"inspect\"in value&&typeof value.inspect==\"function\"?value.inspect(options.depth,options):\"constructor\"in value&&constructorMap.has(value.constructor)?constructorMap.get(value.constructor)(value,options):stringTagMap[type3]?stringTagMap[type3](value,options):\"\"},toString$1=Object.prototype.toString;function inspect3(value,options){options=normaliseOptions(options),options.inspect=inspect3;var _options=options,customInspect=_options.customInspect,type3=value===null?\"null\":_typeof5(value);if(type3===\"object\"&&(type3=toString$1.call(value).slice(8,-1)),baseTypesMap[type3])return baseTypesMap[type3](value,options);if(customInspect&&value){var output=inspectCustom(value,options,type3);if(output)return typeof output==\"string\"?output:inspect3(output,options)}var proto=value?Object.getPrototypeOf(value):!1;return proto===Object.prototype||proto===null?inspectObject(value,options):value&&typeof HTMLElement==\"function\"&&value instanceof HTMLElement?inspectHTML(value,options):\"constructor\"in value?value.constructor!==Object?inspectClass(value,options):inspectObject(value,options):value===Object(value)?inspectObject(value,options):options.stylize(String(value),type3)}function registerConstructor(constructor,inspector){return constructorMap.has(constructor)?!1:(constructorMap.set(constructor,inspector),!0)}function registerStringTag(stringTag,inspector){return stringTag in stringTagMap?!1:(stringTagMap[stringTag]=inspector,!0)}var custom=chaiInspect;exports2.custom=custom,exports2.default=inspect3,exports2.inspect=inspect3,exports2.registerConstructor=registerConstructor,exports2.registerStringTag=registerStringTag,Object.defineProperty(exports2,\"__esModule\",{value:!0});});}});var require_config=__commonJS({\"../../node_modules/chai/lib/chai/config.js\"(exports,module2){module2.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:[\"then\",\"catch\",\"inspect\",\"toJSON\"],deepEqual:null};}});var require_inspect=__commonJS({\"../../node_modules/chai/lib/chai/utils/inspect.js\"(exports,module2){require_get_func_name();var loupe2=require_loupe(),config3=require_config();module2.exports=inspect3;function inspect3(obj,showHidden,depth,colors){var options={colors,depth:typeof depth>\"u\"?2:depth,showHidden,truncate:config3.truncateThreshold?config3.truncateThreshold:1/0};return loupe2.inspect(obj,options)}}});var require_objDisplay=__commonJS({\"../../node_modules/chai/lib/chai/utils/objDisplay.js\"(exports,module2){var inspect3=require_inspect(),config3=require_config();module2.exports=function(obj){var str=inspect3(obj),type3=Object.prototype.toString.call(obj);if(config3.truncateThreshold&&str.length>=config3.truncateThreshold){if(type3===\"[object Function]\")return !obj.name||obj.name===\"\"?\"[Function]\":\"[Function: \"+obj.name+\"]\";if(type3===\"[object Array]\")return \"[ Array(\"+obj.length+\") ]\";if(type3===\"[object Object]\"){var keys2=Object.keys(obj),kstr=keys2.length>2?keys2.splice(0,2).join(\", \")+\", ...\":keys2.join(\", \");return \"{ Object (\"+kstr+\") }\"}else return str}else return str};}});var require_getMessage=__commonJS({\"../../node_modules/chai/lib/chai/utils/getMessage.js\"(exports,module2){var flag=require_flag(),getActual=require_getActual(),objDisplay2=require_objDisplay();module2.exports=function(obj,args){var negate=flag(obj,\"negate\"),val=flag(obj,\"object\"),expected=args[3],actual=getActual(obj,args),msg=negate?args[2]:args[1],flagMsg=flag(obj,\"message\");return typeof msg==\"function\"&&(msg=msg()),msg=msg||\"\",msg=msg.replace(/#\\{this\\}/g,function(){return objDisplay2(val)}).replace(/#\\{act\\}/g,function(){return objDisplay2(actual)}).replace(/#\\{exp\\}/g,function(){return objDisplay2(expected)}),flagMsg?flagMsg+\": \"+msg:msg};}});var require_transferFlags=__commonJS({\"../../node_modules/chai/lib/chai/utils/transferFlags.js\"(exports,module2){module2.exports=function(assertion,object,includeAll){var flags=assertion.__flags||(assertion.__flags=Object.create(null));object.__flags||(object.__flags=Object.create(null)),includeAll=arguments.length===3?includeAll:!0;for(var flag in flags)(includeAll||flag!==\"object\"&&flag!==\"ssfi\"&&flag!==\"lockSsfi\"&&flag!=\"message\")&&(object.__flags[flag]=flags[flag]);};}});var require_deep_eql=__commonJS({\"../../node_modules/deep-eql/index.js\"(exports,module2){var type3=require_type_detect();function FakeMap(){this._key=\"chai/deep-eql__\"+Math.random()+Date.now();}FakeMap.prototype={get:function(key){return key[this._key]},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this._key,{value,configurable:!0});}};var MemoizeMap=typeof WeakMap==\"function\"?WeakMap:FakeMap;function memoizeCompare(leftHandOperand,rightHandOperand,memoizeMap){if(!memoizeMap||isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand))return null;var leftHandMap=memoizeMap.get(leftHandOperand);if(leftHandMap){var result=leftHandMap.get(rightHandOperand);if(typeof result==\"boolean\")return result}return null}function memoizeSet(leftHandOperand,rightHandOperand,memoizeMap,result){if(!(!memoizeMap||isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand))){var leftHandMap=memoizeMap.get(leftHandOperand);leftHandMap?leftHandMap.set(rightHandOperand,result):(leftHandMap=new MemoizeMap,leftHandMap.set(rightHandOperand,result),memoizeMap.set(leftHandOperand,leftHandMap));}}module2.exports=deepEqual;module2.exports.MemoizeMap=MemoizeMap;function deepEqual(leftHandOperand,rightHandOperand,options){if(options&&options.comparator)return extensiveDeepEqual(leftHandOperand,rightHandOperand,options);var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);return simpleResult!==null?simpleResult:extensiveDeepEqual(leftHandOperand,rightHandOperand,options)}function simpleEqual(leftHandOperand,rightHandOperand){return leftHandOperand===rightHandOperand?leftHandOperand!==0||1/leftHandOperand===1/rightHandOperand:leftHandOperand!==leftHandOperand&&rightHandOperand!==rightHandOperand?!0:isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand)?!1:null}function extensiveDeepEqual(leftHandOperand,rightHandOperand,options){options=options||{},options.memoize=options.memoize===!1?!1:options.memoize||new MemoizeMap;var comparator=options&&options.comparator,memoizeResultLeft=memoizeCompare(leftHandOperand,rightHandOperand,options.memoize);if(memoizeResultLeft!==null)return memoizeResultLeft;var memoizeResultRight=memoizeCompare(rightHandOperand,leftHandOperand,options.memoize);if(memoizeResultRight!==null)return memoizeResultRight;if(comparator){var comparatorResult=comparator(leftHandOperand,rightHandOperand);if(comparatorResult===!1||comparatorResult===!0)return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,comparatorResult),comparatorResult;var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);if(simpleResult!==null)return simpleResult}var leftHandType=type3(leftHandOperand);if(leftHandType!==type3(rightHandOperand))return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!1),!1;memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!0);var result=extensiveDeepEqualByType(leftHandOperand,rightHandOperand,leftHandType,options);return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,result),result}function extensiveDeepEqualByType(leftHandOperand,rightHandOperand,leftHandType,options){switch(leftHandType){case\"String\":case\"Number\":case\"Boolean\":case\"Date\":return deepEqual(leftHandOperand.valueOf(),rightHandOperand.valueOf());case\"Promise\":case\"Symbol\":case\"function\":case\"WeakMap\":case\"WeakSet\":return leftHandOperand===rightHandOperand;case\"Error\":return keysEqual(leftHandOperand,rightHandOperand,[\"name\",\"message\",\"code\"],options);case\"Arguments\":case\"Int8Array\":case\"Uint8Array\":case\"Uint8ClampedArray\":case\"Int16Array\":case\"Uint16Array\":case\"Int32Array\":case\"Uint32Array\":case\"Float32Array\":case\"Float64Array\":case\"Array\":return iterableEqual(leftHandOperand,rightHandOperand,options);case\"RegExp\":return regexpEqual(leftHandOperand,rightHandOperand);case\"Generator\":return generatorEqual(leftHandOperand,rightHandOperand,options);case\"DataView\":return iterableEqual(new Uint8Array(leftHandOperand.buffer),new Uint8Array(rightHandOperand.buffer),options);case\"ArrayBuffer\":return iterableEqual(new Uint8Array(leftHandOperand),new Uint8Array(rightHandOperand),options);case\"Set\":return entriesEqual(leftHandOperand,rightHandOperand,options);case\"Map\":return entriesEqual(leftHandOperand,rightHandOperand,options);case\"Temporal.PlainDate\":case\"Temporal.PlainTime\":case\"Temporal.PlainDateTime\":case\"Temporal.Instant\":case\"Temporal.ZonedDateTime\":case\"Temporal.PlainYearMonth\":case\"Temporal.PlainMonthDay\":return leftHandOperand.equals(rightHandOperand);case\"Temporal.Duration\":return leftHandOperand.total(\"nanoseconds\")===rightHandOperand.total(\"nanoseconds\");case\"Temporal.TimeZone\":case\"Temporal.Calendar\":return leftHandOperand.toString()===rightHandOperand.toString();default:return objectEqual(leftHandOperand,rightHandOperand,options)}}function regexpEqual(leftHandOperand,rightHandOperand){return leftHandOperand.toString()===rightHandOperand.toString()}function entriesEqual(leftHandOperand,rightHandOperand,options){if(leftHandOperand.size!==rightHandOperand.size)return !1;if(leftHandOperand.size===0)return !0;var leftHandItems=[],rightHandItems=[];return leftHandOperand.forEach(function(key,value){leftHandItems.push([key,value]);}),rightHandOperand.forEach(function(key,value){rightHandItems.push([key,value]);}),iterableEqual(leftHandItems.sort(),rightHandItems.sort(),options)}function iterableEqual(leftHandOperand,rightHandOperand,options){var length=leftHandOperand.length;if(length!==rightHandOperand.length)return !1;if(length===0)return !0;for(var index=-1;++index=cap)return cap;for(var memo=[],i=0;i<=strA.length;i++)memo[i]=Array(strB.length+1).fill(0),memo[i][0]=i;for(var j=0;j=cap){memo[i][j]=cap;continue}memo[i][j]=Math.min(memo[i-1][j]+1,memo[i][j-1]+1,memo[i-1][j-1]+(ch===strB.charCodeAt(j-1)?0:1));}return memo[strA.length][strB.length]}}});var require_addMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/addMethod.js\"(exports,module2){var addLengthGuard=require_addLengthGuard(),chai2=require_chai(),flag=require_flag(),proxify=require_proxify(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,method){var methodWrapper=function(){flag(this,\"lockSsfi\")||flag(this,\"ssfi\",methodWrapper);var result=method.apply(this,arguments);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};addLengthGuard(methodWrapper,name,!1),ctx[name]=proxify(methodWrapper,name);};}});var require_overwriteProperty=__commonJS({\"../../node_modules/chai/lib/chai/utils/overwriteProperty.js\"(exports,module2){var chai2=require_chai(),flag=require_flag(),isProxyEnabled=require_isProxyEnabled(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,getter){var _get=Object.getOwnPropertyDescriptor(ctx,name),_super=function(){};_get&&typeof _get.get==\"function\"&&(_super=_get.get),Object.defineProperty(ctx,name,{get:function overwritingPropertyGetter(){!isProxyEnabled()&&!flag(this,\"lockSsfi\")&&flag(this,\"ssfi\",overwritingPropertyGetter);var origLockSsfi=flag(this,\"lockSsfi\");flag(this,\"lockSsfi\",!0);var result=getter(_super).call(this);if(flag(this,\"lockSsfi\",origLockSsfi),result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion},configurable:!0});};}});var require_overwriteMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/overwriteMethod.js\"(exports,module2){var addLengthGuard=require_addLengthGuard(),chai2=require_chai(),flag=require_flag(),proxify=require_proxify(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,method){var _method=ctx[name],_super=function(){throw new Error(name+\" is not a function\")};_method&&typeof _method==\"function\"&&(_super=_method);var overwritingMethodWrapper=function(){flag(this,\"lockSsfi\")||flag(this,\"ssfi\",overwritingMethodWrapper);var origLockSsfi=flag(this,\"lockSsfi\");flag(this,\"lockSsfi\",!0);var result=method(_super).apply(this,arguments);if(flag(this,\"lockSsfi\",origLockSsfi),result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};addLengthGuard(overwritingMethodWrapper,name,!1),ctx[name]=proxify(overwritingMethodWrapper,name);};}});var require_addChainableMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/addChainableMethod.js\"(exports,module2){var addLengthGuard=require_addLengthGuard(),chai2=require_chai(),flag=require_flag(),proxify=require_proxify(),transferFlags=require_transferFlags();var canSetPrototype=typeof Object.setPrototypeOf==\"function\",testFn=function(){},excludeNames=Object.getOwnPropertyNames(testFn).filter(function(name){var propDesc=Object.getOwnPropertyDescriptor(testFn,name);return typeof propDesc!=\"object\"?!0:!propDesc.configurable}),call=Function.prototype.call,apply=Function.prototype.apply;module2.exports=function(ctx,name,method,chainingBehavior){typeof chainingBehavior!=\"function\"&&(chainingBehavior=function(){});var chainableBehavior={method,chainingBehavior};ctx.__methods||(ctx.__methods={}),ctx.__methods[name]=chainableBehavior,Object.defineProperty(ctx,name,{get:function(){chainableBehavior.chainingBehavior.call(this);var chainableMethodWrapper=function(){flag(this,\"lockSsfi\")||flag(this,\"ssfi\",chainableMethodWrapper);var result=chainableBehavior.method.apply(this,arguments);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};if(addLengthGuard(chainableMethodWrapper,name,!0),canSetPrototype){var prototype=Object.create(this);prototype.call=call,prototype.apply=apply,Object.setPrototypeOf(chainableMethodWrapper,prototype);}else {var asserterNames=Object.getOwnPropertyNames(ctx);asserterNames.forEach(function(asserterName){if(excludeNames.indexOf(asserterName)===-1){var pd=Object.getOwnPropertyDescriptor(ctx,asserterName);Object.defineProperty(chainableMethodWrapper,asserterName,pd);}});}return transferFlags(this,chainableMethodWrapper),proxify(chainableMethodWrapper)},configurable:!0});};}});var require_overwriteChainableMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/overwriteChainableMethod.js\"(exports,module2){var chai2=require_chai(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,method,chainingBehavior){var chainableBehavior=ctx.__methods[name],_chainingBehavior=chainableBehavior.chainingBehavior;chainableBehavior.chainingBehavior=function(){var result=chainingBehavior(_chainingBehavior).call(this);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};var _method=chainableBehavior.method;chainableBehavior.method=function(){var result=method(_method).apply(this,arguments);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};};}});var require_compareByInspect=__commonJS({\"../../node_modules/chai/lib/chai/utils/compareByInspect.js\"(exports,module2){var inspect3=require_inspect();module2.exports=function(a,b2){return inspect3(a)1&&numErrs===props.length)throw firstErr;return}this.assert(included,\"expected #{this} to \"+descriptor+\"include \"+_.inspect(val),\"expected #{this} to not \"+descriptor+\"include \"+_.inspect(val));}Assertion2.addChainableMethod(\"include\",include,includeChainingBehavior),Assertion2.addChainableMethod(\"contain\",include,includeChainingBehavior),Assertion2.addChainableMethod(\"contains\",include,includeChainingBehavior),Assertion2.addChainableMethod(\"includes\",include,includeChainingBehavior),Assertion2.addProperty(\"ok\",function(){this.assert(flag(this,\"object\"),\"expected #{this} to be truthy\",\"expected #{this} to be falsy\");}),Assertion2.addProperty(\"true\",function(){this.assert(flag(this,\"object\")===!0,\"expected #{this} to be true\",\"expected #{this} to be false\",!flag(this,\"negate\"));}),Assertion2.addProperty(\"false\",function(){this.assert(flag(this,\"object\")===!1,\"expected #{this} to be false\",\"expected #{this} to be true\",!!flag(this,\"negate\"));}),Assertion2.addProperty(\"null\",function(){this.assert(flag(this,\"object\")===null,\"expected #{this} to be null\",\"expected #{this} not to be null\");}),Assertion2.addProperty(\"undefined\",function(){this.assert(flag(this,\"object\")===void 0,\"expected #{this} to be undefined\",\"expected #{this} not to be undefined\");}),Assertion2.addProperty(\"NaN\",function(){this.assert(_.isNaN(flag(this,\"object\")),\"expected #{this} to be NaN\",\"expected #{this} not to be NaN\");});function assertExist(){var val=flag(this,\"object\");this.assert(val!=null,\"expected #{this} to exist\",\"expected #{this} to not exist\");}Assertion2.addProperty(\"exist\",assertExist),Assertion2.addProperty(\"exists\",assertExist),Assertion2.addProperty(\"empty\",function(){var val=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),flagMsg=flag(this,\"message\"),itemsCount;switch(flagMsg=flagMsg?flagMsg+\": \":\"\",_.type(val).toLowerCase()){case\"array\":case\"string\":itemsCount=val.length;break;case\"map\":case\"set\":itemsCount=val.size;break;case\"weakmap\":case\"weakset\":throw new AssertionError2(flagMsg+\".empty was passed a weak collection\",void 0,ssfi);case\"function\":var msg=flagMsg+\".empty was passed a function \"+_.getName(val);throw new AssertionError2(msg.trim(),void 0,ssfi);default:if(val!==Object(val))throw new AssertionError2(flagMsg+\".empty was passed non-string primitive \"+_.inspect(val),void 0,ssfi);itemsCount=Object.keys(val).length;}this.assert(itemsCount===0,\"expected #{this} to be empty\",\"expected #{this} not to be empty\");});function checkArguments(){var obj=flag(this,\"object\"),type3=_.type(obj);this.assert(type3===\"Arguments\",\"expected #{this} to be arguments but got \"+type3,\"expected #{this} to not be arguments\");}Assertion2.addProperty(\"arguments\",checkArguments),Assertion2.addProperty(\"Arguments\",checkArguments);function assertEqual(val,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\");if(flag(this,\"deep\")){var prevLockSsfi=flag(this,\"lockSsfi\");flag(this,\"lockSsfi\",!0),this.eql(val),flag(this,\"lockSsfi\",prevLockSsfi);}else this.assert(val===obj,\"expected #{this} to equal #{exp}\",\"expected #{this} to not equal #{exp}\",val,this._obj,!0);}Assertion2.addMethod(\"equal\",assertEqual),Assertion2.addMethod(\"equals\",assertEqual),Assertion2.addMethod(\"eq\",assertEqual);function assertEql(obj,msg){msg&&flag(this,\"message\",msg);var eql=flag(this,\"eql\");this.assert(eql(obj,flag(this,\"object\")),\"expected #{this} to deeply equal #{exp}\",\"expected #{this} to not deeply equal #{exp}\",obj,this._obj,!0);}Assertion2.addMethod(\"eql\",assertEql),Assertion2.addMethod(\"eqls\",assertEql);function assertAbove(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),doLength=flag(this,\"doLength\"),flagMsg=flag(this,\"message\"),msgPrefix=flagMsg?flagMsg+\": \":\"\",ssfi=flag(this,\"ssfi\"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),errorMessage,shouldThrow=!0;if(doLength&&objType!==\"map\"&&objType!==\"set\"&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),!doLength&&objType===\"date\"&&nType!==\"date\")errorMessage=msgPrefix+\"the argument to above must be a date\";else if(nType!==\"number\"&&(doLength||objType===\"number\"))errorMessage=msgPrefix+\"the argument to above must be a number\";else if(!doLength&&objType!==\"date\"&&objType!==\"number\"){var printObj=objType===\"string\"?\"'\"+obj+\"'\":obj;errorMessage=msgPrefix+\"expected \"+printObj+\" to be a number or a date\";}else shouldThrow=!1;if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var descriptor=\"length\",itemsCount;objType===\"map\"||objType===\"set\"?(descriptor=\"size\",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>n,\"expected #{this} to have a \"+descriptor+\" above #{exp} but got #{act}\",\"expected #{this} to not have a \"+descriptor+\" above #{exp}\",n,itemsCount);}else this.assert(obj>n,\"expected #{this} to be above #{exp}\",\"expected #{this} to be at most #{exp}\",n);}Assertion2.addMethod(\"above\",assertAbove),Assertion2.addMethod(\"gt\",assertAbove),Assertion2.addMethod(\"greaterThan\",assertAbove);function assertLeast(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),doLength=flag(this,\"doLength\"),flagMsg=flag(this,\"message\"),msgPrefix=flagMsg?flagMsg+\": \":\"\",ssfi=flag(this,\"ssfi\"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),errorMessage,shouldThrow=!0;if(doLength&&objType!==\"map\"&&objType!==\"set\"&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),!doLength&&objType===\"date\"&&nType!==\"date\")errorMessage=msgPrefix+\"the argument to least must be a date\";else if(nType!==\"number\"&&(doLength||objType===\"number\"))errorMessage=msgPrefix+\"the argument to least must be a number\";else if(!doLength&&objType!==\"date\"&&objType!==\"number\"){var printObj=objType===\"string\"?\"'\"+obj+\"'\":obj;errorMessage=msgPrefix+\"expected \"+printObj+\" to be a number or a date\";}else shouldThrow=!1;if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var descriptor=\"length\",itemsCount;objType===\"map\"||objType===\"set\"?(descriptor=\"size\",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>=n,\"expected #{this} to have a \"+descriptor+\" at least #{exp} but got #{act}\",\"expected #{this} to have a \"+descriptor+\" below #{exp}\",n,itemsCount);}else this.assert(obj>=n,\"expected #{this} to be at least #{exp}\",\"expected #{this} to be below #{exp}\",n);}Assertion2.addMethod(\"least\",assertLeast),Assertion2.addMethod(\"gte\",assertLeast),Assertion2.addMethod(\"greaterThanOrEqual\",assertLeast);function assertBelow(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),doLength=flag(this,\"doLength\"),flagMsg=flag(this,\"message\"),msgPrefix=flagMsg?flagMsg+\": \":\"\",ssfi=flag(this,\"ssfi\"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),errorMessage,shouldThrow=!0;if(doLength&&objType!==\"map\"&&objType!==\"set\"&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),!doLength&&objType===\"date\"&&nType!==\"date\")errorMessage=msgPrefix+\"the argument to below must be a date\";else if(nType!==\"number\"&&(doLength||objType===\"number\"))errorMessage=msgPrefix+\"the argument to below must be a number\";else if(!doLength&&objType!==\"date\"&&objType!==\"number\"){var printObj=objType===\"string\"?\"'\"+obj+\"'\":obj;errorMessage=msgPrefix+\"expected \"+printObj+\" to be a number or a date\";}else shouldThrow=!1;if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var descriptor=\"length\",itemsCount;objType===\"map\"||objType===\"set\"?(descriptor=\"size\",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount=start&&itemsCount<=finish,\"expected #{this} to have a \"+descriptor+\" within \"+range,\"expected #{this} to not have a \"+descriptor+\" within \"+range);}else this.assert(obj>=start&&obj<=finish,\"expected #{this} to be within \"+range,\"expected #{this} to not be within \"+range);});function assertInstanceOf(constructor,msg){msg&&flag(this,\"message\",msg);var target=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),flagMsg=flag(this,\"message\");try{var isInstanceOf=target instanceof constructor;}catch(err){throw err instanceof TypeError?(flagMsg=flagMsg?flagMsg+\": \":\"\",new AssertionError2(flagMsg+\"The instanceof assertion needs a constructor but \"+_.type(constructor)+\" was given.\",void 0,ssfi)):err}var name=_.getName(constructor);name===null&&(name=\"an unnamed constructor\"),this.assert(isInstanceOf,\"expected #{this} to be an instance of \"+name,\"expected #{this} to not be an instance of \"+name);}Assertion2.addMethod(\"instanceof\",assertInstanceOf),Assertion2.addMethod(\"instanceOf\",assertInstanceOf);function assertProperty(name,val,msg){msg&&flag(this,\"message\",msg);var isNested=flag(this,\"nested\"),isOwn=flag(this,\"own\"),flagMsg=flag(this,\"message\"),obj=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),nameType=typeof name;if(flagMsg=flagMsg?flagMsg+\": \":\"\",isNested){if(nameType!==\"string\")throw new AssertionError2(flagMsg+\"the argument to property must be a string when using nested syntax\",void 0,ssfi)}else if(nameType!==\"string\"&&nameType!==\"number\"&&nameType!==\"symbol\")throw new AssertionError2(flagMsg+\"the argument to property must be a string, number, or symbol\",void 0,ssfi);if(isNested&&isOwn)throw new AssertionError2(flagMsg+'The \"nested\" and \"own\" flags cannot be combined.',void 0,ssfi);if(obj==null)throw new AssertionError2(flagMsg+\"Target cannot be null or undefined.\",void 0,ssfi);var isDeep=flag(this,\"deep\"),negate=flag(this,\"negate\"),pathInfo=isNested?_.getPathInfo(obj,name):null,value=isNested?pathInfo.value:obj[name],isEql=isDeep?flag(this,\"eql\"):(val1,val2)=>val1===val2,descriptor=\"\";isDeep&&(descriptor+=\"deep \"),isOwn&&(descriptor+=\"own \"),isNested&&(descriptor+=\"nested \"),descriptor+=\"property \";var hasProperty;isOwn?hasProperty=Object.prototype.hasOwnProperty.call(obj,name):isNested?hasProperty=pathInfo.exists:hasProperty=_.hasProperty(obj,name),(!negate||arguments.length===1)&&this.assert(hasProperty,\"expected #{this} to have \"+descriptor+_.inspect(name),\"expected #{this} to not have \"+descriptor+_.inspect(name)),arguments.length>1&&this.assert(hasProperty&&isEql(val,value),\"expected #{this} to have \"+descriptor+_.inspect(name)+\" of #{exp}, but got #{act}\",\"expected #{this} to not have \"+descriptor+_.inspect(name)+\" of #{act}\",val,value),flag(this,\"object\",value);}Assertion2.addMethod(\"property\",assertProperty);function assertOwnProperty(name,value,msg){flag(this,\"own\",!0),assertProperty.apply(this,arguments);}Assertion2.addMethod(\"ownProperty\",assertOwnProperty),Assertion2.addMethod(\"haveOwnProperty\",assertOwnProperty);function assertOwnPropertyDescriptor(name,descriptor,msg){typeof descriptor==\"string\"&&(msg=descriptor,descriptor=null),msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),actualDescriptor=Object.getOwnPropertyDescriptor(Object(obj),name),eql=flag(this,\"eql\");actualDescriptor&&descriptor?this.assert(eql(descriptor,actualDescriptor),\"expected the own property descriptor for \"+_.inspect(name)+\" on #{this} to match \"+_.inspect(descriptor)+\", got \"+_.inspect(actualDescriptor),\"expected the own property descriptor for \"+_.inspect(name)+\" on #{this} to not match \"+_.inspect(descriptor),descriptor,actualDescriptor,!0):this.assert(actualDescriptor,\"expected #{this} to have an own property descriptor for \"+_.inspect(name),\"expected #{this} to not have an own property descriptor for \"+_.inspect(name)),flag(this,\"object\",actualDescriptor);}Assertion2.addMethod(\"ownPropertyDescriptor\",assertOwnPropertyDescriptor),Assertion2.addMethod(\"haveOwnPropertyDescriptor\",assertOwnPropertyDescriptor);function assertLengthChain(){flag(this,\"doLength\",!0);}function assertLength(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),objType=_.type(obj).toLowerCase(),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\"),descriptor=\"length\",itemsCount;switch(objType){case\"map\":case\"set\":descriptor=\"size\",itemsCount=obj.size;break;default:new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),itemsCount=obj.length;}this.assert(itemsCount==n,\"expected #{this} to have a \"+descriptor+\" of #{exp} but got #{act}\",\"expected #{this} to not have a \"+descriptor+\" of #{act}\",n,itemsCount);}Assertion2.addChainableMethod(\"length\",assertLength,assertLengthChain),Assertion2.addChainableMethod(\"lengthOf\",assertLength,assertLengthChain);function assertMatch(re,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\");this.assert(re.exec(obj),\"expected #{this} to match \"+re,\"expected #{this} not to match \"+re);}Assertion2.addMethod(\"match\",assertMatch),Assertion2.addMethod(\"matches\",assertMatch),Assertion2.addMethod(\"string\",function(str,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(obj,flagMsg,ssfi,!0).is.a(\"string\"),this.assert(~obj.indexOf(str),\"expected #{this} to contain \"+_.inspect(str),\"expected #{this} to not contain \"+_.inspect(str));});function assertKeys(keys2){var obj=flag(this,\"object\"),objType=_.type(obj),keysType=_.type(keys2),ssfi=flag(this,\"ssfi\"),isDeep=flag(this,\"deep\"),str,deepStr=\"\",actual,ok=!0,flagMsg=flag(this,\"message\");flagMsg=flagMsg?flagMsg+\": \":\"\";var mixedArgsMsg=flagMsg+\"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments\";if(objType===\"Map\"||objType===\"Set\")deepStr=isDeep?\"deeply \":\"\",actual=[],obj.forEach(function(val,key){actual.push(key);}),keysType!==\"Array\"&&(keys2=Array.prototype.slice.call(arguments));else {switch(actual=_.getOwnEnumerableProperties(obj),keysType){case\"Array\":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);break;case\"Object\":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);keys2=Object.keys(keys2);break;default:keys2=Array.prototype.slice.call(arguments);}keys2=keys2.map(function(val){return typeof val==\"symbol\"?val:String(val)});}if(!keys2.length)throw new AssertionError2(flagMsg+\"keys required\",void 0,ssfi);var len=keys2.length,any=flag(this,\"any\"),all=flag(this,\"all\"),expected=keys2,isEql=isDeep?flag(this,\"eql\"):(val1,val2)=>val1===val2;if(!any&&!all&&(all=!0),any&&(ok=expected.some(function(expectedKey){return actual.some(function(actualKey){return isEql(expectedKey,actualKey)})})),all&&(ok=expected.every(function(expectedKey){return actual.some(function(actualKey){return isEql(expectedKey,actualKey)})}),flag(this,\"contains\")||(ok=ok&&keys2.length==actual.length)),len>1){keys2=keys2.map(function(key){return _.inspect(key)});var last=keys2.pop();all&&(str=keys2.join(\", \")+\", and \"+last),any&&(str=keys2.join(\", \")+\", or \"+last);}else str=_.inspect(keys2[0]);str=(len>1?\"keys \":\"key \")+str,str=(flag(this,\"contains\")?\"contain \":\"have \")+str,this.assert(ok,\"expected #{this} to \"+deepStr+str,\"expected #{this} to not \"+deepStr+str,expected.slice(0).sort(_.compareByInspect),actual.sort(_.compareByInspect),!0);}Assertion2.addMethod(\"keys\",assertKeys),Assertion2.addMethod(\"key\",assertKeys);function assertThrows(errorLike,errMsgMatcher,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),flagMsg=flag(this,\"message\"),negate=flag(this,\"negate\")||!1;new Assertion2(obj,flagMsg,ssfi,!0).is.a(\"function\"),(errorLike instanceof RegExp||typeof errorLike==\"string\")&&(errMsgMatcher=errorLike,errorLike=null);var caughtErr;try{obj();}catch(err){caughtErr=err;}var everyArgIsUndefined=errorLike===void 0&&errMsgMatcher===void 0,everyArgIsDefined=!!(errorLike&&errMsgMatcher),errorLikeFail=!1,errMsgMatcherFail=!1;if(everyArgIsUndefined||!everyArgIsUndefined&&!negate){var errorLikeString=\"an error\";errorLike instanceof Error?errorLikeString=\"#{exp}\":errorLike&&(errorLikeString=_.checkError.getConstructorName(errorLike)),this.assert(caughtErr,\"expected #{this} to throw \"+errorLikeString,\"expected #{this} to not throw an error but #{act} was thrown\",errorLike&&errorLike.toString(),caughtErr instanceof Error?caughtErr.toString():typeof caughtErr==\"string\"?caughtErr:caughtErr&&_.checkError.getConstructorName(caughtErr));}if(errorLike&&caughtErr){if(errorLike instanceof Error){var isCompatibleInstance=_.checkError.compatibleInstance(caughtErr,errorLike);isCompatibleInstance===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,\"expected #{this} to throw #{exp} but #{act} was thrown\",\"expected #{this} to not throw #{exp}\"+(caughtErr&&!negate?\" but #{act} was thrown\":\"\"),errorLike.toString(),caughtErr.toString()));}var isCompatibleConstructor=_.checkError.compatibleConstructor(caughtErr,errorLike);isCompatibleConstructor===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,\"expected #{this} to throw #{exp} but #{act} was thrown\",\"expected #{this} to not throw #{exp}\"+(caughtErr?\" but #{act} was thrown\":\"\"),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)));}if(caughtErr&&errMsgMatcher!==void 0&&errMsgMatcher!==null){var placeholder=\"including\";errMsgMatcher instanceof RegExp&&(placeholder=\"matching\");var isCompatibleMessage=_.checkError.compatibleMessage(caughtErr,errMsgMatcher);isCompatibleMessage===negate&&(everyArgIsDefined&&negate?errMsgMatcherFail=!0:this.assert(negate,\"expected #{this} to throw error \"+placeholder+\" #{exp} but got #{act}\",\"expected #{this} to throw error not \"+placeholder+\" #{exp}\",errMsgMatcher,_.checkError.getMessage(caughtErr)));}errorLikeFail&&errMsgMatcherFail&&this.assert(negate,\"expected #{this} to throw #{exp} but #{act} was thrown\",\"expected #{this} to not throw #{exp}\"+(caughtErr?\" but #{act} was thrown\":\"\"),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)),flag(this,\"object\",caughtErr);}Assertion2.addMethod(\"throw\",assertThrows),Assertion2.addMethod(\"throws\",assertThrows),Assertion2.addMethod(\"Throw\",assertThrows);function respondTo(method,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),itself=flag(this,\"itself\"),context=typeof obj==\"function\"&&!itself?obj.prototype[method]:obj[method];this.assert(typeof context==\"function\",\"expected #{this} to respond to \"+_.inspect(method),\"expected #{this} to not respond to \"+_.inspect(method));}Assertion2.addMethod(\"respondTo\",respondTo),Assertion2.addMethod(\"respondsTo\",respondTo),Assertion2.addProperty(\"itself\",function(){flag(this,\"itself\",!0);});function satisfy(matcher,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),result=matcher(obj);this.assert(result,\"expected #{this} to satisfy \"+_.objDisplay(matcher),\"expected #{this} to not satisfy\"+_.objDisplay(matcher),!flag(this,\"negate\"),result);}Assertion2.addMethod(\"satisfy\",satisfy),Assertion2.addMethod(\"satisfies\",satisfy);function closeTo(expected,delta,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");if(new Assertion2(obj,flagMsg,ssfi,!0).is.a(\"number\"),typeof expected!=\"number\"||typeof delta!=\"number\"){flagMsg=flagMsg?flagMsg+\": \":\"\";var deltaMessage=delta===void 0?\", and a delta is required\":\"\";throw new AssertionError2(flagMsg+\"the arguments to closeTo or approximately must be numbers\"+deltaMessage,void 0,ssfi)}this.assert(Math.abs(obj-expected)<=delta,\"expected #{this} to be close to \"+expected+\" +/- \"+delta,\"expected #{this} not to be close to \"+expected+\" +/- \"+delta);}Assertion2.addMethod(\"closeTo\",closeTo),Assertion2.addMethod(\"approximately\",closeTo);function isSubsetOf(subset,superset,cmp,contains,ordered){if(!contains){if(subset.length!==superset.length)return !1;superset=superset.slice();}return subset.every(function(elem,idx){if(ordered)return cmp?cmp(elem,superset[idx]):elem===superset[idx];if(!cmp){var matchIdx=superset.indexOf(elem);return matchIdx===-1?!1:(contains||superset.splice(matchIdx,1),!0)}return superset.some(function(elem2,matchIdx2){return cmp(elem,elem2)?(contains||superset.splice(matchIdx2,1),!0):!1})})}Assertion2.addMethod(\"members\",function(subset,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(obj,flagMsg,ssfi,!0).to.be.an(\"array\"),new Assertion2(subset,flagMsg,ssfi,!0).to.be.an(\"array\");var contains=flag(this,\"contains\"),ordered=flag(this,\"ordered\"),subject,failMsg,failNegateMsg;contains?(subject=ordered?\"an ordered superset\":\"a superset\",failMsg=\"expected #{this} to be \"+subject+\" of #{exp}\",failNegateMsg=\"expected #{this} to not be \"+subject+\" of #{exp}\"):(subject=ordered?\"ordered members\":\"members\",failMsg=\"expected #{this} to have the same \"+subject+\" as #{exp}\",failNegateMsg=\"expected #{this} to not have the same \"+subject+\" as #{exp}\");var cmp=flag(this,\"deep\")?flag(this,\"eql\"):void 0;this.assert(isSubsetOf(subset,obj,cmp,contains,ordered),failMsg,failNegateMsg,subset,obj,!0);});function oneOf(list,msg){msg&&flag(this,\"message\",msg);var expected=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\"),contains=flag(this,\"contains\"),isDeep=flag(this,\"deep\"),eql=flag(this,\"eql\");new Assertion2(list,flagMsg,ssfi,!0).to.be.an(\"array\"),contains?this.assert(list.some(function(possibility){return expected.indexOf(possibility)>-1}),\"expected #{this} to contain one of #{exp}\",\"expected #{this} to not contain one of #{exp}\",list,expected):isDeep?this.assert(list.some(function(possibility){return eql(expected,possibility)}),\"expected #{this} to deeply equal one of #{exp}\",\"expected #{this} to deeply equal one of #{exp}\",list,expected):this.assert(list.indexOf(expected)>-1,\"expected #{this} to be one of #{exp}\",\"expected #{this} to not be one of #{exp}\",list,expected);}Assertion2.addMethod(\"oneOf\",oneOf);function assertChanges(subject,prop,msg){msg&&flag(this,\"message\",msg);var fn3=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(fn3,flagMsg,ssfi,!0).is.a(\"function\");var initial;prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a(\"function\"),initial=subject()),fn3();var final=prop==null?subject():subject[prop],msgObj=prop==null?initial:\".\"+prop;flag(this,\"deltaMsgObj\",msgObj),flag(this,\"initialDeltaValue\",initial),flag(this,\"finalDeltaValue\",final),flag(this,\"deltaBehavior\",\"change\"),flag(this,\"realDelta\",final!==initial),this.assert(initial!==final,\"expected \"+msgObj+\" to change\",\"expected \"+msgObj+\" to not change\");}Assertion2.addMethod(\"change\",assertChanges),Assertion2.addMethod(\"changes\",assertChanges);function assertIncreases(subject,prop,msg){msg&&flag(this,\"message\",msg);var fn3=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(fn3,flagMsg,ssfi,!0).is.a(\"function\");var initial;prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a(\"function\"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a(\"number\"),fn3();var final=prop==null?subject():subject[prop],msgObj=prop==null?initial:\".\"+prop;flag(this,\"deltaMsgObj\",msgObj),flag(this,\"initialDeltaValue\",initial),flag(this,\"finalDeltaValue\",final),flag(this,\"deltaBehavior\",\"increase\"),flag(this,\"realDelta\",final-initial),this.assert(final-initial>0,\"expected \"+msgObj+\" to increase\",\"expected \"+msgObj+\" to not increase\");}Assertion2.addMethod(\"increase\",assertIncreases),Assertion2.addMethod(\"increases\",assertIncreases);function assertDecreases(subject,prop,msg){msg&&flag(this,\"message\",msg);var fn3=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(fn3,flagMsg,ssfi,!0).is.a(\"function\");var initial;prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a(\"function\"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a(\"number\"),fn3();var final=prop==null?subject():subject[prop],msgObj=prop==null?initial:\".\"+prop;flag(this,\"deltaMsgObj\",msgObj),flag(this,\"initialDeltaValue\",initial),flag(this,\"finalDeltaValue\",final),flag(this,\"deltaBehavior\",\"decrease\"),flag(this,\"realDelta\",initial-final),this.assert(final-initial<0,\"expected \"+msgObj+\" to decrease\",\"expected \"+msgObj+\" to not decrease\");}Assertion2.addMethod(\"decrease\",assertDecreases),Assertion2.addMethod(\"decreases\",assertDecreases);function assertDelta(delta,msg){msg&&flag(this,\"message\",msg);var msgObj=flag(this,\"deltaMsgObj\"),initial=flag(this,\"initialDeltaValue\"),final=flag(this,\"finalDeltaValue\"),behavior2=flag(this,\"deltaBehavior\"),realDelta=flag(this,\"realDelta\"),expression;behavior2===\"change\"?expression=Math.abs(final-initial)===Math.abs(delta):expression=realDelta===Math.abs(delta),this.assert(expression,\"expected \"+msgObj+\" to \"+behavior2+\" by \"+delta,\"expected \"+msgObj+\" to not \"+behavior2+\" by \"+delta);}Assertion2.addMethod(\"by\",assertDelta),Assertion2.addProperty(\"extensible\",function(){var obj=flag(this,\"object\"),isExtensible=obj===Object(obj)&&Object.isExtensible(obj);this.assert(isExtensible,\"expected #{this} to be extensible\",\"expected #{this} to not be extensible\");}),Assertion2.addProperty(\"sealed\",function(){var obj=flag(this,\"object\"),isSealed=obj===Object(obj)?Object.isSealed(obj):!0;this.assert(isSealed,\"expected #{this} to be sealed\",\"expected #{this} to not be sealed\");}),Assertion2.addProperty(\"frozen\",function(){var obj=flag(this,\"object\"),isFrozen=obj===Object(obj)?Object.isFrozen(obj):!0;this.assert(isFrozen,\"expected #{this} to be frozen\",\"expected #{this} to not be frozen\");}),Assertion2.addProperty(\"finite\",function(msg){var obj=flag(this,\"object\");this.assert(typeof obj==\"number\"&&isFinite(obj),\"expected #{this} to be a finite number\",\"expected #{this} to not be a finite number\");});};}});var require_expect=__commonJS({\"../../node_modules/chai/lib/chai/interface/expect.js\"(exports,module2){module2.exports=function(chai2,util2){chai2.expect=function(val,message){return new chai2.Assertion(val,message)},chai2.expect.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||\"expect.fail()\",new chai2.AssertionError(message,{actual,expected,operator},chai2.expect.fail)};};}});var require_should=__commonJS({\"../../node_modules/chai/lib/chai/interface/should.js\"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion;function loadShould(){function shouldGetter(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol==\"function\"&&this instanceof Symbol||typeof BigInt==\"function\"&&this instanceof BigInt?new Assertion2(this.valueOf(),null,shouldGetter):new Assertion2(this,null,shouldGetter)}function shouldSetter(value){Object.defineProperty(this,\"should\",{value,enumerable:!0,configurable:!0,writable:!0});}Object.defineProperty(Object.prototype,\"should\",{set:shouldSetter,get:shouldGetter,configurable:!0});var should2={};return should2.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||\"should.fail()\",new chai2.AssertionError(message,{actual,expected,operator},should2.fail)},should2.equal=function(val1,val2,msg){new Assertion2(val1,msg).to.equal(val2);},should2.Throw=function(fn3,errt,errs,msg){new Assertion2(fn3,msg).to.Throw(errt,errs);},should2.exist=function(val,msg){new Assertion2(val,msg).to.exist;},should2.not={},should2.not.equal=function(val1,val2,msg){new Assertion2(val1,msg).to.not.equal(val2);},should2.not.Throw=function(fn3,errt,errs,msg){new Assertion2(fn3,msg).to.not.Throw(errt,errs);},should2.not.exist=function(val,msg){new Assertion2(val,msg).to.not.exist;},should2.throw=should2.Throw,should2.not.throw=should2.not.Throw,should2}chai2.should=loadShould,chai2.Should=loadShould;};}});var require_assert=__commonJS({\"../../node_modules/chai/lib/chai/interface/assert.js\"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion,flag=util2.flag;var assert2=chai2.assert=function(express,errmsg){var test=new Assertion2(null,null,chai2.assert,!0);test.assert(express,errmsg,\"[ negation message unavailable ]\");};assert2.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||\"assert.fail()\",new chai2.AssertionError(message,{actual,expected,operator},assert2.fail)},assert2.isOk=function(val,msg){new Assertion2(val,msg,assert2.isOk,!0).is.ok;},assert2.isNotOk=function(val,msg){new Assertion2(val,msg,assert2.isNotOk,!0).is.not.ok;},assert2.equal=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.equal,!0);test.assert(exp==flag(test,\"object\"),\"expected #{this} to equal #{exp}\",\"expected #{this} to not equal #{act}\",exp,act,!0);},assert2.notEqual=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.notEqual,!0);test.assert(exp!=flag(test,\"object\"),\"expected #{this} to not equal #{exp}\",\"expected #{this} to equal #{act}\",exp,act,!0);},assert2.strictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.strictEqual,!0).to.equal(exp);},assert2.notStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notStrictEqual,!0).to.not.equal(exp);},assert2.deepEqual=assert2.deepStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.deepEqual,!0).to.eql(exp);},assert2.notDeepEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notDeepEqual,!0).to.not.eql(exp);},assert2.isAbove=function(val,abv,msg){new Assertion2(val,msg,assert2.isAbove,!0).to.be.above(abv);},assert2.isAtLeast=function(val,atlst,msg){new Assertion2(val,msg,assert2.isAtLeast,!0).to.be.least(atlst);},assert2.isBelow=function(val,blw,msg){new Assertion2(val,msg,assert2.isBelow,!0).to.be.below(blw);},assert2.isAtMost=function(val,atmst,msg){new Assertion2(val,msg,assert2.isAtMost,!0).to.be.most(atmst);},assert2.isTrue=function(val,msg){new Assertion2(val,msg,assert2.isTrue,!0).is.true;},assert2.isNotTrue=function(val,msg){new Assertion2(val,msg,assert2.isNotTrue,!0).to.not.equal(!0);},assert2.isFalse=function(val,msg){new Assertion2(val,msg,assert2.isFalse,!0).is.false;},assert2.isNotFalse=function(val,msg){new Assertion2(val,msg,assert2.isNotFalse,!0).to.not.equal(!1);},assert2.isNull=function(val,msg){new Assertion2(val,msg,assert2.isNull,!0).to.equal(null);},assert2.isNotNull=function(val,msg){new Assertion2(val,msg,assert2.isNotNull,!0).to.not.equal(null);},assert2.isNaN=function(val,msg){new Assertion2(val,msg,assert2.isNaN,!0).to.be.NaN;},assert2.isNotNaN=function(val,msg){new Assertion2(val,msg,assert2.isNotNaN,!0).not.to.be.NaN;},assert2.exists=function(val,msg){new Assertion2(val,msg,assert2.exists,!0).to.exist;},assert2.notExists=function(val,msg){new Assertion2(val,msg,assert2.notExists,!0).to.not.exist;},assert2.isUndefined=function(val,msg){new Assertion2(val,msg,assert2.isUndefined,!0).to.equal(void 0);},assert2.isDefined=function(val,msg){new Assertion2(val,msg,assert2.isDefined,!0).to.not.equal(void 0);},assert2.isFunction=function(val,msg){new Assertion2(val,msg,assert2.isFunction,!0).to.be.a(\"function\");},assert2.isNotFunction=function(val,msg){new Assertion2(val,msg,assert2.isNotFunction,!0).to.not.be.a(\"function\");},assert2.isObject=function(val,msg){new Assertion2(val,msg,assert2.isObject,!0).to.be.a(\"object\");},assert2.isNotObject=function(val,msg){new Assertion2(val,msg,assert2.isNotObject,!0).to.not.be.a(\"object\");},assert2.isArray=function(val,msg){new Assertion2(val,msg,assert2.isArray,!0).to.be.an(\"array\");},assert2.isNotArray=function(val,msg){new Assertion2(val,msg,assert2.isNotArray,!0).to.not.be.an(\"array\");},assert2.isString=function(val,msg){new Assertion2(val,msg,assert2.isString,!0).to.be.a(\"string\");},assert2.isNotString=function(val,msg){new Assertion2(val,msg,assert2.isNotString,!0).to.not.be.a(\"string\");},assert2.isNumber=function(val,msg){new Assertion2(val,msg,assert2.isNumber,!0).to.be.a(\"number\");},assert2.isNotNumber=function(val,msg){new Assertion2(val,msg,assert2.isNotNumber,!0).to.not.be.a(\"number\");},assert2.isFinite=function(val,msg){new Assertion2(val,msg,assert2.isFinite,!0).to.be.finite;},assert2.isBoolean=function(val,msg){new Assertion2(val,msg,assert2.isBoolean,!0).to.be.a(\"boolean\");},assert2.isNotBoolean=function(val,msg){new Assertion2(val,msg,assert2.isNotBoolean,!0).to.not.be.a(\"boolean\");},assert2.typeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.typeOf,!0).to.be.a(type3);},assert2.notTypeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notTypeOf,!0).to.not.be.a(type3);},assert2.instanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.instanceOf,!0).to.be.instanceOf(type3);},assert2.notInstanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notInstanceOf,!0).to.not.be.instanceOf(type3);},assert2.include=function(exp,inc,msg){new Assertion2(exp,msg,assert2.include,!0).include(inc);},assert2.notInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notInclude,!0).not.include(inc);},assert2.deepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepInclude,!0).deep.include(inc);},assert2.notDeepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepInclude,!0).not.deep.include(inc);},assert2.nestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.nestedInclude,!0).nested.include(inc);},assert2.notNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notNestedInclude,!0).not.nested.include(inc);},assert2.deepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepNestedInclude,!0).deep.nested.include(inc);},assert2.notDeepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepNestedInclude,!0).not.deep.nested.include(inc);},assert2.ownInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.ownInclude,!0).own.include(inc);},assert2.notOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notOwnInclude,!0).not.own.include(inc);},assert2.deepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepOwnInclude,!0).deep.own.include(inc);},assert2.notDeepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepOwnInclude,!0).not.deep.own.include(inc);},assert2.match=function(exp,re,msg){new Assertion2(exp,msg,assert2.match,!0).to.match(re);},assert2.notMatch=function(exp,re,msg){new Assertion2(exp,msg,assert2.notMatch,!0).to.not.match(re);},assert2.property=function(obj,prop,msg){new Assertion2(obj,msg,assert2.property,!0).to.have.property(prop);},assert2.notProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notProperty,!0).to.not.have.property(prop);},assert2.propertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.propertyVal,!0).to.have.property(prop,val);},assert2.notPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notPropertyVal,!0).to.not.have.property(prop,val);},assert2.deepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepPropertyVal,!0).to.have.deep.property(prop,val);},assert2.notDeepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepPropertyVal,!0).to.not.have.deep.property(prop,val);},assert2.ownProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.ownProperty,!0).to.have.own.property(prop);},assert2.notOwnProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notOwnProperty,!0).to.not.have.own.property(prop);},assert2.ownPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.ownPropertyVal,!0).to.have.own.property(prop,value);},assert2.notOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notOwnPropertyVal,!0).to.not.have.own.property(prop,value);},assert2.deepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.deepOwnPropertyVal,!0).to.have.deep.own.property(prop,value);},assert2.notDeepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(prop,value);},assert2.nestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.nestedProperty,!0).to.have.nested.property(prop);},assert2.notNestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notNestedProperty,!0).to.not.have.nested.property(prop);},assert2.nestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.nestedPropertyVal,!0).to.have.nested.property(prop,val);},assert2.notNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notNestedPropertyVal,!0).to.not.have.nested.property(prop,val);},assert2.deepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepNestedPropertyVal,!0).to.have.deep.nested.property(prop,val);},assert2.notDeepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(prop,val);},assert2.lengthOf=function(exp,len,msg){new Assertion2(exp,msg,assert2.lengthOf,!0).to.have.lengthOf(len);},assert2.hasAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyKeys,!0).to.have.any.keys(keys2);},assert2.hasAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllKeys,!0).to.have.all.keys(keys2);},assert2.containsAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllKeys,!0).to.contain.all.keys(keys2);},assert2.doesNotHaveAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyKeys,!0).to.not.have.any.keys(keys2);},assert2.doesNotHaveAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllKeys,!0).to.not.have.all.keys(keys2);},assert2.hasAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyDeepKeys,!0).to.have.any.deep.keys(keys2);},assert2.hasAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllDeepKeys,!0).to.have.all.deep.keys(keys2);},assert2.containsAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllDeepKeys,!0).to.contain.all.deep.keys(keys2);},assert2.doesNotHaveAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(keys2);},assert2.doesNotHaveAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(keys2);},assert2.throws=function(fn3,errorLike,errMsgMatcher,msg){(typeof errorLike==\"string\"||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null);var assertErr=new Assertion2(fn3,msg,assert2.throws,!0).to.throw(errorLike,errMsgMatcher);return flag(assertErr,\"object\")},assert2.doesNotThrow=function(fn3,errorLike,errMsgMatcher,msg){(typeof errorLike==\"string\"||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null),new Assertion2(fn3,msg,assert2.doesNotThrow,!0).to.not.throw(errorLike,errMsgMatcher);},assert2.operator=function(val,operator,val2,msg){var ok;switch(operator){case\"==\":ok=val==val2;break;case\"===\":ok=val===val2;break;case\">\":ok=val>val2;break;case\">=\":ok=val>=val2;break;case\"<\":ok=valcode=>`\\x1B[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`\\x1B[${38+offset};2;${red};${green};${blue}m`;function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`\\x1B[${style[0]}m`,close:`\\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1});}return Object.defineProperty(styles,\"codes\",{value:codes,enumerable:!1}),styles.color.close=\"\\x1B[39m\",styles.bgColor.close=\"\\x1B[49m\",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\\d]{6}|[a-f\\d]{3})/i.exec(hex.toString(16));if(!matches3)return [0,0,0];let{colorString}=matches3.groups;colorString.length===3&&(colorString=colorString.split(\"\").map(character=>character+character).join(\"\"));let integer=Number.parseInt(colorString,16);return [integer>>16&255,integer>>8&255,integer&255]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}Object.defineProperty(module2,\"exports\",{enumerable:!0,get:assembleStyles});}});var require_collections=__commonJS({\"../../node_modules/pretty-format/build/collections.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printIteratorEntries=printIteratorEntries;exports.printIteratorValues=printIteratorValues;exports.printListItems=printListItems;exports.printObjectProperties=printObjectProperties;var getKeysOfEnumerableProperties=(object,compareKeys)=>{let rawKeys=Object.keys(object),keys2=compareKeys!==null?rawKeys.sort(compareKeys):rawKeys;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach(symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol);}),keys2};function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=\": \"){let result=\"\",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+=\"\\u2026\";break}let name=printer(current.value[0],config3,indentationNext,depth,refs),value=printer(current.value[1],config3,indentationNext,depth,refs);result+=name+separator+value,current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=`,${config3.spacingInner}`;}result+=config3.spacingOuter+indentation;}return result}function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result=\"\",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+=\"\\u2026\";break}result+=printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=`,${config3.spacingInner}`;}result+=config3.spacingOuter+indentation;}return result}function printListItems(list,config3,indentation,depth,refs,printer){let result=\"\";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();if(stringedValue===\"ArrayContaining\"||stringedValue===\"ArrayNotContaining\")return ++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+SPACE}[${(0, _collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)}]`;if(stringedValue===\"ObjectContaining\"||stringedValue===\"ObjectNotContaining\")return ++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+SPACE}{${(0, _collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)}}`;if(stringedValue===\"StringMatching\"||stringedValue===\"StringNotMatching\"||stringedValue===\"StringContaining\"||stringedValue===\"StringNotContaining\")return stringedValue+SPACE+printer(val.sample,config3,indentation,depth,refs);if(typeof val.toAsymmetricMatcher!=\"function\")throw new Error(`Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`);return val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_DOMCollection=__commonJS({\"../../node_modules/pretty-format/build/plugins/DOMCollection.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),SPACE=\" \",OBJECT_NAMES=[\"DOMStringMap\",\"NamedNodeMap\"],ARRAY_REGEXP=/^(HTML\\w*Collection|NodeList)$/,testName=name=>OBJECT_NAMES.indexOf(name)!==-1||ARRAY_REGEXP.test(name),test=val=>val&&val.constructor&&!!val.constructor.name&&testName(val.constructor.name);exports.test=test;var isNamedNodeMap=collection=>collection.constructor.name===\"NamedNodeMap\",serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return ++depth>config3.maxDepth?`[${name}]`:(config3.min?\"\":name+SPACE)+(OBJECT_NAMES.indexOf(name)!==-1?`{${(0, _collections.printObjectProperties)(isNamedNodeMap(collection)?Array.from(collection).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}):{...collection},config3,indentation,depth,refs,printer)}}`:`[${(0, _collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)}]`)};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_escapeHTML=__commonJS({\"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=escapeHTML2;function escapeHTML2(str){return str.replace(//g,\">\")}}});var require_markup=__commonJS({\"../../node_modules/pretty-format/build/plugins/lib/markup.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=_interopRequireDefault(require_escapeHTML());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var printProps2=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map(key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return typeof value!=\"string\"&&(printed.indexOf(`\n`)!==-1&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=`{${printed}}`),`${config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`}).join(\"\")};exports.printProps=printProps2;var printChildren2=(children,config3,indentation,depth,refs,printer)=>children.map(child=>config3.spacingOuter+indentation+(typeof child==\"string\"?printText2(child,config3):printer(child,config3,indentation,depth,refs))).join(\"\");exports.printChildren=printChildren2;var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0, _escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;var printComment2=(comment,config3)=>{let commentColor=config3.colors.comment;return `${commentColor.open}${commentColor.close}`};exports.printComment=printComment2;var printElement2=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return `${tagColor.open}<${type3}${printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open}${printedChildren?`>${tagColor.close}${printedChildren}${config3.spacingOuter}${indentation}${tagColor.open}${tagColor.close}`};exports.printElement=printElement2;var printElementAsLeaf2=(type3,config3)=>{let tagColor=config3.colors.tag;return `${tagColor.open}<${type3}${tagColor.close} \\u2026${tagColor.open} />${tagColor.close}`};exports.printElementAsLeaf=printElementAsLeaf2;}});var require_DOMElement=__commonJS({\"../../node_modules/pretty-format/build/plugins/DOMElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),ELEMENT_NODE2=1,TEXT_NODE2=3,COMMENT_NODE2=8,FRAGMENT_NODE2=11,ELEMENT_REGEXP2=/^((HTML|SVG)\\w*)?Element$/,testHasAttribute=val=>{try{return typeof val.hasAttribute==\"function\"&&val.hasAttribute(\"is\")}catch{return !1}},testNode2=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2=typeof tagName==\"string\"&&tagName.includes(\"-\")||testHasAttribute(val);return nodeType===ELEMENT_NODE2&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE2&&constructorName===\"Text\"||nodeType===COMMENT_NODE2&&constructorName===\"Comment\"||nodeType===FRAGMENT_NODE2&&constructorName===\"DocumentFragment\"},test=val=>val?.constructor?.name&&testNode2(val);exports.test=test;function nodeIsText2(node){return node.nodeType===TEXT_NODE2}function nodeIsComment2(node){return node.nodeType===COMMENT_NODE2}function nodeIsFragment2(node){return node.nodeType===FRAGMENT_NODE2}var serialize=(node,config3,indentation,depth,refs,printer)=>{if(nodeIsText2(node))return (0, _markup.printText)(node.data,config3);if(nodeIsComment2(node))return (0, _markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?\"DocumentFragment\":node.tagName.toLowerCase();return ++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(type3,config3):(0, _markup.printElement)(type3,(0, _markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes,attr=>attr.name).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}),config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_Immutable=__commonJS({\"../../node_modules/pretty-format/build/plugins/Immutable.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),IS_ITERABLE_SENTINEL=\"@@__IMMUTABLE_ITERABLE__@@\",IS_LIST_SENTINEL=\"@@__IMMUTABLE_LIST__@@\",IS_KEYED_SENTINEL2=\"@@__IMMUTABLE_KEYED__@@\",IS_MAP_SENTINEL=\"@@__IMMUTABLE_MAP__@@\",IS_ORDERED_SENTINEL2=\"@@__IMMUTABLE_ORDERED__@@\",IS_RECORD_SENTINEL=\"@@__IMMUTABLE_RECORD__@@\",IS_SEQ_SENTINEL=\"@@__IMMUTABLE_SEQ__@@\",IS_SET_SENTINEL2=\"@@__IMMUTABLE_SET__@@\",IS_STACK_SENTINEL=\"@@__IMMUTABLE_STACK__@@\",getImmutableName=name=>`Immutable.${name}`,printAsLeaf=name=>`[${name}]`,SPACE=\" \",LAZY=\"\\u2026\",printImmutableEntries=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+SPACE}{${(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)}}`;function getRecordEntries(val){let i=0;return {next(){if(i{let name=getImmutableName(val._name||\"Record\");return ++depth>config3.maxDepth?printAsLeaf(name):`${name+SPACE}{${(0, _collections.printIteratorEntries)(getRecordEntries(val),config3,indentation,depth,refs,printer)}}`},printImmutableSeq=(val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(\"Seq\");return ++depth>config3.maxDepth?printAsLeaf(name):val[IS_KEYED_SENTINEL2]?`${name+SPACE}{${val._iter||val._object?(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):LAZY}}`:`${name+SPACE}[${val._iter||val._array||val._collection||val._iterable?(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):LAZY}]`},printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+SPACE}[${(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}]`,serialize=(val,config3,indentation,depth,refs,printer)=>val[IS_MAP_SENTINEL]?printImmutableEntries(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedMap\":\"Map\"):val[IS_LIST_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"List\"):val[IS_SET_SENTINEL2]?printImmutableValues(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedSet\":\"Set\"):val[IS_STACK_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"Stack\"):val[IS_SEQ_SENTINEL]?printImmutableSeq(val,config3,indentation,depth,refs,printer):printImmutableRecord(val,config3,indentation,depth,refs,printer);exports.serialize=serialize;var test=val=>val&&(val[IS_ITERABLE_SENTINEL]===!0||val[IS_RECORD_SENTINEL]===!0);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_react_is_development=__commonJS({\"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js\"(exports){(function(){var REACT_ELEMENT_TYPE=Symbol.for(\"react.element\"),REACT_PORTAL_TYPE=Symbol.for(\"react.portal\"),REACT_FRAGMENT_TYPE=Symbol.for(\"react.fragment\"),REACT_STRICT_MODE_TYPE=Symbol.for(\"react.strict_mode\"),REACT_PROFILER_TYPE=Symbol.for(\"react.profiler\"),REACT_PROVIDER_TYPE=Symbol.for(\"react.provider\"),REACT_CONTEXT_TYPE=Symbol.for(\"react.context\"),REACT_SERVER_CONTEXT_TYPE=Symbol.for(\"react.server_context\"),REACT_FORWARD_REF_TYPE=Symbol.for(\"react.forward_ref\"),REACT_SUSPENSE_TYPE=Symbol.for(\"react.suspense\"),REACT_SUSPENSE_LIST_TYPE=Symbol.for(\"react.suspense_list\"),REACT_MEMO_TYPE=Symbol.for(\"react.memo\"),REACT_LAZY_TYPE=Symbol.for(\"react.lazy\"),REACT_OFFSCREEN_TYPE=Symbol.for(\"react.offscreen\"),enableScopeAPI=!1,enableCacheElement=!1,enableTransitionTracing=!1,enableLegacyHidden=!1,enableDebugTracing=!1,REACT_MODULE_REFERENCE;REACT_MODULE_REFERENCE=Symbol.for(\"react.module.reference\");function isValidElementType(type3){return !!(typeof type3==\"string\"||typeof type3==\"function\"||type3===REACT_FRAGMENT_TYPE||type3===REACT_PROFILER_TYPE||enableDebugTracing||type3===REACT_STRICT_MODE_TYPE||type3===REACT_SUSPENSE_TYPE||type3===REACT_SUSPENSE_LIST_TYPE||enableLegacyHidden||type3===REACT_OFFSCREEN_TYPE||enableScopeAPI||enableCacheElement||enableTransitionTracing||typeof type3==\"object\"&&type3!==null&&(type3.$$typeof===REACT_LAZY_TYPE||type3.$$typeof===REACT_MEMO_TYPE||type3.$$typeof===REACT_PROVIDER_TYPE||type3.$$typeof===REACT_CONTEXT_TYPE||type3.$$typeof===REACT_FORWARD_REF_TYPE||type3.$$typeof===REACT_MODULE_REFERENCE||type3.getModuleId!==void 0))}function typeOf(object){if(typeof object==\"object\"&&object!==null){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_SERVER_CONTEXT_TYPE:case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,SuspenseList=REACT_SUSPENSE_LIST_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn(\"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn(\"The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE}function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE}function isElement5(object){return typeof object==\"object\"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE}function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE}function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE}function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE}function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE}function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE}function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE}function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE}function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE}function isSuspenseList(object){return typeOf(object)===REACT_SUSPENSE_LIST_TYPE}exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.SuspenseList=SuspenseList,exports.isAsyncMode=isAsyncMode,exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=isContextConsumer,exports.isContextProvider=isContextProvider,exports.isElement=isElement5,exports.isForwardRef=isForwardRef,exports.isFragment=isFragment,exports.isLazy=isLazy,exports.isMemo=isMemo,exports.isPortal=isPortal,exports.isProfiler=isProfiler,exports.isStrictMode=isStrictMode,exports.isSuspense=isSuspense,exports.isSuspenseList=isSuspenseList,exports.isValidElementType=isValidElementType,exports.typeOf=typeOf;})();}});var require_react_is=__commonJS({\"../../node_modules/pretty-format/node_modules/react-is/index.js\"(exports,module2){module2.exports=require_react_is_development();}});var require_ReactElement=__commonJS({\"../../node_modules/pretty-format/build/plugins/ReactElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var ReactIs=_interopRequireWildcard(require_react_is()),_markup=require_markup();function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=\"function\")return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return (_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(obj===null||typeof obj!=\"object\"&&typeof obj!=\"function\")return {default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(key!==\"default\"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key];}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach(item=>{getChildren(item,children);}):arg!=null&&arg!==!1&&children.push(arg),children),getType3=element=>{let type3=element.type;if(typeof type3==\"string\")return type3;if(typeof type3==\"function\")return type3.displayName||type3.name||\"Unknown\";if(ReactIs.isFragment(element))return \"React.Fragment\";if(ReactIs.isSuspense(element))return \"React.Suspense\";if(typeof type3==\"object\"&&type3!==null){if(ReactIs.isContextProvider(element))return \"Context.Provider\";if(ReactIs.isContextConsumer(element))return \"Context.Consumer\";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||\"\";return functionName!==\"\"?`ForwardRef(${functionName})`:\"ForwardRef\"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||\"\";return functionName!==\"\"?`Memo(${functionName})`:\"Memo\"}}return \"UNDEFINED\"},getPropKeys=element=>{let{props}=element;return Object.keys(props).filter(key=>key!==\"children\"&&props[key]!==void 0).sort()},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(getType3(element),config3):(0, _markup.printElement)(getType3(element),(0, _markup.printProps)(getPropKeys(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>val!=null&&ReactIs.isElement(val);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_ReactTestComponent=__commonJS({\"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),Symbol2=globalThis[\"jest-symbol-do-not-touch\"]||globalThis.Symbol,testSymbol=typeof Symbol2==\"function\"&&Symbol2.for?Symbol2.for(\"react.test.json\"):245830487,getPropKeys=object=>{let{props}=object;return props?Object.keys(props).filter(key=>props[key]!==void 0).sort():[]},serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(object.type,config3):(0, _markup.printElement)(object.type,object.props?(0, _markup.printProps)(getPropKeys(object),object.props,config3,indentation+config3.indent,depth,refs,printer):\"\",object.children?(0, _markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):\"\",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_build=__commonJS({\"../../node_modules/pretty-format/build/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=exports.DEFAULT_OPTIONS=void 0;exports.format=format4;exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles()),_collections=require_collections(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher()),_DOMCollection=_interopRequireDefault(require_DOMCollection()),_DOMElement=_interopRequireDefault(require_DOMElement()),_Immutable=_interopRequireDefault(require_Immutable()),_ReactElement=_interopRequireDefault(require_ReactElement()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>typeof val.constructor==\"function\"&&val.constructor.name||\"Object\",isWindow=val=>typeof window<\"u\"&&val===window,SYMBOL_REGEXP=/^Symbol\\((.*)\\)(.*)$/,NEWLINE_REGEXP=/\\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name;}};function isToStringedArrayType(toStringed){return toStringed===\"[object Array]\"||toStringed===\"[object ArrayBuffer]\"||toStringed===\"[object DataView]\"||toStringed===\"[object Float32Array]\"||toStringed===\"[object Float64Array]\"||toStringed===\"[object Int8Array]\"||toStringed===\"[object Int16Array]\"||toStringed===\"[object Int32Array]\"||toStringed===\"[object Uint8Array]\"||toStringed===\"[object Uint8ClampedArray]\"||toStringed===\"[object Uint16Array]\"||toStringed===\"[object Uint32Array]\"}function printNumber(val){return Object.is(val,-0)?\"-0\":String(val)}function printBigInt(val){return `${val}n`}function printFunction(val,printFunctionName){return printFunctionName?`[Function ${val.name||\"anonymous\"}]`:\"[Function]\"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,\"Symbol($1)\")}function printError(val){return `[${errorToString.call(val)}]`}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(val===!0||val===!1)return `${val}`;if(val===void 0)return \"undefined\";if(val===null)return \"null\";let typeOf=typeof val;if(typeOf===\"number\")return printNumber(val);if(typeOf===\"bigint\")return printBigInt(val);if(typeOf===\"string\")return escapeString?`\"${val.replace(/\"|\\\\/g,\"\\\\$&\")}\"`:`\"${val}\"`;if(typeOf===\"function\")return printFunction(val,printFunctionName);if(typeOf===\"symbol\")return printSymbol(val);let toStringed=toString.call(val);return toStringed===\"[object WeakMap]\"?\"WeakMap {}\":toStringed===\"[object WeakSet]\"?\"WeakSet {}\":toStringed===\"[object Function]\"||toStringed===\"[object GeneratorFunction]\"?printFunction(val,printFunctionName):toStringed===\"[object Symbol]\"?printSymbol(val):toStringed===\"[object Date]\"?isNaN(+val)?\"Date { NaN }\":toISOString.call(val):toStringed===\"[object Error]\"?printError(val):toStringed===\"[object RegExp]\"?escapeRegex?regExpToString.call(val).replace(/[\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(refs.indexOf(val)!==-1)return \"[Circular]\";refs=refs.slice(),refs.push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&typeof val.toJSON==\"function\"&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return toStringed===\"[object Arguments]\"?hitMaxDepth?\"[Arguments]\":`${min?\"\":\"Arguments \"}[${(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:isToStringedArrayType(toStringed)?hitMaxDepth?`[${val.constructor.name}]`:`${min||!config3.printBasicPrototype&&val.constructor.name===\"Array\"?\"\":`${val.constructor.name} `}[${(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:toStringed===\"[object Map]\"?hitMaxDepth?\"[Map]\":`Map {${(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer,\" => \")}}`:toStringed===\"[object Set]\"?hitMaxDepth?\"[Set]\":`Set {${(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}}`:hitMaxDepth||isWindow(val)?`[${getConstructorName(val)}]`:`${min||!config3.printBasicPrototype&&getConstructorName(val)===\"Object\"?\"\":`${getConstructorName(val)} `}{${(0, _collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)}}`}function isNewPlugin(plugin){return plugin.serialize!=null}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=isNewPlugin(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,valChild=>printer(valChild,config3,indentation,depth,refs),str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n${indentationNext}`)},{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors);}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if(typeof printed!=\"string\")throw new Error(`pretty-format: Plugin must return type \"string\" but instead returned \"${typeof printed}\".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2options,DEFAULT_OPTIONS=toOptionsSubtype({callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:DEFAULT_THEME});exports.DEFAULT_OPTIONS=DEFAULT_OPTIONS;function validateOptions(options){if(Object.keys(options).forEach(key=>{if(!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS,key))throw new Error(`pretty-format: Unknown option \"${key}\".`)}),options.min&&options.indent!==void 0&&options.indent!==0)throw new Error('pretty-format: Options \"min\" and \"indent\" cannot be used together.');if(options.theme!==void 0){if(options.theme===null)throw new Error('pretty-format: Option \"theme\" must not be null.');if(typeof options.theme!=\"object\")throw new Error(`pretty-format: Option \"theme\" must be of type \"object\" but instead received \"${typeof options.theme}\".`)}}var getColorsHighlight=options=>DEFAULT_THEME_KEYS.reduce((colors,key)=>{let value=options.theme&&options.theme[key]!==void 0?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(color&&typeof color.close==\"string\"&&typeof color.open==\"string\")colors[key]=color;else throw new Error(`pretty-format: Option \"theme\" has a key \"${key}\" whose value \"${value}\" is undefined in ansi-styles.`);return colors},Object.create(null)),getColorsEmpty=()=>DEFAULT_THEME_KEYS.reduce((colors,key)=>(colors[key]={close:\"\",open:\"\"},colors),Object.create(null)),getPrintFunctionName=options=>options?.printFunctionName??DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options?.escapeRegex??DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options?.escapeString??DEFAULT_OPTIONS.escapeString,getConfig3=options=>({callToJSON:options?.callToJSON??DEFAULT_OPTIONS.callToJSON,colors:options?.highlight?getColorsHighlight(options):getColorsEmpty(),compareKeys:typeof options?.compareKeys==\"function\"||options?.compareKeys===null?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options?.min?\"\":createIndent(options?.indent??DEFAULT_OPTIONS.indent),maxDepth:options?.maxDepth??DEFAULT_OPTIONS.maxDepth,maxWidth:options?.maxWidth??DEFAULT_OPTIONS.maxWidth,min:options?.min??DEFAULT_OPTIONS.min,plugins:options?.plugins??DEFAULT_OPTIONS.plugins,printBasicPrototype:options?.printBasicPrototype??!0,printFunctionName:getPrintFunctionName(options),spacingInner:options?.min?\" \":`\n`,spacingOuter:options?.min?\"\":`\n`});function createIndent(indent){return new Array(indent+1).join(\" \")}function format4(val,options){if(options&&(validateOptions(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(plugin!==null)return printPlugin(plugin,val,getConfig3(options),\"\",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return basicResult!==null?basicResult:printComplexValue(val,getConfig3(options),\"\",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default;}});var require_build2=__commonJS({\"../../node_modules/diff-sequences/build/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=diffSequence;var pkg=\"diff-sequences\",NOT_YET_SET=0,countCommonItemsF=(aIndex,aEnd,bIndex,bEnd,isCommon)=>{let nCommon=0;for(;aIndex{let nCommon=0;for(;aStart<=aIndex&&bStart<=bIndex&&isCommon(aIndex,bIndex);)aIndex-=1,bIndex-=1,nCommon+=1;return nCommon},extendPathsF=(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF)=>{let iF=0,kF=-d2,aFirst=aIndexesF[iF],aIndexPrev1=aFirst;aIndexesF[iF]+=countCommonItemsF(aFirst+1,aEnd,bF+aFirst-kF+1,bEnd,isCommon);let nF=d2{let iR=0,kR=d2,aFirst=aIndexesR[iR],aIndexPrev1=aFirst;aIndexesR[iR]-=countCommonItemsR(aStart,aFirst-1,bStart,bR+aFirst-kR-1,isCommon);let nR=d2{let bF=bStart-aStart,aLength=aEnd-aStart,baDeltaLength=bEnd-bStart-aLength,kMinOverlapF=-baDeltaLength-(d2-1),kMaxOverlapF=-baDeltaLength+(d2-1),aIndexPrev1=NOT_YET_SET,nF=d2{let bR=bEnd-aEnd,aLength=aEnd-aStart,baDeltaLength=bEnd-bStart-aLength,kMinOverlapR=baDeltaLength-d2,kMaxOverlapR=baDeltaLength+d2,aIndexPrev1=NOT_YET_SET,nR=d2{let bF=bStart-aStart,bR=bEnd-aEnd,aLength=aEnd-aStart,bLength=bEnd-bStart,baDeltaLength=bLength-aLength,iMaxF=aLength,iMaxR=aLength;if(aIndexesF[0]=aStart-1,aIndexesR[0]=aEnd,baDeltaLength%2===0){let dMin=(nChange||baDeltaLength)/2,dMax=(aLength+bLength)/2;for(let d2=1;d2<=dMax;d2+=1)if(iMaxF=extendPathsF(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF),d2{if(bEnd-bStart{foundSubsequence2(nCommon,aCommon,bCommon);},isCommon:(bIndex,aIndex)=>isCommon2(aIndex,bIndex)};}let tStart=aStart,tEnd=aEnd;aStart=bStart,aEnd=bEnd,bStart=tStart,bEnd=tEnd;}let{foundSubsequence,isCommon}=callbacks[transposed?1:0];divide(nChange,aStart,aEnd,bStart,bEnd,isCommon,aIndexesF,aIndexesR,division);let{nChangePreceding,aEndPreceding,bEndPreceding,nCommonPreceding,aCommonPreceding,bCommonPreceding,nCommonFollowing,aCommonFollowing,bCommonFollowing,nChangeFollowing,aStartFollowing,bStartFollowing}=division;aStart{if(typeof arg!=\"number\")throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`);if(!Number.isSafeInteger(arg))throw new RangeError(`${pkg}: ${name} value ${arg} is not a safe integer`);if(arg<0)throw new RangeError(`${pkg}: ${name} value ${arg} is a negative integer`)},validateCallback=(name,arg)=>{let type3=typeof arg;if(type3!==\"function\")throw new TypeError(`${pkg}: ${name} typeof ${type3} is not a function`)};function diffSequence(aLength,bLength,isCommon,foundSubsequence){validateLength(\"aLength\",aLength),validateLength(\"bLength\",bLength),validateCallback(\"isCommon\",isCommon),validateCallback(\"foundSubsequence\",foundSubsequence);let nCommonF=countCommonItemsF(0,aLength,0,bLength,isCommon);if(nCommonF!==0&&foundSubsequence(nCommonF,0,0),aLength!==nCommonF||bLength!==nCommonF){let aStart=nCommonF,bStart=nCommonF,nCommonR=countCommonItemsR(aStart,aLength-1,bStart,bLength-1,isCommon),aEnd=aLength-nCommonR,bEnd=bLength-nCommonR,nCommonFR=nCommonF+nCommonR;aLength!==nCommonFR&&bLength!==nCommonFR&&findSubsequences(0,aStart,aEnd,bStart,bEnd,!1,[{foundSubsequence,isCommon}],[NOT_YET_SET],[NOT_YET_SET],{aCommonFollowing:NOT_YET_SET,aCommonPreceding:NOT_YET_SET,aEndPreceding:NOT_YET_SET,aStartFollowing:NOT_YET_SET,bCommonFollowing:NOT_YET_SET,bCommonPreceding:NOT_YET_SET,bEndPreceding:NOT_YET_SET,bStartFollowing:NOT_YET_SET,nChangeFollowing:NOT_YET_SET,nChangePreceding:NOT_YET_SET,nCommonFollowing:NOT_YET_SET,nCommonPreceding:NOT_YET_SET}),nCommonR!==0&&foundSubsequence(nCommonR,aEnd,bEnd);}}}});var require_min_indent=__commonJS({\"../../node_modules/min-indent/index.js\"(exports,module2){module2.exports=string2=>{let match=string2.match(/^[ \\t]*(?=\\S)/gm);return match?match.reduce((r,a)=>Math.min(r,a.length),1/0):0};}});var require_strip_indent=__commonJS({\"../../node_modules/strip-indent/index.js\"(exports,module2){var minIndent=require_min_indent();module2.exports=string2=>{let indent=minIndent(string2);if(indent===0)return string2;let regex=new RegExp(`^[ \\\\t]{${indent}}`,\"gm\");return string2.replace(regex,\"\")};}});var require_indent_string=__commonJS({\"../../node_modules/indent-string/index.js\"(exports,module2){module2.exports=(string2,count=1,options)=>{if(options={indent:\" \",includeEmptyLines:!1,...options},typeof string2!=\"string\")throw new TypeError(`Expected \\`input\\` to be a \\`string\\`, got \\`${typeof string2}\\``);if(typeof count!=\"number\")throw new TypeError(`Expected \\`count\\` to be a \\`number\\`, got \\`${typeof count}\\``);if(typeof options.indent!=\"string\")throw new TypeError(`Expected \\`options.indent\\` to be a \\`string\\`, got \\`${typeof options.indent}\\``);if(count===0)return string2;let regex=options.includeEmptyLines?/^/gm:/^(?!\\s*$)/gm;return string2.replace(regex,options.indent.repeat(count))};}});var require_redent=__commonJS({\"../../node_modules/redent/index.js\"(exports,module2){var stripIndent=require_strip_indent(),indentString=require_indent_string();module2.exports=(string2,count=0,options)=>indentString(stripIndent(string2),count,options);}});var require_listCacheClear=__commonJS({\"../../node_modules/lodash/_listCacheClear.js\"(exports,module2){function listCacheClear(){this.__data__=[],this.size=0;}module2.exports=listCacheClear;}});var require_eq=__commonJS({\"../../node_modules/lodash/eq.js\"(exports,module2){function eq2(value,other){return value===other||value!==value&&other!==other}module2.exports=eq2;}});var require_assocIndexOf=__commonJS({\"../../node_modules/lodash/_assocIndexOf.js\"(exports,module2){var eq2=require_eq();function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq2(array[length][0],key))return length;return -1}module2.exports=assocIndexOf;}});var require_listCacheDelete=__commonJS({\"../../node_modules/lodash/_listCacheDelete.js\"(exports,module2){var assocIndexOf=require_assocIndexOf(),arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0)return !1;var lastIndex=data.length-1;return index==lastIndex?data.pop():splice.call(data,index,1),--this.size,!0}module2.exports=listCacheDelete;}});var require_listCacheGet=__commonJS({\"../../node_modules/lodash/_listCacheGet.js\"(exports,module2){var assocIndexOf=require_assocIndexOf();function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}module2.exports=listCacheGet;}});var require_listCacheHas=__commonJS({\"../../node_modules/lodash/_listCacheHas.js\"(exports,module2){var assocIndexOf=require_assocIndexOf();function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}module2.exports=listCacheHas;}});var require_listCacheSet=__commonJS({\"../../node_modules/lodash/_listCacheSet.js\"(exports,module2){var assocIndexOf=require_assocIndexOf();function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}module2.exports=listCacheSet;}});var require_ListCache=__commonJS({\"../../node_modules/lodash/_ListCache.js\"(exports,module2){var listCacheClear=require_listCacheClear(),listCacheDelete=require_listCacheDelete(),listCacheGet=require_listCacheGet(),listCacheHas=require_listCacheHas(),listCacheSet=require_listCacheSet();function ListCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++indexarrLength))return !1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index-1&&value%1==0&&value-1&&value%1==0&&value<=MAX_SAFE_INTEGER}module2.exports=isLength;}});var require_baseIsTypedArray=__commonJS({\"../../node_modules/lodash/_baseIsTypedArray.js\"(exports,module2){var baseGetTag=require_baseGetTag(),isLength=require_isLength(),isObjectLike=require_isObjectLike(),argsTag=\"[object Arguments]\",arrayTag=\"[object Array]\",boolTag=\"[object Boolean]\",dateTag=\"[object Date]\",errorTag=\"[object Error]\",funcTag=\"[object Function]\",mapTag=\"[object Map]\",numberTag=\"[object Number]\",objectTag=\"[object Object]\",regexpTag=\"[object RegExp]\",setTag=\"[object Set]\",stringTag=\"[object String]\",weakMapTag=\"[object WeakMap]\",arrayBufferTag=\"[object ArrayBuffer]\",dataViewTag=\"[object DataView]\",float32Tag=\"[object Float32Array]\",float64Tag=\"[object Float64Array]\",int8Tag=\"[object Int8Array]\",int16Tag=\"[object Int16Array]\",int32Tag=\"[object Int32Array]\",uint8Tag=\"[object Uint8Array]\",uint8ClampedTag=\"[object Uint8ClampedArray]\",uint16Tag=\"[object Uint16Array]\",uint32Tag=\"[object Uint32Array]\",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}module2.exports=baseIsTypedArray;}});var require_baseUnary=__commonJS({\"../../node_modules/lodash/_baseUnary.js\"(exports,module2){function baseUnary(func){return function(value){return func(value)}}module2.exports=baseUnary;}});var require_nodeUtil=__commonJS({\"../../node_modules/lodash/_nodeUtil.js\"(exports,module2){var freeGlobal=require_freeGlobal(),freeExports=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module2==\"object\"&&module2&&!module2.nodeType&&module2,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require(\"util\").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding(\"util\")}catch{}}();module2.exports=nodeUtil;}});var require_isTypedArray=__commonJS({\"../../node_modules/lodash/isTypedArray.js\"(exports,module2){var baseIsTypedArray=require_baseIsTypedArray(),baseUnary=require_baseUnary(),nodeUtil=require_nodeUtil(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module2.exports=isTypedArray;}});var require_arrayLikeKeys=__commonJS({\"../../node_modules/lodash/_arrayLikeKeys.js\"(exports,module2){var baseTimes=require_baseTimes(),isArguments=require_isArguments(),isArray=require_isArray(),isBuffer=require_isBuffer(),isIndex=require_isIndex(),isTypedArray=require_isTypedArray(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty.call(value,key))&&!(skipIndexes&&(key==\"length\"||isBuff&&(key==\"offset\"||key==\"parent\")||isType&&(key==\"buffer\"||key==\"byteLength\"||key==\"byteOffset\")||isIndex(key,length)))&&result.push(key);return result}module2.exports=arrayLikeKeys;}});var require_isPrototype=__commonJS({\"../../node_modules/lodash/_isPrototype.js\"(exports,module2){var objectProto=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor==\"function\"&&Ctor.prototype||objectProto;return value===proto}module2.exports=isPrototype;}});var require_overArg=__commonJS({\"../../node_modules/lodash/_overArg.js\"(exports,module2){function overArg(func,transform){return function(arg){return func(transform(arg))}}module2.exports=overArg;}});var require_nativeKeys=__commonJS({\"../../node_modules/lodash/_nativeKeys.js\"(exports,module2){var overArg=require_overArg(),nativeKeys=overArg(Object.keys,Object);module2.exports=nativeKeys;}});var require_baseKeys=__commonJS({\"../../node_modules/lodash/_baseKeys.js\"(exports,module2){var isPrototype=require_isPrototype(),nativeKeys=require_nativeKeys(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&key!=\"constructor\"&&result.push(key);return result}module2.exports=baseKeys;}});var require_isArrayLike=__commonJS({\"../../node_modules/lodash/isArrayLike.js\"(exports,module2){var isFunction=require_isFunction(),isLength=require_isLength();function isArrayLike(value){return value!=null&&isLength(value.length)&&!isFunction(value)}module2.exports=isArrayLike;}});var require_keys=__commonJS({\"../../node_modules/lodash/keys.js\"(exports,module2){var arrayLikeKeys=require_arrayLikeKeys(),baseKeys=require_baseKeys(),isArrayLike=require_isArrayLike();function keys2(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}module2.exports=keys2;}});var require_getAllKeys=__commonJS({\"../../node_modules/lodash/_getAllKeys.js\"(exports,module2){var baseGetAllKeys=require_baseGetAllKeys(),getSymbols=require_getSymbols(),keys2=require_keys();function getAllKeys(object){return baseGetAllKeys(object,keys2,getSymbols)}module2.exports=getAllKeys;}});var require_equalObjects=__commonJS({\"../../node_modules/lodash/_equalObjects.js\"(exports,module2){var getAllKeys=require_getAllKeys(),COMPARE_PARTIAL_FLAG=1,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,objProps=getAllKeys(object),objLength=objProps.length,othProps=getAllKeys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return !1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return !1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(properties),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn3.call(thisArg,values,key,properties);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key){var item=properties.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!ariaPropsMap.get(key)},keys:function(){return properties.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key=_ref2[0];return key})},values:function(){return properties.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(ariaPropsMap,ariaPropsMap.entries());exports.default=_default;}});var require_domMap=__commonJS({\"node_modules/aria-query/lib/domMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _iterationDecorator=_interopRequireDefault(require_iterationDecorator());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(arr,i){var _i=arr==null?null:typeof Symbol<\"u\"&&arr[Symbol.iterator]||arr[\"@@iterator\"];if(_i!=null){var _arr=[],_n=!0,_d=!1,_s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i&&_arr.length===i));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i=0,F=function(){};return {s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(dom),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn3.call(thisArg,values,key,dom);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key){var item=dom.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!domMap.get(key)},keys:function(){return dom.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key=_ref2[0];return key})},values:function(){return dom.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(domMap,domMap.entries());exports.default=_default;}});var require_commandRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/commandRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var commandRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menuitem\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\"]]},_default=commandRole;exports.default=_default;}});var require_compositeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var compositeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-disabled\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\"]]},_default=compositeRole;exports.default=_default;}});var require_inputRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/inputRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var inputRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null},relatedConcepts:[{concept:{name:\"input\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\"]]},_default=inputRole;exports.default=_default;}});var require_landmarkRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var landmarkRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=landmarkRole;exports.default=_default;}});var require_rangeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rangeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-valuemax\":null,\"aria-valuemin\":null,\"aria-valuenow\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=rangeRole;exports.default=_default;}});var require_roletypeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var roletypeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{\"aria-atomic\":null,\"aria-busy\":null,\"aria-controls\":null,\"aria-current\":null,\"aria-describedby\":null,\"aria-details\":null,\"aria-dropeffect\":null,\"aria-flowto\":null,\"aria-grabbed\":null,\"aria-hidden\":null,\"aria-keyshortcuts\":null,\"aria-label\":null,\"aria-labelledby\":null,\"aria-live\":null,\"aria-owns\":null,\"aria-relevant\":null,\"aria-roledescription\":null},relatedConcepts:[{concept:{name:\"rel\"},module:\"HTML\"},{concept:{name:\"role\"},module:\"XHTML\"},{concept:{name:\"type\"},module:\"Dublin Core\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},_default=roletypeRole;exports.default=_default;}});var require_sectionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var sectionRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"frontmatter\"},module:\"DTB\"},{concept:{name:\"level\"},module:\"DTB\"},{concept:{name:\"level\"},module:\"SMIL\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=sectionRole;exports.default=_default;}});var require_sectionheadRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var sectionheadRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=sectionheadRole;exports.default=_default;}});var require_selectRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/selectRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var selectRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"],[\"roletype\",\"structure\",\"section\",\"group\"]]},_default=selectRole;exports.default=_default;}});var require_structureRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/structureRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var structureRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\"]]},_default=structureRole;exports.default=_default;}});var require_widgetRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var widgetRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\"]]},_default=widgetRole;exports.default=_default;}});var require_windowRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/windowRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var windowRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-modal\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\"]]},_default=windowRole;exports.default=_default;}});var require_ariaAbstractRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _commandRole=_interopRequireDefault(require_commandRole()),_compositeRole=_interopRequireDefault(require_compositeRole()),_inputRole=_interopRequireDefault(require_inputRole()),_landmarkRole=_interopRequireDefault(require_landmarkRole()),_rangeRole=_interopRequireDefault(require_rangeRole()),_roletypeRole=_interopRequireDefault(require_roletypeRole()),_sectionRole=_interopRequireDefault(require_sectionRole()),_sectionheadRole=_interopRequireDefault(require_sectionheadRole()),_selectRole=_interopRequireDefault(require_selectRole()),_structureRole=_interopRequireDefault(require_structureRole()),_widgetRole=_interopRequireDefault(require_widgetRole()),_windowRole=_interopRequireDefault(require_windowRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaAbstractRoles=[[\"command\",_commandRole.default],[\"composite\",_compositeRole.default],[\"input\",_inputRole.default],[\"landmark\",_landmarkRole.default],[\"range\",_rangeRole.default],[\"roletype\",_roletypeRole.default],[\"section\",_sectionRole.default],[\"sectionhead\",_sectionheadRole.default],[\"select\",_selectRole.default],[\"structure\",_structureRole.default],[\"widget\",_widgetRole.default],[\"window\",_windowRole.default]],_default=ariaAbstractRoles;exports.default=_default;}});var require_alertRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/alertRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var alertRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-atomic\":\"true\",\"aria-live\":\"assertive\"},relatedConcepts:[{concept:{name:\"alert\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=alertRole;exports.default=_default;}});var require_alertdialogRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var alertdialogRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"alert\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"alert\"],[\"roletype\",\"window\",\"dialog\"]]},_default=alertdialogRole;exports.default=_default;}});var require_applicationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/applicationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var applicationRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"Device Independence Delivery Unit\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=applicationRole;exports.default=_default;}});var require_articleRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/articleRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var articleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{name:\"article\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"document\"]]},_default=articleRole;exports.default=_default;}});var require_bannerRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/bannerRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var bannerRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:[\"direct descendant of document\"],name:\"header\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=bannerRole;exports.default=_default;}});var require_blockquoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var blockquoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=blockquoteRole;exports.default=_default;}});var require_buttonRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/buttonRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var buttonRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-pressed\":null},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"aria-pressed\"},{name:\"type\",value:\"checkbox\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"aria-expanded\",value:\"false\"}],name:\"summary\"},module:\"HTML\"},{concept:{attributes:[{name:\"aria-expanded\",value:\"true\"}],constraints:[\"direct descendant of details element with the open attribute defined\"],name:\"summary\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"button\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"image\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"reset\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"submit\"}],name:\"input\"},module:\"HTML\"},{concept:{name:\"button\"},module:\"HTML\"},{concept:{name:\"trigger\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\"]]},_default=buttonRole;exports.default=_default;}});var require_captionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/captionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var captionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[\"figure\",\"grid\",\"table\"],requiredContextRole:[\"figure\",\"grid\",\"table\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=captionRole;exports.default=_default;}});var require_cellRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/cellRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var cellRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-colindex\":null,\"aria-colspan\":null,\"aria-rowindex\":null,\"aria-rowspan\":null},relatedConcepts:[{concept:{constraints:[\"descendant of table\"],name:\"td\"},module:\"HTML\"}],requireContextRole:[\"row\"],requiredContextRole:[\"row\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=cellRole;exports.default=_default;}});var require_checkboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var checkboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-checked\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"checkbox\"}],name:\"input\"},module:\"HTML\"},{concept:{name:\"option\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=checkboxRole;exports.default=_default;}});var require_codeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/codeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var codeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=codeRole;exports.default=_default;}});var require_columnheaderRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var columnheaderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-sort\":null},relatedConcepts:[{attributes:[{name:\"scope\",value:\"col\"}],concept:{name:\"th\"},module:\"HTML\"}],requireContextRole:[\"row\"],requiredContextRole:[\"row\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"cell\"],[\"roletype\",\"structure\",\"section\",\"cell\",\"gridcell\"],[\"roletype\",\"widget\",\"gridcell\"],[\"roletype\",\"structure\",\"sectionhead\"]]},_default=columnheaderRole;exports.default=_default;}});var require_comboboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var comboboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-autocomplete\":null,\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-expanded\":\"false\",\"aria-haspopup\":\"listbox\"},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"email\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"search\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"tel\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"text\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"url\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"url\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"multiple\"},{constraints:[\"undefined\"],name:\"size\"}],name:\"select\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"multiple\"},{name:\"size\",value:1}],name:\"select\"},module:\"HTML\"},{concept:{name:\"select\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-controls\":null,\"aria-expanded\":\"false\"},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=comboboxRole;exports.default=_default;}});var require_complementaryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var complementaryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"aside\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=complementaryRole;exports.default=_default;}});var require_contentinfoRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var contentinfoRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:[\"direct descendant of document\"],name:\"footer\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=contentinfoRole;exports.default=_default;}});var require_definitionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/definitionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var definitionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"dd\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=definitionRole;exports.default=_default;}});var require_deletionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/deletionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var deletionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=deletionRole;exports.default=_default;}});var require_dialogRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/dialogRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var dialogRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"dialog\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"window\"]]},_default=dialogRole;exports.default=_default;}});var require_directoryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/directoryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var directoryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{module:\"DAISY Guide\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"list\"]]},_default=directoryRole;exports.default=_default;}});var require_documentRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/documentRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var documentRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"Device Independence Delivery Unit\"}},{concept:{name:\"body\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=documentRole;exports.default=_default;}});var require_emphasisRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var emphasisRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=emphasisRole;exports.default=_default;}});var require_feedRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/feedRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var feedRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"article\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"list\"]]},_default=feedRole;exports.default=_default;}});var require_figureRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/figureRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var figureRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"figure\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=figureRole;exports.default=_default;}});var require_formRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/formRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var formRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"aria-label\"}],name:\"form\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"aria-labelledby\"}],name:\"form\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"name\"}],name:\"form\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=formRole;exports.default=_default;}});var require_genericRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/genericRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var genericRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[{concept:{name:\"span\"},module:\"HTML\"},{concept:{name:\"div\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=genericRole;exports.default=_default;}});var require_gridRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/gridRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var gridRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-multiselectable\":null,\"aria-readonly\":null},relatedConcepts:[{concept:{attributes:[{name:\"role\",value:\"grid\"}],name:\"table\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"row\"],[\"row\",\"rowgroup\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"],[\"roletype\",\"structure\",\"section\",\"table\"]]},_default=gridRole;exports.default=_default;}});var require_gridcellRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var gridcellRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-selected\":null},relatedConcepts:[{concept:{attributes:[{name:\"role\",value:\"gridcell\"}],name:\"td\"},module:\"HTML\"}],requireContextRole:[\"row\"],requiredContextRole:[\"row\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"cell\"],[\"roletype\",\"widget\"]]},_default=gridcellRole;exports.default=_default;}});var require_groupRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/groupRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var groupRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-disabled\":null},relatedConcepts:[{concept:{name:\"details\"},module:\"HTML\"},{concept:{name:\"fieldset\"},module:\"HTML\"},{concept:{name:\"optgroup\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=groupRole;exports.default=_default;}});var require_headingRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/headingRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var headingRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-level\":\"2\"},relatedConcepts:[{concept:{name:\"h1\"},module:\"HTML\"},{concept:{name:\"h2\"},module:\"HTML\"},{concept:{name:\"h3\"},module:\"HTML\"},{concept:{name:\"h4\"},module:\"HTML\"},{concept:{name:\"h5\"},module:\"HTML\"},{concept:{name:\"h6\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-level\":\"2\"},superClass:[[\"roletype\",\"structure\",\"sectionhead\"]]},_default=headingRole;exports.default=_default;}});var require_imgRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/imgRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var imgRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"alt\"}],name:\"img\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"alt\"}],name:\"img\"},module:\"HTML\"},{concept:{name:\"imggroup\"},module:\"DTB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=imgRole;exports.default=_default;}});var require_insertionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/insertionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var insertionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=insertionRole;exports.default=_default;}});var require_linkRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/linkRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var linkRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null},relatedConcepts:[{concept:{attributes:[{name:\"href\"}],name:\"a\"},module:\"HTML\"},{concept:{attributes:[{name:\"href\"}],name:\"area\"},module:\"HTML\"},{concept:{attributes:[{name:\"href\"}],name:\"link\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\"]]},_default=linkRole;exports.default=_default;}});var require_listRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/listRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var listRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menu\"},module:\"HTML\"},{concept:{name:\"ol\"},module:\"HTML\"},{concept:{name:\"ul\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"listitem\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=listRole;exports.default=_default;}});var require_listboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/listboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var listboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-invalid\":null,\"aria-multiselectable\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-orientation\":\"vertical\"},relatedConcepts:[{concept:{attributes:[{constraints:[\">1\"],name:\"size\"},{name:\"multiple\"}],name:\"select\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\">1\"],name:\"size\"}],name:\"select\"},module:\"HTML\"},{concept:{attributes:[{name:\"multiple\"}],name:\"select\"},module:\"HTML\"},{concept:{name:\"datalist\"},module:\"HTML\"},{concept:{name:\"list\"},module:\"ARIA\"},{concept:{name:\"select\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"option\",\"group\"],[\"option\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=listboxRole;exports.default=_default;}});var require_listitemRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/listitemRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var listitemRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-level\":null,\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{constraints:[\"direct descendant of ol, ul or menu\"],name:\"li\"},module:\"HTML\"},{concept:{name:\"item\"},module:\"XForms\"}],requireContextRole:[\"directory\",\"list\"],requiredContextRole:[\"directory\",\"list\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=listitemRole;exports.default=_default;}});var require_logRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/logRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var logRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-live\":\"polite\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=logRole;exports.default=_default;}});var require_mainRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/mainRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var mainRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"main\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=mainRole;exports.default=_default;}});var require_marqueeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var marqueeRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=marqueeRole;exports.default=_default;}});var require_mathRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/mathRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var mathRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"math\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=mathRole;exports.default=_default;}});var require_menuRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":\"vertical\"},relatedConcepts:[{concept:{name:\"MENU\"},module:\"JAPI\"},{concept:{name:\"list\"},module:\"ARIA\"},{concept:{name:\"select\"},module:\"XForms\"},{concept:{name:\"sidebar\"},module:\"DTB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"menuitem\",\"group\"],[\"menuitemradio\",\"group\"],[\"menuitemcheckbox\",\"group\"],[\"menuitem\"],[\"menuitemcheckbox\"],[\"menuitemradio\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=menuRole;exports.default=_default;}});var require_menubarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menubarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menubarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":\"horizontal\"},relatedConcepts:[{concept:{name:\"toolbar\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"menuitem\",\"group\"],[\"menuitemradio\",\"group\"],[\"menuitemcheckbox\",\"group\"],[\"menuitem\"],[\"menuitemcheckbox\"],[\"menuitemradio\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\",\"menu\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\",\"menu\"]]},_default=menubarRole;exports.default=_default;}});var require_menuitemRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuitemRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{name:\"MENU_ITEM\"},module:\"JAPI\"},{concept:{name:\"listitem\"},module:\"ARIA\"},{concept:{name:\"menuitem\"},module:\"HTML\"},{concept:{name:\"option\"},module:\"ARIA\"}],requireContextRole:[\"group\",\"menu\",\"menubar\"],requiredContextRole:[\"group\",\"menu\",\"menubar\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\"]]},_default=menuitemRole;exports.default=_default;}});var require_menuitemcheckboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuitemcheckboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menuitem\"},module:\"ARIA\"}],requireContextRole:[\"group\",\"menu\",\"menubar\"],requiredContextRole:[\"group\",\"menu\",\"menubar\"],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\",\"checkbox\"],[\"roletype\",\"widget\",\"command\",\"menuitem\"]]},_default=menuitemcheckboxRole;exports.default=_default;}});var require_menuitemradioRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuitemradioRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menuitem\"},module:\"ARIA\"}],requireContextRole:[\"group\",\"menu\",\"menubar\"],requiredContextRole:[\"group\",\"menu\",\"menubar\"],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\",\"checkbox\",\"menuitemcheckbox\"],[\"roletype\",\"widget\",\"command\",\"menuitem\",\"menuitemcheckbox\"],[\"roletype\",\"widget\",\"input\",\"radio\"]]},_default=menuitemradioRole;exports.default=_default;}});var require_meterRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/meterRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var meterRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-valuetext\":null,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-valuenow\":null},superClass:[[\"roletype\",\"structure\",\"range\"]]},_default=meterRole;exports.default=_default;}});var require_navigationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/navigationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var navigationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"nav\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=navigationRole;exports.default=_default;}});var require_noneRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/noneRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var noneRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},_default=noneRole;exports.default=_default;}});var require_noteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/noteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var noteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=noteRole;exports.default=_default;}});var require_optionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/optionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var optionRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-checked\":null,\"aria-posinset\":null,\"aria-setsize\":null,\"aria-selected\":\"false\"},relatedConcepts:[{concept:{name:\"item\"},module:\"XForms\"},{concept:{name:\"listitem\"},module:\"ARIA\"},{concept:{name:\"option\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-selected\":\"false\"},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=optionRole;exports.default=_default;}});var require_paragraphRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var paragraphRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=paragraphRole;exports.default=_default;}});var require_presentationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/presentationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var presentationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=presentationRole;exports.default=_default;}});var require_progressbarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var progressbarRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-valuetext\":null},relatedConcepts:[{concept:{name:\"progress\"},module:\"HTML\"},{concept:{name:\"status\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"range\"],[\"roletype\",\"widget\"]]},_default=progressbarRole;exports.default=_default;}});var require_radioRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/radioRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var radioRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-checked\":null,\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"radio\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=radioRole;exports.default=_default;}});var require_radiogroupRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var radiogroupRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null},relatedConcepts:[{concept:{name:\"list\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"radio\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=radiogroupRole;exports.default=_default;}});var require_regionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/regionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var regionRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"aria-label\"}],name:\"section\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"aria-labelledby\"}],name:\"section\"},module:\"HTML\"},{concept:{name:\"Device Independence Glossart perceivable unit\"}},{concept:{name:\"frame\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=regionRole;exports.default=_default;}});var require_rowRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/rowRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rowRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-colindex\":null,\"aria-expanded\":null,\"aria-level\":null,\"aria-posinset\":null,\"aria-rowindex\":null,\"aria-selected\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{name:\"tr\"},module:\"HTML\"}],requireContextRole:[\"grid\",\"rowgroup\",\"table\",\"treegrid\"],requiredContextRole:[\"grid\",\"rowgroup\",\"table\",\"treegrid\"],requiredOwnedElements:[[\"cell\"],[\"columnheader\"],[\"gridcell\"],[\"rowheader\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"group\"],[\"roletype\",\"widget\"]]},_default=rowRole;exports.default=_default;}});var require_rowgroupRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rowgroupRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"tbody\"},module:\"HTML\"},{concept:{name:\"tfoot\"},module:\"HTML\"},{concept:{name:\"thead\"},module:\"HTML\"}],requireContextRole:[\"grid\",\"table\",\"treegrid\"],requiredContextRole:[\"grid\",\"table\",\"treegrid\"],requiredOwnedElements:[[\"row\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=rowgroupRole;exports.default=_default;}});var require_rowheaderRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rowheaderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-sort\":null},relatedConcepts:[{concept:{attributes:[{name:\"scope\",value:\"row\"}],name:\"th\"},module:\"HTML\"},{concept:{attributes:[{name:\"scope\",value:\"rowgroup\"}],name:\"th\"},module:\"HTML\"}],requireContextRole:[\"row\",\"rowgroup\"],requiredContextRole:[\"row\",\"rowgroup\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"cell\"],[\"roletype\",\"structure\",\"section\",\"cell\",\"gridcell\"],[\"roletype\",\"widget\",\"gridcell\"],[\"roletype\",\"structure\",\"sectionhead\"]]},_default=rowheaderRole;exports.default=_default;}});var require_scrollbarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var scrollbarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-valuetext\":null,\"aria-orientation\":\"vertical\",\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-controls\":null,\"aria-valuenow\":null},superClass:[[\"roletype\",\"structure\",\"range\"],[\"roletype\",\"widget\"]]},_default=scrollbarRole;exports.default=_default;}});var require_searchRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/searchRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var searchRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=searchRole;exports.default=_default;}});var require_searchboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var searchboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"search\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"input\",\"textbox\"]]},_default=searchboxRole;exports.default=_default;}});var require_separatorRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/separatorRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var separatorRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-orientation\":\"horizontal\",\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"aria-valuenow\":null,\"aria-valuetext\":null},relatedConcepts:[{concept:{name:\"hr\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=separatorRole;exports.default=_default;}});var require_sliderRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/sliderRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var sliderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-haspopup\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-valuetext\":null,\"aria-orientation\":\"horizontal\",\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\"},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"range\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-valuenow\":null},superClass:[[\"roletype\",\"widget\",\"input\"],[\"roletype\",\"structure\",\"range\"]]},_default=sliderRole;exports.default=_default;}});var require_spinbuttonRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var spinbuttonRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-valuetext\":null,\"aria-valuenow\":\"0\"},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"number\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"],[\"roletype\",\"widget\",\"input\"],[\"roletype\",\"structure\",\"range\"]]},_default=spinbuttonRole;exports.default=_default;}});var require_statusRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/statusRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var statusRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-atomic\":\"true\",\"aria-live\":\"polite\"},relatedConcepts:[{concept:{name:\"output\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=statusRole;exports.default=_default;}});var require_strongRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/strongRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var strongRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=strongRole;exports.default=_default;}});var require_subscriptRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var subscriptRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=subscriptRole;exports.default=_default;}});var require_superscriptRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var superscriptRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=superscriptRole;exports.default=_default;}});var require_switchRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/switchRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var switchRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"button\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\",\"checkbox\"]]},_default=switchRole;exports.default=_default;}});var require_tabRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tabRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tabRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-posinset\":null,\"aria-setsize\":null,\"aria-selected\":\"false\"},relatedConcepts:[],requireContextRole:[\"tablist\"],requiredContextRole:[\"tablist\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"sectionhead\"],[\"roletype\",\"widget\"]]},_default=tabRole;exports.default=_default;}});var require_tableRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tableRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tableRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-colcount\":null,\"aria-rowcount\":null},relatedConcepts:[{concept:{name:\"table\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"row\"],[\"row\",\"rowgroup\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=tableRole;exports.default=_default;}});var require_tablistRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tablistRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tablistRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-level\":null,\"aria-multiselectable\":null,\"aria-orientation\":\"horizontal\"},relatedConcepts:[{module:\"DAISY\",concept:{name:\"guide\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"tab\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"]]},_default=tablistRole;exports.default=_default;}});var require_tabpanelRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tabpanelRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=tabpanelRole;exports.default=_default;}});var require_termRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/termRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var termRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"dfn\"},module:\"HTML\"},{concept:{name:\"dt\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=termRole;exports.default=_default;}});var require_textboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/textboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var textboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-autocomplete\":null,\"aria-errormessage\":null,\"aria-haspopup\":null,\"aria-invalid\":null,\"aria-multiline\":null,\"aria-placeholder\":null,\"aria-readonly\":null,\"aria-required\":null},relatedConcepts:[{concept:{attributes:[{constraints:[\"undefined\"],name:\"type\"},{constraints:[\"undefined\"],name:\"list\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"email\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"tel\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"text\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"url\"}],name:\"input\"},module:\"HTML\"},{concept:{name:\"input\"},module:\"XForms\"},{concept:{name:\"textarea\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=textboxRole;exports.default=_default;}});var require_timeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/timeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var timeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=timeRole;exports.default=_default;}});var require_timerRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/timerRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var timerRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"status\"]]},_default=timerRole;exports.default=_default;}});var require_toolbarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var toolbarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":\"horizontal\"},relatedConcepts:[{concept:{name:\"menubar\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"group\"]]},_default=toolbarRole;exports.default=_default;}});var require_tooltipRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tooltipRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=tooltipRole;exports.default=_default;}});var require_treeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/treeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var treeRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-multiselectable\":null,\"aria-required\":null,\"aria-orientation\":\"vertical\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"treeitem\",\"group\"],[\"treeitem\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=treeRole;exports.default=_default;}});var require_treegridRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/treegridRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var treegridRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"row\"],[\"row\",\"rowgroup\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"grid\"],[\"roletype\",\"structure\",\"section\",\"table\",\"grid\"],[\"roletype\",\"widget\",\"composite\",\"select\",\"tree\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\",\"tree\"]]},_default=treegridRole;exports.default=_default;}});var require_treeitemRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var treeitemRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-expanded\":null,\"aria-haspopup\":null},relatedConcepts:[],requireContextRole:[\"group\",\"tree\"],requiredContextRole:[\"group\",\"tree\"],requiredOwnedElements:[],requiredProps:{\"aria-selected\":null},superClass:[[\"roletype\",\"structure\",\"section\",\"listitem\"],[\"roletype\",\"widget\",\"input\",\"option\"]]},_default=treeitemRole;exports.default=_default;}});var require_ariaLiteralRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _alertRole=_interopRequireDefault(require_alertRole()),_alertdialogRole=_interopRequireDefault(require_alertdialogRole()),_applicationRole=_interopRequireDefault(require_applicationRole()),_articleRole=_interopRequireDefault(require_articleRole()),_bannerRole=_interopRequireDefault(require_bannerRole()),_blockquoteRole=_interopRequireDefault(require_blockquoteRole()),_buttonRole=_interopRequireDefault(require_buttonRole()),_captionRole=_interopRequireDefault(require_captionRole()),_cellRole=_interopRequireDefault(require_cellRole()),_checkboxRole=_interopRequireDefault(require_checkboxRole()),_codeRole=_interopRequireDefault(require_codeRole()),_columnheaderRole=_interopRequireDefault(require_columnheaderRole()),_comboboxRole=_interopRequireDefault(require_comboboxRole()),_complementaryRole=_interopRequireDefault(require_complementaryRole()),_contentinfoRole=_interopRequireDefault(require_contentinfoRole()),_definitionRole=_interopRequireDefault(require_definitionRole()),_deletionRole=_interopRequireDefault(require_deletionRole()),_dialogRole=_interopRequireDefault(require_dialogRole()),_directoryRole=_interopRequireDefault(require_directoryRole()),_documentRole=_interopRequireDefault(require_documentRole()),_emphasisRole=_interopRequireDefault(require_emphasisRole()),_feedRole=_interopRequireDefault(require_feedRole()),_figureRole=_interopRequireDefault(require_figureRole()),_formRole=_interopRequireDefault(require_formRole()),_genericRole=_interopRequireDefault(require_genericRole()),_gridRole=_interopRequireDefault(require_gridRole()),_gridcellRole=_interopRequireDefault(require_gridcellRole()),_groupRole=_interopRequireDefault(require_groupRole()),_headingRole=_interopRequireDefault(require_headingRole()),_imgRole=_interopRequireDefault(require_imgRole()),_insertionRole=_interopRequireDefault(require_insertionRole()),_linkRole=_interopRequireDefault(require_linkRole()),_listRole=_interopRequireDefault(require_listRole()),_listboxRole=_interopRequireDefault(require_listboxRole()),_listitemRole=_interopRequireDefault(require_listitemRole()),_logRole=_interopRequireDefault(require_logRole()),_mainRole=_interopRequireDefault(require_mainRole()),_marqueeRole=_interopRequireDefault(require_marqueeRole()),_mathRole=_interopRequireDefault(require_mathRole()),_menuRole=_interopRequireDefault(require_menuRole()),_menubarRole=_interopRequireDefault(require_menubarRole()),_menuitemRole=_interopRequireDefault(require_menuitemRole()),_menuitemcheckboxRole=_interopRequireDefault(require_menuitemcheckboxRole()),_menuitemradioRole=_interopRequireDefault(require_menuitemradioRole()),_meterRole=_interopRequireDefault(require_meterRole()),_navigationRole=_interopRequireDefault(require_navigationRole()),_noneRole=_interopRequireDefault(require_noneRole()),_noteRole=_interopRequireDefault(require_noteRole()),_optionRole=_interopRequireDefault(require_optionRole()),_paragraphRole=_interopRequireDefault(require_paragraphRole()),_presentationRole=_interopRequireDefault(require_presentationRole()),_progressbarRole=_interopRequireDefault(require_progressbarRole()),_radioRole=_interopRequireDefault(require_radioRole()),_radiogroupRole=_interopRequireDefault(require_radiogroupRole()),_regionRole=_interopRequireDefault(require_regionRole()),_rowRole=_interopRequireDefault(require_rowRole()),_rowgroupRole=_interopRequireDefault(require_rowgroupRole()),_rowheaderRole=_interopRequireDefault(require_rowheaderRole()),_scrollbarRole=_interopRequireDefault(require_scrollbarRole()),_searchRole=_interopRequireDefault(require_searchRole()),_searchboxRole=_interopRequireDefault(require_searchboxRole()),_separatorRole=_interopRequireDefault(require_separatorRole()),_sliderRole=_interopRequireDefault(require_sliderRole()),_spinbuttonRole=_interopRequireDefault(require_spinbuttonRole()),_statusRole=_interopRequireDefault(require_statusRole()),_strongRole=_interopRequireDefault(require_strongRole()),_subscriptRole=_interopRequireDefault(require_subscriptRole()),_superscriptRole=_interopRequireDefault(require_superscriptRole()),_switchRole=_interopRequireDefault(require_switchRole()),_tabRole=_interopRequireDefault(require_tabRole()),_tableRole=_interopRequireDefault(require_tableRole()),_tablistRole=_interopRequireDefault(require_tablistRole()),_tabpanelRole=_interopRequireDefault(require_tabpanelRole()),_termRole=_interopRequireDefault(require_termRole()),_textboxRole=_interopRequireDefault(require_textboxRole()),_timeRole=_interopRequireDefault(require_timeRole()),_timerRole=_interopRequireDefault(require_timerRole()),_toolbarRole=_interopRequireDefault(require_toolbarRole()),_tooltipRole=_interopRequireDefault(require_tooltipRole()),_treeRole=_interopRequireDefault(require_treeRole()),_treegridRole=_interopRequireDefault(require_treegridRole()),_treeitemRole=_interopRequireDefault(require_treeitemRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaLiteralRoles=[[\"alert\",_alertRole.default],[\"alertdialog\",_alertdialogRole.default],[\"application\",_applicationRole.default],[\"article\",_articleRole.default],[\"banner\",_bannerRole.default],[\"blockquote\",_blockquoteRole.default],[\"button\",_buttonRole.default],[\"caption\",_captionRole.default],[\"cell\",_cellRole.default],[\"checkbox\",_checkboxRole.default],[\"code\",_codeRole.default],[\"columnheader\",_columnheaderRole.default],[\"combobox\",_comboboxRole.default],[\"complementary\",_complementaryRole.default],[\"contentinfo\",_contentinfoRole.default],[\"definition\",_definitionRole.default],[\"deletion\",_deletionRole.default],[\"dialog\",_dialogRole.default],[\"directory\",_directoryRole.default],[\"document\",_documentRole.default],[\"emphasis\",_emphasisRole.default],[\"feed\",_feedRole.default],[\"figure\",_figureRole.default],[\"form\",_formRole.default],[\"generic\",_genericRole.default],[\"grid\",_gridRole.default],[\"gridcell\",_gridcellRole.default],[\"group\",_groupRole.default],[\"heading\",_headingRole.default],[\"img\",_imgRole.default],[\"insertion\",_insertionRole.default],[\"link\",_linkRole.default],[\"list\",_listRole.default],[\"listbox\",_listboxRole.default],[\"listitem\",_listitemRole.default],[\"log\",_logRole.default],[\"main\",_mainRole.default],[\"marquee\",_marqueeRole.default],[\"math\",_mathRole.default],[\"menu\",_menuRole.default],[\"menubar\",_menubarRole.default],[\"menuitem\",_menuitemRole.default],[\"menuitemcheckbox\",_menuitemcheckboxRole.default],[\"menuitemradio\",_menuitemradioRole.default],[\"meter\",_meterRole.default],[\"navigation\",_navigationRole.default],[\"none\",_noneRole.default],[\"note\",_noteRole.default],[\"option\",_optionRole.default],[\"paragraph\",_paragraphRole.default],[\"presentation\",_presentationRole.default],[\"progressbar\",_progressbarRole.default],[\"radio\",_radioRole.default],[\"radiogroup\",_radiogroupRole.default],[\"region\",_regionRole.default],[\"row\",_rowRole.default],[\"rowgroup\",_rowgroupRole.default],[\"rowheader\",_rowheaderRole.default],[\"scrollbar\",_scrollbarRole.default],[\"search\",_searchRole.default],[\"searchbox\",_searchboxRole.default],[\"separator\",_separatorRole.default],[\"slider\",_sliderRole.default],[\"spinbutton\",_spinbuttonRole.default],[\"status\",_statusRole.default],[\"strong\",_strongRole.default],[\"subscript\",_subscriptRole.default],[\"superscript\",_superscriptRole.default],[\"switch\",_switchRole.default],[\"tab\",_tabRole.default],[\"table\",_tableRole.default],[\"tablist\",_tablistRole.default],[\"tabpanel\",_tabpanelRole.default],[\"term\",_termRole.default],[\"textbox\",_textboxRole.default],[\"time\",_timeRole.default],[\"timer\",_timerRole.default],[\"toolbar\",_toolbarRole.default],[\"tooltip\",_tooltipRole.default],[\"tree\",_treeRole.default],[\"treegrid\",_treegridRole.default],[\"treeitem\",_treeitemRole.default]],_default=ariaLiteralRoles;exports.default=_default;}});var require_docAbstractRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAbstractRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"abstract [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docAbstractRole;exports.default=_default;}});var require_docAcknowledgmentsRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAcknowledgmentsRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"acknowledgments [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docAcknowledgmentsRole;exports.default=_default;}});var require_docAfterwordRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAfterwordRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"afterword [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docAfterwordRole;exports.default=_default;}});var require_docAppendixRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAppendixRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"appendix [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docAppendixRole;exports.default=_default;}});var require_docBacklinkRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBacklinkRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"content\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"referrer [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docBacklinkRole;exports.default=_default;}});var require_docBiblioentryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBiblioentryRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"EPUB biblioentry [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[\"doc-bibliography\"],requiredContextRole:[\"doc-bibliography\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"listitem\"]]},_default=docBiblioentryRole;exports.default=_default;}});var require_docBibliographyRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBibliographyRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"bibliography [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"doc-biblioentry\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docBibliographyRole;exports.default=_default;}});var require_docBibliorefRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBibliorefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"biblioref [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docBibliorefRole;exports.default=_default;}});var require_docChapterRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docChapterRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"chapter [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docChapterRole;exports.default=_default;}});var require_docColophonRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docColophonRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"colophon [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docColophonRole;exports.default=_default;}});var require_docConclusionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docConclusionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"conclusion [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docConclusionRole;exports.default=_default;}});var require_docCoverRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docCoverRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"cover [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"img\"]]},_default=docCoverRole;exports.default=_default;}});var require_docCreditRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docCreditRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"credit [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docCreditRole;exports.default=_default;}});var require_docCreditsRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docCreditsRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"credits [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docCreditsRole;exports.default=_default;}});var require_docDedicationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docDedicationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"dedication [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docDedicationRole;exports.default=_default;}});var require_docEndnoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEndnoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"rearnote [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[\"doc-endnotes\"],requiredContextRole:[\"doc-endnotes\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"listitem\"]]},_default=docEndnoteRole;exports.default=_default;}});var require_docEndnotesRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEndnotesRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"rearnotes [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"doc-endnote\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docEndnotesRole;exports.default=_default;}});var require_docEpigraphRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEpigraphRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"epigraph [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docEpigraphRole;exports.default=_default;}});var require_docEpilogueRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEpilogueRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"epilogue [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docEpilogueRole;exports.default=_default;}});var require_docErrataRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docErrataRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"errata [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docErrataRole;exports.default=_default;}});var require_docExampleRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docExampleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docExampleRole;exports.default=_default;}});var require_docFootnoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docFootnoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"footnote [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docFootnoteRole;exports.default=_default;}});var require_docForewordRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docForewordRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"foreword [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docForewordRole;exports.default=_default;}});var require_docGlossaryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docGlossaryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"glossary [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"definition\"],[\"term\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docGlossaryRole;exports.default=_default;}});var require_docGlossrefRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docGlossrefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"glossref [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docGlossrefRole;exports.default=_default;}});var require_docIndexRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docIndexRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"index [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\",\"navigation\"]]},_default=docIndexRole;exports.default=_default;}});var require_docIntroductionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docIntroductionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"introduction [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docIntroductionRole;exports.default=_default;}});var require_docNoterefRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docNoterefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"noteref [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docNoterefRole;exports.default=_default;}});var require_docNoticeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docNoticeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"notice [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"note\"]]},_default=docNoticeRole;exports.default=_default;}});var require_docPagebreakRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPagebreakRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"pagebreak [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"separator\"]]},_default=docPagebreakRole;exports.default=_default;}});var require_docPagelistRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPagelistRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"page-list [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\",\"navigation\"]]},_default=docPagelistRole;exports.default=_default;}});var require_docPartRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPartRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"part [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docPartRole;exports.default=_default;}});var require_docPrefaceRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPrefaceRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"preface [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docPrefaceRole;exports.default=_default;}});var require_docPrologueRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPrologueRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"prologue [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docPrologueRole;exports.default=_default;}});var require_docPullquoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPullquoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"pullquote [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"none\"]]},_default=docPullquoteRole;exports.default=_default;}});var require_docQnaRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docQnaRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"qna [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docQnaRole;exports.default=_default;}});var require_docSubtitleRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docSubtitleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"subtitle [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"sectionhead\"]]},_default=docSubtitleRole;exports.default=_default;}});var require_docTipRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docTipRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"help [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"note\"]]},_default=docTipRole;exports.default=_default;}});var require_docTocRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docTocRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"toc [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\",\"navigation\"]]},_default=docTocRole;exports.default=_default;}});var require_ariaDpubRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _docAbstractRole=_interopRequireDefault(require_docAbstractRole()),_docAcknowledgmentsRole=_interopRequireDefault(require_docAcknowledgmentsRole()),_docAfterwordRole=_interopRequireDefault(require_docAfterwordRole()),_docAppendixRole=_interopRequireDefault(require_docAppendixRole()),_docBacklinkRole=_interopRequireDefault(require_docBacklinkRole()),_docBiblioentryRole=_interopRequireDefault(require_docBiblioentryRole()),_docBibliographyRole=_interopRequireDefault(require_docBibliographyRole()),_docBibliorefRole=_interopRequireDefault(require_docBibliorefRole()),_docChapterRole=_interopRequireDefault(require_docChapterRole()),_docColophonRole=_interopRequireDefault(require_docColophonRole()),_docConclusionRole=_interopRequireDefault(require_docConclusionRole()),_docCoverRole=_interopRequireDefault(require_docCoverRole()),_docCreditRole=_interopRequireDefault(require_docCreditRole()),_docCreditsRole=_interopRequireDefault(require_docCreditsRole()),_docDedicationRole=_interopRequireDefault(require_docDedicationRole()),_docEndnoteRole=_interopRequireDefault(require_docEndnoteRole()),_docEndnotesRole=_interopRequireDefault(require_docEndnotesRole()),_docEpigraphRole=_interopRequireDefault(require_docEpigraphRole()),_docEpilogueRole=_interopRequireDefault(require_docEpilogueRole()),_docErrataRole=_interopRequireDefault(require_docErrataRole()),_docExampleRole=_interopRequireDefault(require_docExampleRole()),_docFootnoteRole=_interopRequireDefault(require_docFootnoteRole()),_docForewordRole=_interopRequireDefault(require_docForewordRole()),_docGlossaryRole=_interopRequireDefault(require_docGlossaryRole()),_docGlossrefRole=_interopRequireDefault(require_docGlossrefRole()),_docIndexRole=_interopRequireDefault(require_docIndexRole()),_docIntroductionRole=_interopRequireDefault(require_docIntroductionRole()),_docNoterefRole=_interopRequireDefault(require_docNoterefRole()),_docNoticeRole=_interopRequireDefault(require_docNoticeRole()),_docPagebreakRole=_interopRequireDefault(require_docPagebreakRole()),_docPagelistRole=_interopRequireDefault(require_docPagelistRole()),_docPartRole=_interopRequireDefault(require_docPartRole()),_docPrefaceRole=_interopRequireDefault(require_docPrefaceRole()),_docPrologueRole=_interopRequireDefault(require_docPrologueRole()),_docPullquoteRole=_interopRequireDefault(require_docPullquoteRole()),_docQnaRole=_interopRequireDefault(require_docQnaRole()),_docSubtitleRole=_interopRequireDefault(require_docSubtitleRole()),_docTipRole=_interopRequireDefault(require_docTipRole()),_docTocRole=_interopRequireDefault(require_docTocRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaDpubRoles=[[\"doc-abstract\",_docAbstractRole.default],[\"doc-acknowledgments\",_docAcknowledgmentsRole.default],[\"doc-afterword\",_docAfterwordRole.default],[\"doc-appendix\",_docAppendixRole.default],[\"doc-backlink\",_docBacklinkRole.default],[\"doc-biblioentry\",_docBiblioentryRole.default],[\"doc-bibliography\",_docBibliographyRole.default],[\"doc-biblioref\",_docBibliorefRole.default],[\"doc-chapter\",_docChapterRole.default],[\"doc-colophon\",_docColophonRole.default],[\"doc-conclusion\",_docConclusionRole.default],[\"doc-cover\",_docCoverRole.default],[\"doc-credit\",_docCreditRole.default],[\"doc-credits\",_docCreditsRole.default],[\"doc-dedication\",_docDedicationRole.default],[\"doc-endnote\",_docEndnoteRole.default],[\"doc-endnotes\",_docEndnotesRole.default],[\"doc-epigraph\",_docEpigraphRole.default],[\"doc-epilogue\",_docEpilogueRole.default],[\"doc-errata\",_docErrataRole.default],[\"doc-example\",_docExampleRole.default],[\"doc-footnote\",_docFootnoteRole.default],[\"doc-foreword\",_docForewordRole.default],[\"doc-glossary\",_docGlossaryRole.default],[\"doc-glossref\",_docGlossrefRole.default],[\"doc-index\",_docIndexRole.default],[\"doc-introduction\",_docIntroductionRole.default],[\"doc-noteref\",_docNoterefRole.default],[\"doc-notice\",_docNoticeRole.default],[\"doc-pagebreak\",_docPagebreakRole.default],[\"doc-pagelist\",_docPagelistRole.default],[\"doc-part\",_docPartRole.default],[\"doc-preface\",_docPrefaceRole.default],[\"doc-prologue\",_docPrologueRole.default],[\"doc-pullquote\",_docPullquoteRole.default],[\"doc-qna\",_docQnaRole.default],[\"doc-subtitle\",_docSubtitleRole.default],[\"doc-tip\",_docTipRole.default],[\"doc-toc\",_docTocRole.default]],_default=ariaDpubRoles;exports.default=_default;}});var require_graphicsDocumentRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var graphicsDocumentRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{module:\"GRAPHICS\",concept:{name:\"graphics-object\"}},{module:\"ARIA\",concept:{name:\"img\"}},{module:\"ARIA\",concept:{name:\"article\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"document\"]]},_default=graphicsDocumentRole;exports.default=_default;}});var require_graphicsObjectRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var graphicsObjectRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{module:\"GRAPHICS\",concept:{name:\"graphics-document\"}},{module:\"ARIA\",concept:{name:\"group\"}},{module:\"ARIA\",concept:{name:\"img\"}},{module:\"GRAPHICS\",concept:{name:\"graphics-symbol\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"group\"]]},_default=graphicsObjectRole;exports.default=_default;}});var require_graphicsSymbolRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var graphicsSymbolRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"img\"]]},_default=graphicsSymbolRole;exports.default=_default;}});var require_ariaGraphicsRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _graphicsDocumentRole=_interopRequireDefault(require_graphicsDocumentRole()),_graphicsObjectRole=_interopRequireDefault(require_graphicsObjectRole()),_graphicsSymbolRole=_interopRequireDefault(require_graphicsSymbolRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaGraphicsRoles=[[\"graphics-document\",_graphicsDocumentRole.default],[\"graphics-object\",_graphicsObjectRole.default],[\"graphics-symbol\",_graphicsSymbolRole.default]],_default=ariaGraphicsRoles;exports.default=_default;}});var require_rolesMap=__commonJS({\"node_modules/aria-query/lib/rolesMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _ariaAbstractRoles=_interopRequireDefault(require_ariaAbstractRoles()),_ariaLiteralRoles=_interopRequireDefault(require_ariaLiteralRoles()),_ariaDpubRoles=_interopRequireDefault(require_ariaDpubRoles()),_ariaGraphicsRoles=_interopRequireDefault(require_ariaGraphicsRoles()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty5(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i=0,F=function(){};return {s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&arguments[1]!==void 0?arguments[1]:null,_iterator3=_createForOfIteratorHelper(roles3),_step3;try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var _step3$value=_slicedToArray(_step3.value,2),key=_step3$value[0],values=_step3$value[1];fn3.call(thisArg,values,key,roles3);}}catch(err){_iterator3.e(err);}finally{_iterator3.f();}},get:function(key){var item=roles3.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!rolesMap.get(key)},keys:function(){return roles3.map(function(_ref5){var _ref6=_slicedToArray(_ref5,1),key=_ref6[0];return key})},values:function(){return roles3.map(function(_ref7){var _ref8=_slicedToArray(_ref7,2),values2=_ref8[1];return values2})}},_default=(0, _iterationDecorator.default)(rolesMap,rolesMap.entries());exports.default=_default;}});var require_isArguments2=__commonJS({\"../../node_modules/object-keys/isArguments.js\"(exports,module2){var toStr3=Object.prototype.toString;module2.exports=function(value){var str=toStr3.call(value),isArgs=str===\"[object Arguments]\";return isArgs||(isArgs=str!==\"[object Array]\"&&value!==null&&typeof value==\"object\"&&typeof value.length==\"number\"&&value.length>=0&&toStr3.call(value.callee)===\"[object Function]\"),isArgs};}});var require_implementation=__commonJS({\"../../node_modules/object-keys/implementation.js\"(exports,module2){var keysShim;Object.keys||(has=Object.prototype.hasOwnProperty,toStr3=Object.prototype.toString,isArgs=require_isArguments2(),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},\"toString\"),hasProtoEnumBug=isEnumerable.call(function(){},\"prototype\"),dontEnums=[\"toString\",\"toLocaleString\",\"valueOf\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"constructor\"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if(typeof window>\"u\")return !1;for(var k in window)try{if(!excludedKeys[\"$\"+k]&&has.call(window,k)&&window[k]!==null&&typeof window[k]==\"object\")try{equalsConstructorPrototype(window[k]);}catch{return !0}}catch{return !0}return !1}(),equalsConstructorPrototypeIfNotBuggy=function(o){if(typeof window>\"u\"||!hasAutomationEqualityBug)return equalsConstructorPrototype(o);try{return equalsConstructorPrototype(o)}catch{return !1}},keysShim=function(object){var isObject2=object!==null&&typeof object==\"object\",isFunction=toStr3.call(object)===\"[object Function]\",isArguments=isArgs(object),isString=isObject2&&toStr3.call(object)===\"[object String]\",theKeys=[];if(!isObject2&&!isFunction&&!isArguments)throw new TypeError(\"Object.keys called on a non-object\");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i0)for(var j=0;j\"u\"||!getProto?undefined2:getProto(Uint8Array),INTRINSICS={__proto__:null,\"%AggregateError%\":typeof AggregateError>\"u\"?undefined2:AggregateError,\"%Array%\":Array,\"%ArrayBuffer%\":typeof ArrayBuffer>\"u\"?undefined2:ArrayBuffer,\"%ArrayIteratorPrototype%\":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined2,\"%AsyncFromSyncIteratorPrototype%\":undefined2,\"%AsyncFunction%\":needsEval,\"%AsyncGenerator%\":needsEval,\"%AsyncGeneratorFunction%\":needsEval,\"%AsyncIteratorPrototype%\":needsEval,\"%Atomics%\":typeof Atomics>\"u\"?undefined2:Atomics,\"%BigInt%\":typeof BigInt>\"u\"?undefined2:BigInt,\"%BigInt64Array%\":typeof BigInt64Array>\"u\"?undefined2:BigInt64Array,\"%BigUint64Array%\":typeof BigUint64Array>\"u\"?undefined2:BigUint64Array,\"%Boolean%\":Boolean,\"%DataView%\":typeof DataView>\"u\"?undefined2:DataView,\"%Date%\":Date,\"%decodeURI%\":decodeURI,\"%decodeURIComponent%\":decodeURIComponent,\"%encodeURI%\":encodeURI,\"%encodeURIComponent%\":encodeURIComponent,\"%Error%\":$Error,\"%eval%\":eval,\"%EvalError%\":$EvalError,\"%Float32Array%\":typeof Float32Array>\"u\"?undefined2:Float32Array,\"%Float64Array%\":typeof Float64Array>\"u\"?undefined2:Float64Array,\"%FinalizationRegistry%\":typeof FinalizationRegistry>\"u\"?undefined2:FinalizationRegistry,\"%Function%\":$Function,\"%GeneratorFunction%\":needsEval,\"%Int8Array%\":typeof Int8Array>\"u\"?undefined2:Int8Array,\"%Int16Array%\":typeof Int16Array>\"u\"?undefined2:Int16Array,\"%Int32Array%\":typeof Int32Array>\"u\"?undefined2:Int32Array,\"%isFinite%\":isFinite,\"%isNaN%\":isNaN,\"%IteratorPrototype%\":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined2,\"%JSON%\":typeof JSON==\"object\"?JSON:undefined2,\"%Map%\":typeof Map>\"u\"?undefined2:Map,\"%MapIteratorPrototype%\":typeof Map>\"u\"||!hasSymbols||!getProto?undefined2:getProto(new Map()[Symbol.iterator]()),\"%Math%\":Math,\"%Number%\":Number,\"%Object%\":Object,\"%parseFloat%\":parseFloat,\"%parseInt%\":parseInt,\"%Promise%\":typeof Promise>\"u\"?undefined2:Promise,\"%Proxy%\":typeof Proxy>\"u\"?undefined2:Proxy,\"%RangeError%\":$RangeError,\"%ReferenceError%\":$ReferenceError,\"%Reflect%\":typeof Reflect>\"u\"?undefined2:Reflect,\"%RegExp%\":RegExp,\"%Set%\":typeof Set>\"u\"?undefined2:Set,\"%SetIteratorPrototype%\":typeof Set>\"u\"||!hasSymbols||!getProto?undefined2:getProto(new Set()[Symbol.iterator]()),\"%SharedArrayBuffer%\":typeof SharedArrayBuffer>\"u\"?undefined2:SharedArrayBuffer,\"%String%\":String,\"%StringIteratorPrototype%\":hasSymbols&&getProto?getProto(\"\"[Symbol.iterator]()):undefined2,\"%Symbol%\":hasSymbols?Symbol:undefined2,\"%SyntaxError%\":$SyntaxError,\"%ThrowTypeError%\":ThrowTypeError,\"%TypedArray%\":TypedArray,\"%TypeError%\":$TypeError,\"%Uint8Array%\":typeof Uint8Array>\"u\"?undefined2:Uint8Array,\"%Uint8ClampedArray%\":typeof Uint8ClampedArray>\"u\"?undefined2:Uint8ClampedArray,\"%Uint16Array%\":typeof Uint16Array>\"u\"?undefined2:Uint16Array,\"%Uint32Array%\":typeof Uint32Array>\"u\"?undefined2:Uint32Array,\"%URIError%\":$URIError,\"%WeakMap%\":typeof WeakMap>\"u\"?undefined2:WeakMap,\"%WeakRef%\":typeof WeakRef>\"u\"?undefined2:WeakRef,\"%WeakSet%\":typeof WeakSet>\"u\"?undefined2:WeakSet};if(getProto)try{null.error;}catch(e){errorProto=getProto(getProto(e)),INTRINSICS[\"%Error.prototype%\"]=errorProto;}var errorProto,doEval=function doEval2(name){var value;if(name===\"%AsyncFunction%\")value=getEvalledConstructor(\"async function () {}\");else if(name===\"%GeneratorFunction%\")value=getEvalledConstructor(\"function* () {}\");else if(name===\"%AsyncGeneratorFunction%\")value=getEvalledConstructor(\"async function* () {}\");else if(name===\"%AsyncGenerator%\"){var fn3=doEval2(\"%AsyncGeneratorFunction%\");fn3&&(value=fn3.prototype);}else if(name===\"%AsyncIteratorPrototype%\"){var gen=doEval2(\"%AsyncGenerator%\");gen&&getProto&&(value=getProto(gen.prototype));}return INTRINSICS[name]=value,value},LEGACY_ALIASES={__proto__:null,\"%ArrayBufferPrototype%\":[\"ArrayBuffer\",\"prototype\"],\"%ArrayPrototype%\":[\"Array\",\"prototype\"],\"%ArrayProto_entries%\":[\"Array\",\"prototype\",\"entries\"],\"%ArrayProto_forEach%\":[\"Array\",\"prototype\",\"forEach\"],\"%ArrayProto_keys%\":[\"Array\",\"prototype\",\"keys\"],\"%ArrayProto_values%\":[\"Array\",\"prototype\",\"values\"],\"%AsyncFunctionPrototype%\":[\"AsyncFunction\",\"prototype\"],\"%AsyncGenerator%\":[\"AsyncGeneratorFunction\",\"prototype\"],\"%AsyncGeneratorPrototype%\":[\"AsyncGeneratorFunction\",\"prototype\",\"prototype\"],\"%BooleanPrototype%\":[\"Boolean\",\"prototype\"],\"%DataViewPrototype%\":[\"DataView\",\"prototype\"],\"%DatePrototype%\":[\"Date\",\"prototype\"],\"%ErrorPrototype%\":[\"Error\",\"prototype\"],\"%EvalErrorPrototype%\":[\"EvalError\",\"prototype\"],\"%Float32ArrayPrototype%\":[\"Float32Array\",\"prototype\"],\"%Float64ArrayPrototype%\":[\"Float64Array\",\"prototype\"],\"%FunctionPrototype%\":[\"Function\",\"prototype\"],\"%Generator%\":[\"GeneratorFunction\",\"prototype\"],\"%GeneratorPrototype%\":[\"GeneratorFunction\",\"prototype\",\"prototype\"],\"%Int8ArrayPrototype%\":[\"Int8Array\",\"prototype\"],\"%Int16ArrayPrototype%\":[\"Int16Array\",\"prototype\"],\"%Int32ArrayPrototype%\":[\"Int32Array\",\"prototype\"],\"%JSONParse%\":[\"JSON\",\"parse\"],\"%JSONStringify%\":[\"JSON\",\"stringify\"],\"%MapPrototype%\":[\"Map\",\"prototype\"],\"%NumberPrototype%\":[\"Number\",\"prototype\"],\"%ObjectPrototype%\":[\"Object\",\"prototype\"],\"%ObjProto_toString%\":[\"Object\",\"prototype\",\"toString\"],\"%ObjProto_valueOf%\":[\"Object\",\"prototype\",\"valueOf\"],\"%PromisePrototype%\":[\"Promise\",\"prototype\"],\"%PromiseProto_then%\":[\"Promise\",\"prototype\",\"then\"],\"%Promise_all%\":[\"Promise\",\"all\"],\"%Promise_reject%\":[\"Promise\",\"reject\"],\"%Promise_resolve%\":[\"Promise\",\"resolve\"],\"%RangeErrorPrototype%\":[\"RangeError\",\"prototype\"],\"%ReferenceErrorPrototype%\":[\"ReferenceError\",\"prototype\"],\"%RegExpPrototype%\":[\"RegExp\",\"prototype\"],\"%SetPrototype%\":[\"Set\",\"prototype\"],\"%SharedArrayBufferPrototype%\":[\"SharedArrayBuffer\",\"prototype\"],\"%StringPrototype%\":[\"String\",\"prototype\"],\"%SymbolPrototype%\":[\"Symbol\",\"prototype\"],\"%SyntaxErrorPrototype%\":[\"SyntaxError\",\"prototype\"],\"%TypedArrayPrototype%\":[\"TypedArray\",\"prototype\"],\"%TypeErrorPrototype%\":[\"TypeError\",\"prototype\"],\"%Uint8ArrayPrototype%\":[\"Uint8Array\",\"prototype\"],\"%Uint8ClampedArrayPrototype%\":[\"Uint8ClampedArray\",\"prototype\"],\"%Uint16ArrayPrototype%\":[\"Uint16Array\",\"prototype\"],\"%Uint32ArrayPrototype%\":[\"Uint32Array\",\"prototype\"],\"%URIErrorPrototype%\":[\"URIError\",\"prototype\"],\"%WeakMapPrototype%\":[\"WeakMap\",\"prototype\"],\"%WeakSetPrototype%\":[\"WeakSet\",\"prototype\"]},bind=require_function_bind(),hasOwn=require_hasown(),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g,reEscapeChar=/\\\\(\\\\)?/g,stringToPath=function(string2){var first=$strSlice(string2,0,1),last=$strSlice(string2,-1);if(first===\"%\"&&last!==\"%\")throw new $SyntaxError(\"invalid intrinsic syntax, expected closing `%`\");if(last===\"%\"&&first!==\"%\")throw new $SyntaxError(\"invalid intrinsic syntax, expected opening `%`\");var result=[];return $replace(string2,rePropName,function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,\"$1\"):number||match;}),result},getBaseIntrinsic=function(name,allowMissing){var intrinsicName=name,alias;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(alias=LEGACY_ALIASES[intrinsicName],intrinsicName=\"%\"+alias[0]+\"%\"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),typeof value>\"u\"&&!allowMissing)throw new $TypeError(\"intrinsic \"+name+\" exists, but is not available. Please file an issue!\");return {alias,name:intrinsicName,value}}throw new $SyntaxError(\"intrinsic \"+name+\" does not exist!\")};module2.exports=function(name,allowMissing){if(typeof name!=\"string\"||name.length===0)throw new $TypeError(\"intrinsic name must be a non-empty string\");if(arguments.length>1&&typeof allowMissing!=\"boolean\")throw new $TypeError('\"allowMissing\" argument must be a boolean');if($exec(/^%?[^%]*%?$/,name)===null)throw new $SyntaxError(\"`%` may not be present anywhere but at the beginning and end of the intrinsic name\");var parts=stringToPath(name),intrinsicBaseName=parts.length>0?parts[0]:\"\",intrinsic=getBaseIntrinsic(\"%\"+intrinsicBaseName+\"%\",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);isOwn=!!desc,isOwn&&\"get\"in desc&&!(\"originalValue\"in desc.get)?value=desc.get:value=value[part];}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value);}}return value};}});var require_es_define_property=__commonJS({\"../../node_modules/es-define-property/index.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),$defineProperty=GetIntrinsic(\"%Object.defineProperty%\",!0)||!1;if($defineProperty)try{$defineProperty({},\"a\",{value:1});}catch{$defineProperty=!1;}module2.exports=$defineProperty;}});var require_gopd=__commonJS({\"../../node_modules/gopd/index.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),$gOPD=GetIntrinsic(\"%Object.getOwnPropertyDescriptor%\",!0);if($gOPD)try{$gOPD([],\"length\");}catch{$gOPD=null;}module2.exports=$gOPD;}});var require_define_data_property=__commonJS({\"../../node_modules/define-data-property/index.js\"(exports,module2){var $defineProperty=require_es_define_property(),$SyntaxError=require_syntax(),$TypeError=require_type(),gopd=require_gopd();module2.exports=function(obj,property,value){if(!obj||typeof obj!=\"object\"&&typeof obj!=\"function\")throw new $TypeError(\"`obj` must be an object or a function`\");if(typeof property!=\"string\"&&typeof property!=\"symbol\")throw new $TypeError(\"`property` must be a string or a symbol`\");if(arguments.length>3&&typeof arguments[3]!=\"boolean\"&&arguments[3]!==null)throw new $TypeError(\"`nonEnumerable`, if provided, must be a boolean or null\");if(arguments.length>4&&typeof arguments[4]!=\"boolean\"&&arguments[4]!==null)throw new $TypeError(\"`nonWritable`, if provided, must be a boolean or null\");if(arguments.length>5&&typeof arguments[5]!=\"boolean\"&&arguments[5]!==null)throw new $TypeError(\"`nonConfigurable`, if provided, must be a boolean or null\");if(arguments.length>6&&typeof arguments[6]!=\"boolean\")throw new $TypeError(\"`loose`, if provided, must be a boolean\");var nonEnumerable=arguments.length>3?arguments[3]:null,nonWritable=arguments.length>4?arguments[4]:null,nonConfigurable=arguments.length>5?arguments[5]:null,loose=arguments.length>6?arguments[6]:!1,desc=!!gopd&&gopd(obj,property);if($defineProperty)$defineProperty(obj,property,{configurable:nonConfigurable===null&&desc?desc.configurable:!nonConfigurable,enumerable:nonEnumerable===null&&desc?desc.enumerable:!nonEnumerable,value,writable:nonWritable===null&&desc?desc.writable:!nonWritable});else if(loose||!nonEnumerable&&!nonWritable&&!nonConfigurable)obj[property]=value;else throw new $SyntaxError(\"This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.\")};}});var require_has_property_descriptors=__commonJS({\"../../node_modules/has-property-descriptors/index.js\"(exports,module2){var $defineProperty=require_es_define_property(),hasPropertyDescriptors=function(){return !!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],\"length\",{value:1}).length!==1}catch{return !0}};module2.exports=hasPropertyDescriptors;}});var require_define_properties=__commonJS({\"../../node_modules/define-properties/index.js\"(exports,module2){var keys2=require_object_keys(),hasSymbols=typeof Symbol==\"function\"&&typeof Symbol(\"foo\")==\"symbol\",toStr3=Object.prototype.toString,concat=Array.prototype.concat,defineDataProperty=require_define_data_property(),isFunction=function(fn3){return typeof fn3==\"function\"&&toStr3.call(fn3)===\"[object Function]\"},supportsDescriptors=require_has_property_descriptors()(),defineProperty=function(object,name,value,predicate){if(name in object){if(predicate===!0){if(object[name]===value)return}else if(!isFunction(predicate)||!predicate())return}supportsDescriptors?defineDataProperty(object,name,value,!0):defineDataProperty(object,name,value);},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys2(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i4294967295||$floor(length)!==length)throw new $TypeError(\"`length` must be a positive 32-bit integer\");var loose=arguments.length>2&&!!arguments[2],functionLengthIsConfigurable=!0,functionLengthIsWritable=!0;if(\"length\"in fn3&&gOPD){var desc=gOPD(fn3,\"length\");desc&&!desc.configurable&&(functionLengthIsConfigurable=!1),desc&&!desc.writable&&(functionLengthIsWritable=!1);}return (functionLengthIsConfigurable||functionLengthIsWritable||!loose)&&(hasDescriptors?define2(fn3,\"length\",length,!0,!0):define2(fn3,\"length\",length)),fn3};}});var require_call_bind=__commonJS({\"../../node_modules/call-bind/index.js\"(exports,module2){var bind=require_function_bind(),GetIntrinsic=require_get_intrinsic(),setFunctionLength=require_set_function_length(),$TypeError=require_type(),$apply=GetIntrinsic(\"%Function.prototype.apply%\"),$call=GetIntrinsic(\"%Function.prototype.call%\"),$reflectApply=GetIntrinsic(\"%Reflect.apply%\",!0)||bind.call($call,$apply),$defineProperty=require_es_define_property(),$max=GetIntrinsic(\"%Math.max%\");module2.exports=function(originalFunction){if(typeof originalFunction!=\"function\")throw new $TypeError(\"a function is required\");var func=$reflectApply(bind,$call,arguments);return setFunctionLength(func,1+$max(0,originalFunction.length-(arguments.length-1)),!0)};var applyBind=function(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module2.exports,\"apply\",{value:applyBind}):module2.exports.apply=applyBind;}});var require_callBound=__commonJS({\"../../node_modules/call-bind/callBound.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),callBind=require_call_bind(),$indexOf=callBind(GetIntrinsic(\"String.prototype.indexOf\"));module2.exports=function(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return typeof intrinsic==\"function\"&&$indexOf(name,\".prototype.\")>-1?callBind(intrinsic):intrinsic};}});var require_implementation3=__commonJS({\"../../node_modules/object.assign/implementation.js\"(exports,module2){var objectKeys=require_object_keys(),hasSymbols=require_shams()(),callBound=require_callBound(),toObject=Object,$push=callBound(\"Array.prototype.push\"),$propIsEnumerable=callBound(\"Object.prototype.propertyIsEnumerable\"),originalGetSymbols=hasSymbols?Object.getOwnPropertySymbols:null;module2.exports=function(target,source1){if(target==null)throw new TypeError(\"target must be an object\");var to=toObject(target);if(arguments.length===1)return to;for(var s=1;s2&&!!arguments[2];return (!loose||functionsHaveConfigurableNames)&&(hasDescriptors?define2(fn3,\"name\",name,!0,!0):define2(fn3,\"name\",name)),fn3};}});var require_implementation4=__commonJS({\"../../node_modules/regexp.prototype.flags/implementation.js\"(exports,module2){var setFunctionName=require_set_function_name(),$TypeError=require_type(),$Object=Object;module2.exports=setFunctionName(function(){if(this==null||this!==$Object(this))throw new $TypeError(\"RegExp.prototype.flags getter called on non-object\");var result=\"\";return this.hasIndices&&(result+=\"d\"),this.global&&(result+=\"g\"),this.ignoreCase&&(result+=\"i\"),this.multiline&&(result+=\"m\"),this.dotAll&&(result+=\"s\"),this.unicode&&(result+=\"u\"),this.unicodeSets&&(result+=\"v\"),this.sticky&&(result+=\"y\"),result},\"get flags\",!0);}});var require_polyfill2=__commonJS({\"../../node_modules/regexp.prototype.flags/polyfill.js\"(exports,module2){var implementation=require_implementation4(),supportsDescriptors=require_define_properties().supportsDescriptors,$gOPD=Object.getOwnPropertyDescriptor;module2.exports=function(){if(supportsDescriptors&&/a/mig.flags===\"gim\"){var descriptor=$gOPD(RegExp.prototype,\"flags\");if(descriptor&&typeof descriptor.get==\"function\"&&typeof RegExp.prototype.dotAll==\"boolean\"&&typeof RegExp.prototype.hasIndices==\"boolean\"){var calls=\"\",o={};if(Object.defineProperty(o,\"hasIndices\",{get:function(){calls+=\"d\";}}),Object.defineProperty(o,\"sticky\",{get:function(){calls+=\"y\";}}),calls===\"dy\")return descriptor.get}}return implementation};}});var require_shim2=__commonJS({\"../../node_modules/regexp.prototype.flags/shim.js\"(exports,module2){var supportsDescriptors=require_define_properties().supportsDescriptors,getPolyfill=require_polyfill2(),gOPD=Object.getOwnPropertyDescriptor,defineProperty=Object.defineProperty,TypeErr=TypeError,getProto=Object.getPrototypeOf,regex=/a/;module2.exports=function(){if(!supportsDescriptors||!getProto)throw new TypeErr(\"RegExp.prototype.flags requires a true ES5 environment that supports property descriptors\");var polyfill=getPolyfill(),proto=getProto(regex),descriptor=gOPD(proto,\"flags\");return (!descriptor||descriptor.get!==polyfill)&&defineProperty(proto,\"flags\",{configurable:!0,enumerable:!1,get:polyfill}),polyfill};}});var require_regexp_prototype=__commonJS({\"../../node_modules/regexp.prototype.flags/index.js\"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation4(),getPolyfill=require_polyfill2(),shim=require_shim2(),flagsBound=callBind(getPolyfill());define2(flagsBound,{getPolyfill,implementation,shim});module2.exports=flagsBound;}});var require_shams2=__commonJS({\"../../node_modules/has-tostringtag/shams.js\"(exports,module2){var hasSymbols=require_shams();module2.exports=function(){return hasSymbols()&&!!Symbol.toStringTag};}});var require_is_arguments=__commonJS({\"../../node_modules/is-arguments/index.js\"(exports,module2){var hasToStringTag=require_shams2()(),callBound=require_callBound(),$toString=callBound(\"Object.prototype.toString\"),isStandardArguments=function(value){return hasToStringTag&&value&&typeof value==\"object\"&&Symbol.toStringTag in value?!1:$toString(value)===\"[object Arguments]\"},isLegacyArguments=function(value){return isStandardArguments(value)?!0:value!==null&&typeof value==\"object\"&&typeof value.length==\"number\"&&value.length>=0&&$toString(value)!==\"[object Array]\"&&$toString(value.callee)===\"[object Function]\"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;module2.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments;}});var require_util=__commonJS({\"(disabled):../../node_modules/object-inspect/util.inspect\"(){}});var require_object_inspect=__commonJS({\"../../node_modules/object-inspect/index.js\"(exports,module2){var hasMap=typeof Map==\"function\"&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,\"size\"):null,mapSize=hasMap&&mapSizeDescriptor&&typeof mapSizeDescriptor.get==\"function\"?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet=typeof Set==\"function\"&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,\"size\"):null,setSize=hasSet&&setSizeDescriptor&&typeof setSizeDescriptor.get==\"function\"?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,hasWeakMap=typeof WeakMap==\"function\"&&WeakMap.prototype,weakMapHas=hasWeakMap?WeakMap.prototype.has:null,hasWeakSet=typeof WeakSet==\"function\"&&WeakSet.prototype,weakSetHas=hasWeakSet?WeakSet.prototype.has:null,hasWeakRef=typeof WeakRef==\"function\"&&WeakRef.prototype,weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString=Object.prototype.toString,functionToString2=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf=typeof BigInt==\"function\"?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?Symbol.prototype.toString:null,hasShammedSymbols=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"object\",toStringTag=typeof Symbol==\"function\"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols||!0)?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=(typeof Reflect==\"function\"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function addNumericSeparator(num,str){if(num===1/0||num===-1/0||num!==num||num&&num>-1e3&&num<1e3||$test.call(/e/,str))return str;var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof num==\"number\"){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int),dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,\"$&_\")+\".\"+$replace.call($replace.call(dec,/([0-9]{3})/g,\"$&_\"),/_$/,\"\")}}return $replace.call(str,sepRegex,\"$&_\")}var utilInspect=require_util(),inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null;module2.exports=function inspect_(obj,options,depth,seen){var opts=options||{};if(has(opts,\"quoteStyle\")&&opts.quoteStyle!==\"single\"&&opts.quoteStyle!==\"double\")throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');if(has(opts,\"maxStringLength\")&&(typeof opts.maxStringLength==\"number\"?opts.maxStringLength<0&&opts.maxStringLength!==1/0:opts.maxStringLength!==null))throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');var customInspect=has(opts,\"customInspect\")?opts.customInspect:!0;if(typeof customInspect!=\"boolean\"&&customInspect!==\"symbol\")throw new TypeError(\"option \\\"customInspect\\\", if provided, must be `true`, `false`, or `'symbol'`\");if(has(opts,\"indent\")&&opts.indent!==null&&opts.indent!==\"\t\"&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0))throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');if(has(opts,\"numericSeparator\")&&typeof opts.numericSeparator!=\"boolean\")throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');var numericSeparator=opts.numericSeparator;if(typeof obj>\"u\")return \"undefined\";if(obj===null)return \"null\";if(typeof obj==\"boolean\")return obj?\"true\":\"false\";if(typeof obj==\"string\")return inspectString(obj,opts);if(typeof obj==\"number\"){if(obj===0)return 1/0/obj>0?\"0\":\"-0\";var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if(typeof obj==\"bigint\"){var bigIntStr=String(obj)+\"n\";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=typeof opts.depth>\"u\"?5:opts.depth;if(typeof depth>\"u\"&&(depth=0),depth>=maxDepth&&maxDepth>0&&typeof obj==\"object\")return isArray(obj)?\"[Array]\":\"[Object]\";var indent=getIndent(opts,depth);if(typeof seen>\"u\")seen=[];else if(indexOf(seen,obj)>=0)return \"[Circular]\";function inspect3(value,from,noIndent){if(from&&(seen=$arrSlice.call(seen),seen.push(from)),noIndent){var newOpts={depth:opts.depth};return has(opts,\"quoteStyle\")&&(newOpts.quoteStyle=opts.quoteStyle),inspect_(value,newOpts,depth+1,seen)}return inspect_(value,opts,depth+1,seen)}if(typeof obj==\"function\"&&!isRegExp(obj)){var name=nameOf(obj),keys2=arrObjKeys(obj,inspect3);return \"[Function\"+(name?\": \"+name:\" (anonymous)\")+\"]\"+(keys2.length>0?\" { \"+$join.call(keys2,\", \")+\" }\":\"\")}if(isSymbol(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\\(.*\\))_[^)]*$/,\"$1\"):symToString.call(obj);return typeof obj==\"object\"&&!hasShammedSymbols?markBoxed(symString):symString}if(isElement5(obj)){for(var s=\"<\"+$toLowerCase.call(String(obj.nodeName)),attrs=obj.attributes||[],i=0;i\",obj.childNodes&&obj.childNodes.length&&(s+=\"...\"),s+=\"\",s}if(isArray(obj)){if(obj.length===0)return \"[]\";var xs=arrObjKeys(obj,inspect3);return indent&&!singleLineValues(xs)?\"[\"+indentedJoin(xs,indent)+\"]\":\"[ \"+$join.call(xs,\", \")+\" ]\"}if(isError(obj)){var parts=arrObjKeys(obj,inspect3);return !(\"cause\"in Error.prototype)&&\"cause\"in obj&&!isEnumerable.call(obj,\"cause\")?\"{ [\"+String(obj)+\"] \"+$join.call($concat.call(\"[cause]: \"+inspect3(obj.cause),parts),\", \")+\" }\":parts.length===0?\"[\"+String(obj)+\"]\":\"{ [\"+String(obj)+\"] \"+$join.call(parts,\", \")+\" }\"}if(typeof obj==\"object\"&&customInspect){if(inspectSymbol&&typeof obj[inspectSymbol]==\"function\"&&utilInspect)return utilInspect(obj,{depth:maxDepth-depth});if(customInspect!==\"symbol\"&&typeof obj.inspect==\"function\")return obj.inspect()}if(isMap(obj)){var mapParts=[];return mapForEach&&mapForEach.call(obj,function(value,key){mapParts.push(inspect3(key,obj,!0)+\" => \"+inspect3(value,obj));}),collectionOf(\"Map\",mapSize.call(obj),mapParts,indent)}if(isSet(obj)){var setParts=[];return setForEach&&setForEach.call(obj,function(value){setParts.push(inspect3(value,obj));}),collectionOf(\"Set\",setSize.call(obj),setParts,indent)}if(isWeakMap(obj))return weakCollectionOf(\"WeakMap\");if(isWeakSet(obj))return weakCollectionOf(\"WeakSet\");if(isWeakRef(obj))return weakCollectionOf(\"WeakRef\");if(isNumber(obj))return markBoxed(inspect3(Number(obj)));if(isBigInt(obj))return markBoxed(inspect3(bigIntValueOf.call(obj)));if(isBoolean(obj))return markBoxed(booleanValueOf.call(obj));if(isString(obj))return markBoxed(inspect3(String(obj)));if(typeof window<\"u\"&&obj===window)return \"{ [object Window] }\";if(obj===global)return \"{ [object globalThis] }\";if(!isDate(obj)&&!isRegExp(obj)){var ys=arrObjKeys(obj,inspect3),isPlainObject=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object,protoTag=obj instanceof Object?\"\":\"null prototype\",stringTag=!isPlainObject&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr3(obj),8,-1):protoTag?\"Object\":\"\",constructorTag=isPlainObject||typeof obj.constructor!=\"function\"?\"\":obj.constructor.name?obj.constructor.name+\" \":\"\",tag=constructorTag+(stringTag||protoTag?\"[\"+$join.call($concat.call([],stringTag||[],protoTag||[]),\": \")+\"] \":\"\");return ys.length===0?tag+\"{}\":indent?tag+\"{\"+indentedJoin(ys,indent)+\"}\":tag+\"{ \"+$join.call(ys,\", \")+\" }\"}return String(obj)};function wrapQuotes(s,defaultStyle,opts){var quoteChar=(opts.quoteStyle||defaultStyle)===\"double\"?'\"':\"'\";return quoteChar+s+quoteChar}function quote(s){return $replace.call(String(s),/\"/g,\""\")}function isArray(obj){return toStr3(obj)===\"[object Array]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isDate(obj){return toStr3(obj)===\"[object Date]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isRegExp(obj){return toStr3(obj)===\"[object RegExp]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isError(obj){return toStr3(obj)===\"[object Error]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isString(obj){return toStr3(obj)===\"[object String]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isNumber(obj){return toStr3(obj)===\"[object Number]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isBoolean(obj){return toStr3(obj)===\"[object Boolean]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isSymbol(obj){if(hasShammedSymbols)return obj&&typeof obj==\"object\"&&obj instanceof Symbol;if(typeof obj==\"symbol\")return !0;if(!obj||typeof obj!=\"object\"||!symToString)return !1;try{return symToString.call(obj),!0}catch{}return !1}function isBigInt(obj){if(!obj||typeof obj!=\"object\"||!bigIntValueOf)return !1;try{return bigIntValueOf.call(obj),!0}catch{}return !1}var hasOwn=Object.prototype.hasOwnProperty||function(key){return key in this};function has(obj,key){return hasOwn.call(obj,key)}function toStr3(obj){return objectToString.call(obj)}function nameOf(f){if(f.name)return f.name;var m2=$match.call(functionToString2.call(f),/^function\\s*([\\w$]+)/);return m2?m2[1]:null}function indexOf(xs,x){if(xs.indexOf)return xs.indexOf(x);for(var i=0,l=xs.length;iopts.maxStringLength){var remaining=str.length-opts.maxStringLength,trailer=\"... \"+remaining+\" more character\"+(remaining>1?\"s\":\"\");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}var s=$replace.call($replace.call(str,/(['\\\\])/g,\"\\\\$1\"),/[\\x00-\\x1f]/g,lowbyte);return wrapQuotes(s,\"single\",opts)}function lowbyte(c){var n=c.charCodeAt(0),x={8:\"b\",9:\"t\",10:\"n\",12:\"f\",13:\"r\"}[n];return x?\"\\\\\"+x:\"\\\\x\"+(n<16?\"0\":\"\")+$toUpperCase.call(n.toString(16))}function markBoxed(str){return \"Object(\"+str+\")\"}function weakCollectionOf(type3){return type3+\" { ? }\"}function collectionOf(type3,size,entries,indent){var joinedEntries=indent?indentedJoin(entries,indent):$join.call(entries,\", \");return type3+\" (\"+size+\") {\"+joinedEntries+\"}\"}function singleLineValues(xs){for(var i=0;i=0)return !1;return !0}function getIndent(opts,depth){var baseIndent;if(opts.indent===\"\t\")baseIndent=\"\t\";else if(typeof opts.indent==\"number\"&&opts.indent>0)baseIndent=$join.call(Array(opts.indent+1),\" \");else return null;return {base:baseIndent,prev:$join.call(Array(depth+1),baseIndent)}}function indentedJoin(xs,indent){if(xs.length===0)return \"\";var lineJoiner=`\n`+indent.prev+indent.base;return lineJoiner+$join.call(xs,\",\"+lineJoiner)+`\n`+indent.prev}function arrObjKeys(obj,inspect3){var isArr=isArray(obj),xs=[];if(isArr){xs.length=obj.length;for(var i=0;i=length)return index+1;var first=$charCodeAt(S,index);if(first<55296||first>56319)return index+1;var second=$charCodeAt(S,index+1);return second<56320||second>57343?index+1:index+2},getArrayIterator=function(arraylike){var i=0;return {next:function(){var done=i>=arraylike.length,value;return done||(value=arraylike[i],i+=1),{done,value}}}},getNonCollectionIterator=function(iterable,noPrimordialCollections){if(isArray(iterable)||isArguments(iterable))return getArrayIterator(iterable);if(isString(iterable)){var i=0;return {next:function(){var nextIndex=advanceStringIndex(iterable,i),value=$stringSlice(iterable,i,nextIndex);return i=nextIndex,{done:nextIndex>iterable.length,value}}}}if(noPrimordialCollections&&typeof iterable[\"_es6-shim iterator_\"]<\"u\")return iterable[\"_es6-shim iterator_\"]()},!$Map&&!$Set?module2.exports=function(iterable){if(iterable!=null)return getNonCollectionIterator(iterable,!0)}:(isMap=require_is_map(),isSet=require_is_set(),$mapForEach=callBound(\"Map.prototype.forEach\",!0),$setForEach=callBound(\"Set.prototype.forEach\",!0),(typeof process>\"u\"||!process.versions||!process.versions.node)&&($mapIterator=callBound(\"Map.prototype.iterator\",!0),$setIterator=callBound(\"Set.prototype.iterator\",!0)),$mapAtAtIterator=callBound(\"Map.prototype.@@iterator\",!0)||callBound(\"Map.prototype._es6-shim iterator_\",!0),$setAtAtIterator=callBound(\"Set.prototype.@@iterator\",!0)||callBound(\"Set.prototype._es6-shim iterator_\",!0),getCollectionIterator=function(iterable){if(isMap(iterable)){if($mapIterator)return getStopIterationIterator($mapIterator(iterable));if($mapAtAtIterator)return $mapAtAtIterator(iterable);if($mapForEach){var entries=[];return $mapForEach(iterable,function(v2,k){$arrayPush(entries,[k,v2]);}),getArrayIterator(entries)}}if(isSet(iterable)){if($setIterator)return getStopIterationIterator($setIterator(iterable));if($setAtAtIterator)return $setAtAtIterator(iterable);if($setForEach){var values=[];return $setForEach(iterable,function(v2){$arrayPush(values,v2);}),getArrayIterator(values)}}},module2.exports=function(iterable){return getCollectionIterator(iterable)||getNonCollectionIterator(iterable)}));var $iterator,isArray,isString,GetIntrinsic,$Map,$Set,callBound,$arrayPush,$charCodeAt,$stringSlice,advanceStringIndex,getArrayIterator,getNonCollectionIterator,isMap,isSet,$mapForEach,$setForEach,$mapIterator,$setIterator,$mapAtAtIterator,$setAtAtIterator,getCollectionIterator;}});var require_implementation5=__commonJS({\"../../node_modules/object-is/implementation.js\"(exports,module2){var numberIsNaN=function(value){return value!==value};module2.exports=function(a,b2){return a===0&&b2===0?1/a===1/b2:!!(a===b2||numberIsNaN(a)&&numberIsNaN(b2))};}});var require_polyfill3=__commonJS({\"../../node_modules/object-is/polyfill.js\"(exports,module2){var implementation=require_implementation5();module2.exports=function(){return typeof Object.is==\"function\"?Object.is:implementation};}});var require_shim3=__commonJS({\"../../node_modules/object-is/shim.js\"(exports,module2){var getPolyfill=require_polyfill3(),define2=require_define_properties();module2.exports=function(){var polyfill=getPolyfill();return define2(Object,{is:polyfill},{is:function(){return Object.is!==polyfill}}),polyfill};}});var require_object_is=__commonJS({\"../../node_modules/object-is/index.js\"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation5(),getPolyfill=require_polyfill3(),shim=require_shim3(),polyfill=callBind(getPolyfill(),Object);define2(polyfill,{getPolyfill,implementation,shim});module2.exports=polyfill;}});var require_is_array_buffer=__commonJS({\"../../node_modules/is-array-buffer/index.js\"(exports,module2){var callBind=require_call_bind(),callBound=require_callBound(),GetIntrinsic=require_get_intrinsic(),$ArrayBuffer=GetIntrinsic(\"%ArrayBuffer%\",!0),$byteLength=callBound(\"ArrayBuffer.prototype.byteLength\",!0),$toString=callBound(\"Object.prototype.toString\"),abSlice=!!$ArrayBuffer&&!$byteLength&&new $ArrayBuffer(0).slice,$abSlice=!!abSlice&&callBind(abSlice);module2.exports=$byteLength||$abSlice?function(obj){if(!obj||typeof obj!=\"object\")return !1;try{return $byteLength?$byteLength(obj):$abSlice(obj,0),!0}catch{return !1}}:$ArrayBuffer?function(obj){return $toString(obj)===\"[object ArrayBuffer]\"}:function(obj){return !1};}});var require_is_date_object=__commonJS({\"../../node_modules/is-date-object/index.js\"(exports,module2){var getDay=Date.prototype.getDay,tryDateObject=function(value){try{return getDay.call(value),!0}catch{return !1}},toStr3=Object.prototype.toString,dateClass=\"[object Date]\",hasToStringTag=require_shams2()();module2.exports=function(value){return typeof value!=\"object\"||value===null?!1:hasToStringTag?tryDateObject(value):toStr3.call(value)===dateClass};}});var require_is_regex=__commonJS({\"../../node_modules/is-regex/index.js\"(exports,module2){var callBound=require_callBound(),hasToStringTag=require_shams2()(),has,$exec,isRegexMarker,badStringifier;hasToStringTag&&(has=callBound(\"Object.prototype.hasOwnProperty\"),$exec=callBound(\"RegExp.prototype.exec\"),isRegexMarker={},throwRegexMarker=function(){throw isRegexMarker},badStringifier={toString:throwRegexMarker,valueOf:throwRegexMarker},typeof Symbol.toPrimitive==\"symbol\"&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker));var throwRegexMarker,$toString=callBound(\"Object.prototype.toString\"),gOPD=Object.getOwnPropertyDescriptor,regexClass=\"[object RegExp]\";module2.exports=hasToStringTag?function(value){if(!value||typeof value!=\"object\")return !1;var descriptor=gOPD(value,\"lastIndex\"),hasLastIndexDataProperty=descriptor&&has(descriptor,\"value\");if(!hasLastIndexDataProperty)return !1;try{$exec(value,badStringifier);}catch(e){return e===isRegexMarker}}:function(value){return !value||typeof value!=\"object\"&&typeof value!=\"function\"?!1:$toString(value)===regexClass};}});var require_is_shared_array_buffer=__commonJS({\"../../node_modules/is-shared-array-buffer/index.js\"(exports,module2){var callBound=require_callBound(),$byteLength=callBound(\"SharedArrayBuffer.prototype.byteLength\",!0);module2.exports=$byteLength?function(obj){if(!obj||typeof obj!=\"object\")return !1;try{return $byteLength(obj),!0}catch{return !1}}:function(obj){return !1};}});var require_is_number_object=__commonJS({\"../../node_modules/is-number-object/index.js\"(exports,module2){var numToStr=Number.prototype.toString,tryNumberObject=function(value){try{return numToStr.call(value),!0}catch{return !1}},toStr3=Object.prototype.toString,numClass=\"[object Number]\",hasToStringTag=require_shams2()();module2.exports=function(value){return typeof value==\"number\"?!0:typeof value!=\"object\"?!1:hasToStringTag?tryNumberObject(value):toStr3.call(value)===numClass};}});var require_is_boolean_object=__commonJS({\"../../node_modules/is-boolean-object/index.js\"(exports,module2){var callBound=require_callBound(),$boolToStr=callBound(\"Boolean.prototype.toString\"),$toString=callBound(\"Object.prototype.toString\"),tryBooleanObject=function(value){try{return $boolToStr(value),!0}catch{return !1}},boolClass=\"[object Boolean]\",hasToStringTag=require_shams2()();module2.exports=function(value){return typeof value==\"boolean\"?!0:value===null||typeof value!=\"object\"?!1:hasToStringTag&&Symbol.toStringTag in value?tryBooleanObject(value):$toString(value)===boolClass};}});var require_is_symbol=__commonJS({\"../../node_modules/is-symbol/index.js\"(exports,module2){var toStr3=Object.prototype.toString,hasSymbols=require_has_symbols()();hasSymbols?(symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\\(.*\\)$/,isSymbolObject=function(value){return typeof value.valueOf()!=\"symbol\"?!1:symStringRegex.test(symToStr.call(value))},module2.exports=function(value){if(typeof value==\"symbol\")return !0;if(toStr3.call(value)!==\"[object Symbol]\")return !1;try{return isSymbolObject(value)}catch{return !1}}):module2.exports=function(value){return !1};var symToStr,symStringRegex,isSymbolObject;}});var require_has_bigints=__commonJS({\"../../node_modules/has-bigints/index.js\"(exports,module2){var $BigInt=typeof BigInt<\"u\"&&BigInt;module2.exports=function(){return typeof $BigInt==\"function\"&&typeof BigInt==\"function\"&&typeof $BigInt(42)==\"bigint\"&&typeof BigInt(42)==\"bigint\"};}});var require_is_bigint=__commonJS({\"../../node_modules/is-bigint/index.js\"(exports,module2){var hasBigInts=require_has_bigints()();hasBigInts?(bigIntValueOf=BigInt.prototype.valueOf,tryBigInt=function(value){try{return bigIntValueOf.call(value),!0}catch{}return !1},module2.exports=function(value){return value===null||typeof value>\"u\"||typeof value==\"boolean\"||typeof value==\"string\"||typeof value==\"number\"||typeof value==\"symbol\"||typeof value==\"function\"?!1:typeof value==\"bigint\"?!0:tryBigInt(value)}):module2.exports=function(value){return !1};var bigIntValueOf,tryBigInt;}});var require_which_boxed_primitive=__commonJS({\"../../node_modules/which-boxed-primitive/index.js\"(exports,module2){var isString=require_is_string(),isNumber=require_is_number_object(),isBoolean=require_is_boolean_object(),isSymbol=require_is_symbol(),isBigInt=require_is_bigint();module2.exports=function(value){if(value==null||typeof value!=\"object\"&&typeof value!=\"function\")return null;if(isString(value))return \"String\";if(isNumber(value))return \"Number\";if(isBoolean(value))return \"Boolean\";if(isSymbol(value))return \"Symbol\";if(isBigInt(value))return \"BigInt\"};}});var require_is_weakmap=__commonJS({\"../../node_modules/is-weakmap/index.js\"(exports,module2){var $WeakMap=typeof WeakMap==\"function\"&&WeakMap.prototype?WeakMap:null,$WeakSet=typeof WeakSet==\"function\"&&WeakSet.prototype?WeakSet:null,exported;$WeakMap||(exported=function(x){return !1});var $mapHas=$WeakMap?$WeakMap.prototype.has:null,$setHas=$WeakSet?$WeakSet.prototype.has:null;!exported&&!$mapHas&&(exported=function(x){return !1});module2.exports=exported||function(x){if(!x||typeof x!=\"object\")return !1;try{if($mapHas.call(x,$mapHas),$setHas)try{$setHas.call(x,$setHas);}catch{return !0}return x instanceof $WeakMap}catch{}return !1};}});var require_is_weakset=__commonJS({\"../../node_modules/is-weakset/index.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),callBound=require_callBound(),$WeakSet=GetIntrinsic(\"%WeakSet%\",!0),$setHas=callBound(\"WeakSet.prototype.has\",!0);$setHas?($mapHas=callBound(\"WeakMap.prototype.has\",!0),module2.exports=function(x){if(!x||typeof x!=\"object\")return !1;try{if($setHas(x,$setHas),$mapHas)try{$mapHas(x,$mapHas);}catch{return !0}return x instanceof $WeakSet}catch{}return !1}):module2.exports=function(x){return !1};var $mapHas;}});var require_which_collection=__commonJS({\"../../node_modules/which-collection/index.js\"(exports,module2){var isMap=require_is_map(),isSet=require_is_set(),isWeakMap=require_is_weakmap(),isWeakSet=require_is_weakset();module2.exports=function(value){if(value&&typeof value==\"object\"){if(isMap(value))return \"Map\";if(isSet(value))return \"Set\";if(isWeakMap(value))return \"WeakMap\";if(isWeakSet(value))return \"WeakSet\"}return !1};}});var require_is_callable=__commonJS({\"../../node_modules/is-callable/index.js\"(exports,module2){var fnToStr=Function.prototype.toString,reflectApply=typeof Reflect==\"object\"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply==\"function\"&&typeof Object.defineProperty==\"function\")try{badArrayLike=Object.defineProperty({},\"length\",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike);}catch(_){_!==isCallableMarker&&(reflectApply=null);}else reflectApply=null;var constructorRegex=/^\\s*class\\b/,isES6ClassFn=function(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch{return !1}},tryFunctionObject=function(value){try{return isES6ClassFn(value)?!1:(fnToStr.call(value),!0)}catch{return !1}},toStr3=Object.prototype.toString,objectClass=\"[object Object]\",fnClass=\"[object Function]\",genClass=\"[object GeneratorFunction]\",ddaClass=\"[object HTMLAllCollection]\",ddaClass2=\"[object HTML document.all class]\",ddaClass3=\"[object HTMLCollection]\",hasToStringTag=typeof Symbol==\"function\"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return !1};typeof document==\"object\"&&(all=document.all,toStr3.call(all)===toStr3.call(document.all)&&(isDDA=function(value){if((isIE68||!value)&&(typeof value>\"u\"||typeof value==\"object\"))try{var str=toStr3.call(value);return (str===ddaClass||str===ddaClass2||str===ddaClass3||str===objectClass)&&value(\"\")==null}catch{}return !1}));var all;module2.exports=reflectApply?function(value){if(isDDA(value))return !0;if(!value||typeof value!=\"function\"&&typeof value!=\"object\")return !1;try{reflectApply(value,null,badArrayLike);}catch(e){if(e!==isCallableMarker)return !1}return !isES6ClassFn(value)&&tryFunctionObject(value)}:function(value){if(isDDA(value))return !0;if(!value||typeof value!=\"function\"&&typeof value!=\"object\")return !1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return !1;var strClass=toStr3.call(value);return strClass!==fnClass&&strClass!==genClass&&!/^\\[object HTML/.test(strClass)?!1:tryFunctionObject(value)};}});var require_for_each=__commonJS({\"../../node_modules/for-each/index.js\"(exports,module2){var isCallable3=require_is_callable(),toStr3=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty,forEachArray=function(array,iterator,receiver){for(var i=0,len=array.length;i=3&&(receiver=thisArg),toStr3.call(list)===\"[object Array]\"?forEachArray(list,iterator,receiver):typeof list==\"string\"?forEachString(list,iterator,receiver):forEachObject(list,iterator,receiver);};module2.exports=forEach;}});var require_possible_typed_array_names=__commonJS({\"../../node_modules/possible-typed-array-names/index.js\"(exports,module2){module2.exports=[\"Float32Array\",\"Float64Array\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"BigInt64Array\",\"BigUint64Array\"];}});var require_available_typed_arrays=__commonJS({\"../../node_modules/available-typed-arrays/index.js\"(exports,module2){var possibleNames=require_possible_typed_array_names(),g2=typeof globalThis>\"u\"?global:globalThis;module2.exports=function(){for(var out=[],i=0;i\"u\"?global:globalThis,typedArrays=availableTypedArrays(),$slice=callBound(\"String.prototype.slice\"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound(\"Array.prototype.indexOf\",!0)||function(array,value){for(var i=0;i-1?tag:tag!==\"Object\"?!1:trySlices(value)}return gOPD?tryTypedArrays(value):null};}});var require_array_buffer_byte_length=__commonJS({\"../../node_modules/array-buffer-byte-length/index.js\"(exports,module2){var callBound=require_callBound(),$byteLength=callBound(\"ArrayBuffer.prototype.byteLength\",!0),isArrayBuffer=require_is_array_buffer();module2.exports=function(ab){return isArrayBuffer(ab)?$byteLength?$byteLength(ab):ab.byteLength:NaN};}});var require_deep_equal=__commonJS({\"../../node_modules/deep-equal/index.js\"(exports,module2){var assign=require_object(),callBound=require_callBound(),flags=require_regexp_prototype(),GetIntrinsic=require_get_intrinsic(),getIterator=require_es_get_iterator(),getSideChannel=require_side_channel(),is=require_object_is(),isArguments=require_is_arguments(),isArray=require_isarray(),isArrayBuffer=require_is_array_buffer(),isDate=require_is_date_object(),isRegex=require_is_regex(),isSharedArrayBuffer=require_is_shared_array_buffer(),objectKeys=require_object_keys(),whichBoxedPrimitive=require_which_boxed_primitive(),whichCollection=require_which_collection(),whichTypedArray=require_which_typed_array(),byteLength=require_array_buffer_byte_length(),sabByteLength=callBound(\"SharedArrayBuffer.prototype.byteLength\",!0),$getTime=callBound(\"Date.prototype.getTime\"),gPO=Object.getPrototypeOf,$objToString=callBound(\"Object.prototype.toString\"),$Set=GetIntrinsic(\"%Set%\",!0),$mapHas=callBound(\"Map.prototype.has\",!0),$mapGet=callBound(\"Map.prototype.get\",!0),$mapSize=callBound(\"Map.prototype.size\",!0),$setAdd=callBound(\"Set.prototype.add\",!0),$setDelete=callBound(\"Set.prototype.delete\",!0),$setHas=callBound(\"Set.prototype.has\",!0),$setSize=callBound(\"Set.prototype.size\",!0);function setHasEqualElement(set,val1,opts,channel){for(var i=getIterator(set),result;(result=i.next())&&!result.done;)if(internalDeepEqual(val1,result.value,opts,channel))return $setDelete(set,result.value),!0;return !1}function findLooseMatchingPrimitives(prim){if(typeof prim>\"u\")return null;if(typeof prim!=\"object\")return typeof prim==\"symbol\"?!1:typeof prim==\"string\"||typeof prim==\"number\"?+prim==+prim:!0}function mapMightHaveLoosePrim(a,b2,prim,item,opts,channel){var altValue=findLooseMatchingPrimitives(prim);if(altValue!=null)return altValue;var curB=$mapGet(b2,altValue),looseOpts=assign({},opts,{strict:!1});return typeof curB>\"u\"&&!$mapHas(b2,altValue)||!internalDeepEqual(item,curB,looseOpts,channel)?!1:!$mapHas(a,altValue)&&internalDeepEqual(item,curB,looseOpts,channel)}function setMightHaveLoosePrim(a,b2,prim){var altValue=findLooseMatchingPrimitives(prim);return altValue??($setHas(b2,altValue)&&!$setHas(a,altValue))}function mapHasEqualEntry(set,map,key1,item1,opts,channel){for(var i=getIterator(set),result,key2;(result=i.next())&&!result.done;)if(key2=result.value,internalDeepEqual(key1,key2,opts,channel)&&internalDeepEqual(item1,$mapGet(map,key2),opts,channel))return $setDelete(set,key2),!0;return !1}function internalDeepEqual(actual,expected,options,channel){var opts=options||{};if(opts.strict?is(actual,expected):actual===expected)return !0;var actualBoxed=whichBoxedPrimitive(actual),expectedBoxed=whichBoxedPrimitive(expected);if(actualBoxed!==expectedBoxed)return !1;if(!actual||!expected||typeof actual!=\"object\"&&typeof expected!=\"object\")return opts.strict?is(actual,expected):actual==expected;var hasActual=channel.has(actual),hasExpected=channel.has(expected),sentinel;if(hasActual&&hasExpected){if(channel.get(actual)===channel.get(expected))return !0}else sentinel={};return hasActual||channel.set(actual,sentinel),hasExpected||channel.set(expected,sentinel),objEquiv(actual,expected,opts,channel)}function isBuffer(x){return !x||typeof x!=\"object\"||typeof x.length!=\"number\"||typeof x.copy!=\"function\"||typeof x.slice!=\"function\"||x.length>0&&typeof x[0]!=\"number\"?!1:!!(x.constructor&&x.constructor.isBuffer&&x.constructor.isBuffer(x))}function setEquiv(a,b2,opts,channel){if($setSize(a)!==$setSize(b2))return !1;for(var iA=getIterator(a),iB=getIterator(b2),resultA,resultB,set;(resultA=iA.next())&&!resultA.done;)if(resultA.value&&typeof resultA.value==\"object\")set||(set=new $Set),$setAdd(set,resultA.value);else if(!$setHas(b2,resultA.value)){if(opts.strict||!setMightHaveLoosePrim(a,b2,resultA.value))return !1;set||(set=new $Set),$setAdd(set,resultA.value);}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(resultB.value&&typeof resultB.value==\"object\"){if(!setHasEqualElement(set,resultB.value,opts.strict,channel))return !1}else if(!opts.strict&&!$setHas(a,resultB.value)&&!setHasEqualElement(set,resultB.value,opts.strict,channel))return !1;return $setSize(set)===0}return !0}function mapEquiv(a,b2,opts,channel){if($mapSize(a)!==$mapSize(b2))return !1;for(var iA=getIterator(a),iB=getIterator(b2),resultA,resultB,set,key,item1,item2;(resultA=iA.next())&&!resultA.done;)if(key=resultA.value[0],item1=resultA.value[1],key&&typeof key==\"object\")set||(set=new $Set),$setAdd(set,key);else if(item2=$mapGet(b2,key),typeof item2>\"u\"&&!$mapHas(b2,key)||!internalDeepEqual(item1,item2,opts,channel)){if(opts.strict||!mapMightHaveLoosePrim(a,b2,key,item1,opts,channel))return !1;set||(set=new $Set),$setAdd(set,key);}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(key=resultB.value[0],item2=resultB.value[1],key&&typeof key==\"object\"){if(!mapHasEqualEntry(set,a,key,item2,opts,channel))return !1}else if(!opts.strict&&(!a.has(key)||!internalDeepEqual($mapGet(a,key),item2,opts,channel))&&!mapHasEqualEntry(set,a,key,item2,assign({},opts,{strict:!1}),channel))return !1;return $setSize(set)===0}return !0}function objEquiv(a,b2,opts,channel){var i,key;if(typeof a!=typeof b2||a==null||b2==null||$objToString(a)!==$objToString(b2)||isArguments(a)!==isArguments(b2))return !1;var aIsArray=isArray(a),bIsArray=isArray(b2);if(aIsArray!==bIsArray)return !1;var aIsError=a instanceof Error,bIsError=b2 instanceof Error;if(aIsError!==bIsError||(aIsError||bIsError)&&(a.name!==b2.name||a.message!==b2.message))return !1;var aIsRegex=isRegex(a),bIsRegex=isRegex(b2);if(aIsRegex!==bIsRegex||(aIsRegex||bIsRegex)&&(a.source!==b2.source||flags(a)!==flags(b2)))return !1;var aIsDate=isDate(a),bIsDate=isDate(b2);if(aIsDate!==bIsDate||(aIsDate||bIsDate)&&$getTime(a)!==$getTime(b2)||opts.strict&&gPO&&gPO(a)!==gPO(b2))return !1;var aWhich=whichTypedArray(a),bWhich=whichTypedArray(b2);if(aWhich!==bWhich)return !1;if(aWhich||bWhich){if(a.length!==b2.length)return !1;for(i=0;i=0;i--)if(ka[i]!=kb[i])return !1;for(i=ka.length-1;i>=0;i--)if(key=ka[i],!internalDeepEqual(a[key],b2[key],opts,channel))return !1;var aCollection=whichCollection(a),bCollection=whichCollection(b2);return aCollection!==bCollection?!1:aCollection===\"Set\"||bCollection===\"Set\"?setEquiv(a,b2,opts,channel):aCollection===\"Map\"?mapEquiv(a,b2,opts,channel):!0}module2.exports=function(a,b2,opts){return internalDeepEqual(a,b2,opts,getSideChannel())};}});var require_elementRoleMap=__commonJS({\"node_modules/aria-query/lib/elementRoleMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _deepEqual=_interopRequireDefault(require_deep_equal()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i2)||_unsupportedIterableToArray(arr,i2)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(arr,i2){var _i=arr==null?null:typeof Symbol<\"u\"&&arr[Symbol.iterator]||arr[\"@@iterator\"];if(_i!=null){var _arr=[],_n=!0,_d=!1,_s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i2&&_arr.length===i2));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i2=0,F=function(){};return {s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(elementRoles3),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),_key=_step$value[0],values=_step$value[1];fn3.call(thisArg,values,_key,elementRoles3);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key2){var item=elementRoles3.find(function(tuple){return (0, _deepEqual.default)(key2,tuple[0])});return item&&item[1]},has:function(key2){return !!elementRoleMap.get(key2)},keys:function(){return elementRoles3.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key2=_ref2[0];return key2})},values:function(){return elementRoles3.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(elementRoleMap,elementRoleMap.entries());exports.default=_default;}});var require_roleElementMap=__commonJS({\"node_modules/aria-query/lib/roleElementMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i2)||_unsupportedIterableToArray(arr,i2)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(arr,i2){var _i=arr==null?null:typeof Symbol<\"u\"&&arr[Symbol.iterator]||arr[\"@@iterator\"];if(_i!=null){var _arr=[],_n=!0,_d=!1,_s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i2&&_arr.length===i2));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i2=0,F=function(){};return {s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(roleElement),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn3.call(thisArg,values,key,roleElement);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key){var item=roleElement.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!roleElementMap.get(key)},keys:function(){return roleElement.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key=_ref2[0];return key})},values:function(){return roleElement.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(roleElementMap,roleElementMap.entries());exports.default=_default;}});var require_lib=__commonJS({\"node_modules/aria-query/lib/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.roles=exports.roleElements=exports.elementRoles=exports.dom=exports.aria=void 0;var _ariaPropsMap=_interopRequireDefault(require_ariaPropsMap()),_domMap=_interopRequireDefault(require_domMap()),_rolesMap=_interopRequireDefault(require_rolesMap()),_elementRoleMap=_interopRequireDefault(require_elementRoleMap()),_roleElementMap=_interopRequireDefault(require_roleElementMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var aria=_ariaPropsMap.default;exports.aria=aria;var dom=_domMap.default;exports.dom=dom;var roles3=_rolesMap.default;exports.roles=roles3;var elementRoles3=_elementRoleMap.default;exports.elementRoles=elementRoles3;var roleElements2=_roleElementMap.default;exports.roleElements=roleElements2;}});var require_color_name=__commonJS({\"../../node_modules/color-name/index.js\"(exports,module2){module2.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};}});var require_conversions=__commonJS({\"../../node_modules/color-convert/conversions.js\"(exports,module2){var cssKeywords=require_color_name(),reverseKeywords={};for(let key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;var convert={rgb:{channels:3,labels:\"rgb\"},hsl:{channels:3,labels:\"hsl\"},hsv:{channels:3,labels:\"hsv\"},hwb:{channels:3,labels:\"hwb\"},cmyk:{channels:4,labels:\"cmyk\"},xyz:{channels:3,labels:\"xyz\"},lab:{channels:3,labels:\"lab\"},lch:{channels:3,labels:\"lch\"},hex:{channels:1,labels:[\"hex\"]},keyword:{channels:1,labels:[\"keyword\"]},ansi16:{channels:1,labels:[\"ansi16\"]},ansi256:{channels:1,labels:[\"ansi256\"]},hcg:{channels:3,labels:[\"h\",\"c\",\"g\"]},apple:{channels:3,labels:[\"r16\",\"g16\",\"b16\"]},gray:{channels:1,labels:[\"gray\"]}};module2.exports=convert;for(let model of Object.keys(convert)){if(!(\"channels\"in convert[model]))throw new Error(\"missing channels property: \"+model);if(!(\"labels\"in convert[model]))throw new Error(\"missing channel labels property: \"+model);if(convert[model].labels.length!==convert[model].channels)throw new Error(\"channel and label counts mismatch: \"+model);let{channels,labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],\"channels\",{value:channels}),Object.defineProperty(convert[model],\"labels\",{value:labels});}convert.rgb.hsl=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,min=Math.min(r,g2,b2),max=Math.max(r,g2,b2),delta=max-min,h,s;max===min?h=0:r===max?h=(g2-b2)/delta:g2===max?h=2+(b2-r)/delta:b2===max&&(h=4+(r-g2)/delta),h=Math.min(h*60,360),h<0&&(h+=360);let l=(min+max)/2;return max===min?s=0:l<=.5?s=delta/(max+min):s=delta/(2-max-min),[h,s*100,l*100]};convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s,r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,v2=Math.max(r,g2,b2),diff2=v2-Math.min(r,g2,b2),diffc=function(c){return (v2-c)/6/diff2+1/2};return diff2===0?(h=0,s=0):(s=diff2/v2,rdif=diffc(r),gdif=diffc(g2),bdif=diffc(b2),r===v2?h=bdif-gdif:g2===v2?h=1/3+rdif-bdif:b2===v2&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[h*360,s*100,v2*100]};convert.rgb.hwb=function(rgb){let r=rgb[0],g2=rgb[1],b2=rgb[2],h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g2,b2));return b2=1-1/255*Math.max(r,Math.max(g2,b2)),[h,w*100,b2*100]};convert.rgb.cmyk=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,k=Math.min(1-r,1-g2,1-b2),c=(1-r-k)/(1-k)||0,m2=(1-g2-k)/(1-k)||0,y2=(1-b2-k)/(1-k)||0;return [c*100,m2*100,y2*100,k*100]};function comparativeDistance(x,y2){return (x[0]-y2[0])**2+(x[1]-y2[1])**2+(x[2]-y2[2])**2}convert.rgb.keyword=function(rgb){let reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestDistance=1/0,currentClosestKeyword;for(let keyword of Object.keys(cssKeywords)){let value=cssKeywords[keyword],distance=comparativeDistance(rgb,value);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g2=g2>.04045?((g2+.055)/1.055)**2.4:g2/12.92,b2=b2>.04045?((b2+.055)/1.055)**2.4:b2/12.92;let x=r*.4124+g2*.3576+b2*.1805,y2=r*.2126+g2*.7152+b2*.0722,z=r*.0193+g2*.1192+b2*.9505;return [x*100,y2*100,z*100]};convert.rgb.lab=function(rgb){let xyz=convert.rgb.xyz(rgb),x=xyz[0],y2=xyz[1],z=xyz[2];x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;let l=116*y2-16,a=500*(x-y2),b2=200*(y2-z);return [l,a,b2]};convert.hsl.rgb=function(hsl){let h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100,t2,t3,val;if(s===0)return val=l*255,[val,val,val];l<.5?t2=l*(1+s):t2=l+s-l*s;let t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,6*t3<1?val=t1+(t2-t1)*6*t3:2*t3<1?val=t2:3*t3<2?val=t1+(t2-t1)*(2/3-t3)*6:val=t1,rgb[i]=val*255;return rgb};convert.hsl.hsv=function(hsl){let h=hsl[0],s=hsl[1]/100,l=hsl[2]/100,smin=s,lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;let v2=(l+s)/2,sv=l===0?2*smin/(lmin+smin):2*s/(l+s);return [h,sv*100,v2*100]};convert.hsv.rgb=function(hsv){let h=hsv[0]/60,s=hsv[1]/100,v2=hsv[2]/100,hi=Math.floor(h)%6,f=h-Math.floor(h),p2=255*v2*(1-s),q=255*v2*(1-s*f),t=255*v2*(1-s*(1-f));switch(v2*=255,hi){case 0:return [v2,t,p2];case 1:return [q,v2,p2];case 2:return [p2,v2,t];case 3:return [p2,q,v2];case 4:return [t,p2,v2];case 5:return [v2,p2,q]}};convert.hsv.hsl=function(hsv){let h=hsv[0],s=hsv[1]/100,v2=hsv[2]/100,vmin=Math.max(v2,.01),sl,l;l=(2-s)*v2;let lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,sl*100,l*100]};convert.hwb.rgb=function(hwb){let h=hwb[0]/360,wh=hwb[1]/100,bl=hwb[2]/100,ratio=wh+bl,f;ratio>1&&(wh/=ratio,bl/=ratio);let i=Math.floor(6*h),v2=1-bl;f=6*h-i,i&1&&(f=1-f);let n=wh+f*(v2-wh),r,g2,b2;switch(i){default:case 6:case 0:r=v2,g2=n,b2=wh;break;case 1:r=n,g2=v2,b2=wh;break;case 2:r=wh,g2=v2,b2=n;break;case 3:r=wh,g2=n,b2=v2;break;case 4:r=n,g2=wh,b2=v2;break;case 5:r=v2,g2=wh,b2=n;break}return [r*255,g2*255,b2*255]};convert.cmyk.rgb=function(cmyk){let c=cmyk[0]/100,m2=cmyk[1]/100,y2=cmyk[2]/100,k=cmyk[3]/100,r=1-Math.min(1,c*(1-k)+k),g2=1-Math.min(1,m2*(1-k)+k),b2=1-Math.min(1,y2*(1-k)+k);return [r*255,g2*255,b2*255]};convert.xyz.rgb=function(xyz){let x=xyz[0]/100,y2=xyz[1]/100,z=xyz[2]/100,r,g2,b2;return r=x*3.2406+y2*-1.5372+z*-.4986,g2=x*-.9689+y2*1.8758+z*.0415,b2=x*.0557+y2*-.204+z*1.057,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,g2=g2>.0031308?1.055*g2**(1/2.4)-.055:g2*12.92,b2=b2>.0031308?1.055*b2**(1/2.4)-.055:b2*12.92,r=Math.min(Math.max(0,r),1),g2=Math.min(Math.max(0,g2),1),b2=Math.min(Math.max(0,b2),1),[r*255,g2*255,b2*255]};convert.xyz.lab=function(xyz){let x=xyz[0],y2=xyz[1],z=xyz[2];x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;let l=116*y2-16,a=500*(x-y2),b2=200*(y2-z);return [l,a,b2]};convert.lab.xyz=function(lab){let l=lab[0],a=lab[1],b2=lab[2],x,y2,z;y2=(l+16)/116,x=a/500+y2,z=y2-b2/200;let y22=y2**3,x2=x**3,z2=z**3;return y2=y22>.008856?y22:(y2-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y2*=100,z*=108.883,[x,y2,z]};convert.lab.lch=function(lab){let l=lab[0],a=lab[1],b2=lab[2],h;h=Math.atan2(b2,a)*360/2/Math.PI,h<0&&(h+=360);let c=Math.sqrt(a*a+b2*b2);return [l,c,h]};convert.lch.lab=function(lch){let l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI,a=c*Math.cos(hr),b2=c*Math.sin(hr);return [l,a,b2]};convert.rgb.ansi16=function(args,saturation=null){let[r,g2,b2]=args,value=saturation===null?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),value===0)return 30;let ansi=30+(Math.round(b2/255)<<2|Math.round(g2/255)<<1|Math.round(r/255));return value===2&&(ansi+=60),ansi};convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])};convert.rgb.ansi256=function(args){let r=args[0],g2=args[1],b2=args[2];return r===g2&&g2===b2?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(g2/255*5)+Math.round(b2/255*5)};convert.ansi16.rgb=function(args){let color=args%10;if(color===0||color===7)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];let mult=(~~(args>50)+1)*.5,r=(color&1)*mult*255,g2=(color>>1&1)*mult*255,b2=(color>>2&1)*mult*255;return [r,g2,b2]};convert.ansi256.rgb=function(args){if(args>=232){let c=(args-232)*10+8;return [c,c,c]}args-=16;let rem,r=Math.floor(args/36)/5*255,g2=Math.floor((rem=args%36)/6)/5*255,b2=rem%6/5*255;return [r,g2,b2]};convert.rgb.hex=function(args){let string2=(((Math.round(args[0])&255)<<16)+((Math.round(args[1])&255)<<8)+(Math.round(args[2])&255)).toString(16).toUpperCase();return \"000000\".substring(string2.length)+string2};convert.hex.rgb=function(args){let match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return [0,0,0];let colorString=match[0];match[0].length===3&&(colorString=colorString.split(\"\").map(char=>char+char).join(\"\"));let integer=parseInt(colorString,16),r=integer>>16&255,g2=integer>>8&255,b2=integer&255;return [r,g2,b2]};convert.rgb.hcg=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,max=Math.max(Math.max(r,g2),b2),min=Math.min(Math.min(r,g2),b2),chroma=max-min,grayscale,hue;return chroma<1?grayscale=min/(1-chroma):grayscale=0,chroma<=0?hue=0:max===r?hue=(g2-b2)/chroma%6:max===g2?hue=2+(b2-r)/chroma:hue=4+(r-g2)/chroma,hue/=6,hue%=1,[hue*360,chroma*100,grayscale*100]};convert.hsl.hcg=function(hsl){let s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l),f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],c*100,f*100]};convert.hsv.hcg=function(hsv){let s=hsv[1]/100,v2=hsv[2]/100,c=s*v2,f=0;return c<1&&(f=(v2-c)/(1-c)),[hsv[0],c*100,f*100]};convert.hcg.rgb=function(hcg){let h=hcg[0]/360,c=hcg[1]/100,g2=hcg[2]/100;if(c===0)return [g2*255,g2*255,g2*255];let pure=[0,0,0],hi=h%1*6,v2=hi%1,w=1-v2,mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v2,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v2;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v2,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w;}return mg=(1-c)*g2,[(c*pure[0]+mg)*255,(c*pure[1]+mg)*255,(c*pure[2]+mg)*255]};convert.hcg.hsv=function(hcg){let c=hcg[1]/100,g2=hcg[2]/100,v2=c+g2*(1-c),f=0;return v2>0&&(f=c/v2),[hcg[0],f*100,v2*100]};convert.hcg.hsl=function(hcg){let c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c,s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],s*100,l*100]};convert.hcg.hwb=function(hcg){let c=hcg[1]/100,g2=hcg[2]/100,v2=c+g2*(1-c);return [hcg[0],(v2-c)*100,(1-v2)*100]};convert.hwb.hcg=function(hwb){let w=hwb[1]/100,v2=1-hwb[2]/100,c=v2-w,g2=0;return c<1&&(g2=(v2-c)/(1-c)),[hwb[0],c*100,g2*100]};convert.apple.rgb=function(apple){return [apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]};convert.rgb.apple=function(rgb){return [rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]};convert.gray.rgb=function(args){return [args[0]/100*255,args[0]/100*255,args[0]/100*255]};convert.gray.hsl=function(args){return [0,0,args[0]]};convert.gray.hsv=convert.gray.hsl;convert.gray.hwb=function(gray){return [0,100,gray[0]]};convert.gray.cmyk=function(gray){return [0,0,0,gray[0]]};convert.gray.lab=function(gray){return [gray[0],0,0]};convert.gray.hex=function(gray){let val=Math.round(gray[0]/100*255)&255,string2=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return \"000000\".substring(string2.length)+string2};convert.rgb.gray=function(rgb){return [(rgb[0]+rgb[1]+rgb[2])/3/255*100]};}});var require_route=__commonJS({\"../../node_modules/color-convert/route.js\"(exports,module2){var conversions=require_conversions();function buildGraph(){let graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i1&&(args=arg0),fn3(args))};return \"conversion\"in fn3&&(wrappedFn.conversion=fn3.conversion),wrappedFn}function wrapRounded(fn3){let wrappedFn=function(...args){let arg0=args[0];if(arg0==null)return arg0;arg0.length>1&&(args=arg0);let result=fn3(args);if(typeof result==\"object\")for(let len=result.length,i=0;i{convert[fromModel]={},Object.defineProperty(convert[fromModel],\"channels\",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],\"labels\",{value:conversions[fromModel].labels});let routes=route(fromModel);Object.keys(routes).forEach(toModel=>{let fn3=routes[toModel];convert[fromModel][toModel]=wrapRounded(fn3),convert[fromModel][toModel].raw=wrapRaw(fn3);});});module2.exports=convert;}});var require_ansi_styles2=__commonJS({\"../../node_modules/ansi-styles/index.js\"(exports,module2){var wrapAnsi16=(fn3,offset)=>(...args)=>`\\x1B[${fn3(...args)+offset}m`,wrapAnsi256=(fn3,offset)=>(...args)=>{let code=fn3(...args);return `\\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn3,offset)=>(...args)=>{let rgb=fn3(...args);return `\\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`},ansi2ansi=n=>n,rgb2rgb=(r,g2,b2)=>[r,g2,b2],setLazyProperty=(object,property,get)=>{Object.defineProperty(object,property,{get:()=>{let value=get();return Object.defineProperty(object,property,{value,enumerable:!0,configurable:!0}),value},enumerable:!0,configurable:!0});},colorConvert,makeDynamicStyles=(wrap,targetSpace,identity,isBackground)=>{colorConvert===void 0&&(colorConvert=require_color_convert());let offset=isBackground?10:0,styles={};for(let[sourceSpace,suite]of Object.entries(colorConvert)){let name=sourceSpace===\"ansi16\"?\"ansi\":sourceSpace;sourceSpace===targetSpace?styles[name]=wrap(identity,offset):typeof suite==\"object\"&&(styles[name]=wrap(suite[targetSpace],offset));}return styles};function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`\\x1B[${style[0]}m`,close:`\\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1});}return Object.defineProperty(styles,\"codes\",{value:codes,enumerable:!1}),styles.color.close=\"\\x1B[39m\",styles.bgColor.close=\"\\x1B[49m\",setLazyProperty(styles.color,\"ansi\",()=>makeDynamicStyles(wrapAnsi16,\"ansi16\",ansi2ansi,!1)),setLazyProperty(styles.color,\"ansi256\",()=>makeDynamicStyles(wrapAnsi256,\"ansi256\",ansi2ansi,!1)),setLazyProperty(styles.color,\"ansi16m\",()=>makeDynamicStyles(wrapAnsi16m,\"rgb\",rgb2rgb,!1)),setLazyProperty(styles.bgColor,\"ansi\",()=>makeDynamicStyles(wrapAnsi16,\"ansi16\",ansi2ansi,!0)),setLazyProperty(styles.bgColor,\"ansi256\",()=>makeDynamicStyles(wrapAnsi256,\"ansi256\",ansi2ansi,!0)),setLazyProperty(styles.bgColor,\"ansi16m\",()=>makeDynamicStyles(wrapAnsi16m,\"rgb\",rgb2rgb,!0)),styles}Object.defineProperty(module2,\"exports\",{enumerable:!0,get:assembleStyles});}});var require_browser=__commonJS({\"../../node_modules/supports-color/browser.js\"(exports,module2){module2.exports={stdout:!1,stderr:!1};}});var require_util2=__commonJS({\"node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js\"(exports,module2){var stringReplaceAll=(string2,substring,replacer)=>{let index=string2.indexOf(substring);if(index===-1)return string2;let substringLength=substring.length,endIndex=0,returnValue=\"\";do returnValue+=string2.substr(endIndex,index-endIndex)+substring+replacer,endIndex=index+substringLength,index=string2.indexOf(substring,endIndex);while(index!==-1);return returnValue+=string2.substr(endIndex),returnValue},stringEncaseCRLFWithFirstIndex=(string2,prefix,postfix,index)=>{let endIndex=0,returnValue=\"\";do{let gotCR=string2[index-1]===\"\\r\";returnValue+=string2.substr(endIndex,(gotCR?index-1:index)-endIndex)+prefix+(gotCR?`\\r\n`:`\n`)+postfix,endIndex=index+1,index=string2.indexOf(`\n`,endIndex);}while(index!==-1);return returnValue+=string2.substr(endIndex),returnValue};module2.exports={stringReplaceAll,stringEncaseCRLFWithFirstIndex};}});var require_templates=__commonJS({\"node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js\"(exports,module2){var TEMPLATE_REGEX=/(?:\\\\(u(?:[a-f\\d]{4}|\\{[a-f\\d]{1,6}\\})|x[a-f\\d]{2}|.))|(?:\\{(~)?(\\w+(?:\\([^)]*\\))?(?:\\.\\w+(?:\\([^)]*\\))?)*)(?:[ \\t]|(?=\\r?\\n)))|(\\})|((?:.|[\\r\\n\\f])+?)/gi,STYLE_REGEX=/(?:^|\\.)(\\w+)(?:\\(([^)]*)\\))?/g,STRING_REGEX=/^(['\"])((?:\\\\.|(?!\\1)[^\\\\])*)\\1$/,ESCAPE_REGEX=/\\\\(u(?:[a-f\\d]{4}|\\{[a-f\\d]{1,6}\\})|x[a-f\\d]{2}|.)|([^\\\\])/gi,ESCAPES=new Map([[\"n\",`\n`],[\"r\",\"\\r\"],[\"t\",\"\t\"],[\"b\",\"\\b\"],[\"f\",\"\\f\"],[\"v\",\"\\v\"],[\"0\",\"\\0\"],[\"\\\\\",\"\\\\\"],[\"e\",\"\\x1B\"],[\"a\",\"\\x07\"]]);function unescape(c){let u2=c[0]===\"u\",bracket=c[1]===\"{\";return u2&&!bracket&&c.length===5||c[0]===\"x\"&&c.length===3?String.fromCharCode(parseInt(c.slice(1),16)):u2&&bracket?String.fromCodePoint(parseInt(c.slice(2,-1),16)):ESCAPES.get(c)||c}function parseArguments(name,arguments_){let results=[],chunks=arguments_.trim().split(/\\s*,\\s*/g),matches3;for(let chunk of chunks){let number=Number(chunk);if(!Number.isNaN(number))results.push(number);else if(matches3=chunk.match(STRING_REGEX))results.push(matches3[2].replace(ESCAPE_REGEX,(m2,escape2,character)=>escape2?unescape(escape2):character));else throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`)}return results}function parseStyle(style){STYLE_REGEX.lastIndex=0;let results=[],matches3;for(;(matches3=STYLE_REGEX.exec(style))!==null;){let name=matches3[1];if(matches3[2]){let args=parseArguments(name,matches3[2]);results.push([name].concat(args));}else results.push([name]);}return results}function buildStyle(chalk3,styles){let enabled={};for(let layer of styles)for(let style of layer.styles)enabled[style[0]]=layer.inverse?null:style.slice(1);let current=chalk3;for(let[styleName,styles2]of Object.entries(enabled))if(Array.isArray(styles2)){if(!(styleName in current))throw new Error(`Unknown Chalk style: ${styleName}`);current=styles2.length>0?current[styleName](...styles2):current[styleName];}return current}module2.exports=(chalk3,temporary)=>{let styles=[],chunks=[],chunk=[];if(temporary.replace(TEMPLATE_REGEX,(m2,escapeCharacter,inverse,style,close,character)=>{if(escapeCharacter)chunk.push(unescape(escapeCharacter));else if(style){let string2=chunk.join(\"\");chunk=[],chunks.push(styles.length===0?string2:buildStyle(chalk3,styles)(string2)),styles.push({inverse,styles:parseStyle(style)});}else if(close){if(styles.length===0)throw new Error(\"Found extraneous } in Chalk template literal\");chunks.push(buildStyle(chalk3,styles)(chunk.join(\"\"))),chunk=[],styles.pop();}else chunk.push(character);}),chunks.push(chunk.join(\"\")),styles.length>0){let errMsg=`Chalk template literal is missing ${styles.length} closing bracket${styles.length===1?\"\":\"s\"} (\\`}\\`)`;throw new Error(errMsg)}return chunks.join(\"\")};}});var require_source=__commonJS({\"node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js\"(exports,module2){var ansiStyles=require_ansi_styles2(),{stdout:stdoutColor,stderr:stderrColor}=require_browser(),{stringReplaceAll,stringEncaseCRLFWithFirstIndex}=require_util2(),levelMapping=[\"ansi\",\"ansi\",\"ansi256\",\"ansi16m\"],styles=Object.create(null),applyOptions=(object,options={})=>{if(options.level>3||options.level<0)throw new Error(\"The `level` option should be an integer from 0 to 3\");let colorLevel=stdoutColor?stdoutColor.level:0;object.level=options.level===void 0?colorLevel:options.level;},ChalkClass=class{constructor(options){return chalkFactory(options)}},chalkFactory=options=>{let chalk4={};return applyOptions(chalk4,options),chalk4.template=(...arguments_)=>chalkTag(chalk4.template,...arguments_),Object.setPrototypeOf(chalk4,Chalk.prototype),Object.setPrototypeOf(chalk4.template,chalk4),chalk4.template.constructor=()=>{throw new Error(\"`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.\")},chalk4.template.Instance=ChalkClass,chalk4.template};function Chalk(options){return chalkFactory(options)}for(let[styleName,style]of Object.entries(ansiStyles))styles[styleName]={get(){let builder=createBuilder(this,createStyler(style.open,style.close,this._styler),this._isEmpty);return Object.defineProperty(this,styleName,{value:builder}),builder}};styles.visible={get(){let builder=createBuilder(this,this._styler,!0);return Object.defineProperty(this,\"visible\",{value:builder}),builder}};var usedModels=[\"rgb\",\"hex\",\"keyword\",\"hsl\",\"hsv\",\"hwb\",\"ansi\",\"ansi256\"];for(let model of usedModels)styles[model]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_),ansiStyles.color.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}};for(let model of usedModels){let bgModel=\"bg\"+model[0].toUpperCase()+model.slice(1);styles[bgModel]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_),ansiStyles.bgColor.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}};}var proto=Object.defineProperties(()=>{},{...styles,level:{enumerable:!0,get(){return this._generator.level},set(level){this._generator.level=level;}}}),createStyler=(open,close,parent)=>{let openAll,closeAll;return parent===void 0?(openAll=open,closeAll=close):(openAll=parent.openAll+open,closeAll=close+parent.closeAll),{open,close,openAll,closeAll,parent}},createBuilder=(self2,_styler,_isEmpty)=>{let builder=(...arguments_)=>applyStyle(builder,arguments_.length===1?\"\"+arguments_[0]:arguments_.join(\" \"));return builder.__proto__=proto,builder._generator=self2,builder._styler=_styler,builder._isEmpty=_isEmpty,builder},applyStyle=(self2,string2)=>{if(self2.level<=0||!string2)return self2._isEmpty?\"\":string2;let styler=self2._styler;if(styler===void 0)return string2;let{openAll,closeAll}=styler;if(string2.indexOf(\"\\x1B\")!==-1)for(;styler!==void 0;)string2=stringReplaceAll(string2,styler.close,styler.open),styler=styler.parent;let lfIndex=string2.indexOf(`\n`);return lfIndex!==-1&&(string2=stringEncaseCRLFWithFirstIndex(string2,closeAll,openAll,lfIndex)),openAll+string2+closeAll},template,chalkTag=(chalk4,...strings)=>{let[firstString]=strings;if(!Array.isArray(firstString))return strings.join(\" \");let arguments_=strings.slice(1),parts=[firstString.raw[0]];for(let i=1;i-1}module2.exports=arrayIncludes;}});var require_arrayIncludesWith=__commonJS({\"../../node_modules/lodash/_arrayIncludesWith.js\"(exports,module2){function arrayIncludesWith(array,value,comparator){for(var index=-1,length=array==null?0:array.length;++index=LARGE_ARRAY_SIZE){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=!1,includes=cacheHas,seen=new SetCache;}else seen=iteratee?[]:result;outer:for(;++index=1&&codeUnit<=31||codeUnit==127||index==0&&codeUnit>=48&&codeUnit<=57||index==1&&codeUnit>=48&&codeUnit<=57&&firstCodeUnit==45){result+=\"\\\\\"+codeUnit.toString(16)+\" \";continue}if(index==0&&length==1&&codeUnit==45){result+=\"\\\\\"+string2.charAt(index);continue}if(codeUnit>=128||codeUnit==45||codeUnit==95||codeUnit>=48&&codeUnit<=57||codeUnit>=65&&codeUnit<=90||codeUnit>=97&&codeUnit<=122){result+=string2.charAt(index);continue}result+=\"\\\\\"+string2.charAt(index);}return result};return root.CSS||(root.CSS={}),root.CSS.escape=cssEscape,cssEscape});}});var require_ansi_styles3=__commonJS({\"node_modules/pretty-format/node_modules/ansi-styles/index.js\"(exports,module2){var wrapAnsi256=(offset=0)=>code=>`\\x1B[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`\\x1B[${38+offset};2;${red};${green};${blue}m`;function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`\\x1B[${style[0]}m`,close:`\\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1});}return Object.defineProperty(styles,\"codes\",{value:codes,enumerable:!1}),styles.color.close=\"\\x1B[39m\",styles.bgColor.close=\"\\x1B[49m\",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\\d]{6}|[a-f\\d]{3})/i.exec(hex.toString(16));if(!matches3)return [0,0,0];let{colorString}=matches3.groups;colorString.length===3&&(colorString=colorString.split(\"\").map(character=>character+character).join(\"\"));let integer=Number.parseInt(colorString,16);return [integer>>16&255,integer>>8&255,integer&255]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}Object.defineProperty(module2,\"exports\",{enumerable:!0,get:assembleStyles});}});var require_collections2=__commonJS({\"node_modules/pretty-format/build/collections.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printIteratorEntries=printIteratorEntries;exports.printIteratorValues=printIteratorValues;exports.printListItems=printListItems;exports.printObjectProperties=printObjectProperties;var getKeysOfEnumerableProperties=(object,compareKeys)=>{let keys2=Object.keys(object).sort(compareKeys);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach(symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol);}),keys2};function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=\": \"){let result=\"\",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){let name=printer(current.value[0],config3,indentationNext,depth,refs),value=printer(current.value[1],config3,indentationNext,depth,refs);result+=indentationNext+name+separator+value,current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=\",\"+config3.spacingInner;}result+=config3.spacingOuter+indentation;}return result}function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result=\"\",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;)result+=indentationNext+printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=\",\"+config3.spacingInner;result+=config3.spacingOuter+indentation;}return result}function printListItems(list,config3,indentation,depth,refs,printer){let result=\"\";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();return stringedValue===\"ArrayContaining\"||stringedValue===\"ArrayNotContaining\"?++depth>config3.maxDepth?\"[\"+stringedValue+\"]\":stringedValue+SPACE+\"[\"+(0, _collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)+\"]\":stringedValue===\"ObjectContaining\"||stringedValue===\"ObjectNotContaining\"?++depth>config3.maxDepth?\"[\"+stringedValue+\"]\":stringedValue+SPACE+\"{\"+(0, _collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)+\"}\":stringedValue===\"StringMatching\"||stringedValue===\"StringNotMatching\"||stringedValue===\"StringContaining\"||stringedValue===\"StringNotContaining\"?stringedValue+SPACE+printer(val.sample,config3,indentation,depth,refs):val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_ansi_regex=__commonJS({\"../../node_modules/ansi-regex/index.js\"(exports,module2){module2.exports=({onlyFirst=!1}={})=>{let pattern=[\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");return new RegExp(pattern,onlyFirst?void 0:\"g\")};}});var require_ConvertAnsi=__commonJS({\"node_modules/pretty-format/build/plugins/ConvertAnsi.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _ansiRegex=_interopRequireDefault(require_ansi_regex()),_ansiStyles=_interopRequireDefault(require_ansi_styles3());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toHumanReadableAnsi=text=>text.replace((0, _ansiRegex.default)(),match=>{switch(match){case _ansiStyles.default.red.close:case _ansiStyles.default.green.close:case _ansiStyles.default.cyan.close:case _ansiStyles.default.gray.close:case _ansiStyles.default.white.close:case _ansiStyles.default.yellow.close:case _ansiStyles.default.bgRed.close:case _ansiStyles.default.bgGreen.close:case _ansiStyles.default.bgYellow.close:case _ansiStyles.default.inverse.close:case _ansiStyles.default.dim.close:case _ansiStyles.default.bold.close:case _ansiStyles.default.reset.open:case _ansiStyles.default.reset.close:return \"\";case _ansiStyles.default.red.open:return \"\";case _ansiStyles.default.green.open:return \"\";case _ansiStyles.default.cyan.open:return \"\";case _ansiStyles.default.gray.open:return \"\";case _ansiStyles.default.white.open:return \"\";case _ansiStyles.default.yellow.open:return \"\";case _ansiStyles.default.bgRed.open:return \"\";case _ansiStyles.default.bgGreen.open:return \"\";case _ansiStyles.default.bgYellow.open:return \"\";case _ansiStyles.default.inverse.open:return \"\";case _ansiStyles.default.dim.open:return \"\";case _ansiStyles.default.bold.open:return \"\";default:return \"\"}}),test=val=>typeof val==\"string\"&&!!val.match((0, _ansiRegex.default)());exports.test=test;var serialize=(val,config3,indentation,depth,refs,printer)=>printer(toHumanReadableAnsi(val),config3,indentation,depth,refs);exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_DOMCollection2=__commonJS({\"node_modules/pretty-format/build/plugins/DOMCollection.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),SPACE=\" \",OBJECT_NAMES=[\"DOMStringMap\",\"NamedNodeMap\"],ARRAY_REGEXP=/^(HTML\\w*Collection|NodeList)$/,testName=name=>OBJECT_NAMES.indexOf(name)!==-1||ARRAY_REGEXP.test(name),test=val=>val&&val.constructor&&!!val.constructor.name&&testName(val.constructor.name);exports.test=test;var isNamedNodeMap=collection=>collection.constructor.name===\"NamedNodeMap\",serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return ++depth>config3.maxDepth?\"[\"+name+\"]\":(config3.min?\"\":name+SPACE)+(OBJECT_NAMES.indexOf(name)!==-1?\"{\"+(0, _collections.printObjectProperties)(isNamedNodeMap(collection)?Array.from(collection).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}):{...collection},config3,indentation,depth,refs,printer)+\"}\":\"[\"+(0, _collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)+\"]\")};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_escapeHTML2=__commonJS({\"node_modules/pretty-format/build/plugins/lib/escapeHTML.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=escapeHTML2;function escapeHTML2(str){return str.replace(//g,\">\")}}});var require_markup2=__commonJS({\"node_modules/pretty-format/build/plugins/lib/markup.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=_interopRequireDefault(require_escapeHTML2());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var printProps2=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map(key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return typeof value!=\"string\"&&(printed.indexOf(`\n`)!==-1&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=\"{\"+printed+\"}\"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+\"=\"+colors.value.open+printed+colors.value.close}).join(\"\")};exports.printProps=printProps2;var printChildren2=(children,config3,indentation,depth,refs,printer)=>children.map(child=>config3.spacingOuter+indentation+(typeof child==\"string\"?printText2(child,config3):printer(child,config3,indentation,depth,refs))).join(\"\");exports.printChildren=printChildren2;var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0, _escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;var printComment2=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+\"\"+commentColor.close};exports.printComment=printComment2;var printElement2=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?\">\"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+\"\"+tagColor.close};exports.printElement=printElement2;var printElementAsLeaf2=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+tagColor.close+\" \\u2026\"+tagColor.open+\" />\"+tagColor.close};exports.printElementAsLeaf=printElementAsLeaf2;}});var require_DOMElement2=__commonJS({\"node_modules/pretty-format/build/plugins/DOMElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),ELEMENT_NODE2=1,TEXT_NODE2=3,COMMENT_NODE2=8,FRAGMENT_NODE2=11,ELEMENT_REGEXP2=/^((HTML|SVG)\\w*)?Element$/,testHasAttribute=val=>{try{return typeof val.hasAttribute==\"function\"&&val.hasAttribute(\"is\")}catch{return !1}},testNode2=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2=typeof tagName==\"string\"&&tagName.includes(\"-\")||testHasAttribute(val);return nodeType===ELEMENT_NODE2&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE2&&constructorName===\"Text\"||nodeType===COMMENT_NODE2&&constructorName===\"Comment\"||nodeType===FRAGMENT_NODE2&&constructorName===\"DocumentFragment\"},test=val=>{var _val$constructor;return (val==null||(_val$constructor=val.constructor)===null||_val$constructor===void 0?void 0:_val$constructor.name)&&testNode2(val)};exports.test=test;function nodeIsText2(node){return node.nodeType===TEXT_NODE2}function nodeIsComment2(node){return node.nodeType===COMMENT_NODE2}function nodeIsFragment2(node){return node.nodeType===FRAGMENT_NODE2}var serialize=(node,config3,indentation,depth,refs,printer)=>{if(nodeIsText2(node))return (0, _markup.printText)(node.data,config3);if(nodeIsComment2(node))return (0, _markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?\"DocumentFragment\":node.tagName.toLowerCase();return ++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(type3,config3):(0, _markup.printElement)(type3,(0, _markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes).map(attr=>attr.name).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}),config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_Immutable2=__commonJS({\"node_modules/pretty-format/build/plugins/Immutable.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),IS_ITERABLE_SENTINEL=\"@@__IMMUTABLE_ITERABLE__@@\",IS_LIST_SENTINEL=\"@@__IMMUTABLE_LIST__@@\",IS_KEYED_SENTINEL2=\"@@__IMMUTABLE_KEYED__@@\",IS_MAP_SENTINEL=\"@@__IMMUTABLE_MAP__@@\",IS_ORDERED_SENTINEL2=\"@@__IMMUTABLE_ORDERED__@@\",IS_RECORD_SENTINEL=\"@@__IMMUTABLE_RECORD__@@\",IS_SEQ_SENTINEL=\"@@__IMMUTABLE_SEQ__@@\",IS_SET_SENTINEL2=\"@@__IMMUTABLE_SET__@@\",IS_STACK_SENTINEL=\"@@__IMMUTABLE_STACK__@@\",getImmutableName=name=>\"Immutable.\"+name,printAsLeaf=name=>\"[\"+name+\"]\",SPACE=\" \",LAZY=\"\\u2026\",printImmutableEntries=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+SPACE+\"{\"+(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)+\"}\";function getRecordEntries(val){let i=0;return {next(){if(i{let name=getImmutableName(val._name||\"Record\");return ++depth>config3.maxDepth?printAsLeaf(name):name+SPACE+\"{\"+(0, _collections.printIteratorEntries)(getRecordEntries(val),config3,indentation,depth,refs,printer)+\"}\"},printImmutableSeq=(val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(\"Seq\");return ++depth>config3.maxDepth?printAsLeaf(name):val[IS_KEYED_SENTINEL2]?name+SPACE+\"{\"+(val._iter||val._object?(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):LAZY)+\"}\":name+SPACE+\"[\"+(val._iter||val._array||val._collection||val._iterable?(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):LAZY)+\"]\"},printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+SPACE+\"[\"+(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+\"]\",serialize=(val,config3,indentation,depth,refs,printer)=>val[IS_MAP_SENTINEL]?printImmutableEntries(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedMap\":\"Map\"):val[IS_LIST_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"List\"):val[IS_SET_SENTINEL2]?printImmutableValues(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedSet\":\"Set\"):val[IS_STACK_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"Stack\"):val[IS_SEQ_SENTINEL]?printImmutableSeq(val,config3,indentation,depth,refs,printer):printImmutableRecord(val,config3,indentation,depth,refs,printer);exports.serialize=serialize;var test=val=>val&&(val[IS_ITERABLE_SENTINEL]===!0||val[IS_RECORD_SENTINEL]===!0);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_react_is_development2=__commonJS({\"node_modules/react-is/cjs/react-is.development.js\"(exports){(function(){var REACT_ELEMENT_TYPE=60103,REACT_PORTAL_TYPE=60106,REACT_FRAGMENT_TYPE=60107,REACT_STRICT_MODE_TYPE=60108,REACT_PROFILER_TYPE=60114,REACT_PROVIDER_TYPE=60109,REACT_CONTEXT_TYPE=60110,REACT_FORWARD_REF_TYPE=60112,REACT_SUSPENSE_TYPE=60113,REACT_SUSPENSE_LIST_TYPE=60120,REACT_MEMO_TYPE=60115,REACT_LAZY_TYPE=60116,REACT_BLOCK_TYPE=60121,REACT_SERVER_BLOCK_TYPE=60122,REACT_FUNDAMENTAL_TYPE=60117,REACT_DEBUG_TRACING_MODE_TYPE=60129,REACT_LEGACY_HIDDEN_TYPE=60131;if(typeof Symbol==\"function\"&&Symbol.for){var symbolFor=Symbol.for;REACT_ELEMENT_TYPE=symbolFor(\"react.element\"),REACT_PORTAL_TYPE=symbolFor(\"react.portal\"),REACT_FRAGMENT_TYPE=symbolFor(\"react.fragment\"),REACT_STRICT_MODE_TYPE=symbolFor(\"react.strict_mode\"),REACT_PROFILER_TYPE=symbolFor(\"react.profiler\"),REACT_PROVIDER_TYPE=symbolFor(\"react.provider\"),REACT_CONTEXT_TYPE=symbolFor(\"react.context\"),REACT_FORWARD_REF_TYPE=symbolFor(\"react.forward_ref\"),REACT_SUSPENSE_TYPE=symbolFor(\"react.suspense\"),REACT_SUSPENSE_LIST_TYPE=symbolFor(\"react.suspense_list\"),REACT_MEMO_TYPE=symbolFor(\"react.memo\"),REACT_LAZY_TYPE=symbolFor(\"react.lazy\"),REACT_BLOCK_TYPE=symbolFor(\"react.block\"),REACT_SERVER_BLOCK_TYPE=symbolFor(\"react.server.block\"),REACT_FUNDAMENTAL_TYPE=symbolFor(\"react.fundamental\"),symbolFor(\"react.scope\"),symbolFor(\"react.opaque.id\"),REACT_DEBUG_TRACING_MODE_TYPE=symbolFor(\"react.debug_trace_mode\"),symbolFor(\"react.offscreen\"),REACT_LEGACY_HIDDEN_TYPE=symbolFor(\"react.legacy_hidden\");}var enableScopeAPI=!1;function isValidElementType(type3){return !!(typeof type3==\"string\"||typeof type3==\"function\"||type3===REACT_FRAGMENT_TYPE||type3===REACT_PROFILER_TYPE||type3===REACT_DEBUG_TRACING_MODE_TYPE||type3===REACT_STRICT_MODE_TYPE||type3===REACT_SUSPENSE_TYPE||type3===REACT_SUSPENSE_LIST_TYPE||type3===REACT_LEGACY_HIDDEN_TYPE||enableScopeAPI||typeof type3==\"object\"&&type3!==null&&(type3.$$typeof===REACT_LAZY_TYPE||type3.$$typeof===REACT_MEMO_TYPE||type3.$$typeof===REACT_PROVIDER_TYPE||type3.$$typeof===REACT_CONTEXT_TYPE||type3.$$typeof===REACT_FORWARD_REF_TYPE||type3.$$typeof===REACT_FUNDAMENTAL_TYPE||type3.$$typeof===REACT_BLOCK_TYPE||type3[0]===REACT_SERVER_BLOCK_TYPE))}function typeOf(object){if(typeof object==\"object\"&&object!==null){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn(\"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn(\"The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE}function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE}function isElement5(object){return typeof object==\"object\"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE}function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE}function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE}function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE}function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE}function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE}function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE}function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE}function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE}exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.isAsyncMode=isAsyncMode,exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=isContextConsumer,exports.isContextProvider=isContextProvider,exports.isElement=isElement5,exports.isForwardRef=isForwardRef,exports.isFragment=isFragment,exports.isLazy=isLazy,exports.isMemo=isMemo,exports.isPortal=isPortal,exports.isProfiler=isProfiler,exports.isStrictMode=isStrictMode,exports.isSuspense=isSuspense,exports.isValidElementType=isValidElementType,exports.typeOf=typeOf;})();}});var require_react_is2=__commonJS({\"node_modules/react-is/index.js\"(exports,module2){module2.exports=require_react_is_development2();}});var require_ReactElement2=__commonJS({\"node_modules/pretty-format/build/plugins/ReactElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var ReactIs=_interopRequireWildcard(require_react_is2()),_markup=require_markup2();function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=\"function\")return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return (_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(obj===null||typeof obj!=\"object\"&&typeof obj!=\"function\")return {default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(key!==\"default\"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key];}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach(item=>{getChildren(item,children);}):arg!=null&&arg!==!1&&children.push(arg),children),getType3=element=>{let type3=element.type;if(typeof type3==\"string\")return type3;if(typeof type3==\"function\")return type3.displayName||type3.name||\"Unknown\";if(ReactIs.isFragment(element))return \"React.Fragment\";if(ReactIs.isSuspense(element))return \"React.Suspense\";if(typeof type3==\"object\"&&type3!==null){if(ReactIs.isContextProvider(element))return \"Context.Provider\";if(ReactIs.isContextConsumer(element))return \"Context.Consumer\";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||\"\";return functionName!==\"\"?\"ForwardRef(\"+functionName+\")\":\"ForwardRef\"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||\"\";return functionName!==\"\"?\"Memo(\"+functionName+\")\":\"Memo\"}}return \"UNDEFINED\"},getPropKeys=element=>{let{props}=element;return Object.keys(props).filter(key=>key!==\"children\"&&props[key]!==void 0).sort()},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(getType3(element),config3):(0, _markup.printElement)(getType3(element),(0, _markup.printProps)(getPropKeys(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>val!=null&&ReactIs.isElement(val);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_ReactTestComponent2=__commonJS({\"node_modules/pretty-format/build/plugins/ReactTestComponent.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),global2=function(){return typeof globalThis<\"u\"?globalThis:typeof global2<\"u\"?global2:typeof self<\"u\"?self:typeof window<\"u\"?window:Function(\"return this\")()}(),Symbol2=global2[\"jest-symbol-do-not-touch\"]||global2.Symbol,testSymbol=typeof Symbol2==\"function\"&&Symbol2.for?Symbol2.for(\"react.test.json\"):245830487,getPropKeys=object=>{let{props}=object;return props?Object.keys(props).filter(key=>props[key]!==void 0).sort():[]},serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(object.type,config3):(0, _markup.printElement)(object.type,object.props?(0, _markup.printProps)(getPropKeys(object),object.props,config3,indentation+config3.indent,depth,refs,printer):\"\",object.children?(0, _markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):\"\",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_build3=__commonJS({\"node_modules/pretty-format/build/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=exports.DEFAULT_OPTIONS=void 0;exports.format=format4;exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles3()),_collections=require_collections2(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher2()),_ConvertAnsi=_interopRequireDefault(require_ConvertAnsi()),_DOMCollection=_interopRequireDefault(require_DOMCollection2()),_DOMElement=_interopRequireDefault(require_DOMElement2()),_Immutable=_interopRequireDefault(require_Immutable2()),_ReactElement=_interopRequireDefault(require_ReactElement2()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent2());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>typeof val.constructor==\"function\"&&val.constructor.name||\"Object\",isWindow=val=>typeof window<\"u\"&&val===window,SYMBOL_REGEXP=/^Symbol\\((.*)\\)(.*)$/,NEWLINE_REGEXP=/\\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name;}};function isToStringedArrayType(toStringed){return toStringed===\"[object Array]\"||toStringed===\"[object ArrayBuffer]\"||toStringed===\"[object DataView]\"||toStringed===\"[object Float32Array]\"||toStringed===\"[object Float64Array]\"||toStringed===\"[object Int8Array]\"||toStringed===\"[object Int16Array]\"||toStringed===\"[object Int32Array]\"||toStringed===\"[object Uint8Array]\"||toStringed===\"[object Uint8ClampedArray]\"||toStringed===\"[object Uint16Array]\"||toStringed===\"[object Uint32Array]\"}function printNumber(val){return Object.is(val,-0)?\"-0\":String(val)}function printBigInt(val){return `${val}n`}function printFunction(val,printFunctionName){return printFunctionName?\"[Function \"+(val.name||\"anonymous\")+\"]\":\"[Function]\"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,\"Symbol($1)\")}function printError(val){return \"[\"+errorToString.call(val)+\"]\"}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(val===!0||val===!1)return \"\"+val;if(val===void 0)return \"undefined\";if(val===null)return \"null\";let typeOf=typeof val;if(typeOf===\"number\")return printNumber(val);if(typeOf===\"bigint\")return printBigInt(val);if(typeOf===\"string\")return escapeString?'\"'+val.replace(/\"|\\\\/g,\"\\\\$&\")+'\"':'\"'+val+'\"';if(typeOf===\"function\")return printFunction(val,printFunctionName);if(typeOf===\"symbol\")return printSymbol(val);let toStringed=toString.call(val);return toStringed===\"[object WeakMap]\"?\"WeakMap {}\":toStringed===\"[object WeakSet]\"?\"WeakSet {}\":toStringed===\"[object Function]\"||toStringed===\"[object GeneratorFunction]\"?printFunction(val,printFunctionName):toStringed===\"[object Symbol]\"?printSymbol(val):toStringed===\"[object Date]\"?isNaN(+val)?\"Date { NaN }\":toISOString.call(val):toStringed===\"[object Error]\"?printError(val):toStringed===\"[object RegExp]\"?escapeRegex?regExpToString.call(val).replace(/[\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(refs.indexOf(val)!==-1)return \"[Circular]\";refs=refs.slice(),refs.push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&typeof val.toJSON==\"function\"&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return toStringed===\"[object Arguments]\"?hitMaxDepth?\"[Arguments]\":(min?\"\":\"Arguments \")+\"[\"+(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)+\"]\":isToStringedArrayType(toStringed)?hitMaxDepth?\"[\"+val.constructor.name+\"]\":(min||!config3.printBasicPrototype&&val.constructor.name===\"Array\"?\"\":val.constructor.name+\" \")+\"[\"+(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)+\"]\":toStringed===\"[object Map]\"?hitMaxDepth?\"[Map]\":\"Map {\"+(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer,\" => \")+\"}\":toStringed===\"[object Set]\"?hitMaxDepth?\"[Set]\":\"Set {\"+(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+\"}\":hitMaxDepth||isWindow(val)?\"[\"+getConstructorName(val)+\"]\":(min||!config3.printBasicPrototype&&getConstructorName(val)===\"Object\"?\"\":getConstructorName(val)+\" \")+\"{\"+(0, _collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)+\"}\"}function isNewPlugin(plugin){return plugin.serialize!=null}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=isNewPlugin(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,valChild=>printer(valChild,config3,indentation,depth,refs),str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n`+indentationNext)},{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors);}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if(typeof printed!=\"string\")throw new Error(`pretty-format: Plugin must return type \"string\" but instead returned \"${typeof printed}\".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2{if(!DEFAULT_OPTIONS.hasOwnProperty(key))throw new Error(`pretty-format: Unknown option \"${key}\".`)}),options.min&&options.indent!==void 0&&options.indent!==0)throw new Error('pretty-format: Options \"min\" and \"indent\" cannot be used together.');if(options.theme!==void 0){if(options.theme===null)throw new Error('pretty-format: Option \"theme\" must not be null.');if(typeof options.theme!=\"object\")throw new Error(`pretty-format: Option \"theme\" must be of type \"object\" but instead received \"${typeof options.theme}\".`)}}var getColorsHighlight=options=>DEFAULT_THEME_KEYS.reduce((colors,key)=>{let value=options.theme&&options.theme[key]!==void 0?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(color&&typeof color.close==\"string\"&&typeof color.open==\"string\")colors[key]=color;else throw new Error(`pretty-format: Option \"theme\" has a key \"${key}\" whose value \"${value}\" is undefined in ansi-styles.`);return colors},Object.create(null)),getColorsEmpty=()=>DEFAULT_THEME_KEYS.reduce((colors,key)=>(colors[key]={close:\"\",open:\"\"},colors),Object.create(null)),getPrintFunctionName=options=>options&&options.printFunctionName!==void 0?options.printFunctionName:DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options&&options.escapeRegex!==void 0?options.escapeRegex:DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options&&options.escapeString!==void 0?options.escapeString:DEFAULT_OPTIONS.escapeString,getConfig3=options=>{var _options$printBasicPr;return {callToJSON:options&&options.callToJSON!==void 0?options.callToJSON:DEFAULT_OPTIONS.callToJSON,colors:options&&options.highlight?getColorsHighlight(options):getColorsEmpty(),compareKeys:options&&typeof options.compareKeys==\"function\"?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options&&options.min?\"\":createIndent(options&&options.indent!==void 0?options.indent:DEFAULT_OPTIONS.indent),maxDepth:options&&options.maxDepth!==void 0?options.maxDepth:DEFAULT_OPTIONS.maxDepth,min:options&&options.min!==void 0?options.min:DEFAULT_OPTIONS.min,plugins:options&&options.plugins!==void 0?options.plugins:DEFAULT_OPTIONS.plugins,printBasicPrototype:(_options$printBasicPr=options?.printBasicPrototype)!==null&&_options$printBasicPr!==void 0?_options$printBasicPr:!0,printFunctionName:getPrintFunctionName(options),spacingInner:options&&options.min?\" \":`\n`,spacingOuter:options&&options.min?\"\":`\n`}};function createIndent(indent){return new Array(indent+1).join(\" \")}function format4(val,options){if(options&&(validateOptions(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(plugin!==null)return printPlugin(plugin,val,getConfig3(options),\"\",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return basicResult!==null?basicResult:printComplexValue(val,getConfig3(options),\"\",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,ConvertAnsi:_ConvertAnsi.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default;}});var require_lz_string=__commonJS({\"../../node_modules/lz-string/libs/lz-string.js\"(exports,module2){var LZString=function(){var f=String.fromCharCode,keyStrBase64=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\",keyStrUriSafe=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$\",baseReverseDic={};function getBaseValue(alphabet,character){if(!baseReverseDic[alphabet]){baseReverseDic[alphabet]={};for(var i=0;i>>8,buf[i*2+1]=current_value%256;}return buf},decompressFromUint8Array:function(compressed){if(compressed==null)return LZString2.decompress(compressed);for(var buf=new Array(compressed.length/2),i=0,TotalLen=buf.length;i>1;}else {for(value=1,i=0;i>1;}context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w];}else for(value=context_dictionary[context_w],i=0;i>1;context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),context_dictionary[context_wc]=context_dictSize++,context_w=String(context_c);}if(context_w!==\"\"){if(Object.prototype.hasOwnProperty.call(context_dictionaryToCreate,context_w)){if(context_w.charCodeAt(0)<256){for(i=0;i>1;}else {for(value=1,i=0;i>1;}context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w];}else for(value=context_dictionary[context_w],i=0;i>1;context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++);}for(value=2,i=0;i>1;for(;;)if(context_data_val=context_data_val<<1,context_data_position==bitsPerChar-1){context_data.push(getCharFromInt(context_data_val));break}else context_data_position++;return context_data.join(\"\")},decompress:function(compressed){return compressed==null?\"\":compressed==\"\"?null:LZString2._decompress(compressed.length,32768,function(index){return compressed.charCodeAt(index)})},_decompress:function(length,resetValue,getNextValue){var dictionary=[],enlargeIn=4,dictSize=4,numBits=3,entry=\"\",result=[],i,w,bits,resb,maxpower,power,c,data={val:getNextValue(0),position:resetValue,index:1};for(i=0;i<3;i+=1)dictionary[i]=i;for(bits=0,maxpower=Math.pow(2,2),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 2:return \"\"}for(dictionary[3]=c,w=c,result.push(c);;){if(data.index>length)return \"\";for(bits=0,maxpower=Math.pow(2,numBits),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(c=bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 2:return result.join(\"\")}if(enlargeIn==0&&(enlargeIn=Math.pow(2,numBits),numBits++),dictionary[c])entry=dictionary[c];else if(c===dictSize)entry=w+w.charAt(0);else return null;result.push(entry),dictionary[dictSize++]=w+entry.charAt(0),enlargeIn--,w=entry,enlargeIn==0&&(enlargeIn=Math.pow(2,numBits),numBits++);}}};return LZString2}();typeof define==\"function\"&&define.amd?define(function(){return LZString}):typeof module2<\"u\"&&module2!=null?module2.exports=LZString:typeof angular<\"u\"&&angular!=null&&angular.module(\"LZString\",[]).factory(\"LZString\",function(){return LZString});}});var import_index=__toESM(require_chai2(),1),expect=import_index.default.expect;import_index.default.version;import_index.default.Assertion;import_index.default.AssertionError;var util=import_index.default.util;import_index.default.config;var use=import_index.default.use;import_index.default.should;var assert=import_index.default.assert;import_index.default.core;var chai_default=import_index.default;var scope=(()=>{let win;return typeof window<\"u\"?win=window:typeof globalThis<\"u\"?win=globalThis:typeof global<\"u\"?win=global:typeof self<\"u\"?win=self:win={},win})();function assertTypes(value,name,types){let receivedType=typeof value;if(!types.includes(receivedType))throw new TypeError(`${name} value must be ${types.join(\" or \")}, received \"${receivedType}\"`)}function isObject(item){return item!=null&&typeof item==\"object\"&&!Array.isArray(item)}function isFinalObj(obj){return obj===Object.prototype||obj===Function.prototype||obj===RegExp.prototype}function getType(value){return Object.prototype.toString.apply(value).slice(8,-1)}function collectOwnProperties(obj,collector){let collect=typeof collector==\"function\"?collector:key=>collector.add(key);Object.getOwnPropertyNames(obj).forEach(collect),Object.getOwnPropertySymbols(obj).forEach(collect);}function getOwnProperties(obj){let ownProps=new Set;return isFinalObj(obj)?[]:(collectOwnProperties(obj,ownProps),Array.from(ownProps))}var defaultCloneOptions={forceWritable:!1};function deepClone(val,options=defaultCloneOptions){return clone(val,new WeakMap,options)}function clone(val,seen,options=defaultCloneOptions){let k,out;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){for(out=Array(k=val.length),seen.set(val,out);k--;)out[k]=clone(val[k],seen,options);return out}if(Object.prototype.toString.call(val)===\"[object Object]\"){out=Object.create(Object.getPrototypeOf(val)),seen.set(val,out);let props=getOwnProperties(val);for(let k2 of props){let descriptor=Object.getOwnPropertyDescriptor(val,k2);if(!descriptor)continue;let cloned=clone(val[k2],seen,options);\"get\"in descriptor?Object.defineProperty(out,k2,{...descriptor,get(){return cloned}}):Object.defineProperty(out,k2,{...descriptor,writable:options.forceWritable?!0:descriptor.writable,value:cloned});}return out}return val}var import_pretty_format=__toESM(require_build(),1),loupe=__toESM(require_loupe(),1),{AsymmetricMatcher,DOMCollection,DOMElement,Immutable,ReactElement,ReactTestComponent}=import_pretty_format.plugins,PLUGINS=[ReactTestComponent,ReactElement,DOMElement,DOMCollection,Immutable,AsymmetricMatcher];function stringify(object,maxDepth=10,{maxLength,...options}={}){let MAX_LENGTH=maxLength??1e4,result;try{result=(0,import_pretty_format.format)(object,{maxDepth,escapeString:!1,plugins:PLUGINS,...options});}catch{result=(0, import_pretty_format.format)(object,{callToJSON:!1,maxDepth,escapeString:!1,plugins:PLUGINS,...options});}return result.length>=MAX_LENGTH&&maxDepth>1?stringify(object,Math.floor(maxDepth/2)):result}var formatRegExp=/%[sdjifoOcj%]/g;function format(...args){if(typeof args[0]!=\"string\"){let objects=[];for(let i2=0;i2{if(x===\"%%\")return \"%\";if(i>=len)return x;switch(x){case\"%s\":{let value=args[i++];return typeof value==\"bigint\"?`${value.toString()}n`:typeof value==\"number\"&&value===0&&1/value<0?\"-0\":typeof value==\"object\"&&value!==null?inspect2(value,{depth:0,colors:!1,compact:3}):String(value)}case\"%d\":{let value=args[i++];return typeof value==\"bigint\"?`${value.toString()}n`:Number(value).toString()}case\"%i\":{let value=args[i++];return typeof value==\"bigint\"?`${value.toString()}n`:Number.parseInt(String(value)).toString()}case\"%f\":return Number.parseFloat(String(args[i++])).toString();case\"%o\":return inspect2(args[i++],{showHidden:!0,showProxy:!0});case\"%O\":return inspect2(args[i++]);case\"%c\":return i++,\"\";case\"%j\":try{return JSON.stringify(args[i++])}catch(err){let m2=err.message;if(m2.includes(\"circular structure\")||m2.includes(\"cyclic structures\")||m2.includes(\"cyclic object\"))return \"[Circular]\";throw err}default:return x}});for(let x=args[i];i(acc[key]=string,acc),{isColorSupported:!1});function getColors(){return globalThis[SAFE_COLORS_SYMBOL]||defaultColors}__toESM(require_build(),1);__toESM(require_loupe(),1);var LineTerminatorSequence;LineTerminatorSequence=/\\r?\\n|[\\r\\u2028\\u2029]/y;RegExp(LineTerminatorSequence.source);var reservedWords={keyword:[\"break\",\"case\",\"catch\",\"continue\",\"debugger\",\"default\",\"do\",\"else\",\"finally\",\"for\",\"function\",\"if\",\"return\",\"switch\",\"throw\",\"try\",\"var\",\"const\",\"while\",\"with\",\"new\",\"this\",\"super\",\"class\",\"extends\",\"export\",\"import\",\"null\",\"true\",\"false\",\"in\",\"instanceof\",\"typeof\",\"void\",\"delete\"],strict:[\"implements\",\"interface\",\"let\",\"package\",\"private\",\"protected\",\"public\",\"static\",\"yield\"]};new Set(reservedWords.keyword);new Set(reservedWords.strict);var import_pretty_format3=__toESM(require_build(),1),diff$1=__toESM(require_build2(),1);function getType2(value){if(value===void 0)return \"undefined\";if(value===null)return \"null\";if(Array.isArray(value))return \"array\";if(typeof value==\"boolean\")return \"boolean\";if(typeof value==\"function\")return \"function\";if(typeof value==\"number\")return \"number\";if(typeof value==\"string\")return \"string\";if(typeof value==\"bigint\")return \"bigint\";if(typeof value==\"object\"){if(value!=null){if(value.constructor===RegExp)return \"regexp\";if(value.constructor===Map)return \"map\";if(value.constructor===Set)return \"set\";if(value.constructor===Date)return \"date\"}return \"object\"}else if(typeof value==\"symbol\")return \"symbol\";throw new Error(`value of unknown type: ${value}`)}var DIFF_DELETE=-1,DIFF_INSERT=1,DIFF_EQUAL=0,Diff=class{0;1;constructor(op,text){this[0]=op,this[1]=text;}};var NO_DIFF_MESSAGE=\"Compared values have no visual difference.\",SIMILAR_MESSAGE=\"Compared values serialize to the same structure.\\nPrinting internal object structure without calling `toJSON` instead.\";function formatTrailingSpaces(line,trailingSpaceFormatter){return line.replace(/\\s+$/,match=>trailingSpaceFormatter(match))}function printDiffLine(line,isFirstOrLast,color,indicator,trailingSpaceFormatter,emptyFirstOrLastLinePlaceholder){return line.length!==0?color(`${indicator} ${formatTrailingSpaces(line,trailingSpaceFormatter)}`):indicator!==\" \"?color(indicator):isFirstOrLast&&emptyFirstOrLastLinePlaceholder.length!==0?color(`${indicator} ${emptyFirstOrLastLinePlaceholder}`):\"\"}function printDeleteLine(line,isFirstOrLast,{aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printInsertLine(line,isFirstOrLast,{bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printCommonLine(line,isFirstOrLast,{commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function createPatchMark(aStart,aEnd,bStart,bEnd,{patchColor}){return patchColor(`@@ -${aStart+1},${aEnd-aStart} +${bStart+1},${bEnd-bStart} @@`)}function joinAlignedDiffsNoExpand(diffs,options){let iLength=diffs.length,nContextLines=options.contextLines,nContextLines2=nContextLines+nContextLines,jLength=iLength,hasExcessAtStartOrEnd=!1,nExcessesBetweenChanges=0,i=0;for(;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(iStart===0)i>nContextLines&&(jLength-=i-nContextLines,hasExcessAtStartOrEnd=!0);else if(i===iLength){let n=i-iStart;n>nContextLines&&(jLength-=n-nContextLines,hasExcessAtStartOrEnd=!0);}else {let n=i-iStart;n>nContextLines2&&(jLength-=n-nContextLines2,nExcessesBetweenChanges+=1);}for(;i!==iLength&&diffs[i][0]!==DIFF_EQUAL;)i+=1;}let hasPatch=nExcessesBetweenChanges!==0||hasExcessAtStartOrEnd;nExcessesBetweenChanges!==0?jLength+=nExcessesBetweenChanges+1:hasExcessAtStartOrEnd&&(jLength+=1);let jLast=jLength-1,lines=[],jPatchMark=0;hasPatch&&lines.push(\"\");let aStart=0,bStart=0,aEnd=0,bEnd=0,pushCommonLine=line=>{let j=lines.length;lines.push(printCommonLine(line,j===0||j===jLast,options)),aEnd+=1,bEnd+=1;},pushDeleteLine=line=>{let j=lines.length;lines.push(printDeleteLine(line,j===0||j===jLast,options)),aEnd+=1;},pushInsertLine=line=>{let j=lines.length;lines.push(printInsertLine(line,j===0||j===jLast,options)),bEnd+=1;};for(i=0;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(iStart===0){i>nContextLines&&(iStart=i-nContextLines,aStart=iStart,bStart=iStart,aEnd=aStart,bEnd=bStart);for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}else if(i===iLength){let iEnd=i-iStart>nContextLines?iStart+nContextLines:i;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}else {let nCommon=i-iStart;if(nCommon>nContextLines2){let iEnd=iStart+nContextLines;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options),jPatchMark=lines.length,lines.push(\"\");let nOmit=nCommon-nContextLines2;aStart=aEnd+nOmit,bStart=bEnd+nOmit,aEnd=aStart,bEnd=bStart;for(let iCommon=i-nContextLines;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}else for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}for(;i!==iLength&&diffs[i][0]===DIFF_DELETE;)pushDeleteLine(diffs[i][1]),i+=1;for(;i!==iLength&&diffs[i][0]===DIFF_INSERT;)pushInsertLine(diffs[i][1]),i+=1;}return hasPatch&&(lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options)),lines.join(`\n`)}function joinAlignedDiffsExpand(diffs,options){return diffs.map((diff2,i,diffs2)=>{let line=diff2[1],isFirstOrLast=i===0||i===diffs2.length-1;switch(diff2[0]){case DIFF_DELETE:return printDeleteLine(line,isFirstOrLast,options);case DIFF_INSERT:return printInsertLine(line,isFirstOrLast,options);default:return printCommonLine(line,isFirstOrLast,options)}}).join(`\n`)}var noColor=string2=>string2,DIFF_CONTEXT_DEFAULT=5;function getDefaultOptions(){let c=getColors();return {aAnnotation:\"Expected\",aColor:c.green,aIndicator:\"-\",bAnnotation:\"Received\",bColor:c.red,bIndicator:\"+\",changeColor:c.inverse,changeLineTrailingSpaceColor:noColor,commonColor:c.dim,commonIndicator:\" \",commonLineTrailingSpaceColor:noColor,compareKeys:void 0,contextLines:DIFF_CONTEXT_DEFAULT,emptyFirstOrLastLinePlaceholder:\"\",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:c.yellow}}function getCompareKeys(compareKeys){return compareKeys&&typeof compareKeys==\"function\"?compareKeys:void 0}function getContextLines(contextLines){return typeof contextLines==\"number\"&&Number.isSafeInteger(contextLines)&&contextLines>=0?contextLines:DIFF_CONTEXT_DEFAULT}function normalizeDiffOptions(options={}){return {...getDefaultOptions(),...options,compareKeys:getCompareKeys(options.compareKeys),contextLines:getContextLines(options.contextLines)}}function isEmptyString(lines){return lines.length===1&&lines[0].length===0}function countChanges(diffs){let a=0,b2=0;return diffs.forEach(diff2=>{switch(diff2[0]){case DIFF_DELETE:a+=1;break;case DIFF_INSERT:b2+=1;break}}),{a,b:b2}}function printAnnotation({aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator,includeChangeCounts,omitAnnotationLines},changeCounts){if(omitAnnotationLines)return \"\";let aRest=\"\",bRest=\"\";if(includeChangeCounts){let aCount=String(changeCounts.a),bCount=String(changeCounts.b),baAnnotationLengthDiff=bAnnotation.length-aAnnotation.length,aAnnotationPadding=\" \".repeat(Math.max(0,baAnnotationLengthDiff)),bAnnotationPadding=\" \".repeat(Math.max(0,-baAnnotationLengthDiff)),baCountLengthDiff=bCount.length-aCount.length,aCountPadding=\" \".repeat(Math.max(0,baCountLengthDiff)),bCountPadding=\" \".repeat(Math.max(0,-baCountLengthDiff));aRest=`${aAnnotationPadding} ${aIndicator} ${aCountPadding}${aCount}`,bRest=`${bAnnotationPadding} ${bIndicator} ${bCountPadding}${bCount}`;}let a=`${aIndicator} ${aAnnotation}${aRest}`,b2=`${bIndicator} ${bAnnotation}${bRest}`;return `${aColor(a)}\n${bColor(b2)}\n\n`}function printDiffLines(diffs,options){return printAnnotation(options,countChanges(diffs))+(options.expand?joinAlignedDiffsExpand(diffs,options):joinAlignedDiffsNoExpand(diffs,options))}function diffLinesUnified(aLines,bLines,options){return printDiffLines(diffLinesRaw(isEmptyString(aLines)?[]:aLines,isEmptyString(bLines)?[]:bLines),normalizeDiffOptions(options))}function diffLinesUnified2(aLinesDisplay,bLinesDisplay,aLinesCompare,bLinesCompare,options){if(isEmptyString(aLinesDisplay)&&isEmptyString(aLinesCompare)&&(aLinesDisplay=[],aLinesCompare=[]),isEmptyString(bLinesDisplay)&&isEmptyString(bLinesCompare)&&(bLinesDisplay=[],bLinesCompare=[]),aLinesDisplay.length!==aLinesCompare.length||bLinesDisplay.length!==bLinesCompare.length)return diffLinesUnified(aLinesDisplay,bLinesDisplay,options);let diffs=diffLinesRaw(aLinesCompare,bLinesCompare),aIndex=0,bIndex=0;return diffs.forEach(diff2=>{switch(diff2[0]){case DIFF_DELETE:diff2[1]=aLinesDisplay[aIndex],aIndex+=1;break;case DIFF_INSERT:diff2[1]=bLinesDisplay[bIndex],bIndex+=1;break;default:diff2[1]=bLinesDisplay[bIndex],aIndex+=1,bIndex+=1;}}),printDiffLines(diffs,normalizeDiffOptions(options))}function diffLinesRaw(aLines,bLines){let aLength=aLines.length,bLength=bLines.length,isCommon=(aIndex2,bIndex2)=>aLines[aIndex2]===bLines[bIndex2],diffs=[],aIndex=0,bIndex=0,foundSubsequence=(nCommon,aCommon,bCommon)=>{for(;aIndex!==aCommon;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bCommon;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));for(;nCommon!==0;nCommon-=1,aIndex+=1,bIndex+=1)diffs.push(new Diff(DIFF_EQUAL,bLines[bIndex]));};for((diff$1.default.default||diff$1.default)(aLength,bLength,isCommon,foundSubsequence);aIndex!==aLength;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bLength;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));return diffs}function getCommonMessage(message,options){let{commonColor}=normalizeDiffOptions(options);return commonColor(message)}var{AsymmetricMatcher:AsymmetricMatcher2,DOMCollection:DOMCollection2,DOMElement:DOMElement2,Immutable:Immutable2,ReactElement:ReactElement2,ReactTestComponent:ReactTestComponent2}=import_pretty_format3.plugins,PLUGINS2=[ReactTestComponent2,ReactElement2,DOMElement2,DOMCollection2,Immutable2,AsymmetricMatcher2],FORMAT_OPTIONS={plugins:PLUGINS2},FALLBACK_FORMAT_OPTIONS={callToJSON:!1,maxDepth:10,plugins:PLUGINS2};function diff(a,b2,options){if(Object.is(a,b2))return \"\";let aType=getType2(a),expectedType=aType,omitDifference=!1;if(aType===\"object\"&&typeof a.asymmetricMatch==\"function\"){if(a.$$typeof!==Symbol.for(\"jest.asymmetricMatcher\")||typeof a.getExpectedType!=\"function\")return null;expectedType=a.getExpectedType(),omitDifference=expectedType===\"string\";}if(expectedType!==getType2(b2)){let{aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator}=normalizeDiffOptions(options),formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),aDisplay=(0, import_pretty_format3.format)(a,formatOptions),bDisplay=(0, import_pretty_format3.format)(b2,formatOptions),aDiff=`${aColor(`${aIndicator} ${aAnnotation}:`)} \n${aDisplay}`,bDiff=`${bColor(`${bIndicator} ${bAnnotation}:`)} \n${bDisplay}`;return `${aDiff}\n\n${bDiff}`}if(omitDifference)return null;switch(aType){case\"string\":return diffLinesUnified(a.split(`\n`),b2.split(`\n`),options);case\"boolean\":case\"number\":return comparePrimitive(a,b2,options);case\"map\":return compareObjects(sortMap(a),sortMap(b2),options);case\"set\":return compareObjects(sortSet(a),sortSet(b2),options);default:return compareObjects(a,b2,options)}}function comparePrimitive(a,b2,options){let aFormat=(0, import_pretty_format3.format)(a,FORMAT_OPTIONS),bFormat=(0, import_pretty_format3.format)(b2,FORMAT_OPTIONS);return aFormat===bFormat?\"\":diffLinesUnified(aFormat.split(`\n`),bFormat.split(`\n`),options)}function sortMap(map){return new Map(Array.from(map.entries()).sort())}function sortSet(set){return new Set(Array.from(set.values()).sort())}function compareObjects(a,b2,options){let difference,hasThrown=!1;try{let formatOptions=getFormatOptions(FORMAT_OPTIONS,options);difference=getObjectsDifference(a,b2,formatOptions,options);}catch{hasThrown=!0;}let noDiffMessage=getCommonMessage(NO_DIFF_MESSAGE,options);if(difference===void 0||difference===noDiffMessage){let formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options);difference=getObjectsDifference(a,b2,formatOptions,options),difference!==noDiffMessage&&!hasThrown&&(difference=`${getCommonMessage(SIMILAR_MESSAGE,options)}\n\n${difference}`);}return difference}function getFormatOptions(formatOptions,options){let{compareKeys}=normalizeDiffOptions(options);return {...formatOptions,compareKeys}}function getObjectsDifference(a,b2,formatOptions,options){let formatOptionsZeroIndent={...formatOptions,indent:0},aCompare=(0, import_pretty_format3.format)(a,formatOptionsZeroIndent),bCompare=(0, import_pretty_format3.format)(b2,formatOptionsZeroIndent);if(aCompare===bCompare)return getCommonMessage(NO_DIFF_MESSAGE,options);{let aDisplay=(0, import_pretty_format3.format)(a,formatOptions),bDisplay=(0, import_pretty_format3.format)(b2,formatOptions);return diffLinesUnified2(aDisplay.split(`\n`),bDisplay.split(`\n`),aCompare.split(`\n`),bCompare.split(`\n`),options)}}function m(e,t){if(!e)throw new Error(t)}function y(e,t){return typeof t===e}function b(e){return e instanceof Promise}function d(e,t,n){Object.defineProperty(e,t,n);}function p(e,t,n){Object.defineProperty(e,t,{value:n});}var u=Symbol.for(\"tinyspy:spy\"),I=new Set,M=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.next=[];},C=e=>(d(e,u,{value:{reset:()=>M(e[u])}}),e[u]),v=e=>e[u]||C(e);function T(e){m(y(\"function\",e)||y(\"undefined\",e),\"cannot spy on a non-function value\");let t=function(...a){let r=v(t);r.called=!0,r.callCount++,r.calls.push(a);let i=r.next.shift();if(i){r.results.push(i);let[s,l]=i;if(s===\"ok\")return l;throw l}let o,c=\"ok\";if(r.impl)try{new.target?o=Reflect.construct(r.impl,a,new.target):o=r.impl.apply(this,a),c=\"ok\";}catch(s){throw o=s,c=\"error\",r.results.push([c,s]),s}let x=[c,o];if(b(o)){let s=o.then(l=>x[1]=l).catch(l=>{throw x[0]=\"error\",x[1]=l,l});Object.assign(s,o),o=s;}return r.results.push(x),o};p(t,\"_isMockFunction\",!0),p(t,\"length\",e?e.length:0),p(t,\"name\",e&&e.name||\"spy\");let n=v(t);return n.reset(),n.impl=e,t}var P=(e,t)=>Object.getOwnPropertyDescriptor(e,t);function E(e,t,n){m(!y(\"undefined\",e),\"spyOn could not find an object to spy upon\"),m(y(\"object\",e)||y(\"function\",e),\"cannot spyOn on a primitive value\");let a=()=>{if(!y(\"object\",t))return [t,\"value\"];if(\"getter\"in t&&\"setter\"in t)throw new Error(\"cannot spy on both getter and setter\");if(\"getter\"in t)return [t.getter,\"get\"];if(\"setter\"in t)return [t.setter,\"set\"];throw new Error(\"specify getter or setter to spy on\")},[r,i]=a(),o=P(e,r),c=Object.getPrototypeOf(e),x=c&&P(c,r),s=o||x;m(s||r in e,`${String(r)} does not exist`);let l=!1;i===\"value\"&&s&&!s.value&&s.get&&(i=\"get\",l=!0,n=s.get());let f;s?f=s[i]:i!==\"value\"?f=()=>e[r]:f=e[r],n||(n=f);let S=T(n),O=w=>{let{value:G,...k}=s||{configurable:!0,writable:!0};i!==\"value\"&&delete k.writable,k[i]=w,d(e,r,k);},K=()=>s?d(e,r,s):O(f),A=S[u];return p(A,\"restore\",K),p(A,\"getOriginal\",()=>l?f():f),p(A,\"willCall\",w=>(A.impl=w,S)),O(l?()=>S:S),I.add(S),S}var mocks=new Set;function isMockFunction(fn22){return typeof fn22==\"function\"&&\"_isMockFunction\"in fn22&&fn22._isMockFunction}function spyOn(obj,method,accessType){let objMethod=accessType?{[{get:\"getter\",set:\"setter\"}[accessType]]:method}:method,stub=E(obj,objMethod);return enhanceSpy(stub)}var callOrder=0;function enhanceSpy(spy){let stub=spy,implementation,instances=[],invocations=[],state=v(spy),mockContext={get calls(){return state.calls},get instances(){return instances},get invocationCallOrder(){return invocations},get results(){return state.results.map(([callType,value])=>({type:callType===\"error\"?\"throw\":\"return\",value}))},get lastCall(){return state.calls[state.calls.length-1]}},onceImplementations=[],implementationChangedTemporarily=!1;function mockCall(...args){return instances.push(this),invocations.push(++callOrder),(implementationChangedTemporarily?implementation:onceImplementations.shift()||implementation||state.getOriginal()||(()=>{})).apply(this,args)}let name=stub.name;stub.getMockName=()=>name||\"vi.fn()\",stub.mockName=n=>(name=n,stub),stub.mockClear=()=>(state.reset(),instances=[],invocations=[],stub),stub.mockReset=()=>(stub.mockClear(),implementation=()=>{},onceImplementations=[],stub),stub.mockRestore=()=>(stub.mockReset(),state.restore(),implementation=void 0,stub),stub.getMockImplementation=()=>implementation,stub.mockImplementation=fn22=>(implementation=fn22,state.willCall(mockCall),stub),stub.mockImplementationOnce=fn22=>(onceImplementations.push(fn22),stub);function withImplementation(fn22,cb){let originalImplementation=implementation;implementation=fn22,state.willCall(mockCall),implementationChangedTemporarily=!0;let reset=()=>{implementation=originalImplementation,implementationChangedTemporarily=!1;},result=cb();return result instanceof Promise?result.then(()=>(reset(),stub)):(reset(),stub)}return stub.withImplementation=withImplementation,stub.mockReturnThis=()=>stub.mockImplementation(function(){return this}),stub.mockReturnValue=val=>stub.mockImplementation(()=>val),stub.mockReturnValueOnce=val=>stub.mockImplementationOnce(()=>val),stub.mockResolvedValue=val=>stub.mockImplementation(()=>Promise.resolve(val)),stub.mockResolvedValueOnce=val=>stub.mockImplementationOnce(()=>Promise.resolve(val)),stub.mockRejectedValue=val=>stub.mockImplementation(()=>Promise.reject(val)),stub.mockRejectedValueOnce=val=>stub.mockImplementationOnce(()=>Promise.reject(val)),Object.defineProperty(stub,\"mock\",{get:()=>mockContext}),state.willCall(mockCall),mocks.add(stub),stub}function fn(implementation){let enhancedSpy=enhanceSpy(E({spy:implementation||(()=>{})},\"spy\"));return implementation&&enhancedSpy.mockImplementation(implementation),enhancedSpy}__toESM(require_build(),1);__toESM(require_build2(),1);__toESM(require_loupe(),1);var IS_RECORD_SYMBOL=\"@@__IMMUTABLE_RECORD__@@\",IS_COLLECTION_SYMBOL=\"@@__IMMUTABLE_ITERABLE__@@\";function isImmutable(v2){return v2&&(v2[IS_COLLECTION_SYMBOL]||v2[IS_RECORD_SYMBOL])}var OBJECT_PROTO=Object.getPrototypeOf({});function getUnserializableMessage(err){return err instanceof Error?`: ${err.message}`:typeof err==\"string\"?`: ${err}`:\"\"}function serializeError(val,seen=new WeakMap){if(!val||typeof val==\"string\")return val;if(typeof val==\"function\")return `Function<${val.name||\"anonymous\"}>`;if(typeof val==\"symbol\")return val.toString();if(typeof val!=\"object\")return val;if(isImmutable(val))return serializeError(val.toJSON(),seen);if(val instanceof Promise||val.constructor&&val.constructor.prototype===\"AsyncFunction\")return \"Promise\";if(typeof Element<\"u\"&&val instanceof Element)return val.tagName;if(typeof val.asymmetricMatch==\"function\")return `${val.toString()} ${format(val.sample)}`;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){let clone2=new Array(val.length);return seen.set(val,clone2),val.forEach((e,i)=>{try{clone2[i]=serializeError(e,seen);}catch(err){clone2[i]=getUnserializableMessage(err);}}),clone2}else {let clone2=Object.create(null);seen.set(val,clone2);let obj=val;for(;obj&&obj!==OBJECT_PROTO;)Object.getOwnPropertyNames(obj).forEach(key=>{if(!(key in clone2))try{clone2[key]=serializeError(val[key],seen);}catch(err){delete clone2[key],clone2[key]=getUnserializableMessage(err);}}),obj=Object.getPrototypeOf(obj);return clone2}}function normalizeErrorMessage(message){return message.replace(/__(vite_ssr_import|vi_import)_\\d+__\\./g,\"\")}function processError(err,diffOptions){if(!err||typeof err!=\"object\")return {message:err};if(err.stack&&(err.stackStr=String(err.stack)),err.name&&(err.nameStr=String(err.name)),err.showDiff||err.showDiff===void 0&&err.expected!==void 0&&err.actual!==void 0){let clonedActual=deepClone(err.actual,{forceWritable:!0}),clonedExpected=deepClone(err.expected,{forceWritable:!0}),{replacedActual,replacedExpected}=replaceAsymmetricMatcher(clonedActual,clonedExpected);err.diff=diff(replacedExpected,replacedActual,{...diffOptions,...err.diffOptions});}typeof err.expected!=\"string\"&&(err.expected=stringify(err.expected,10)),typeof err.actual!=\"string\"&&(err.actual=stringify(err.actual,10));try{typeof err.message==\"string\"&&(err.message=normalizeErrorMessage(err.message)),typeof err.cause==\"object\"&&typeof err.cause.message==\"string\"&&(err.cause.message=normalizeErrorMessage(err.cause.message));}catch{}try{return serializeError(err)}catch(e){return serializeError(new Error(`Failed to fully serialize error: ${e?.message}\nInner error message: ${err?.message}`))}}function isAsymmetricMatcher(data){return getType(data)===\"Object\"&&typeof data.asymmetricMatch==\"function\"}function isReplaceable(obj1,obj2){let obj1Type=getType(obj1),obj2Type=getType(obj2);return obj1Type===obj2Type&&(obj1Type===\"Object\"||obj1Type===\"Array\")}function replaceAsymmetricMatcher(actual,expected,actualReplaced=new WeakSet,expectedReplaced=new WeakSet){return isReplaceable(actual,expected)?actualReplaced.has(actual)||expectedReplaced.has(expected)?{replacedActual:actual,replacedExpected:expected}:(actualReplaced.add(actual),expectedReplaced.add(expected),getOwnProperties(expected).forEach(key=>{let expectedValue=expected[key],actualValue=actual[key];if(isAsymmetricMatcher(expectedValue))expectedValue.asymmetricMatch(actualValue)&&(actual[key]=expectedValue);else if(isAsymmetricMatcher(actualValue))actualValue.asymmetricMatch(expectedValue)&&(expected[key]=actualValue);else if(isReplaceable(actualValue,expectedValue)){let replaced=replaceAsymmetricMatcher(actualValue,expectedValue,actualReplaced,expectedReplaced);actual[key]=replaced.replacedActual,expected[key]=replaced.replacedExpected;}}),{replacedActual:actual,replacedExpected:expected}):{replacedActual:actual,replacedExpected:expected}}var MATCHERS_OBJECT=Symbol.for(\"matchers-object\"),JEST_MATCHERS_OBJECT=Symbol.for(\"$$jest-matchers-object-storybook\"),GLOBAL_EXPECT=Symbol.for(\"expect-global\"),ASYMMETRIC_MATCHERS_OBJECT=Symbol.for(\"asymmetric-matchers-object\");if(!Object.prototype.hasOwnProperty.call(globalThis,MATCHERS_OBJECT)){let globalState=new WeakMap;Object.defineProperty(globalThis,MATCHERS_OBJECT,{get:()=>globalState});}if(!Object.prototype.hasOwnProperty.call(globalThis,JEST_MATCHERS_OBJECT)){let matchers=Object.create(null),customEqualityTesters=[];Object.defineProperty(globalThis,JEST_MATCHERS_OBJECT,{configurable:!0,get:()=>({state:globalThis[MATCHERS_OBJECT].get(globalThis[GLOBAL_EXPECT]),matchers,customEqualityTesters})});}if(!Object.prototype.hasOwnProperty.call(globalThis,ASYMMETRIC_MATCHERS_OBJECT)){let assymetricMatchers=Object.create(null);Object.defineProperty(globalThis,ASYMMETRIC_MATCHERS_OBJECT,{get:()=>assymetricMatchers});}function getState(expect4){return globalThis[MATCHERS_OBJECT].get(expect4)}function setState(state,expect4){let map=globalThis[MATCHERS_OBJECT],current=map.get(expect4)||{};Object.assign(current,state),map.set(expect4,current);}function getMatcherUtils(){let c=()=>getColors(),EXPECTED_COLOR=c().green,RECEIVED_COLOR=c().red,INVERTED_COLOR=c().inverse,BOLD_WEIGHT=c().bold,DIM_COLOR=c().dim;function matcherHint(matcherName,received=\"received\",expected=\"expected\",options={}){let{comment=\"\",isDirectExpectCall=!1,isNot=!1,promise=\"\",secondArgument=\"\",expectedColor=EXPECTED_COLOR,receivedColor=RECEIVED_COLOR,secondArgumentColor=EXPECTED_COLOR}=options,hint=\"\",dimString=\"expect\";return !isDirectExpectCall&&received!==\"\"&&(hint+=DIM_COLOR(`${dimString}(`)+receivedColor(received),dimString=\")\"),promise!==\"\"&&(hint+=DIM_COLOR(`${dimString}.`)+promise,dimString=\"\"),isNot&&(hint+=`${DIM_COLOR(`${dimString}.`)}not`,dimString=\"\"),matcherName.includes(\".\")?dimString+=matcherName:(hint+=DIM_COLOR(`${dimString}.`)+matcherName,dimString=\"\"),expected===\"\"?dimString+=\"()\":(hint+=DIM_COLOR(`${dimString}(`)+expectedColor(expected),secondArgument&&(hint+=DIM_COLOR(\", \")+secondArgumentColor(secondArgument)),dimString=\")\"),comment!==\"\"&&(dimString+=` // ${comment}`),dimString!==\"\"&&(hint+=DIM_COLOR(dimString)),hint}let SPACE_SYMBOL=\"\\xB7\",replaceTrailingSpaces=text=>text.replace(/\\s+$/gm,spaces=>SPACE_SYMBOL.repeat(spaces.length));return {EXPECTED_COLOR,RECEIVED_COLOR,INVERTED_COLOR,BOLD_WEIGHT,DIM_COLOR,matcherHint,printReceived:object=>RECEIVED_COLOR(replaceTrailingSpaces(stringify(object))),printExpected:value=>EXPECTED_COLOR(replaceTrailingSpaces(stringify(value)))}}function getCustomEqualityTesters(){return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters}function equals(a,b2,customTesters,strictCheck){return customTesters=customTesters||[],eq(a,b2,[],[],customTesters,strictCheck?hasKey:hasDefinedKey)}function isAsymmetric(obj){return !!obj&&typeof obj==\"object\"&&\"asymmetricMatch\"in obj&&isA(\"Function\",obj.asymmetricMatch)}function asymmetricMatch(a,b2){let asymmetricA=isAsymmetric(a),asymmetricB=isAsymmetric(b2);if(!(asymmetricA&&asymmetricB)){if(asymmetricA)return a.asymmetricMatch(b2);if(asymmetricB)return b2.asymmetricMatch(a)}}function eq(a,b2,aStack,bStack,customTesters,hasKey2){let result=!0,asymmetricResult=asymmetricMatch(a,b2);if(asymmetricResult!==void 0)return asymmetricResult;let testerContext={equals};for(let i=0;iObject.getOwnPropertyDescriptor(obj,symbol).enumerable))}function hasDefinedKey(obj,key){return hasKey(obj,key)&&obj[key]!==void 0}function hasKey(obj,key){return Object.prototype.hasOwnProperty.call(obj,key)}function isA(typeName,value){return Object.prototype.toString.apply(value)===`[object ${typeName}]`}function isDomNode(obj){return obj!==null&&typeof obj==\"object\"&&\"nodeType\"in obj&&typeof obj.nodeType==\"number\"&&\"nodeName\"in obj&&typeof obj.nodeName==\"string\"&&\"isEqualNode\"in obj&&typeof obj.isEqualNode==\"function\"}var IS_KEYED_SENTINEL=\"@@__IMMUTABLE_KEYED__@@\",IS_SET_SENTINEL=\"@@__IMMUTABLE_SET__@@\",IS_ORDERED_SENTINEL=\"@@__IMMUTABLE_ORDERED__@@\";function isImmutableUnorderedKeyed(maybeKeyed){return !!(maybeKeyed&&maybeKeyed[IS_KEYED_SENTINEL]&&!maybeKeyed[IS_ORDERED_SENTINEL])}function isImmutableUnorderedSet(maybeSet){return !!(maybeSet&&maybeSet[IS_SET_SENTINEL]&&!maybeSet[IS_ORDERED_SENTINEL])}var IteratorSymbol=Symbol.iterator;function hasIterator(object){return !!(object!=null&&object[IteratorSymbol])}function iterableEquality(a,b2,customTesters=[],aStack=[],bStack=[]){if(typeof a!=\"object\"||typeof b2!=\"object\"||Array.isArray(a)||Array.isArray(b2)||!hasIterator(a)||!hasIterator(b2))return;if(a.constructor!==b2.constructor)return !1;let length=aStack.length;for(;length--;)if(aStack[length]===a)return bStack[length]===b2;aStack.push(a),bStack.push(b2);let filteredCustomTesters=[...customTesters.filter(t=>t!==iterableEquality),iterableEqualityWithStack];function iterableEqualityWithStack(a2,b22){return iterableEquality(a2,b22,[...filteredCustomTesters],[...aStack],[...bStack])}if(a.size!==void 0){if(a.size!==b2.size)return !1;if(isA(\"Set\",a)||isImmutableUnorderedSet(a)){let allFound=!0;for(let aValue of a)if(!b2.has(aValue)){let has=!1;for(let bValue of b2)equals(aValue,bValue,filteredCustomTesters)===!0&&(has=!0);if(has===!1){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}else if(isA(\"Map\",a)||isImmutableUnorderedKeyed(a)){let allFound=!0;for(let aEntry of a)if(!b2.has(aEntry[0])||!equals(aEntry[1],b2.get(aEntry[0]),filteredCustomTesters)){let has=!1;for(let bEntry of b2){let matchedKey=equals(aEntry[0],bEntry[0],filteredCustomTesters),matchedValue=!1;matchedKey===!0&&(matchedValue=equals(aEntry[1],bEntry[1],filteredCustomTesters)),matchedValue===!0&&(has=!0);}if(has===!1){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}}let bIterator=b2[IteratorSymbol]();for(let aValue of a){let nextB=bIterator.next();if(nextB.done||!equals(aValue,nextB.value,filteredCustomTesters))return !1}return bIterator.next().done?(aStack.pop(),bStack.pop(),!0):!1}function hasPropertyInObject(object,key){return !object||typeof object!=\"object\"||object===Object.prototype?!1:Object.prototype.hasOwnProperty.call(object,key)||hasPropertyInObject(Object.getPrototypeOf(object),key)}function isObjectWithKeys(a){return isObject(a)&&!(a instanceof Error)&&!Array.isArray(a)&&!(a instanceof Date)}function subsetEquality(object,subset,customTesters=[]){let filteredCustomTesters=customTesters.filter(t=>t!==subsetEquality),subsetEqualityWithContext=(seenReferences=new WeakMap)=>(object2,subset2)=>{if(isObjectWithKeys(subset2))return Object.keys(subset2).every(key=>{if(isObjectWithKeys(subset2[key])){if(seenReferences.has(subset2[key]))return equals(object2[key],subset2[key],filteredCustomTesters);seenReferences.set(subset2[key],!0);}let result=object2!=null&&hasPropertyInObject(object2,key)&&equals(object2[key],subset2[key],[...filteredCustomTesters,subsetEqualityWithContext(seenReferences)]);return seenReferences.delete(subset2[key]),result})};return subsetEqualityWithContext()(object,subset)}function typeEquality(a,b2){if(!(a==null||b2==null||a.constructor===b2.constructor))return !1}function arrayBufferEquality(a,b2){let dataViewA=a,dataViewB=b2;if(!(a instanceof DataView&&b2 instanceof DataView)){if(!(a instanceof ArrayBuffer)||!(b2 instanceof ArrayBuffer))return;try{dataViewA=new DataView(a),dataViewB=new DataView(b2);}catch{return}}if(dataViewA.byteLength!==dataViewB.byteLength)return !1;for(let i=0;it!==sparseArrayEquality);return equals(a,b2,filteredCustomTesters,!0)&&equals(aKeys,bKeys)}function generateToBeMessage(deepEqualityName,expected=\"#{this}\",actual=\"#{exp}\"){let toBeMessage=`expected ${expected} to be ${actual} // Object.is equality`;return [\"toStrictEqual\",\"toEqual\"].includes(deepEqualityName)?`${toBeMessage}\n\nIf it should pass with deep equality, replace \"toBe\" with \"${deepEqualityName}\"\n\nExpected: ${expected}\nReceived: serializes to the same string\n`:toBeMessage}function pluralize(word,count){return `${count} ${word}${count===1?\"\":\"s\"}`}var AsymmetricMatcher3=class{constructor(sample,inverse=!1){this.sample=sample,this.inverse=inverse;}$$typeof=Symbol.for(\"jest.asymmetricMatcher\");getMatcherContext(expect4){return {...getState(expect4||globalThis[GLOBAL_EXPECT]),equals,isNot:this.inverse,customTesters:getCustomEqualityTesters(),utils:{...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality}}}[Symbol.for(\"chai/inspect\")](options){let result=stringify(this,options.depth,{min:!0});return result.length<=options.truncate?result:`${this.toString()}{\\u2026}`}},StringContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA(\"String\",sample))throw new Error(\"Expected is not a string\");super(sample,inverse);}asymmetricMatch(other){let result=isA(\"String\",other)&&other.includes(this.sample);return this.inverse?!result:result}toString(){return `String${this.inverse?\"Not\":\"\"}Containing`}getExpectedType(){return \"string\"}},Anything=class extends AsymmetricMatcher3{asymmetricMatch(other){return other!=null}toString(){return \"Anything\"}toAsymmetricMatcher(){return \"Anything\"}},ObjectContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse);}getPrototype(obj){return Object.getPrototypeOf?Object.getPrototypeOf(obj):obj.constructor.prototype===obj?null:obj.constructor.prototype}hasProperty(obj,property){return obj?Object.prototype.hasOwnProperty.call(obj,property)?!0:this.hasProperty(this.getPrototype(obj),property):!1}asymmetricMatch(other){if(typeof this.sample!=\"object\")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let result=!0,matcherContext=this.getMatcherContext();for(let property in this.sample)if(!this.hasProperty(other,property)||!equals(this.sample[property],other[property],matcherContext.customTesters)){result=!1;break}return this.inverse?!result:result}toString(){return `Object${this.inverse?\"Not\":\"\"}Containing`}getExpectedType(){return \"object\"}},ArrayContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse);}asymmetricMatch(other){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let matcherContext=this.getMatcherContext(),result=this.sample.length===0||Array.isArray(other)&&this.sample.every(item=>other.some(another=>equals(item,another,matcherContext.customTesters)));return this.inverse?!result:result}toString(){return `Array${this.inverse?\"Not\":\"\"}Containing`}getExpectedType(){return \"array\"}},Any=class extends AsymmetricMatcher3{constructor(sample){if(typeof sample>\"u\")throw new TypeError(\"any() expects to be passed a constructor function. Please pass one or use anything() to match any object.\");super(sample);}fnNameFor(func){if(func.name)return func.name;let matches3=Function.prototype.toString.call(func).match(/^(?:async)?\\s*function\\s*\\*?\\s*([\\w$]+)\\s*\\(/);return matches3?matches3[1]:\"\"}asymmetricMatch(other){return this.sample===String?typeof other==\"string\"||other instanceof String:this.sample===Number?typeof other==\"number\"||other instanceof Number:this.sample===Function?typeof other==\"function\"||other instanceof Function:this.sample===Boolean?typeof other==\"boolean\"||other instanceof Boolean:this.sample===BigInt?typeof other==\"bigint\"||other instanceof BigInt:this.sample===Symbol?typeof other==\"symbol\"||other instanceof Symbol:this.sample===Object?typeof other==\"object\":other instanceof this.sample}toString(){return \"Any\"}getExpectedType(){return this.sample===String?\"string\":this.sample===Number?\"number\":this.sample===Function?\"function\":this.sample===Object?\"object\":this.sample===Boolean?\"boolean\":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return `Any<${this.fnNameFor(this.sample)}>`}},StringMatching=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA(\"String\",sample)&&!isA(\"RegExp\",sample))throw new Error(\"Expected is not a String or a RegExp\");super(new RegExp(sample),inverse);}asymmetricMatch(other){let result=isA(\"String\",other)&&this.sample.test(other);return this.inverse?!result:result}toString(){return `String${this.inverse?\"Not\":\"\"}Matching`}getExpectedType(){return \"string\"}},CloseTo=class extends AsymmetricMatcher3{precision;constructor(sample,precision=2,inverse=!1){if(!isA(\"Number\",sample))throw new Error(\"Expected is not a Number\");if(!isA(\"Number\",precision))throw new Error(\"Precision is not a Number\");super(sample),this.inverse=inverse,this.precision=precision;}asymmetricMatch(other){if(!isA(\"Number\",other))return !1;let result=!1;return other===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||other===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?result=!0:result=Math.abs(this.sample-other)<10**-this.precision/2,this.inverse?!result:result}toString(){return `Number${this.inverse?\"Not\":\"\"}CloseTo`}getExpectedType(){return \"number\"}toAsymmetricMatcher(){return [this.toString(),this.sample,`(${pluralize(\"digit\",this.precision)})`].join(\" \")}},JestAsymmetricMatchers=(chai2,utils)=>{utils.addMethod(chai2.expect,\"anything\",()=>new Anything),utils.addMethod(chai2.expect,\"any\",expected=>new Any(expected)),utils.addMethod(chai2.expect,\"stringContaining\",expected=>new StringContaining(expected)),utils.addMethod(chai2.expect,\"objectContaining\",expected=>new ObjectContaining(expected)),utils.addMethod(chai2.expect,\"arrayContaining\",expected=>new ArrayContaining(expected)),utils.addMethod(chai2.expect,\"stringMatching\",expected=>new StringMatching(expected)),utils.addMethod(chai2.expect,\"closeTo\",(expected,precision)=>new CloseTo(expected,precision)),chai2.expect.not={stringContaining:expected=>new StringContaining(expected,!0),objectContaining:expected=>new ObjectContaining(expected,!0),arrayContaining:expected=>new ArrayContaining(expected,!0),stringMatching:expected=>new StringMatching(expected,!0),closeTo:(expected,precision)=>new CloseTo(expected,precision,!0)};};function recordAsyncExpect(test,promise){return test&&promise instanceof Promise&&(promise=promise.finally(()=>{let index=test.promises.indexOf(promise);index!==-1&&test.promises.splice(index,1);}),test.promises||(test.promises=[]),test.promises.push(promise)),promise}function wrapSoft(utils,fn3){return function(...args){var _a;let test=utils.flag(this,\"vitest-test\");if(!(test?.context._local?test.context.expect.getState():getState(globalThis[GLOBAL_EXPECT])).soft)return fn3.apply(this,args);if(!test)throw new Error(\"expect.soft() can only be used inside a test\");try{return fn3.apply(this,args)}catch(err){test.result||(test.result={state:\"fail\"}),test.result.state=\"fail\",(_a=test.result).errors||(_a.errors=[]),test.result.errors.push(processError(err));}}}var JestChaiExpect=(chai2,utils)=>{let{AssertionError:AssertionError2}=chai2,c=()=>getColors(),customTesters=getCustomEqualityTesters();function def(name,fn3){let addMethod=n=>{let softWrapper=wrapSoft(utils,fn3);utils.addMethod(chai2.Assertion.prototype,n,softWrapper),utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,n,softWrapper);};Array.isArray(name)?name.forEach(n=>addMethod(n)):addMethod(name);}[\"throw\",\"throws\",\"Throw\"].forEach(m2=>{utils.overwriteMethod(chai2.Assertion.prototype,m2,_super=>function(...args){let promise=utils.flag(this,\"promise\"),object=utils.flag(this,\"object\"),isNot=utils.flag(this,\"negate\");if(promise===\"rejects\")utils.flag(this,\"object\",()=>{throw object});else if(promise===\"resolves\"&&typeof object!=\"function\"){if(isNot)return;{let message=utils.flag(this,\"message\")||\"expected promise to throw an error, but it didn't\",error={showDiff:!1};throw new AssertionError2(message,error,utils.flag(this,\"ssfi\"))}}_super.apply(this,args);});}),def(\"withTest\",function(test){return utils.flag(this,\"vitest-test\",test),this}),def(\"toEqual\",function(expected){let actual=utils.flag(this,\"object\"),equal=equals(actual,expected,[...customTesters,iterableEquality]);return this.assert(equal,\"expected #{this} to deeply equal #{exp}\",\"expected #{this} to not deeply equal #{exp}\",expected,actual)}),def(\"toStrictEqual\",function(expected){let obj=utils.flag(this,\"object\"),equal=equals(obj,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0);return this.assert(equal,\"expected #{this} to strictly equal #{exp}\",\"expected #{this} to not strictly equal #{exp}\",expected,obj)}),def(\"toBe\",function(expected){let actual=this._obj,pass=Object.is(actual,expected),deepEqualityName=\"\";return pass||(equals(actual,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0)?deepEqualityName=\"toStrictEqual\":equals(actual,expected,[...customTesters,iterableEquality])&&(deepEqualityName=\"toEqual\")),this.assert(pass,generateToBeMessage(deepEqualityName),\"expected #{this} not to be #{exp} // Object.is equality\",expected,actual)}),def(\"toMatchObject\",function(expected){let actual=this._obj;return this.assert(equals(actual,expected,[...customTesters,iterableEquality,subsetEquality]),\"expected #{this} to match object #{exp}\",\"expected #{this} to not match object #{exp}\",expected,actual)}),def(\"toMatch\",function(expected){return typeof expected==\"string\"?this.include(expected):this.match(expected)}),def(\"toContain\",function(item){let actual=this._obj;if(typeof Node<\"u\"&&actual instanceof Node){if(!(item instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof item}`);return this.assert(actual.contains(item),\"expected #{this} to contain element #{exp}\",\"expected #{this} not to contain element #{exp}\",item,actual)}if(typeof DOMTokenList<\"u\"&&actual instanceof DOMTokenList){assertTypes(item,\"class name\",[\"string\"]);let expectedClassList=utils.flag(this,\"negate\")?actual.value.replace(item,\"\").trim():`${actual.value} ${item}`;return this.assert(actual.contains(item),`expected \"${actual.value}\" to contain \"${item}\"`,`expected \"${actual.value}\" not to contain \"${item}\"`,expectedClassList,actual.value)}return actual!=null&&typeof actual!=\"string\"&&utils.flag(this,\"object\",Array.from(actual)),this.contain(item)}),def(\"toContainEqual\",function(expected){let obj=utils.flag(this,\"object\"),index=Array.from(obj).findIndex(item=>equals(item,expected,customTesters));this.assert(index!==-1,\"expected #{this} to deep equally contain #{exp}\",\"expected #{this} to not deep equally contain #{exp}\",expected);}),def(\"toBeTruthy\",function(){let obj=utils.flag(this,\"object\");this.assert(!!obj,\"expected #{this} to be truthy\",\"expected #{this} to not be truthy\",obj,!1);}),def(\"toBeFalsy\",function(){let obj=utils.flag(this,\"object\");this.assert(!obj,\"expected #{this} to be falsy\",\"expected #{this} to not be falsy\",obj,!1);}),def(\"toBeGreaterThan\",function(expected){let actual=this._obj;return assertTypes(actual,\"actual\",[\"number\",\"bigint\"]),assertTypes(expected,\"expected\",[\"number\",\"bigint\"]),this.assert(actual>expected,`expected ${actual} to be greater than ${expected}`,`expected ${actual} to be not greater than ${expected}`,actual,expected,!1)}),def(\"toBeGreaterThanOrEqual\",function(expected){let actual=this._obj;return assertTypes(actual,\"actual\",[\"number\",\"bigint\"]),assertTypes(expected,\"expected\",[\"number\",\"bigint\"]),this.assert(actual>=expected,`expected ${actual} to be greater than or equal to ${expected}`,`expected ${actual} to be not greater than or equal to ${expected}`,actual,expected,!1)}),def(\"toBeLessThan\",function(expected){let actual=this._obj;return assertTypes(actual,\"actual\",[\"number\",\"bigint\"]),assertTypes(expected,\"expected\",[\"number\",\"bigint\"]),this.assert(actualString(key).replace(/([.[\\]])/g,\"\\\\$1\")).join(\".\"));let actual=this._obj,[propertyName,expected]=args,getValue=()=>Object.prototype.hasOwnProperty.call(actual,propertyName)?{value:actual[propertyName],exists:!0}:utils.getPathInfo(actual,propertyName),{value,exists}=getValue(),pass=exists&&(args.length===1||equals(expected,value,customTesters)),valueString=args.length===1?\"\":` with value ${utils.objDisplay(expected)}`;return this.assert(pass,`expected #{this} to have property \"${propertyName}\"${valueString}`,`expected #{this} to not have property \"${propertyName}\"${valueString}`,expected,exists?value:void 0)}),def(\"toBeCloseTo\",function(received,precision=2){let expected=this._obj,pass=!1,expectedDiff2=0,receivedDiff=0;return received===Number.POSITIVE_INFINITY&&expected===Number.POSITIVE_INFINITY||received===Number.NEGATIVE_INFINITY&&expected===Number.NEGATIVE_INFINITY?pass=!0:(expectedDiff2=10**-precision/2,receivedDiff=Math.abs(expected-received),pass=receivedDiff{if(!isMockFunction(assertion._obj))throw new TypeError(`${utils.inspect(assertion._obj)} is not a spy or a call to a spy!`)},getSpy=assertion=>(assertIsMock(assertion),assertion._obj),ordinalOf=i=>{let j=i%10,k=i%100;return j===1&&k!==11?`${i}st`:j===2&&k!==12?`${i}nd`:j===3&&k!==13?`${i}rd`:`${i}th`},formatCalls=(spy,msg,actualCall)=>(spy.mock.calls&&(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.calls.map((callArg,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call:\n\n`);return actualCall?methodCall+=diff(actualCall,callArg,{omitAnnotationLines:!0}):methodCall+=stringify(callArg).split(`\n`).map(line=>` ${line}`).join(`\n`),methodCall+=`\n`,methodCall}).join(`\n`)}`)),msg+=c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`),msg),formatReturns=(spy,msg,actualReturn)=>(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.results.map((callReturn,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call return:\n\n`);return actualReturn?methodCall+=diff(actualReturn,callReturn.value,{omitAnnotationLines:!0}):methodCall+=stringify(callReturn).split(`\n`).map(line=>` ${line}`).join(`\n`),methodCall+=`\n`,methodCall}).join(`\n`)}`),msg+=c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`),msg);def([\"toHaveBeenCalledTimes\",\"toBeCalledTimes\"],function(number){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(callCount===number,`expected \"${spyName}\" to be called #{exp} times, but got ${callCount} times`,`expected \"${spyName}\" to not be called #{exp} times`,number,callCount,!1)}),def(\"toHaveBeenCalledOnce\",function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(callCount===1,`expected \"${spyName}\" to be called once, but got ${callCount} times`,`expected \"${spyName}\" to not be called once`,1,callCount,!1)}),def([\"toHaveBeenCalled\",\"toBeCalled\"],function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length,called=callCount>0,isNot=utils.flag(this,\"negate\"),msg=utils.getMessage(this,[called,`expected \"${spyName}\" to be called at least once`,`expected \"${spyName}\" to not be called at all, but actually been called ${callCount} times`,!0,called]);if(called&&isNot&&(msg=formatCalls(spy,msg)),called&&isNot||!called&&!isNot)throw new AssertionError2(msg)}),def([\"toHaveBeenCalledWith\",\"toBeCalledWith\"],function(...args){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.calls.some(callArg=>equals(callArg,args,[...customTesters,iterableEquality])),isNot=utils.flag(this,\"negate\"),msg=utils.getMessage(this,[pass,`expected \"${spyName}\" to be called with arguments: #{exp}`,`expected \"${spyName}\" to not be called with arguments: #{exp}`,args]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(formatCalls(spy,msg,args))}),def([\"toHaveBeenNthCalledWith\",\"nthCalledWith\"],function(times,...args){let spy=getSpy(this),spyName=spy.getMockName(),nthCall=spy.mock.calls[times-1];this.assert(equals(nthCall,args,[...customTesters,iterableEquality]),`expected ${ordinalOf(times)} \"${spyName}\" call to have been called with #{exp}`,`expected ${ordinalOf(times)} \"${spyName}\" call to not have been called with #{exp}`,args,nthCall);}),def([\"toHaveBeenLastCalledWith\",\"lastCalledWith\"],function(...args){let spy=getSpy(this),spyName=spy.getMockName(),lastCall=spy.mock.calls[spy.mock.calls.length-1];this.assert(equals(lastCall,args,[...customTesters,iterableEquality]),`expected last \"${spyName}\" call to have been called with #{exp}`,`expected last \"${spyName}\" call to not have been called with #{exp}`,args,lastCall);}),def([\"toThrow\",\"toThrowError\"],function(expected){if(typeof expected==\"string\"||typeof expected>\"u\"||expected instanceof RegExp)return this.throws(expected);let obj=this._obj,promise=utils.flag(this,\"promise\"),isNot=utils.flag(this,\"negate\"),thrown=null;if(promise===\"rejects\")thrown=obj;else if(promise===\"resolves\"&&typeof obj!=\"function\"){if(isNot)return;{let message=utils.flag(this,\"message\")||\"expected promise to throw an error, but it didn't\",error={showDiff:!1};throw new AssertionError2(message,error,utils.flag(this,\"ssfi\"))}}else {let isThrow=!1;try{obj();}catch(err){isThrow=!0,thrown=err;}if(!isThrow&&!isNot){let message=utils.flag(this,\"message\")||\"expected function to throw an error, but it didn't\",error={showDiff:!1};throw new AssertionError2(message,error,utils.flag(this,\"ssfi\"))}}if(typeof expected==\"function\"){let name=expected.name||expected.prototype.constructor.name;return this.assert(thrown&&thrown instanceof expected,`expected error to be instance of ${name}`,`expected error not to be instance of ${name}`,expected,thrown)}if(expected instanceof Error)return this.assert(thrown&&expected.message===thrown.message,`expected error to have message: ${expected.message}`,`expected error not to have message: ${expected.message}`,expected.message,thrown&&thrown.message);if(typeof expected==\"object\"&&\"asymmetricMatch\"in expected&&typeof expected.asymmetricMatch==\"function\"){let matcher=expected;return this.assert(thrown&&matcher.asymmetricMatch(thrown),\"expected error to match asymmetric matcher\",\"expected error not to match asymmetric matcher\",matcher,thrown)}throw new Error(`\"toThrow\" expects string, RegExp, function, Error instance or asymmetric matcher, got \"${typeof expected}\"`)}),def([\"toHaveReturned\",\"toReturn\"],function(){let spy=getSpy(this),spyName=spy.getMockName(),calledAndNotThrew=spy.mock.calls.length>0&&spy.mock.results.some(({type:type3})=>type3!==\"throw\");this.assert(calledAndNotThrew,`expected \"${spyName}\" to be successfully called at least once`,`expected \"${spyName}\" to not be successfully called`,calledAndNotThrew,!calledAndNotThrew,!1);}),def([\"toHaveReturnedTimes\",\"toReturnTimes\"],function(times){let spy=getSpy(this),spyName=spy.getMockName(),successfulReturns=spy.mock.results.reduce((success,{type:type3})=>type3===\"throw\"?success:++success,0);this.assert(successfulReturns===times,`expected \"${spyName}\" to be successfully called ${times} times`,`expected \"${spyName}\" to not be successfully called ${times} times`,`expected number of returns: ${times}`,`received number of returns: ${successfulReturns}`,!1);}),def([\"toHaveReturnedWith\",\"toReturnWith\"],function(value){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.results.some(({type:type3,value:result})=>type3===\"return\"&&equals(value,result)),isNot=utils.flag(this,\"negate\"),msg=utils.getMessage(this,[pass,`expected \"${spyName}\" to return with: #{exp} at least once`,`expected \"${spyName}\" to not return with: #{exp}`,value]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(formatReturns(spy,msg,value))}),def([\"toHaveLastReturnedWith\",\"lastReturnedWith\"],function(value){let spy=getSpy(this),spyName=spy.getMockName(),{value:lastResult}=spy.mock.results[spy.mock.results.length-1],pass=equals(lastResult,value);this.assert(pass,`expected last \"${spyName}\" call to return #{exp}`,`expected last \"${spyName}\" call to not return #{exp}`,value,lastResult);}),def([\"toHaveNthReturnedWith\",\"nthReturnedWith\"],function(nthCall,value){let spy=getSpy(this),spyName=spy.getMockName(),isNot=utils.flag(this,\"negate\"),{type:callType,value:callResult}=spy.mock.results[nthCall-1],ordinalCall=`${ordinalOf(nthCall)} call`;!isNot&&callType===\"throw\"&&chai2.assert.fail(`expected ${ordinalCall} to return #{exp}, but instead it threw an error`);let nthCallReturn=equals(callResult,value);this.assert(nthCallReturn,`expected ${ordinalCall} \"${spyName}\" call to return #{exp}`,`expected ${ordinalCall} \"${spyName}\" call to not return #{exp}`,value,callResult);}),def(\"toSatisfy\",function(matcher,message){return this.be.satisfy(matcher,message)}),utils.addProperty(chai2.Assertion.prototype,\"resolves\",function(){let error=new Error(\"resolves\");utils.flag(this,\"promise\",\"resolves\"),utils.flag(this,\"error\",error);let test=utils.flag(this,\"vitest-test\"),obj=utils.flag(this,\"object\");if(typeof obj?.then!=\"function\")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof obj}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return typeof result!=\"function\"?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=obj.then(value=>(utils.flag(this,\"object\",value),result.call(this,...args)),err=>{let _error=new AssertionError2(`promise rejected \"${utils.inspect(err)}\" instead of resolving`,{showDiff:!1});throw _error.cause=err,_error.stack=error.stack.replace(error.message,_error.message),_error});return recordAsyncExpect(test,promise)}}});return proxy}),utils.addProperty(chai2.Assertion.prototype,\"rejects\",function(){let error=new Error(\"rejects\");utils.flag(this,\"promise\",\"rejects\"),utils.flag(this,\"error\",error);let test=utils.flag(this,\"vitest-test\"),obj=utils.flag(this,\"object\"),wrapper=typeof obj==\"function\"?obj():obj;if(typeof wrapper?.then!=\"function\")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof wrapper}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return typeof result!=\"function\"?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=wrapper.then(value=>{let _error=new AssertionError2(`promise resolved \"${utils.inspect(value)}\" instead of rejecting`,{showDiff:!0,expected:new Error(\"rejected promise\"),actual:value});throw _error.stack=error.stack.replace(error.message,_error.message),_error},err=>(utils.flag(this,\"object\",err),result.call(this,...args)));return recordAsyncExpect(test,promise)}}});return proxy});};function getMatcherState(assertion,expect4){let obj=assertion._obj,isNot=util.flag(assertion,\"negate\"),promise=util.flag(assertion,\"promise\")||\"\",jestUtils={...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality};return {state:{...getState(expect4),customTesters:getCustomEqualityTesters(),isNot,utils:jestUtils,promise,equals,suppressedErrors:[]},isNot,obj}}var JestExtendError=class extends Error{constructor(message,actual,expected){super(message),this.actual=actual,this.expected=expected;}};function JestExtendPlugin(expect4,matchers){return (c,utils)=>{Object.entries(matchers).forEach(([expectAssertionName,expectAssertion])=>{function expectWrapper(...args){let{state,isNot,obj}=getMatcherState(this,expect4),result=expectAssertion.call(state,obj,...args);if(result&&typeof result==\"object\"&&result instanceof Promise)return result.then(({pass:pass2,message:message2,actual:actual2,expected:expected2})=>{if(pass2&&isNot||!pass2&&!isNot)throw new JestExtendError(message2(),actual2,expected2)});let{pass,message,actual,expected}=result;if(pass&&isNot||!pass&&!isNot)throw new JestExtendError(message(),actual,expected)}let softWrapper=wrapSoft(utils,expectWrapper);utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,expectAssertionName,softWrapper),utils.addMethod(c.Assertion.prototype,expectAssertionName,softWrapper);class CustomMatcher extends AsymmetricMatcher3{constructor(inverse=!1,...sample){super(sample,inverse);}asymmetricMatch(other){let{pass}=expectAssertion.call(this.getMatcherContext(expect4),other,...this.sample);return this.inverse?!pass:pass}toString(){return `${this.inverse?\"not.\":\"\"}${expectAssertionName}`}getExpectedType(){return \"any\"}toAsymmetricMatcher(){return `${this.toString()}<${this.sample.map(String).join(\", \")}>`}}let customMatcher=(...sample)=>new CustomMatcher(!1,...sample);Object.defineProperty(expect4,expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0}),Object.defineProperty(expect4.not,expectAssertionName,{configurable:!0,enumerable:!0,value:(...sample)=>new CustomMatcher(!0,...sample),writable:!0}),Object.defineProperty(globalThis[ASYMMETRIC_MATCHERS_OBJECT],expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0});});}}var JestExtend=(chai2,utils)=>{utils.addMethod(chai2.expect,\"extend\",(expect4,expects)=>{chai2.use(JestExtendPlugin(expect4,expects));});};var matchers_exports={};__export(matchers_exports,{toBeChecked:()=>toBeChecked,toBeDisabled:()=>toBeDisabled,toBeEmpty:()=>toBeEmpty,toBeEmptyDOMElement:()=>toBeEmptyDOMElement,toBeEnabled:()=>toBeEnabled,toBeInTheDOM:()=>toBeInTheDOM,toBeInTheDocument:()=>toBeInTheDocument,toBeInvalid:()=>toBeInvalid,toBePartiallyChecked:()=>toBePartiallyChecked,toBeRequired:()=>toBeRequired,toBeValid:()=>toBeValid,toBeVisible:()=>toBeVisible,toContainElement:()=>toContainElement,toContainHTML:()=>toContainHTML,toHaveAccessibleDescription:()=>toHaveAccessibleDescription,toHaveAccessibleErrorMessage:()=>toHaveAccessibleErrorMessage,toHaveAccessibleName:()=>toHaveAccessibleName,toHaveAttribute:()=>toHaveAttribute,toHaveClass:()=>toHaveClass,toHaveDescription:()=>toHaveDescription,toHaveDisplayValue:()=>toHaveDisplayValue,toHaveErrorMessage:()=>toHaveErrorMessage,toHaveFocus:()=>toHaveFocus,toHaveFormValues:()=>toHaveFormValues,toHaveRole:()=>toHaveRole,toHaveStyle:()=>toHaveStyle,toHaveTextContent:()=>toHaveTextContent,toHaveValue:()=>toHaveValue});var import_redent=__toESM(require_redent(),1),import_isEqual=__toESM(require_isEqual(),1);function $parcel$defineInteropFlag(a){Object.defineProperty(a,\"__esModule\",{value:!0,configurable:!0});}function $parcel$export(e,n,v2,s){Object.defineProperty(e,n,{get:v2,set:s,enumerable:!0,configurable:!0});}var $009ddb00d3ec72b8$exports={};$parcel$defineInteropFlag($009ddb00d3ec72b8$exports);$parcel$export($009ddb00d3ec72b8$exports,\"default\",()=>$009ddb00d3ec72b8$export$2e2bcd8739ae039);var $009ddb00d3ec72b8$export$2e2bcd8739ae039=class extends Error{constructor(filename,msg,lineno,column,css){super(filename+\":\"+lineno+\":\"+column+\": \"+msg),this.reason=msg,this.filename=filename,this.line=lineno,this.column=column,this.source=css;}},$0865a9fb4cc365fe$exports={};$parcel$defineInteropFlag($0865a9fb4cc365fe$exports);$parcel$export($0865a9fb4cc365fe$exports,\"default\",()=>$0865a9fb4cc365fe$export$2e2bcd8739ae039);var $0865a9fb4cc365fe$export$2e2bcd8739ae039=class{constructor(start,end,source){this.start=start,this.end=end,this.source=source;}},$b2e137848b48cf4f$exports={};$parcel$export($b2e137848b48cf4f$exports,\"CssTypes\",()=>$b2e137848b48cf4f$export$9be5dd6e61d5d73a);var $b2e137848b48cf4f$export$9be5dd6e61d5d73a;(function(CssTypes){CssTypes.stylesheet=\"stylesheet\",CssTypes.rule=\"rule\",CssTypes.declaration=\"declaration\",CssTypes.comment=\"comment\",CssTypes.container=\"container\",CssTypes.charset=\"charset\",CssTypes.document=\"document\",CssTypes.customMedia=\"custom-media\",CssTypes.fontFace=\"font-face\",CssTypes.host=\"host\",CssTypes.import=\"import\",CssTypes.keyframes=\"keyframes\",CssTypes.keyframe=\"keyframe\",CssTypes.layer=\"layer\",CssTypes.media=\"media\",CssTypes.namespace=\"namespace\",CssTypes.page=\"page\",CssTypes.supports=\"supports\";})($b2e137848b48cf4f$export$9be5dd6e61d5d73a||($b2e137848b48cf4f$export$9be5dd6e61d5d73a={}));var $d708735ed1303b43$var$commentre=/\\/\\*[^]*?(?:\\*\\/|$)/g,$d708735ed1303b43$export$98e6a39c04603d36=(css,options)=>{options=options||{};let lineno=1,column=1;function updatePosition(str){let lines=str.match(/\\n/g);lines&&(lineno+=lines.length);let i=str.lastIndexOf(`\n`);column=~i?str.length-i:column+str.length;}function position(){let start={line:lineno,column};return function(node){return node.position=new $0865a9fb4cc365fe$export$2e2bcd8739ae039(start,{line:lineno,column},options?.source||\"\"),whitespace(),node}}let errorsList=[];function error(msg){let err=new $009ddb00d3ec72b8$export$2e2bcd8739ae039(options?.source||\"\",msg,lineno,column,css);if(options?.silent)errorsList.push(err);else throw err}function stylesheet(){let rulesList=rules();return {type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.stylesheet,stylesheet:{source:options?.source,rules:rulesList,parsingErrors:errorsList}}}function open(){return match(/^{\\s*/)}function close(){return match(/^}/)}function rules(){let node,rules2=[];for(whitespace(),comments(rules2);css.length&&css.charAt(0)!==\"}\"&&(node=atrule()||rule());)node&&(rules2.push(node),comments(rules2));return rules2}function match(re){let m2=re.exec(css);if(!m2)return;let str=m2[0];return updatePosition(str),css=css.slice(str.length),m2}function whitespace(){match(/^\\s*/);}function comments(rules2){let c;for(rules2=rules2||[];c=comment();)c&&rules2.push(c);return rules2}function comment(){let pos=position();if(css.charAt(0)!==\"/\"||css.charAt(1)!==\"*\")return;let m2=match(/^\\/\\*[^]*?\\*\\//);return m2?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.comment,comment:m2[0].slice(2,-2)}):error(\"End of comment missing\")}function findClosingParenthese(str,start,depth){let ptr=start+1,found=!1,closeParentheses=str.indexOf(\")\",ptr);for(;!found&&closeParentheses!==-1;){let nextParentheses=str.indexOf(\"(\",ptr);nextParentheses!==-1&&nextParenthesesm3.replace(/,/g,\"\\u200C\")),res.split(\",\").map(s=>$d708735ed1303b43$var$trim(s.replace(/\\u200C/g,\",\")))}function declaration(){let pos=position(),propMatch=match(/^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/);if(!propMatch)return;let propValue=$d708735ed1303b43$var$trim(propMatch[0]);if(!match(/^:\\s*/))return error(\"property missing ':'\");let val=match(/^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/),ret=pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.declaration,property:propValue.replace($d708735ed1303b43$var$commentre,\"\"),value:val?$d708735ed1303b43$var$trim(val[0]).replace($d708735ed1303b43$var$commentre,\"\"):\"\"});return match(/^[;\\s]*/),ret}function declarations(){let decls=[];if(!open())return error(\"missing '{'\");comments(decls);let decl;for(;decl=declaration();)decl&&(decls.push(decl),comments(decls));return close()?decls:error(\"missing '}'\")}function keyframe(){let m2,vals=[],pos=position();for(;m2=match(/^((\\d+\\.\\d+|\\.\\d+|\\d+)%?|[a-z]+)\\s*/);)vals.push(m2[1]),match(/^,\\s*/);if(vals.length)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframe,values:vals,declarations:declarations()||[]})}function atkeyframes(){let pos=position(),m1=match(/^@([-\\w]+)?keyframes\\s*/);if(!m1)return;let vendor=m1[1],m2=match(/^([-\\w]+)\\s*/);if(!m2)return error(\"@keyframes missing name\");let name=m2[1];if(!open())return error(\"@keyframes missing '{'\");let frame,frames=comments();for(;frame=keyframe();)frames.push(frame),frames=frames.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframes,name,vendor,keyframes:frames}):error(\"@keyframes missing '}'\")}function atsupports(){let pos=position(),m2=match(/^@supports *([^{]+)/);if(!m2)return;let supports=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error(\"@supports missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.supports,supports,rules:style}):error(\"@supports missing '}'\")}function athost(){let pos=position();if(!match(/^@host\\s*/))return;if(!open())return error(\"@host missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.host,rules:style}):error(\"@host missing '}'\")}function atcontainer(){let pos=position(),m2=match(/^@container *([^{]+)/);if(!m2)return;let container=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error(\"@container missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.container,container,rules:style}):error(\"@container missing '}'\")}function atlayer(){let pos=position(),m2=match(/^@layer *([^{;@]+)/);if(!m2)return;let layer=$d708735ed1303b43$var$trim(m2[1]);if(!open())return match(/^[;\\s]*/),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer});let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer,rules:style}):error(\"@layer missing '}'\")}function atmedia(){let pos=position(),m2=match(/^@media *([^{]+)/);if(!m2)return;let media=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error(\"@media missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.media,media,rules:style}):error(\"@media missing '}'\")}function atcustommedia(){let pos=position(),m2=match(/^@custom-media\\s+(--\\S+)\\s*([^{;\\s][^{;]*);/);if(m2)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.customMedia,name:$d708735ed1303b43$var$trim(m2[1]),media:$d708735ed1303b43$var$trim(m2[2])})}function atpage(){let pos=position();if(!match(/^@page */))return;let sel=selector()||[];if(!open())return error(\"@page missing '{'\");let decls=comments(),decl;for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.page,selectors:sel,declarations:decls}):error(\"@page missing '}'\")}function atdocument(){let pos=position(),m2=match(/^@([-\\w]+)?document *([^{]+)/);if(!m2)return;let vendor=$d708735ed1303b43$var$trim(m2[1]),doc=$d708735ed1303b43$var$trim(m2[2]);if(!open())return error(\"@document missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.document,document:doc,vendor,rules:style}):error(\"@document missing '}'\")}function atfontface(){let pos=position();if(!match(/^@font-face\\s*/))return;if(!open())return error(\"@font-face missing '{'\");let decls=comments(),decl;for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.fontFace,declarations:decls}):error(\"@font-face missing '}'\")}let atimport=_compileAtrule(\"import\"),atcharset=_compileAtrule(\"charset\"),atnamespace=_compileAtrule(\"namespace\");function _compileAtrule(name){let re=new RegExp(\"^@\"+name+`\\\\s*((?::?[^;'\"]|\"(?:\\\\\\\\\"|[^\"])*?\"|'(?:\\\\\\\\'|[^'])*?')+)(?:;|$)`);return function(){let pos=position(),m2=match(re);if(!m2)return;let ret={type:name};return ret[name]=m2[1].trim(),pos(ret)}}function atrule(){if(css[0]===\"@\")return atkeyframes()||atmedia()||atcustommedia()||atsupports()||atimport()||atcharset()||atnamespace()||atdocument()||atpage()||athost()||atfontface()||atcontainer()||atlayer()}function rule(){let pos=position(),sel=selector();return sel?(comments(),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.rule,selectors:sel,declarations:declarations()||[]})):error(\"selector missing\")}return $d708735ed1303b43$var$addParent(stylesheet())};function $d708735ed1303b43$var$trim(str){return str?str.trim():\"\"}function $d708735ed1303b43$var$addParent(obj,parent){let isNode=obj&&typeof obj.type==\"string\",childParent=isNode?obj:parent;for(let k in obj){let value=obj[k];Array.isArray(value)?value.forEach(v2=>{$d708735ed1303b43$var$addParent(v2,childParent);}):value&&typeof value==\"object\"&&$d708735ed1303b43$var$addParent(value,childParent);}return isNode&&Object.defineProperty(obj,\"parent\",{configurable:!0,writable:!0,enumerable:!1,value:parent||null}),obj}var $d708735ed1303b43$export$2e2bcd8739ae039=$d708735ed1303b43$export$98e6a39c04603d36;var $149c1bd638913645$export$98e6a39c04603d36=$d708735ed1303b43$export$2e2bcd8739ae039;var toStr=Object.prototype.toString;function isCallable(fn3){return typeof fn3==\"function\"||toStr.call(fn3)===\"[object Function]\"}function toInteger(value){var number=Number(value);return isNaN(number)?0:number===0||!isFinite(number)?number:(number>0?1:-1)*Math.floor(Math.abs(number))}var maxSafeInteger=Math.pow(2,53)-1;function toLength(value){var len=toInteger(value);return Math.min(Math.max(len,0),maxSafeInteger)}function arrayFrom(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(arrayLike==null)throw new TypeError(\"Array.from requires an array-like object - not null or undefined\");if(typeof mapFn<\"u\"&&!isCallable(mapFn))throw new TypeError(\"Array.from: when provided, the second argument must be a function\");for(var len=toLength(items.length),A=isCallable(C2)?Object(new C2(len)):new Array(len),k=0,kValue;k0&&arguments[0]!==void 0?arguments[0]:[];_classCallCheck(this,SetLike3),_defineProperty(this,\"items\",void 0),this.items=items;}return _createClass(SetLike3,[{key:\"add\",value:function(value){return this.has(value)===!1&&this.items.push(value),this}},{key:\"clear\",value:function(){this.items=[];}},{key:\"delete\",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter(function(item){return item!==value}),previousLength!==this.items.length}},{key:\"forEach\",value:function(callbackfn){var _this=this;this.items.forEach(function(item){callbackfn(item,item,_this);});}},{key:\"has\",value:function(value){return this.items.indexOf(value)!==-1}},{key:\"size\",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default=typeof Set>\"u\"?Set:SetLike;function getLocalName(element){var _element$localName;return (_element$localName=element.localName)!==null&&_element$localName!==void 0?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings={article:\"article\",aside:\"complementary\",button:\"button\",datalist:\"listbox\",dd:\"definition\",details:\"group\",dialog:\"dialog\",dt:\"term\",fieldset:\"group\",figure:\"figure\",form:\"form\",footer:\"contentinfo\",h1:\"heading\",h2:\"heading\",h3:\"heading\",h4:\"heading\",h5:\"heading\",h6:\"heading\",header:\"banner\",hr:\"separator\",html:\"document\",legend:\"legend\",li:\"listitem\",math:\"math\",main:\"main\",menu:\"list\",nav:\"navigation\",ol:\"list\",optgroup:\"group\",option:\"option\",output:\"status\",progress:\"progressbar\",section:\"region\",summary:\"button\",table:\"table\",tbody:\"rowgroup\",textarea:\"textbox\",tfoot:\"rowgroup\",td:\"cell\",th:\"columnheader\",thead:\"rowgroup\",tr:\"row\",ul:\"list\"},prohibitedAttributes={caption:new Set([\"aria-label\",\"aria-labelledby\"]),code:new Set([\"aria-label\",\"aria-labelledby\"]),deletion:new Set([\"aria-label\",\"aria-labelledby\"]),emphasis:new Set([\"aria-label\",\"aria-labelledby\"]),generic:new Set([\"aria-label\",\"aria-labelledby\",\"aria-roledescription\"]),insertion:new Set([\"aria-label\",\"aria-labelledby\"]),none:new Set([\"aria-label\",\"aria-labelledby\"]),paragraph:new Set([\"aria-label\",\"aria-labelledby\"]),presentation:new Set([\"aria-label\",\"aria-labelledby\"]),strong:new Set([\"aria-label\",\"aria-labelledby\"]),subscript:new Set([\"aria-label\",\"aria-labelledby\"]),superscript:new Set([\"aria-label\",\"aria-labelledby\"])};function hasGlobalAriaAttributes(element,role){return [\"aria-atomic\",\"aria-busy\",\"aria-controls\",\"aria-current\",\"aria-description\",\"aria-describedby\",\"aria-details\",\"aria-dropeffect\",\"aria-flowto\",\"aria-grabbed\",\"aria-hidden\",\"aria-keyshortcuts\",\"aria-label\",\"aria-labelledby\",\"aria-live\",\"aria-owns\",\"aria-relevant\",\"aria-roledescription\"].some(function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!((_prohibitedAttributes=prohibitedAttributes[role])!==null&&_prohibitedAttributes!==void 0&&_prohibitedAttributes.has(attributeName))})}function ignorePresentationalRole(element,implicitRole){return hasGlobalAriaAttributes(element,implicitRole)}function getRole(element){var explicitRole=getExplicitRole(element);if(explicitRole===null||presentationRoles.indexOf(explicitRole)!==-1){var implicitRole=getImplicitRole(element);if(presentationRoles.indexOf(explicitRole||\"\")===-1||ignorePresentationalRole(element,implicitRole||\"\"))return implicitRole}return explicitRole}function getImplicitRole(element){var mappedByTag=localNameToRoleMappings[getLocalName(element)];if(mappedByTag!==void 0)return mappedByTag;switch(getLocalName(element)){case\"a\":case\"area\":case\"link\":if(element.hasAttribute(\"href\"))return \"link\";break;case\"img\":return element.getAttribute(\"alt\")===\"\"&&!ignorePresentationalRole(element,\"img\")?\"presentation\":\"img\";case\"input\":{var _ref=element,type3=_ref.type;switch(type3){case\"button\":case\"image\":case\"reset\":case\"submit\":return \"button\";case\"checkbox\":case\"radio\":return type3;case\"range\":return \"slider\";case\"email\":case\"tel\":case\"text\":case\"url\":return element.hasAttribute(\"list\")?\"combobox\":\"textbox\";case\"search\":return element.hasAttribute(\"list\")?\"combobox\":\"searchbox\";case\"number\":return \"spinbutton\";default:return null}}case\"select\":return element.hasAttribute(\"multiple\")||element.size>1?\"listbox\":\"combobox\"}return null}function getExplicitRole(element){var role=element.getAttribute(\"role\");if(role!==null){var explicitRole=role.trim().split(\" \")[0];if(explicitRole.length>0)return explicitRole}return null}var presentationRoles=[\"presentation\",\"none\"];function isElement(node){return node!==null&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement(node){return isElement(node)&&getLocalName(node)===\"caption\"}function isHTMLInputElement(node){return isElement(node)&&getLocalName(node)===\"input\"}function isHTMLOptGroupElement(node){return isElement(node)&&getLocalName(node)===\"optgroup\"}function isHTMLSelectElement(node){return isElement(node)&&getLocalName(node)===\"select\"}function isHTMLTableElement(node){return isElement(node)&&getLocalName(node)===\"table\"}function isHTMLTextAreaElement(node){return isElement(node)&&getLocalName(node)===\"textarea\"}function safeWindow(node){var _ref=node.ownerDocument===null?node:node.ownerDocument,defaultView=_ref.defaultView;if(defaultView===null)throw new TypeError(\"no window available\");return defaultView}function isHTMLFieldSetElement(node){return isElement(node)&&getLocalName(node)===\"fieldset\"}function isHTMLLegendElement(node){return isElement(node)&&getLocalName(node)===\"legend\"}function isHTMLSlotElement(node){return isElement(node)&&getLocalName(node)===\"slot\"}function isSVGElement(node){return isElement(node)&&node.ownerSVGElement!==void 0}function isSVGSVGElement(node){return isElement(node)&&getLocalName(node)===\"svg\"}function isSVGTitleElement(node){return isSVGElement(node)&&getLocalName(node)===\"title\"}function queryIdRefs(node,attributeName){if(isElement(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(\" \"),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map(function(id){return root.getElementById(id)}).filter(function(element){return element!==null})}return []}function hasAnyConcreteRoles(node,roles3){return isElement(node)?roles3.indexOf(getRole(node))!==-1:!1}function asFlatString(s){return s.trim().replace(/\\s\\s+/g,\" \")}function isHidden(node,getComputedStyleImplementation){if(!isElement(node))return !1;if(node.hasAttribute(\"hidden\")||node.getAttribute(\"aria-hidden\")===\"true\")return !0;var style=getComputedStyleImplementation(node);return style.getPropertyValue(\"display\")===\"none\"||style.getPropertyValue(\"visibility\")===\"hidden\"}function isControl(node){return hasAnyConcreteRoles(node,[\"button\",\"combobox\",\"listbox\",\"textbox\"])||hasAbstractRole(node,\"range\")}function hasAbstractRole(node,role){if(!isElement(node))return !1;switch(role){case\"range\":return hasAnyConcreteRoles(node,[\"meter\",\"progressbar\",\"scrollbar\",\"slider\",\"spinbutton\"]);default:throw new TypeError(\"No knowledge about abstract role '\".concat(role,\"'. This is likely a bug :(\"))}}function querySelectorAllSubtree(element,selectors){var elements=arrayFrom(element.querySelectorAll(selectors));return queryIdRefs(element,\"aria-owns\").forEach(function(root){elements.push.apply(elements,arrayFrom(root.querySelectorAll(selectors)));}),elements}function querySelectedOptions(listbox){return isHTMLSelectElement(listbox)?listbox.selectedOptions||querySelectorAllSubtree(listbox,\"[selected]\"):querySelectorAllSubtree(listbox,'[aria-selected=\"true\"]')}function isMarkedPresentational(node){return hasAnyConcreteRoles(node,presentationRoles)}function isNativeHostLanguageTextAlternativeElement(node){return isHTMLTableCaptionElement(node)}function allowsNameFromContent(node){return hasAnyConcreteRoles(node,[\"button\",\"cell\",\"checkbox\",\"columnheader\",\"gridcell\",\"heading\",\"label\",\"legend\",\"link\",\"menuitem\",\"menuitemcheckbox\",\"menuitemradio\",\"option\",\"radio\",\"row\",\"rowheader\",\"switch\",\"tab\",\"tooltip\",\"treeitem\"])}function isDescendantOfNativeHostLanguageTextAlternativeElement(node){return !1}function getValueOfTextbox(element){return isHTMLInputElement(element)||isHTMLTextAreaElement(element)?element.value:element.textContent||\"\"}function getTextualContent(declaration){var content=declaration.getPropertyValue(\"content\");return /^[\"'].*[\"']$/.test(content)?content.slice(1,-1):\"\"}function isLabelableElement(element){var localName=getLocalName(element);return localName===\"button\"||localName===\"input\"&&element.getAttribute(\"type\")!==\"hidden\"||localName===\"meter\"||localName===\"output\"||localName===\"progress\"||localName===\"select\"||localName===\"textarea\"}function findLabelableElement(element){if(isLabelableElement(element))return element;var labelableElement=null;return element.childNodes.forEach(function(childNode){if(labelableElement===null&&isElement(childNode)){var descendantLabelableElement=findLabelableElement(childNode);descendantLabelableElement!==null&&(labelableElement=descendantLabelableElement);}}),labelableElement}function getControlOfLabel(label){if(label.control!==void 0)return label.control;var htmlFor=label.getAttribute(\"for\");return htmlFor!==null?label.ownerDocument.getElementById(htmlFor):findLabelableElement(label)}function getLabels(element){var labelsProperty=element.labels;if(labelsProperty===null)return labelsProperty;if(labelsProperty!==void 0)return arrayFrom(labelsProperty);if(!isLabelableElement(element))return null;var document2=element.ownerDocument;return arrayFrom(document2.querySelectorAll(\"label\")).filter(function(label){return getControlOfLabel(label)===element})}function getSlotContents(slot){var assignedNodes=slot.assignedNodes();return assignedNodes.length===0?arrayFrom(slot.childNodes):assignedNodes}function computeTextAlternative(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},consultedNodes=new SetLike_default,window2=safeWindow(root),_options$compute=options.compute,compute=_options$compute===void 0?\"name\":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=_options$computedStyl===void 0?options.getComputedStyle!==void 0:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=_options$getComputedS===void 0?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=_options$hidden===void 0?!1:_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText=\"\";if(isElement(node)&&computedStyleSupportsPseudoElements){var pseudoBefore=getComputedStyle(node,\"::before\"),beforeContent=getTextualContent(pseudoBefore);accumulatedText=\"\".concat(beforeContent,\" \").concat(accumulatedText);}var childNodes=isHTMLSlotElement(node)?getSlotContents(node):arrayFrom(node.childNodes).concat(queryIdRefs(node,\"aria-owns\"));if(childNodes.forEach(function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),display2=isElement(child)?getComputedStyle(child).getPropertyValue(\"display\"):\"inline\",separator=display2!==\"inline\"?\" \":\"\";accumulatedText+=\"\".concat(separator).concat(result).concat(separator);}),isElement(node)&&computedStyleSupportsPseudoElements){var pseudoAfter=getComputedStyle(node,\"::after\"),afterContent=getTextualContent(pseudoAfter);accumulatedText=\"\".concat(accumulatedText,\" \").concat(afterContent);}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return attribute!==null&&!consultedNodes.has(attribute)&&attribute.value.trim()!==\"\"?(consultedNodes.add(attribute),attribute.value):null}function computeTooltipAttributeValue(node){return isElement(node)?useAttribute(node,\"title\"):null}function computeElementTextAlternative(node){if(!isElement(node))return null;if(isHTMLFieldSetElement(node)){consultedNodes.add(node);for(var children=arrayFrom(node.childNodes),i=0;i0}).join(\" \");if(isHTMLInputElement(node)&&node.type===\"image\"){var _nameFromAlt=useAttribute(node,\"alt\");if(_nameFromAlt!==null)return _nameFromAlt;var nameFromTitle=useAttribute(node,\"title\");return nameFromTitle!==null?nameFromTitle:\"Submit Query\"}if(hasAnyConcreteRoles(node,[\"button\"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(nameFromSubTree!==\"\")return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return \"\";if(!hidden&&isHidden(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),\"\";var labelAttributeNode=isElement(current)?current.getAttributeNode(\"aria-labelledby\"):null,labelElements=labelAttributeNode!==null&&!consultedNodes.has(labelAttributeNode)?queryIdRefs(current,\"aria-labelledby\"):[];if(compute===\"name\"&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map(function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(\" \");var skipToStep2E=context.recursion&&isControl(current)&&compute===\"name\";if(!skipToStep2E){var ariaLabel=(isElement(current)&¤t.getAttribute(\"aria-label\")||\"\").trim();if(ariaLabel!==\"\"&&compute===\"name\")return consultedNodes.add(current),ariaLabel;if(!isMarkedPresentational(current)){var elementTextAlternative=computeElementTextAlternative(current);if(elementTextAlternative!==null)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles(current,[\"menu\"]))return consultedNodes.add(current),\"\";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles(current,[\"combobox\",\"listbox\"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions(current);return selectedOptions.length===0?isHTMLInputElement(current)?current.value:\"\":arrayFrom(selectedOptions).map(function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(\" \")}if(hasAbstractRole(current,\"range\"))return consultedNodes.add(current),current.hasAttribute(\"aria-valuetext\")?current.getAttribute(\"aria-valuetext\"):current.hasAttribute(\"aria-valuenow\")?current.getAttribute(\"aria-valuenow\"):current.getAttribute(\"value\")||\"\";if(hasAnyConcreteRoles(current,[\"textbox\"]))return consultedNodes.add(current),getValueOfTextbox(current)}if(allowsNameFromContent(current)||isElement(current)&&context.isReferenced||isNativeHostLanguageTextAlternativeElement(current)||isDescendantOfNativeHostLanguageTextAlternativeElement()){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(accumulatedText2F!==\"\")return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||\"\";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=computeTooltipAttributeValue(current);return tooltipAttributeValue!==null?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),\"\")}return asFlatString(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:compute===\"description\",recursion:!1}))}function _typeof2(o){\"@babel/helpers - typeof\";return _typeof2=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(o2){return typeof o2}:function(o2){return o2&&typeof Symbol==\"function\"&&o2.constructor===Symbol&&o2!==Symbol.prototype?\"symbol\":typeof o2},_typeof2(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o);}return t}function _objectSpread(e){for(var r=1;r1&&arguments[1]!==void 0?arguments[1]:{},description=queryIdRefs(root,\"aria-describedby\").map(function(element){return computeTextAlternative(element,_objectSpread(_objectSpread({},options),{},{compute:\"description\"}))}).join(\" \");if(description===\"\"){var ariaDescription=root.getAttribute(\"aria-description\");description=ariaDescription===null?\"\":ariaDescription;}if(description===\"\"){var title=root.getAttribute(\"title\");description=title===null?\"\":title;}return description}function prohibitsNaming(node){return hasAnyConcreteRoles(node,[\"caption\",\"code\",\"deletion\",\"emphasis\",\"generic\",\"insertion\",\"none\",\"paragraph\",\"presentation\",\"strong\",\"subscript\",\"superscript\"])}function computeAccessibleName(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return prohibitsNaming(root)?\"\":computeTextAlternative(root,options)}var import_aria_query=__toESM(require_lib(),1),import_chalk=__toESM(require_source(),1),import_isEqualWith=__toESM(require_isEqualWith(),1),import_uniq=__toESM(require_uniq(),1),import_css=__toESM(require_css_escape(),1),GenericTypeError=class extends Error{constructor(expectedString,received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn);let withType=\"\";try{withType=context.utils.printWithType(\"Received\",received,context.utils.printReceived);}catch{}this.message=[context.utils.matcherHint(`${context.isNot?\".not\":\"\"}.${matcherFn.name}`,\"received\",\"\"),\"\",`${context.utils.RECEIVED_COLOR(\"received\")} value must ${expectedString}.`,withType].join(`\n`);}},HtmlElementTypeError=class extends GenericTypeError{constructor(...args){super(\"be an HTMLElement or an SVGElement\",...args);}},NodeTypeError=class extends GenericTypeError{constructor(...args){super(\"be a Node\",...args);}};function checkHasWindow(htmlElement,ErrorClass,...args){if(!htmlElement||!htmlElement.ownerDocument||!htmlElement.ownerDocument.defaultView)throw new ErrorClass(htmlElement,...args)}function checkNode(node,...args){checkHasWindow(node,NodeTypeError,...args);let window2=node.ownerDocument.defaultView;if(!(node instanceof window2.Node))throw new NodeTypeError(node,...args)}function checkHtmlElement(htmlElement,...args){checkHasWindow(htmlElement,HtmlElementTypeError,...args);let window2=htmlElement.ownerDocument.defaultView;if(!(htmlElement instanceof window2.HTMLElement)&&!(htmlElement instanceof window2.SVGElement))throw new HtmlElementTypeError(htmlElement,...args)}var InvalidCSSError=class extends Error{constructor(received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn),this.message=[received.message,\"\",context.utils.RECEIVED_COLOR(\"Failing css:\"),context.utils.RECEIVED_COLOR(`${received.css}`)].join(`\n`);}};function parseCSS(css,...args){let ast=$149c1bd638913645$export$98e6a39c04603d36(`selector { ${css} }`,{silent:!0}).stylesheet;if(ast.parsingErrors&&ast.parsingErrors.length>0){let{reason,line}=ast.parsingErrors[0];throw new InvalidCSSError({css,message:`Syntax error parsing expected css: ${reason} on line: ${line}`},...args)}return ast.rules[0].declarations.filter(d2=>d2.type===\"declaration\").reduce((obj,{property,value})=>Object.assign(obj,{[property]:value}),{})}function display(context,value){return typeof value==\"string\"?value:context.utils.stringify(value)}function getMessage(context,matcher,expectedLabel,expectedValue,receivedLabel,receivedValue){return [`${matcher}\n`,`${expectedLabel}:\n${context.utils.EXPECTED_COLOR((0, import_redent.default)(display(context,expectedValue),2))}`,`${receivedLabel}:\n${context.utils.RECEIVED_COLOR((0, import_redent.default)(display(context,receivedValue),2))}`].join(`\n`)}function matches(textToMatch,matcher){return matcher instanceof RegExp?matcher.test(textToMatch):textToMatch.includes(String(matcher))}function deprecate(name,replacementText){console.warn(`Warning: ${name} has been deprecated and will be removed in future updates.`,replacementText);}function normalize(text){return text.replace(/\\s+/g,\" \").trim()}function getTag(element){return element.tagName&&element.tagName.toLowerCase()}function getSelectValue({multiple,options}){let selectedOptions=[...options].filter(option=>option.selected);if(multiple)return [...selectedOptions].map(opt=>opt.value);if(selectedOptions.length!==0)return selectedOptions[0].value}function getInputValue(inputElement){switch(inputElement.type){case\"number\":return inputElement.value===\"\"?null:Number(inputElement.value);case\"checkbox\":return inputElement.checked;default:return inputElement.value}}function getSingleElementValue(element){if(element)switch(element.tagName.toLowerCase()){case\"input\":return getInputValue(element);case\"select\":return getSelectValue(element);default:return element.value}}function compareArraysAsSet(a,b2){if(Array.isArray(a)&&Array.isArray(b2))return (0, import_isEqual.default)(new Set(a),new Set(b2))}function toSentence(array,{wordConnector=\", \",lastWordConnector=\" and \"}={}){return [array.slice(0,-1).join(wordConnector),array[array.length-1]].join(array.length>1?lastWordConnector:\"\")}function toBeInTheDOM(element,container){return deprecate(\"toBeInTheDOM\",\"Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container.\"),element&&checkHtmlElement(element,toBeInTheDOM,this),container&&checkHtmlElement(container,toBeInTheDOM,this),{pass:container?container.contains(element):!!element,message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeInTheDOM`,\"element\",\"\"),\"\",\"Received:\",` ${this.utils.printReceived(element&&element.cloneNode(!1))}`].join(`\n`)}}function toBeInTheDocument(element){(element!==null||!this.isNot)&&checkHtmlElement(element,toBeInTheDocument,this);let pass=element===null?!1:element.ownerDocument===element.getRootNode({composed:!0}),errorFound=()=>`expected document not to contain element, found ${this.utils.stringify(element.cloneNode(!0))} instead`,errorNotFound=()=>\"element could not be found in the document\";return {pass,message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeInTheDocument`,\"element\",\"\"),\"\",this.utils.RECEIVED_COLOR(this.isNot?errorFound():errorNotFound())].join(`\n`)}}function toBeEmpty(element){return deprecate(\"toBeEmpty\",\"Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM.\"),checkHtmlElement(element,toBeEmpty,this),{pass:element.innerHTML===\"\",message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeEmpty`,\"element\",\"\"),\"\",\"Received:\",` ${this.utils.printReceived(element.innerHTML)}`].join(`\n`)}}function toBeEmptyDOMElement(element){return checkHtmlElement(element,toBeEmptyDOMElement,this),{pass:isEmptyElement(element),message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeEmptyDOMElement`,\"element\",\"\"),\"\",\"Received:\",` ${this.utils.printReceived(element.innerHTML)}`].join(`\n`)}}function isEmptyElement(element){return [...element.childNodes].filter(node=>node.nodeType!==8).length===0}function toContainElement(container,element){return checkHtmlElement(container,toContainElement,this),element!==null&&checkHtmlElement(element,toContainElement,this),{pass:container.contains(element),message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toContainElement`,\"element\",\"element\"),\"\",this.utils.RECEIVED_COLOR(`${this.utils.stringify(container.cloneNode(!1))} ${this.isNot?\"contains:\":\"does not contain:\"} ${this.utils.stringify(element&&element.cloneNode(!1))}\n `)].join(`\n`)}}function getNormalizedHtml(container,htmlText){let div=container.ownerDocument.createElement(\"div\");return div.innerHTML=htmlText,div.innerHTML}function toContainHTML(container,htmlText){if(checkHtmlElement(container,toContainHTML,this),typeof htmlText!=\"string\")throw new Error(`.toContainHTML() expects a string value, got ${htmlText}`);return {pass:container.outerHTML.includes(getNormalizedHtml(container,htmlText)),message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toContainHTML`,\"element\",\"\"),\"Expected:\",` ${this.utils.EXPECTED_COLOR(htmlText)}`,\"Received:\",` ${this.utils.printReceived(container.cloneNode(!0))}`].join(`\n`)}}function toHaveTextContent(node,checkWith,options={normalizeWhitespace:!0}){checkNode(node,toHaveTextContent,this);let textContent=options.normalizeWhitespace?normalize(node.textContent):node.textContent.replace(/\\u00a0/g,\" \"),checkingWithEmptyString=textContent!==\"\"&&checkWith===\"\";return {pass:!checkingWithEmptyString&&matches(textContent,checkWith),message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveTextContent`,\"element\",\"\"),checkingWithEmptyString?\"Checking with empty string will always match, use .toBeEmptyDOMElement() instead\":`Expected element ${to} have text content`,checkWith,\"Received\",textContent)}}}function toHaveAccessibleDescription(htmlElement,expectedAccessibleDescription){checkHtmlElement(htmlElement,toHaveAccessibleDescription,this);let actualAccessibleDescription=computeAccessibleDescription(htmlElement),missingExpectedValue=arguments.length===1,pass=!1;return missingExpectedValue?pass=actualAccessibleDescription!==\"\":pass=expectedAccessibleDescription instanceof RegExp?expectedAccessibleDescription.test(actualAccessibleDescription):this.equals(actualAccessibleDescription,expectedAccessibleDescription),{pass,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.${toHaveAccessibleDescription.name}`,\"element\",\"\"),`Expected element ${to} have accessible description`,expectedAccessibleDescription,\"Received\",actualAccessibleDescription)}}}var ariaInvalidName=\"aria-invalid\",validStates=[\"false\"];function toHaveAccessibleErrorMessage(htmlElement,expectedAccessibleErrorMessage){checkHtmlElement(htmlElement,toHaveAccessibleErrorMessage,this);let to=this.isNot?\"not to\":\"to\",method=this.isNot?\".not.toHaveAccessibleErrorMessage\":\".toHaveAccessibleErrorMessage\",errormessageId=htmlElement.getAttribute(\"aria-errormessage\");if(!!errormessageId&&/\\s+/.test(errormessageId))return {pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,\"element\"),\"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID\",\"\",\"Received\",`aria-errormessage=\"${errormessageId}\"`)};let ariaInvalidVal=htmlElement.getAttribute(ariaInvalidName);if(!htmlElement.hasAttribute(ariaInvalidName)||validStates.includes(ariaInvalidVal))return {pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,\"element\"),\"Expected element to be marked as invalid with attribute\",`${ariaInvalidName}=\"${String(!0)}\"`,\"Received\",htmlElement.hasAttribute(\"aria-invalid\")?`${ariaInvalidName}=\"${htmlElement.getAttribute(ariaInvalidName)}`:null)};let error=normalize(htmlElement.ownerDocument.getElementById(errormessageId)?.textContent??\"\");return {pass:expectedAccessibleErrorMessage===void 0?!!error:expectedAccessibleErrorMessage instanceof RegExp?expectedAccessibleErrorMessage.test(error):this.equals(error,expectedAccessibleErrorMessage),message:()=>getMessage(this,this.utils.matcherHint(method,\"element\"),`Expected element ${to} have accessible error message`,expectedAccessibleErrorMessage??\"\",\"Received\",error)}}var elementRoleList=buildElementRoleList(import_aria_query.elementRoles);function toHaveRole(htmlElement,expectedRole){checkHtmlElement(htmlElement,toHaveRole,this);let actualRoles=getExplicitOrImplicitRoles(htmlElement);return {pass:actualRoles.some(el=>el===expectedRole),message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.${toHaveRole.name}`,\"element\",\"\"),`Expected element ${to} have role`,expectedRole,\"Received\",actualRoles.join(\", \"))}}}function getExplicitOrImplicitRoles(htmlElement){return htmlElement.hasAttribute(\"role\")?htmlElement.getAttribute(\"role\").split(\" \").filter(Boolean):getImplicitAriaRoles(htmlElement)}function getImplicitAriaRoles(currentNode){for(let{match,roles:roles3}of elementRoleList)if(match(currentNode))return [...roles3];return []}function buildElementRoleList(elementRolesMap){function makeElementSelector({name,attributes}){return `${name}${attributes.map(({name:attributeName,value,constraints=[]})=>constraints.indexOf(\"undefined\")!==-1?`:not([${attributeName}])`:value?`[${attributeName}=\"${value}\"]`:`[${attributeName}]`).join(\"\")}`}function getSelectorSpecificity({attributes=[]}){return attributes.length}function bySelectorSpecificity({specificity:leftSpecificity},{specificity:rightSpecificity}){return rightSpecificity-leftSpecificity}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex(attribute=>attribute.value&&attribute.name===\"type\"&&attribute.value===\"text\");typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=makeElementSelector({...element,attributes});return node=>typeTextIndex>=0&&node.type!==\"text\"?!1:node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort(bySelectorSpecificity)}function toHaveAccessibleName(htmlElement,expectedAccessibleName){checkHtmlElement(htmlElement,toHaveAccessibleName,this);let actualAccessibleName=computeAccessibleName(htmlElement),missingExpectedValue=arguments.length===1,pass=!1;return missingExpectedValue?pass=actualAccessibleName!==\"\":pass=expectedAccessibleName instanceof RegExp?expectedAccessibleName.test(actualAccessibleName):this.equals(actualAccessibleName,expectedAccessibleName),{pass,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.${toHaveAccessibleName.name}`,\"element\",\"\"),`Expected element ${to} have accessible name`,expectedAccessibleName,\"Received\",actualAccessibleName)}}}function printAttribute(stringify2,name,value){return value===void 0?name:`${name}=${stringify2(value)}`}function getAttributeComment(stringify2,name,value){return value===void 0?`element.hasAttribute(${stringify2(name)})`:`element.getAttribute(${stringify2(name)}) === ${stringify2(value)}`}function toHaveAttribute(htmlElement,name,expectedValue){checkHtmlElement(htmlElement,toHaveAttribute,this);let isExpectedValuePresent=expectedValue!==void 0,hasAttribute=htmlElement.hasAttribute(name),receivedValue=htmlElement.getAttribute(name);return {pass:isExpectedValuePresent?hasAttribute&&this.equals(receivedValue,expectedValue):hasAttribute,message:()=>{let to=this.isNot?\"not to\":\"to\",receivedAttribute=hasAttribute?printAttribute(this.utils.stringify,name,receivedValue):null,matcher=this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveAttribute`,\"element\",this.utils.printExpected(name),{secondArgument:isExpectedValuePresent?this.utils.printExpected(expectedValue):void 0,comment:getAttributeComment(this.utils.stringify,name,expectedValue)});return getMessage(this,matcher,`Expected the element ${to} have attribute`,printAttribute(this.utils.stringify,name,expectedValue),\"Received\",receivedAttribute)}}}function getExpectedClassNamesAndOptions(params){let lastParam=params.pop(),expectedClassNames,options;return typeof lastParam==\"object\"&&!(lastParam instanceof RegExp)?(expectedClassNames=params,options=lastParam):(expectedClassNames=params.concat(lastParam),options={exact:!1}),{expectedClassNames,options}}function splitClassNames(str){return str?str.split(/\\s+/).filter(s=>s.length>0):[]}function isSubset$1(subset,superset){return subset.every(strOrRegexp=>typeof strOrRegexp==\"string\"?superset.includes(strOrRegexp):superset.some(className=>strOrRegexp.test(className)))}function toHaveClass(htmlElement,...params){checkHtmlElement(htmlElement,toHaveClass,this);let{expectedClassNames,options}=getExpectedClassNamesAndOptions(params),received=splitClassNames(htmlElement.getAttribute(\"class\")),expected=expectedClassNames.reduce((acc,className)=>acc.concat(typeof className==\"string\"||!className?splitClassNames(className):className),[]),hasRegExp=expected.some(className=>className instanceof RegExp);if(options.exact&&hasRegExp)throw new Error(\"Exact option does not support RegExp expected class names\");return options.exact?{pass:isSubset$1(expected,received)&&expected.length===received.length,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveClass`,\"element\",this.utils.printExpected(expected.join(\" \"))),`Expected the element ${to} have EXACTLY defined classes`,expected.join(\" \"),\"Received\",received.join(\" \"))}}:expected.length>0?{pass:isSubset$1(expected,received),message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveClass`,\"element\",this.utils.printExpected(expected.join(\" \"))),`Expected the element ${to} have class`,expected.join(\" \"),\"Received\",received.join(\" \"))}}:{pass:this.isNot?received.length>0:!1,message:()=>this.isNot?getMessage(this,this.utils.matcherHint(\".not.toHaveClass\",\"element\",\"\"),\"Expected the element to have classes\",\"(none)\",\"Received\",received.join(\" \")):[this.utils.matcherHint(\".toHaveClass\",\"element\"),\"At least one expected class must be provided.\"].join(`\n`)}}function getStyleDeclaration(document2,css){let styles={},copy3=document2.createElement(\"div\");return Object.keys(css).forEach(property=>{copy3.style[property]=css[property],styles[property]=copy3.style[property];}),styles}function isSubset(styles,computedStyle){return !!Object.keys(styles).length&&Object.entries(styles).every(([prop,value])=>{let isCustomProperty=prop.startsWith(\"--\"),spellingVariants=[prop];return isCustomProperty||spellingVariants.push(prop.toLowerCase()),spellingVariants.some(name=>computedStyle[name]===value||computedStyle.getPropertyValue(name)===value)})}function printoutStyles(styles){return Object.keys(styles).sort().map(prop=>`${prop}: ${styles[prop]};`).join(`\n`)}function expectedDiff(diffFn,expected,computedStyles){let received=Array.from(computedStyles).filter(prop=>expected[prop]!==void 0).reduce((obj,prop)=>Object.assign(obj,{[prop]:computedStyles.getPropertyValue(prop)}),{});return diffFn(printoutStyles(expected),printoutStyles(received)).replace(`${import_chalk.default.red(\"+ Received\")}\n`,\"\")}function toHaveStyle(htmlElement,css){checkHtmlElement(htmlElement,toHaveStyle,this);let parsedCSS=typeof css==\"object\"?css:parseCSS(css,toHaveStyle,this),{getComputedStyle}=htmlElement.ownerDocument.defaultView,expected=getStyleDeclaration(htmlElement.ownerDocument,parsedCSS),received=getComputedStyle(htmlElement);return {pass:isSubset(expected,received),message:()=>{let matcher=`${this.isNot?\".not\":\"\"}.toHaveStyle`;return [this.utils.matcherHint(matcher,\"element\",\"\"),expectedDiff(this.utils.diff,expected,received)].join(`\n\n`)}}}function toHaveFocus(element){return checkHtmlElement(element,toHaveFocus,this),{pass:element.ownerDocument.activeElement===element,message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveFocus`,\"element\",\"\"),\"\",...this.isNot?[\"Received element is focused:\",` ${this.utils.printReceived(element)}`]:[\"Expected element with focus:\",` ${this.utils.printExpected(element)}`,\"Received element with focus:\",` ${this.utils.printReceived(element.ownerDocument.activeElement)}`]].join(`\n`)}}function getMultiElementValue(elements){let types=(0, import_uniq.default)(elements.map(element=>element.type));if(types.length!==1)throw new Error(\"Multiple form elements with the same name must be of the same type\");switch(types[0]){case\"radio\":{let theChosenOne=elements.find(radio=>radio.checked);return theChosenOne?theChosenOne.value:void 0}case\"checkbox\":return elements.filter(checkbox=>checkbox.checked).map(checkbox=>checkbox.value);default:return elements.map(element=>element.value)}}function getFormValue(container,name){let elements=[...container.querySelectorAll(`[name=\"${(0, import_css.default)(name)}\"]`)];if(elements.length!==0)switch(elements.length){case 1:return getSingleElementValue(elements[0]);default:return getMultiElementValue(elements)}}function getPureName(name){return /\\[\\]$/.test(name)?name.slice(0,-2):name}function getAllFormValues(container){return Array.from(container.elements).map(element=>element.name).reduce((obj,name)=>({...obj,[getPureName(name)]:getFormValue(container,name)}),{})}function toHaveFormValues(formElement,expectedValues){if(checkHtmlElement(formElement,toHaveFormValues,this),!formElement.elements)throw new Error(\"toHaveFormValues must be called on a form or a fieldset\");let formValues=getAllFormValues(formElement);return {pass:Object.entries(expectedValues).every(([name,expectedValue])=>(0, import_isEqualWith.default)(formValues[name],expectedValue,compareArraysAsSet)),message:()=>{let to=this.isNot?\"not to\":\"to\",matcher=`${this.isNot?\".not\":\"\"}.toHaveFormValues`,commonKeyValues=Object.keys(formValues).filter(key=>expectedValues.hasOwnProperty(key)).reduce((obj,key)=>({...obj,[key]:formValues[key]}),{});return [this.utils.matcherHint(matcher,\"element\",\"\"),`Expected the element ${to} have form values`,this.utils.diff(expectedValues,commonKeyValues)].join(`\n\n`)}}}function isStyleVisible(element){let{getComputedStyle}=element.ownerDocument.defaultView,{display:display2,visibility,opacity}=getComputedStyle(element);return display2!==\"none\"&&visibility!==\"hidden\"&&visibility!==\"collapse\"&&opacity!==\"0\"&&opacity!==0}function isAttributeVisible(element,previousElement){let detailsVisibility;return previousElement?detailsVisibility=element.nodeName===\"DETAILS\"&&previousElement.nodeName!==\"SUMMARY\"?element.hasAttribute(\"open\"):!0:detailsVisibility=element.nodeName===\"DETAILS\"?element.hasAttribute(\"open\"):!0,!element.hasAttribute(\"hidden\")&&detailsVisibility}function isElementVisible(element,previousElement){return isStyleVisible(element)&&isAttributeVisible(element,previousElement)&&(!element.parentElement||isElementVisible(element.parentElement,element))}function toBeVisible(element){checkHtmlElement(element,toBeVisible,this);let isInDocument=element.ownerDocument===element.getRootNode({composed:!0}),isVisible2=isInDocument&&isElementVisible(element);return {pass:isVisible2,message:()=>{let is=isVisible2?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeVisible`,\"element\",\"\"),\"\",`Received element ${is} visible${isInDocument?\"\":\" (element is not in the document)\"}:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}var FORM_TAGS$2=[\"fieldset\",\"input\",\"select\",\"optgroup\",\"option\",\"button\",\"textarea\"];function isFirstLegendChildOfFieldset(element,parent){return getTag(element)===\"legend\"&&getTag(parent)===\"fieldset\"&&element.isSameNode(Array.from(parent.children).find(child=>getTag(child)===\"legend\"))}function isElementDisabledByParent(element,parent){return isElementDisabled(parent)&&!isFirstLegendChildOfFieldset(element,parent)}function isCustomElement(tag){return tag.includes(\"-\")}function canElementBeDisabled(element){let tag=getTag(element);return FORM_TAGS$2.includes(tag)||isCustomElement(tag)}function isElementDisabled(element){return canElementBeDisabled(element)&&element.hasAttribute(\"disabled\")}function isAncestorDisabled(element){let parent=element.parentElement;return !!parent&&(isElementDisabledByParent(element,parent)||isAncestorDisabled(parent))}function isElementOrAncestorDisabled(element){return canElementBeDisabled(element)&&(isElementDisabled(element)||isAncestorDisabled(element))}function toBeDisabled(element){checkHtmlElement(element,toBeDisabled,this);let isDisabled3=isElementOrAncestorDisabled(element);return {pass:isDisabled3,message:()=>{let is=isDisabled3?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeDisabled`,\"element\",\"\"),\"\",`Received element ${is} disabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toBeEnabled(element){checkHtmlElement(element,toBeEnabled,this);let isEnabled=!isElementOrAncestorDisabled(element);return {pass:isEnabled,message:()=>{let is=isEnabled?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeEnabled`,\"element\",\"\"),\"\",`Received element ${is} enabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}var FORM_TAGS$1=[\"select\",\"textarea\"],ARIA_FORM_TAGS=[\"input\",\"select\",\"textarea\"],UNSUPPORTED_INPUT_TYPES=[\"color\",\"hidden\",\"range\",\"submit\",\"image\",\"reset\"],SUPPORTED_ARIA_ROLES=[\"combobox\",\"gridcell\",\"radiogroup\",\"spinbutton\",\"tree\"];function isRequiredOnFormTagsExceptInput(element){return FORM_TAGS$1.includes(getTag(element))&&element.hasAttribute(\"required\")}function isRequiredOnSupportedInput(element){return getTag(element)===\"input\"&&element.hasAttribute(\"required\")&&(element.hasAttribute(\"type\")&&!UNSUPPORTED_INPUT_TYPES.includes(element.getAttribute(\"type\"))||!element.hasAttribute(\"type\"))}function isElementRequiredByARIA(element){return element.hasAttribute(\"aria-required\")&&element.getAttribute(\"aria-required\")===\"true\"&&(ARIA_FORM_TAGS.includes(getTag(element))||element.hasAttribute(\"role\")&&SUPPORTED_ARIA_ROLES.includes(element.getAttribute(\"role\")))}function toBeRequired(element){checkHtmlElement(element,toBeRequired,this);let isRequired=isRequiredOnFormTagsExceptInput(element)||isRequiredOnSupportedInput(element)||isElementRequiredByARIA(element);return {pass:isRequired,message:()=>{let is=isRequired?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeRequired`,\"element\",\"\"),\"\",`Received element ${is} required:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}var FORM_TAGS=[\"form\",\"input\",\"select\",\"textarea\"];function isElementHavingAriaInvalid(element){return element.hasAttribute(\"aria-invalid\")&&element.getAttribute(\"aria-invalid\")!==\"false\"}function isSupportsValidityMethod(element){return FORM_TAGS.includes(getTag(element))}function isElementInvalid(element){let isHaveAriaInvalid=isElementHavingAriaInvalid(element);return isSupportsValidityMethod(element)?isHaveAriaInvalid||!element.checkValidity():isHaveAriaInvalid}function toBeInvalid(element){checkHtmlElement(element,toBeInvalid,this);let isInvalid=isElementInvalid(element);return {pass:isInvalid,message:()=>{let is=isInvalid?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeInvalid`,\"element\",\"\"),\"\",`Received element ${is} currently invalid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toBeValid(element){checkHtmlElement(element,toBeValid,this);let isValid=!isElementInvalid(element);return {pass:isValid,message:()=>{let is=isValid?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeValid`,\"element\",\"\"),\"\",`Received element ${is} currently valid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toHaveValue(htmlElement,expectedValue){if(checkHtmlElement(htmlElement,toHaveValue,this),htmlElement.tagName.toLowerCase()===\"input\"&&[\"checkbox\",\"radio\"].includes(htmlElement.type))throw new Error(\"input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead\");let receivedValue=getSingleElementValue(htmlElement),expectsValue=expectedValue!==void 0,expectedTypedValue=expectedValue,receivedTypedValue=receivedValue;return expectedValue==receivedValue&&expectedValue!==receivedValue&&(expectedTypedValue=`${expectedValue} (${typeof expectedValue})`,receivedTypedValue=`${receivedValue} (${typeof receivedValue})`),{pass:expectsValue?(0, import_isEqualWith.default)(receivedValue,expectedValue,compareArraysAsSet):!!receivedValue,message:()=>{let to=this.isNot?\"not to\":\"to\",matcher=this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveValue`,\"element\",expectedValue);return getMessage(this,matcher,`Expected the element ${to} have value`,expectsValue?expectedTypedValue:\"(any)\",\"Received\",receivedTypedValue)}}}function toHaveDisplayValue(htmlElement,expectedValue){checkHtmlElement(htmlElement,toHaveDisplayValue,this);let tagName=htmlElement.tagName.toLowerCase();if(![\"select\",\"input\",\"textarea\"].includes(tagName))throw new Error(\".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.\");if(tagName===\"input\"&&[\"radio\",\"checkbox\"].includes(htmlElement.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type=\"${htmlElement.type}\"], try with another matcher instead.`);let values=getValues(tagName,htmlElement),expectedValues=getExpectedValues(expectedValue),numberOfMatchesWithValues=expectedValues.filter(expected=>values.some(value=>expected instanceof RegExp?expected.test(value):this.equals(value,String(expected)))).length,matchedWithAllValues=numberOfMatchesWithValues===values.length,matchedWithAllExpectedValues=numberOfMatchesWithValues===expectedValues.length;return {pass:matchedWithAllValues&&matchedWithAllExpectedValues,message:()=>getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveDisplayValue`,\"element\",\"\"),`Expected element ${this.isNot?\"not \":\"\"}to have display value`,expectedValue,\"Received\",values)}}function getValues(tagName,htmlElement){return tagName===\"select\"?Array.from(htmlElement).filter(option=>option.selected).map(option=>option.textContent):[htmlElement.value]}function getExpectedValues(expectedValue){return expectedValue instanceof Array?expectedValue:[expectedValue]}function toBeChecked(element){checkHtmlElement(element,toBeChecked,this);let isValidInput=()=>element.tagName.toLowerCase()===\"input\"&&[\"checkbox\",\"radio\"].includes(element.type),isValidAriaElement=()=>roleSupportsChecked(element.getAttribute(\"role\"))&&[\"true\",\"false\"].includes(element.getAttribute(\"aria-checked\"));if(!isValidInput()&&!isValidAriaElement())return {pass:!1,message:()=>`only inputs with type=\"checkbox\" or type=\"radio\" or elements with ${supportedRolesSentence()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let isChecked=()=>isValidInput()?element.checked:element.getAttribute(\"aria-checked\")===\"true\";return {pass:isChecked(),message:()=>{let is=isChecked()?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeChecked`,\"element\",\"\"),\"\",`Received element ${is} checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function supportedRolesSentence(){return toSentence(supportedRoles().map(role=>`role=\"${role}\"`),{lastWordConnector:\" or \"})}function supportedRoles(){return import_aria_query.roles.keys().filter(roleSupportsChecked)}function roleSupportsChecked(role){return import_aria_query.roles.get(role)?.props[\"aria-checked\"]!==void 0}function toBePartiallyChecked(element){checkHtmlElement(element,toBePartiallyChecked,this);let isValidInput=()=>element.tagName.toLowerCase()===\"input\"&&element.type===\"checkbox\",isValidAriaElement=()=>element.getAttribute(\"role\")===\"checkbox\";if(!isValidInput()&&!isValidAriaElement())return {pass:!1,message:()=>'only inputs with type=\"checkbox\" or elements with role=\"checkbox\" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let isPartiallyChecked=()=>{let isAriaMixed=element.getAttribute(\"aria-checked\")===\"mixed\";return isValidInput()&&element.indeterminate||isAriaMixed};return {pass:isPartiallyChecked(),message:()=>{let is=isPartiallyChecked()?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBePartiallyChecked`,\"element\",\"\"),\"\",`Received element ${is} partially checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toHaveDescription(htmlElement,checkWith){deprecate(\"toHaveDescription\",\"Please use toHaveAccessibleDescription.\"),checkHtmlElement(htmlElement,toHaveDescription,this);let expectsDescription=checkWith!==void 0,descriptionIDs=(htmlElement.getAttribute(\"aria-describedby\")||\"\").split(/\\s+/).filter(Boolean),description=\"\";if(descriptionIDs.length>0){let document2=htmlElement.ownerDocument,descriptionEls=descriptionIDs.map(descriptionID=>document2.getElementById(descriptionID)).filter(Boolean);description=normalize(descriptionEls.map(el=>el.textContent).join(\" \"));}return {pass:expectsDescription?checkWith instanceof RegExp?checkWith.test(description):this.equals(description,checkWith):!!description,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveDescription`,\"element\",\"\"),`Expected the element ${to} have description`,this.utils.printExpected(checkWith),\"Received\",this.utils.printReceived(description))}}}function toHaveErrorMessage(htmlElement,checkWith){if(deprecate(\"toHaveErrorMessage\",\"Please use toHaveAccessibleErrorMessage.\"),checkHtmlElement(htmlElement,toHaveErrorMessage,this),!htmlElement.hasAttribute(\"aria-invalid\")||htmlElement.getAttribute(\"aria-invalid\")===\"false\"){let not=this.isNot?\".not\":\"\";return {pass:!1,message:()=>getMessage(this,this.utils.matcherHint(`${not}.toHaveErrorMessage`,\"element\",\"\"),\"Expected the element to have invalid state indicated by\",'aria-invalid=\"true\"',\"Received\",htmlElement.hasAttribute(\"aria-invalid\")?`aria-invalid=\"${htmlElement.getAttribute(\"aria-invalid\")}\"`:this.utils.printReceived(\"\"))}}let expectsErrorMessage=checkWith!==void 0,errormessageIDs=(htmlElement.getAttribute(\"aria-errormessage\")||\"\").split(/\\s+/).filter(Boolean),errormessage=\"\";if(errormessageIDs.length>0){let document2=htmlElement.ownerDocument,errormessageEls=errormessageIDs.map(errormessageID=>document2.getElementById(errormessageID)).filter(Boolean);errormessage=normalize(errormessageEls.map(el=>el.textContent).join(\" \"));}return {pass:expectsErrorMessage?checkWith instanceof RegExp?checkWith.test(errormessage):this.equals(errormessage,checkWith):!!errormessage,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveErrorMessage`,\"element\",\"\"),`Expected the element ${to} have error message`,this.utils.printExpected(checkWith),\"Received\",this.utils.printReceived(errormessage))}}}__toESM(require_redent(),1);__toESM(require_isEqual(),1);__toESM(require_lib(),1);__toESM(require_source(),1);__toESM(require_isEqualWith(),1);__toESM(require_uniq(),1);__toESM(require_css_escape(),1);function createExpect(){use(JestExtend),use(JestChaiExpect),use(JestAsymmetricMatchers);let expect4=(value,message)=>{let{assertionCalls}=getState(expect4);return setState({assertionCalls:assertionCalls+1,soft:!1},expect4),expect(value,message)};Object.assign(expect4,expect),expect4.getState=()=>getState(expect4),expect4.setState=state=>setState(state,expect4),expect4.extend=expects=>expect.extend(expect4,expects),expect4.soft=(...args)=>{let assert2=expect4(...args);return expect4.setState({soft:!0}),assert2},expect4.unreachable=message=>{assert.fail(`expected${message?` \"${message}\" `:\" \"}not to be reached`);};function assertions(expected){let errorGen=()=>new Error(`expected number of assertions to be ${expected}, but got ${expect4.getState().assertionCalls}`);\"captureStackTrace\"in Error&&typeof Error.captureStackTrace==\"function\"&&Error.captureStackTrace(errorGen(),assertions),expect4.setState({expectedAssertionsNumber:expected,expectedAssertionsNumberErrorGen:errorGen});}function hasAssertions(){let error=new Error(\"expected any number of assertion, but got none\");\"captureStackTrace\"in Error&&typeof Error.captureStackTrace==\"function\"&&Error.captureStackTrace(error,hasAssertions),expect4.setState({isExpectingAssertions:!0,isExpectingAssertionsError:error});}return setState({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},expect4),util.addMethod(expect4,\"assertions\",assertions),util.addMethod(expect4,\"hasAssertions\",hasAssertions),expect4.extend(matchers_exports),expect4}var expect2=createExpect();Object.defineProperty(globalThis,GLOBAL_EXPECT,{value:expect2,writable:!0,configurable:!0});var listeners=new Set;function onMockCall(callback){return listeners.add(callback),()=>void listeners.delete(callback)}var spyOn2=(...args)=>{let mock=spyOn(...args);return reactiveMock(mock)},fn2=implementation=>{let mock=implementation?fn(implementation):fn();return reactiveMock(mock)};function reactiveMock(mock){let reactive=listenWhenCalled(mock),originalMockImplementation=reactive.mockImplementation.bind(null);return reactive.mockImplementation=fn3=>listenWhenCalled(originalMockImplementation(fn3)),reactive}function listenWhenCalled(mock){let state=v(mock),impl=state.impl?.bind(null);return state.willCall((...args)=>(listeners.forEach(listener=>listener(mock,args)),impl?.(...args))),mock}function clearAllMocks(){mocks.forEach(spy=>spy.mockClear());}function resetAllMocks(){mocks.forEach(spy=>spy.mockReset());}function restoreAllMocks(){mocks.forEach(spy=>spy.mockRestore());}function mocked(item,_options={}){return item}var dom_esm_exports={};__export(dom_esm_exports,{buildQueries:()=>buildQueries,configure:()=>configure,createEvent:()=>createEvent,findAllByAltText:()=>findAllByAltText,findAllByDisplayValue:()=>findAllByDisplayValue,findAllByLabelText:()=>findAllByLabelText,findAllByPlaceholderText:()=>findAllByPlaceholderText,findAllByRole:()=>findAllByRole,findAllByTestId:()=>findAllByTestId,findAllByText:()=>findAllByText,findAllByTitle:()=>findAllByTitle,findByAltText:()=>findByAltText,findByDisplayValue:()=>findByDisplayValue,findByLabelText:()=>findByLabelText,findByPlaceholderText:()=>findByPlaceholderText,findByRole:()=>findByRole,findByTestId:()=>findByTestId,findByText:()=>findByText,findByTitle:()=>findByTitle,fireEvent:()=>fireEvent,getAllByAltText:()=>getAllByAltText,getAllByDisplayValue:()=>getAllByDisplayValue,getAllByLabelText:()=>getAllByLabelTextWithSuggestions,getAllByPlaceholderText:()=>getAllByPlaceholderText,getAllByRole:()=>getAllByRole,getAllByTestId:()=>getAllByTestId,getAllByText:()=>getAllByText,getAllByTitle:()=>getAllByTitle,getByAltText:()=>getByAltText,getByDisplayValue:()=>getByDisplayValue,getByLabelText:()=>getByLabelTextWithSuggestions,getByPlaceholderText:()=>getByPlaceholderText,getByRole:()=>getByRole,getByTestId:()=>getByTestId,getByText:()=>getByText,getByTitle:()=>getByTitle,getConfig:()=>getConfig,getDefaultNormalizer:()=>getDefaultNormalizer,getElementError:()=>getElementError,getMultipleElementsFoundError:()=>getMultipleElementsFoundError,getNodeText:()=>getNodeText,getQueriesForElement:()=>getQueriesForElement,getRoles:()=>getRoles,getSuggestedQuery:()=>getSuggestedQuery,isInaccessible:()=>isInaccessible,logDOM:()=>logDOM,logRoles:()=>logRoles,makeFindQuery:()=>makeFindQuery,makeGetAllQuery:()=>makeGetAllQuery,makeSingleQuery:()=>makeSingleQuery,prettyDOM:()=>prettyDOM,prettyFormat:()=>prettyFormat,queries:()=>queries,queryAllByAltText:()=>queryAllByAltTextWithSuggestions,queryAllByAttribute:()=>queryAllByAttribute,queryAllByDisplayValue:()=>queryAllByDisplayValueWithSuggestions,queryAllByLabelText:()=>queryAllByLabelTextWithSuggestions,queryAllByPlaceholderText:()=>queryAllByPlaceholderTextWithSuggestions,queryAllByRole:()=>queryAllByRoleWithSuggestions,queryAllByTestId:()=>queryAllByTestIdWithSuggestions,queryAllByText:()=>queryAllByTextWithSuggestions,queryAllByTitle:()=>queryAllByTitleWithSuggestions,queryByAltText:()=>queryByAltText,queryByAttribute:()=>queryByAttribute,queryByDisplayValue:()=>queryByDisplayValue,queryByLabelText:()=>queryByLabelText,queryByPlaceholderText:()=>queryByPlaceholderText,queryByRole:()=>queryByRole,queryByTestId:()=>queryByTestId,queryByText:()=>queryByText,queryByTitle:()=>queryByTitle,queryHelpers:()=>queryHelpers,screen:()=>screen,waitFor:()=>waitForWrapper,waitForElementToBeRemoved:()=>waitForElementToBeRemoved,within:()=>getQueriesForElement,wrapAllByQueryWithSuggestion:()=>wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion:()=>wrapSingleQueryWithSuggestion});var prettyFormat=__toESM(require_build3());var toStr2=Object.prototype.toString;function isCallable2(fn3){return typeof fn3==\"function\"||toStr2.call(fn3)===\"[object Function]\"}function toInteger2(value){var number=Number(value);return isNaN(number)?0:number===0||!isFinite(number)?number:(number>0?1:-1)*Math.floor(Math.abs(number))}var maxSafeInteger2=Math.pow(2,53)-1;function toLength2(value){var len=toInteger2(value);return Math.min(Math.max(len,0),maxSafeInteger2)}function arrayFrom2(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(arrayLike==null)throw new TypeError(\"Array.from requires an array-like object - not null or undefined\");if(typeof mapFn<\"u\"&&!isCallable2(mapFn))throw new TypeError(\"Array.from: when provided, the second argument must be a function\");for(var len=toLength2(items.length),A=isCallable2(C2)?Object(new C2(len)):new Array(len),k=0,kValue;k0&&arguments[0]!==void 0?arguments[0]:[];_classCallCheck2(this,SetLike3),_defineProperty3(this,\"items\",void 0),this.items=items;}return _createClass2(SetLike3,[{key:\"add\",value:function(value){return this.has(value)===!1&&this.items.push(value),this}},{key:\"clear\",value:function(){this.items=[];}},{key:\"delete\",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter(function(item){return item!==value}),previousLength!==this.items.length}},{key:\"forEach\",value:function(callbackfn){var _this=this;this.items.forEach(function(item){callbackfn(item,item,_this);});}},{key:\"has\",value:function(value){return this.items.indexOf(value)!==-1}},{key:\"size\",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default2=typeof Set>\"u\"?Set:SetLike2;function getLocalName2(element){var _element$localName;return (_element$localName=element.localName)!==null&&_element$localName!==void 0?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings2={article:\"article\",aside:\"complementary\",button:\"button\",datalist:\"listbox\",dd:\"definition\",details:\"group\",dialog:\"dialog\",dt:\"term\",fieldset:\"group\",figure:\"figure\",form:\"form\",footer:\"contentinfo\",h1:\"heading\",h2:\"heading\",h3:\"heading\",h4:\"heading\",h5:\"heading\",h6:\"heading\",header:\"banner\",hr:\"separator\",html:\"document\",legend:\"legend\",li:\"listitem\",math:\"math\",main:\"main\",menu:\"list\",nav:\"navigation\",ol:\"list\",optgroup:\"group\",option:\"option\",output:\"status\",progress:\"progressbar\",section:\"region\",summary:\"button\",table:\"table\",tbody:\"rowgroup\",textarea:\"textbox\",tfoot:\"rowgroup\",td:\"cell\",th:\"columnheader\",thead:\"rowgroup\",tr:\"row\",ul:\"list\"},prohibitedAttributes2={caption:new Set([\"aria-label\",\"aria-labelledby\"]),code:new Set([\"aria-label\",\"aria-labelledby\"]),deletion:new Set([\"aria-label\",\"aria-labelledby\"]),emphasis:new Set([\"aria-label\",\"aria-labelledby\"]),generic:new Set([\"aria-label\",\"aria-labelledby\",\"aria-roledescription\"]),insertion:new Set([\"aria-label\",\"aria-labelledby\"]),paragraph:new Set([\"aria-label\",\"aria-labelledby\"]),presentation:new Set([\"aria-label\",\"aria-labelledby\"]),strong:new Set([\"aria-label\",\"aria-labelledby\"]),subscript:new Set([\"aria-label\",\"aria-labelledby\"]),superscript:new Set([\"aria-label\",\"aria-labelledby\"])};function hasGlobalAriaAttributes2(element,role){return [\"aria-atomic\",\"aria-busy\",\"aria-controls\",\"aria-current\",\"aria-describedby\",\"aria-details\",\"aria-dropeffect\",\"aria-flowto\",\"aria-grabbed\",\"aria-hidden\",\"aria-keyshortcuts\",\"aria-label\",\"aria-labelledby\",\"aria-live\",\"aria-owns\",\"aria-relevant\",\"aria-roledescription\"].some(function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!((_prohibitedAttributes=prohibitedAttributes2[role])!==null&&_prohibitedAttributes!==void 0&&_prohibitedAttributes.has(attributeName))})}function ignorePresentationalRole2(element,implicitRole){return hasGlobalAriaAttributes2(element,implicitRole)}function getRole2(element){var explicitRole=getExplicitRole2(element);if(explicitRole===null||explicitRole===\"presentation\"){var implicitRole=getImplicitRole2(element);if(explicitRole!==\"presentation\"||ignorePresentationalRole2(element,implicitRole||\"\"))return implicitRole}return explicitRole}function getImplicitRole2(element){var mappedByTag=localNameToRoleMappings2[getLocalName2(element)];if(mappedByTag!==void 0)return mappedByTag;switch(getLocalName2(element)){case\"a\":case\"area\":case\"link\":if(element.hasAttribute(\"href\"))return \"link\";break;case\"img\":return element.getAttribute(\"alt\")===\"\"&&!ignorePresentationalRole2(element,\"img\")?\"presentation\":\"img\";case\"input\":{var _ref=element,type3=_ref.type;switch(type3){case\"button\":case\"image\":case\"reset\":case\"submit\":return \"button\";case\"checkbox\":case\"radio\":return type3;case\"range\":return \"slider\";case\"email\":case\"tel\":case\"text\":case\"url\":return element.hasAttribute(\"list\")?\"combobox\":\"textbox\";case\"search\":return element.hasAttribute(\"list\")?\"combobox\":\"searchbox\";case\"number\":return \"spinbutton\";default:return null}}case\"select\":return element.hasAttribute(\"multiple\")||element.size>1?\"listbox\":\"combobox\"}return null}function getExplicitRole2(element){var role=element.getAttribute(\"role\");if(role!==null){var explicitRole=role.trim().split(\" \")[0];if(explicitRole.length>0)return explicitRole}return null}function isElement2(node){return node!==null&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement2(node){return isElement2(node)&&getLocalName2(node)===\"caption\"}function isHTMLInputElement2(node){return isElement2(node)&&getLocalName2(node)===\"input\"}function isHTMLOptGroupElement2(node){return isElement2(node)&&getLocalName2(node)===\"optgroup\"}function isHTMLSelectElement2(node){return isElement2(node)&&getLocalName2(node)===\"select\"}function isHTMLTableElement2(node){return isElement2(node)&&getLocalName2(node)===\"table\"}function isHTMLTextAreaElement2(node){return isElement2(node)&&getLocalName2(node)===\"textarea\"}function safeWindow2(node){var _ref=node.ownerDocument===null?node:node.ownerDocument,defaultView=_ref.defaultView;if(defaultView===null)throw new TypeError(\"no window available\");return defaultView}function isHTMLFieldSetElement2(node){return isElement2(node)&&getLocalName2(node)===\"fieldset\"}function isHTMLLegendElement2(node){return isElement2(node)&&getLocalName2(node)===\"legend\"}function isHTMLSlotElement2(node){return isElement2(node)&&getLocalName2(node)===\"slot\"}function isSVGElement2(node){return isElement2(node)&&node.ownerSVGElement!==void 0}function isSVGSVGElement2(node){return isElement2(node)&&getLocalName2(node)===\"svg\"}function isSVGTitleElement2(node){return isSVGElement2(node)&&getLocalName2(node)===\"title\"}function queryIdRefs2(node,attributeName){if(isElement2(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(\" \"),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map(function(id){return root.getElementById(id)}).filter(function(element){return element!==null})}return []}function hasAnyConcreteRoles2(node,roles3){return isElement2(node)?roles3.indexOf(getRole2(node))!==-1:!1}function asFlatString2(s){return s.trim().replace(/\\s\\s+/g,\" \")}function isHidden2(node,getComputedStyleImplementation){if(!isElement2(node))return !1;if(node.hasAttribute(\"hidden\")||node.getAttribute(\"aria-hidden\")===\"true\")return !0;var style=getComputedStyleImplementation(node);return style.getPropertyValue(\"display\")===\"none\"||style.getPropertyValue(\"visibility\")===\"hidden\"}function isControl2(node){return hasAnyConcreteRoles2(node,[\"button\",\"combobox\",\"listbox\",\"textbox\"])||hasAbstractRole2(node,\"range\")}function hasAbstractRole2(node,role){if(!isElement2(node))return !1;switch(role){case\"range\":return hasAnyConcreteRoles2(node,[\"meter\",\"progressbar\",\"scrollbar\",\"slider\",\"spinbutton\"]);default:throw new TypeError(\"No knowledge about abstract role '\".concat(role,\"'. This is likely a bug :(\"))}}function querySelectorAllSubtree2(element,selectors){var elements=arrayFrom2(element.querySelectorAll(selectors));return queryIdRefs2(element,\"aria-owns\").forEach(function(root){elements.push.apply(elements,arrayFrom2(root.querySelectorAll(selectors)));}),elements}function querySelectedOptions2(listbox){return isHTMLSelectElement2(listbox)?listbox.selectedOptions||querySelectorAllSubtree2(listbox,\"[selected]\"):querySelectorAllSubtree2(listbox,'[aria-selected=\"true\"]')}function isMarkedPresentational2(node){return hasAnyConcreteRoles2(node,[\"none\",\"presentation\"])}function isNativeHostLanguageTextAlternativeElement2(node){return isHTMLTableCaptionElement2(node)}function allowsNameFromContent2(node){return hasAnyConcreteRoles2(node,[\"button\",\"cell\",\"checkbox\",\"columnheader\",\"gridcell\",\"heading\",\"label\",\"legend\",\"link\",\"menuitem\",\"menuitemcheckbox\",\"menuitemradio\",\"option\",\"radio\",\"row\",\"rowheader\",\"switch\",\"tab\",\"tooltip\",\"treeitem\"])}function isDescendantOfNativeHostLanguageTextAlternativeElement2(node){return !1}function getValueOfTextbox2(element){return isHTMLInputElement2(element)||isHTMLTextAreaElement2(element)?element.value:element.textContent||\"\"}function getTextualContent2(declaration){var content=declaration.getPropertyValue(\"content\");return /^[\"'].*[\"']$/.test(content)?content.slice(1,-1):\"\"}function isLabelableElement2(element){var localName=getLocalName2(element);return localName===\"button\"||localName===\"input\"&&element.getAttribute(\"type\")!==\"hidden\"||localName===\"meter\"||localName===\"output\"||localName===\"progress\"||localName===\"select\"||localName===\"textarea\"}function findLabelableElement2(element){if(isLabelableElement2(element))return element;var labelableElement=null;return element.childNodes.forEach(function(childNode){if(labelableElement===null&&isElement2(childNode)){var descendantLabelableElement=findLabelableElement2(childNode);descendantLabelableElement!==null&&(labelableElement=descendantLabelableElement);}}),labelableElement}function getControlOfLabel2(label){if(label.control!==void 0)return label.control;var htmlFor=label.getAttribute(\"for\");return htmlFor!==null?label.ownerDocument.getElementById(htmlFor):findLabelableElement2(label)}function getLabels2(element){var labelsProperty=element.labels;if(labelsProperty===null)return labelsProperty;if(labelsProperty!==void 0)return arrayFrom2(labelsProperty);if(!isLabelableElement2(element))return null;var document2=element.ownerDocument;return arrayFrom2(document2.querySelectorAll(\"label\")).filter(function(label){return getControlOfLabel2(label)===element})}function getSlotContents2(slot){var assignedNodes=slot.assignedNodes();return assignedNodes.length===0?arrayFrom2(slot.childNodes):assignedNodes}function computeTextAlternative2(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},consultedNodes=new SetLike_default2,window2=safeWindow2(root),_options$compute=options.compute,compute=_options$compute===void 0?\"name\":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=_options$computedStyl===void 0?options.getComputedStyle!==void 0:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=_options$getComputedS===void 0?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=_options$hidden===void 0?!1:_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText=\"\";if(isElement2(node)&&computedStyleSupportsPseudoElements){var pseudoBefore=getComputedStyle(node,\"::before\"),beforeContent=getTextualContent2(pseudoBefore);accumulatedText=\"\".concat(beforeContent,\" \").concat(accumulatedText);}var childNodes=isHTMLSlotElement2(node)?getSlotContents2(node):arrayFrom2(node.childNodes).concat(queryIdRefs2(node,\"aria-owns\"));if(childNodes.forEach(function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),display2=isElement2(child)?getComputedStyle(child).getPropertyValue(\"display\"):\"inline\",separator=display2!==\"inline\"?\" \":\"\";accumulatedText+=\"\".concat(separator).concat(result).concat(separator);}),isElement2(node)&&computedStyleSupportsPseudoElements){var pseudoAfter=getComputedStyle(node,\"::after\"),afterContent=getTextualContent2(pseudoAfter);accumulatedText=\"\".concat(accumulatedText,\" \").concat(afterContent);}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return attribute!==null&&!consultedNodes.has(attribute)&&attribute.value.trim()!==\"\"?(consultedNodes.add(attribute),attribute.value):null}function computeTooltipAttributeValue(node){return isElement2(node)?useAttribute(node,\"title\"):null}function computeElementTextAlternative(node){if(!isElement2(node))return null;if(isHTMLFieldSetElement2(node)){consultedNodes.add(node);for(var children=arrayFrom2(node.childNodes),i=0;i0}).join(\" \");if(isHTMLInputElement2(node)&&node.type===\"image\"){var _nameFromAlt=useAttribute(node,\"alt\");if(_nameFromAlt!==null)return _nameFromAlt;var nameFromTitle=useAttribute(node,\"title\");return nameFromTitle!==null?nameFromTitle:\"Submit Query\"}if(hasAnyConcreteRoles2(node,[\"button\"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(nameFromSubTree!==\"\")return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return \"\";if(!hidden&&isHidden2(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),\"\";var labelAttributeNode=isElement2(current)?current.getAttributeNode(\"aria-labelledby\"):null,labelElements=labelAttributeNode!==null&&!consultedNodes.has(labelAttributeNode)?queryIdRefs2(current,\"aria-labelledby\"):[];if(compute===\"name\"&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map(function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(\" \");var skipToStep2E=context.recursion&&isControl2(current)&&compute===\"name\";if(!skipToStep2E){var ariaLabel=(isElement2(current)&¤t.getAttribute(\"aria-label\")||\"\").trim();if(ariaLabel!==\"\"&&compute===\"name\")return consultedNodes.add(current),ariaLabel;if(!isMarkedPresentational2(current)){var elementTextAlternative=computeElementTextAlternative(current);if(elementTextAlternative!==null)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles2(current,[\"menu\"]))return consultedNodes.add(current),\"\";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles2(current,[\"combobox\",\"listbox\"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions2(current);return selectedOptions.length===0?isHTMLInputElement2(current)?current.value:\"\":arrayFrom2(selectedOptions).map(function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(\" \")}if(hasAbstractRole2(current,\"range\"))return consultedNodes.add(current),current.hasAttribute(\"aria-valuetext\")?current.getAttribute(\"aria-valuetext\"):current.hasAttribute(\"aria-valuenow\")?current.getAttribute(\"aria-valuenow\"):current.getAttribute(\"value\")||\"\";if(hasAnyConcreteRoles2(current,[\"textbox\"]))return consultedNodes.add(current),getValueOfTextbox2(current)}if(allowsNameFromContent2(current)||isElement2(current)&&context.isReferenced||isNativeHostLanguageTextAlternativeElement2(current)||isDescendantOfNativeHostLanguageTextAlternativeElement2()){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(accumulatedText2F!==\"\")return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||\"\";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=computeTooltipAttributeValue(current);return tooltipAttributeValue!==null?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),\"\")}return asFlatString2(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:compute===\"description\",recursion:!1}))}function _typeof4(obj){\"@babel/helpers - typeof\";return _typeof4=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(obj2){return typeof obj2}:function(obj2){return obj2&&typeof Symbol==\"function\"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?\"symbol\":typeof obj2},_typeof4(obj)}function ownKeys2(object,enumerableOnly){var keys2=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys2.push.apply(keys2,symbols);}return keys2}function _objectSpread2(target){for(var i=1;i1&&arguments[1]!==void 0?arguments[1]:{},description=queryIdRefs2(root,\"aria-describedby\").map(function(element){return computeTextAlternative2(element,_objectSpread2(_objectSpread2({},options),{},{compute:\"description\"}))}).join(\" \");if(description===\"\"){var title=root.getAttribute(\"title\");description=title===null?\"\":title;}return description}function prohibitsNaming2(node){return hasAnyConcreteRoles2(node,[\"caption\",\"code\",\"deletion\",\"emphasis\",\"generic\",\"insertion\",\"paragraph\",\"presentation\",\"strong\",\"subscript\",\"superscript\"])}function computeAccessibleName2(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return prohibitsNaming2(root)?\"\":computeTextAlternative2(root,options)}var import_aria_query3=__toESM(require_lib()),import_lz_string=__toESM(require_lz_string());function escapeHTML(str){return str.replace(//g,\">\")}var printProps=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map(key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return typeof value!=\"string\"&&(printed.indexOf(`\n`)!==-1&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=\"{\"+printed+\"}\"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+\"=\"+colors.value.open+printed+colors.value.close}).join(\"\")},NodeTypeTextNode=3,printChildren=(children,config3,indentation,depth,refs,printer)=>children.map(child=>{let printedChild=typeof child==\"string\"?printText(child,config3):printer(child,config3,indentation,depth,refs);return printedChild===\"\"&&typeof child==\"object\"&&child!==null&&child.nodeType!==NodeTypeTextNode?\"\":config3.spacingOuter+indentation+printedChild}).join(\"\"),printText=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+escapeHTML(text)+contentColor.close},printComment=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+\"\"+commentColor.close},printElement=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?\">\"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+\"\"+tagColor.close},printElementAsLeaf=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+tagColor.close+\" \\u2026\"+tagColor.open+\" />\"+tagColor.close},ELEMENT_NODE$1=1,TEXT_NODE$1=3,COMMENT_NODE$1=8,FRAGMENT_NODE=11,ELEMENT_REGEXP=/^((HTML|SVG)\\w*)?Element$/,testNode=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2=typeof tagName==\"string\"&&tagName.includes(\"-\")||typeof val.hasAttribute==\"function\"&&val.hasAttribute(\"is\");return nodeType===ELEMENT_NODE$1&&(ELEMENT_REGEXP.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE$1&&constructorName===\"Text\"||nodeType===COMMENT_NODE$1&&constructorName===\"Comment\"||nodeType===FRAGMENT_NODE&&constructorName===\"DocumentFragment\"};function nodeIsText(node){return node.nodeType===TEXT_NODE$1}function nodeIsComment(node){return node.nodeType===COMMENT_NODE$1}function nodeIsFragment(node){return node.nodeType===FRAGMENT_NODE}function createDOMElementFilter(filterNode){return {test:val=>{var _val$constructor2;return (val==null||(_val$constructor2=val.constructor)==null?void 0:_val$constructor2.name)&&testNode(val)},serialize:(node,config3,indentation,depth,refs,printer)=>{if(nodeIsText(node))return printText(node.data,config3);if(nodeIsComment(node))return printComment(node.data,config3);let type3=nodeIsFragment(node)?\"DocumentFragment\":node.tagName.toLowerCase();return ++depth>config3.maxDepth?printElementAsLeaf(type3,config3):printElement(type3,printProps(nodeIsFragment(node)?[]:Array.from(node.attributes).map(attr=>attr.name).sort(),nodeIsFragment(node)?{}:Array.from(node.attributes).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}),config3,indentation+config3.indent,depth,refs,printer),printChildren(Array.prototype.slice.call(node.childNodes||node.children).filter(filterNode),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)}}}var chalk2=null,readFileSync=null,codeFrameColumns=null;try{let nodeRequire=module&&module.require;readFileSync=nodeRequire.call(module,\"fs\").readFileSync,codeFrameColumns=nodeRequire.call(module,\"@babel/code-frame\").codeFrameColumns,chalk2=nodeRequire.call(module,\"chalk\");}catch{}function getCodeFrame(frame){let locationStart=frame.indexOf(\"(\")+1,locationEnd=frame.indexOf(\")\"),frameLocation=frame.slice(locationStart,locationEnd),frameLocationElements=frameLocation.split(\":\"),[filename,line,column]=[frameLocationElements[0],parseInt(frameLocationElements[1],10),parseInt(frameLocationElements[2],10)],rawFileContents=\"\";try{rawFileContents=readFileSync(filename,\"utf-8\");}catch{return \"\"}let codeFrame=codeFrameColumns(rawFileContents,{start:{line,column}},{highlightCode:!0,linesBelow:0});return chalk2.dim(frameLocation)+`\n`+codeFrame+`\n`}function getUserCodeFrame(){if(!readFileSync||!codeFrameColumns)return \"\";let firstClientCodeFrame=new Error().stack.split(`\n`).slice(1).find(frame=>!frame.includes(\"node_modules/\"));return getCodeFrame(firstClientCodeFrame)}var TEXT_NODE=3;function jestFakeTimersAreEnabled(){return typeof jest<\"u\"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,\"clock\"):!1}function getDocument(){if(typeof window>\"u\")throw new Error(\"Could not find default container\");return window.document}function getWindowFromNode(node){if(node.defaultView)return node.defaultView;if(node.ownerDocument&&node.ownerDocument.defaultView)return node.ownerDocument.defaultView;if(node.window)return node.window;throw node.ownerDocument&&node.ownerDocument.defaultView===null?new Error(\"It looks like the window object is not available for the provided node.\"):node.then instanceof Function?new Error(\"It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?\"):Array.isArray(node)?new Error(\"It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?\"):typeof node.debug==\"function\"&&typeof node.logTestingPlaygroundURL==\"function\"?new Error(\"It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?\"):new Error(\"The given node is not an Element, the node type is: \"+typeof node+\".\")}function checkContainerType(container){if(!container||typeof container.querySelector!=\"function\"||typeof container.querySelectorAll!=\"function\")throw new TypeError(\"Expected container to be an Element, a Document or a DocumentFragment but got \"+getTypeName(container)+\".\");function getTypeName(object){return typeof object==\"object\"?object===null?\"null\":object.constructor.name:typeof object}}var shouldHighlight=()=>{let colors;try{var _process;colors=JSON.parse((_process=process)==null||(_process=_process.env)==null?void 0:_process.COLORS);}catch{}return typeof colors==\"boolean\"?colors:typeof process<\"u\"&&process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:DOMCollection3}=prettyFormat.plugins,ELEMENT_NODE=1,COMMENT_NODE=8;function filterCommentsAndDefaultIgnoreTagsTags(value){return value.nodeType!==COMMENT_NODE&&(value.nodeType!==ELEMENT_NODE||!value.matches(getConfig().defaultIgnore))}function prettyDOM(dom,maxLength,options){if(options===void 0&&(options={}),dom||(dom=getDocument().body),typeof maxLength!=\"number\"&&(maxLength=typeof process<\"u\"&&process.env.DEBUG_PRINT_LIMIT||7e3),maxLength===0)return \"\";dom.documentElement&&(dom=dom.documentElement);let domTypeName=typeof dom;if(domTypeName===\"object\"?domTypeName=dom.constructor.name:dom={},!(\"outerHTML\"in dom))throw new TypeError(\"Expected an element or document but got \"+domTypeName);let{filterNode=filterCommentsAndDefaultIgnoreTagsTags,...prettyFormatOptions}=options,debugContent=prettyFormat.format(dom,{plugins:[createDOMElementFilter(filterNode),DOMCollection3],printFunctionName:!1,highlight:shouldHighlight(),...prettyFormatOptions});return maxLength!==void 0&&dom.outerHTML.length>maxLength?debugContent.slice(0,maxLength)+\"...\":debugContent}var logDOM=function(){let userCodeFrame=getUserCodeFrame();console.log(userCodeFrame?prettyDOM(...arguments)+`\n\n`+userCodeFrame:prettyDOM(...arguments));},config2={testIdAttribute:\"data-testid\",asyncUtilTimeout:1e3,asyncWrapper:cb=>cb(),unstable_advanceTimersWrapper:cb=>cb(),eventWrapper:cb=>cb(),defaultHidden:!1,defaultIgnore:\"script, style\",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(message,container){let prettifiedDOM=prettyDOM(container),error=new Error([message,\"Ignored nodes: comments, \"+config2.defaultIgnore+`\n`+prettifiedDOM].filter(Boolean).join(`\n\n`));return error.name=\"TestingLibraryElementError\",error},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function runWithExpensiveErrorDiagnosticsDisabled(callback){try{return config2._disableExpensiveErrorDiagnostics=!0,callback()}finally{config2._disableExpensiveErrorDiagnostics=!1;}}function configure(newConfig){typeof newConfig==\"function\"&&(newConfig=newConfig(config2)),config2={...config2,...newConfig};}function getConfig(){return config2}var labelledNodeNames=[\"button\",\"meter\",\"output\",\"progress\",\"select\",\"textarea\",\"input\"];function getTextContent(node){return labelledNodeNames.includes(node.nodeName.toLowerCase())?\"\":node.nodeType===TEXT_NODE?node.textContent:Array.from(node.childNodes).map(childNode=>getTextContent(childNode)).join(\"\")}function getLabelContent(element){let textContent;return element.tagName.toLowerCase()===\"label\"?textContent=getTextContent(element):textContent=element.value||element.textContent,textContent}function getRealLabels(element){if(element.labels!==void 0){var _labels;return (_labels=element.labels)!=null?_labels:[]}if(!isLabelable(element))return [];let labels=element.ownerDocument.querySelectorAll(\"label\");return Array.from(labels).filter(label=>label.control===element)}function isLabelable(element){return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(element.tagName)||element.tagName===\"INPUT\"&&element.getAttribute(\"type\")!==\"hidden\"}function getLabels3(container,element,_temp){let{selector=\"*\"}=_temp===void 0?{}:_temp,ariaLabelledBy=element.getAttribute(\"aria-labelledby\"),labelsId=ariaLabelledBy?ariaLabelledBy.split(\" \"):[];return labelsId.length?labelsId.map(labelId=>{let labellingElement=container.querySelector('[id=\"'+labelId+'\"]');return labellingElement?{content:getLabelContent(labellingElement),formControl:null}:{content:\"\",formControl:null}}):Array.from(getRealLabels(element)).map(label=>{let textToMatch=getLabelContent(label),labelledFormControl=Array.from(label.querySelectorAll(\"button, input, meter, output, progress, select, textarea\")).filter(formControlElement=>formControlElement.matches(selector))[0];return {content:textToMatch,formControl:labelledFormControl}})}function assertNotNullOrUndefined(matcher){if(matcher==null)throw new Error(\"It looks like \"+matcher+\" was passed instead of a matcher. Did you do something like getByText(\"+matcher+\")?\")}function fuzzyMatches(textToMatch,node,matcher,normalizer){if(typeof textToMatch!=\"string\")return !1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return typeof matcher==\"string\"||typeof matcher==\"number\"?normalizedText.toLowerCase().includes(matcher.toString().toLowerCase()):typeof matcher==\"function\"?matcher(normalizedText,node):matchRegExp(matcher,normalizedText)}function matches2(textToMatch,node,matcher,normalizer){if(typeof textToMatch!=\"string\")return !1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return matcher instanceof Function?matcher(normalizedText,node):matcher instanceof RegExp?matchRegExp(matcher,normalizedText):normalizedText===String(matcher)}function getDefaultNormalizer(_temp){let{trim=!0,collapseWhitespace=!0}=_temp===void 0?{}:_temp;return text=>{let normalizedText=text;return normalizedText=trim?normalizedText.trim():normalizedText,normalizedText=collapseWhitespace?normalizedText.replace(/\\s+/g,\" \"):normalizedText,normalizedText}}function makeNormalizer(_ref){let{trim,collapseWhitespace,normalizer}=_ref;if(!normalizer)return getDefaultNormalizer({trim,collapseWhitespace});if(typeof trim<\"u\"||typeof collapseWhitespace<\"u\")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use \"getDefaultNormalizer({trim, collapseWhitespace})\" and compose that into your normalizer');return normalizer}function matchRegExp(matcher,text){let match=matcher.test(text);return matcher.global&&matcher.lastIndex!==0&&(console.warn(\"To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp.\"),matcher.lastIndex=0),match}function getNodeText(node){return node.matches(\"input[type=submit], input[type=button], input[type=reset]\")?node.value:Array.from(node.childNodes).filter(child=>child.nodeType===TEXT_NODE&&!!child.textContent).map(c=>c.textContent).join(\"\")}var elementRoleList2=buildElementRoleList2(import_aria_query3.elementRoles);function isSubtreeInaccessible(element){return element.hidden===!0||element.getAttribute(\"aria-hidden\")===\"true\"||element.ownerDocument.defaultView.getComputedStyle(element).display===\"none\"}function isInaccessible(element,options){options===void 0&&(options={});let{isSubtreeInaccessible:isSubtreeInaccessibleImpl=isSubtreeInaccessible}=options;if(element.ownerDocument.defaultView.getComputedStyle(element).visibility===\"hidden\")return !0;let currentElement=element;for(;currentElement;){if(isSubtreeInaccessibleImpl(currentElement))return !0;currentElement=currentElement.parentElement;}return !1}function getImplicitAriaRoles2(currentNode){for(let{match,roles:roles3}of elementRoleList2)if(match(currentNode))return [...roles3];return []}function buildElementRoleList2(elementRolesMap){function makeElementSelector(_ref){let{name,attributes}=_ref;return \"\"+name+attributes.map(_ref2=>{let{name:attributeName,value,constraints=[]}=_ref2;return constraints.indexOf(\"undefined\")!==-1?\":not([\"+attributeName+\"])\":value?\"[\"+attributeName+'=\"'+value+'\"]':\"[\"+attributeName+\"]\"}).join(\"\")}function getSelectorSpecificity(_ref3){let{attributes=[]}=_ref3;return attributes.length}function bySelectorSpecificity(_ref4,_ref5){let{specificity:leftSpecificity}=_ref4,{specificity:rightSpecificity}=_ref5;return rightSpecificity-leftSpecificity}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex(attribute=>attribute.value&&attribute.name===\"type\"&&attribute.value===\"text\");typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=makeElementSelector({...element,attributes});return node=>typeTextIndex>=0&&node.type!==\"text\"?!1:node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort(bySelectorSpecificity)}function getRoles(container,_temp){let{hidden=!1}=_temp===void 0?{}:_temp;function flattenDOM(node){return [node,...Array.from(node.children).reduce((acc,child)=>[...acc,...flattenDOM(child)],[])]}return flattenDOM(container).filter(element=>hidden===!1?isInaccessible(element)===!1:!0).reduce((acc,node)=>{let roles3=[];return node.hasAttribute(\"role\")?roles3=node.getAttribute(\"role\").split(\" \").slice(0,1):roles3=getImplicitAriaRoles2(node),roles3.reduce((rolesAcc,role)=>Array.isArray(rolesAcc[role])?{...rolesAcc,[role]:[...rolesAcc[role],node]}:{...rolesAcc,[role]:[node]},acc)},{})}function prettyRoles(dom,_ref6){let{hidden,includeDescription}=_ref6,roles3=getRoles(dom,{hidden});return Object.entries(roles3).filter(_ref7=>{let[role]=_ref7;return role!==\"generic\"}).map(_ref8=>{let[role,elements]=_ref8,delimiterBar=\"-\".repeat(50),elementsString=elements.map(el=>{let nameString='Name \"'+computeAccessibleName2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+`\":\n`,domString=prettyDOM(el.cloneNode(!1));if(includeDescription){let descriptionString='Description \"'+computeAccessibleDescription2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+`\":\n`;return \"\"+nameString+descriptionString+domString}return \"\"+nameString+domString}).join(`\n\n`);return role+`:\n\n`+elementsString+`\n\n`+delimiterBar}).join(`\n`)}var logRoles=function(dom,_temp2){let{hidden=!1}=_temp2===void 0?{}:_temp2;return console.log(prettyRoles(dom,{hidden}))};function computeAriaSelected(element){return element.tagName===\"OPTION\"?element.selected:checkBooleanAttribute(element,\"aria-selected\")}function computeAriaBusy(element){return element.getAttribute(\"aria-busy\")===\"true\"}function computeAriaChecked(element){if(!(\"indeterminate\"in element&&element.indeterminate))return \"checked\"in element?element.checked:checkBooleanAttribute(element,\"aria-checked\")}function computeAriaPressed(element){return checkBooleanAttribute(element,\"aria-pressed\")}function computeAriaCurrent(element){var _ref9,_checkBooleanAttribut;return (_ref9=(_checkBooleanAttribut=checkBooleanAttribute(element,\"aria-current\"))!=null?_checkBooleanAttribut:element.getAttribute(\"aria-current\"))!=null?_ref9:!1}function computeAriaExpanded(element){return checkBooleanAttribute(element,\"aria-expanded\")}function checkBooleanAttribute(element,attribute){let attributeValue=element.getAttribute(attribute);if(attributeValue===\"true\")return !0;if(attributeValue===\"false\")return !1}function computeHeadingLevel(element){let implicitHeadingLevels={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return element.getAttribute(\"aria-level\")&&Number(element.getAttribute(\"aria-level\"))||implicitHeadingLevels[element.tagName]}function computeAriaValueNow(element){let valueNow=element.getAttribute(\"aria-valuenow\");return valueNow===null?void 0:+valueNow}function computeAriaValueMax(element){let valueMax=element.getAttribute(\"aria-valuemax\");return valueMax===null?void 0:+valueMax}function computeAriaValueMin(element){let valueMin=element.getAttribute(\"aria-valuemin\");return valueMin===null?void 0:+valueMin}function computeAriaValueText(element){let valueText=element.getAttribute(\"aria-valuetext\");return valueText===null?void 0:valueText}var normalize2=getDefaultNormalizer();function escapeRegExp(string2){return string2.replace(/[.*+\\-?^${}()|[\\]\\\\]/g,\"\\\\$&\")}function getRegExpMatcher(string2){return new RegExp(escapeRegExp(string2.toLowerCase()),\"i\")}function makeSuggestion(queryName,element,content,_ref){let{variant,name}=_ref,warning=\"\",queryOptions={},queryArgs=[[\"Role\",\"TestId\"].includes(queryName)?content:getRegExpMatcher(content)];name&&(queryOptions.name=getRegExpMatcher(name)),queryName===\"Role\"&&isInaccessible(element)&&(queryOptions.hidden=!0,warning=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n `),Object.keys(queryOptions).length>0&&queryArgs.push(queryOptions);let queryMethod=variant+\"By\"+queryName;return {queryName,queryMethod,queryArgs,variant,warning,toString(){warning&&console.warn(warning);let[text,options]=queryArgs;return text=typeof text==\"string\"?\"'\"+text+\"'\":text,options=options?\", { \"+Object.entries(options).map(_ref2=>{let[k,v2]=_ref2;return k+\": \"+v2}).join(\", \")+\" }\":\"\",queryMethod+\"(\"+text+options+\")\"}}}function canSuggest(currentMethod,requestedMethod,data){return data&&(!requestedMethod||requestedMethod.toLowerCase()===currentMethod.toLowerCase())}function getSuggestedQuery(element,variant,method){var _element$getAttribute,_getImplicitAriaRoles;if(variant===void 0&&(variant=\"get\"),element.matches(getConfig().defaultIgnore))return;let role=(_element$getAttribute=element.getAttribute(\"role\"))!=null?_element$getAttribute:(_getImplicitAriaRoles=getImplicitAriaRoles2(element))==null?void 0:_getImplicitAriaRoles[0];if(role!==\"generic\"&&canSuggest(\"Role\",method,role))return makeSuggestion(\"Role\",element,role,{variant,name:computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})});let labelText=getLabels3(document,element).map(label=>label.content).join(\" \");if(canSuggest(\"LabelText\",method,labelText))return makeSuggestion(\"LabelText\",element,labelText,{variant});let placeholderText=element.getAttribute(\"placeholder\");if(canSuggest(\"PlaceholderText\",method,placeholderText))return makeSuggestion(\"PlaceholderText\",element,placeholderText,{variant});let textContent=normalize2(getNodeText(element));if(canSuggest(\"Text\",method,textContent))return makeSuggestion(\"Text\",element,textContent,{variant});if(canSuggest(\"DisplayValue\",method,element.value))return makeSuggestion(\"DisplayValue\",element,normalize2(element.value),{variant});let alt=element.getAttribute(\"alt\");if(canSuggest(\"AltText\",method,alt))return makeSuggestion(\"AltText\",element,alt,{variant});let title=element.getAttribute(\"title\");if(canSuggest(\"Title\",method,title))return makeSuggestion(\"Title\",element,title,{variant});let testId=element.getAttribute(getConfig().testIdAttribute);if(canSuggest(\"TestId\",method,testId))return makeSuggestion(\"TestId\",element,testId,{variant})}function copyStackTrace(target,source){target.stack=source.stack.replace(source.message,target.message);}function waitFor(callback,_ref){let{container=getDocument(),timeout=getConfig().asyncUtilTimeout,showOriginalStackTrace=getConfig().showOriginalStackTrace,stackTraceError,interval=50,onTimeout=error=>(Object.defineProperty(error,\"message\",{value:getConfig().getElementError(error.message,container).message}),error),mutationObserverOptions={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=_ref;if(typeof callback!=\"function\")throw new TypeError(\"Received `callback` arg must be a function\");return new Promise(async(resolve,reject)=>{let lastError,intervalId,observer,finished=!1,promiseStatus=\"idle\",overallTimeoutTimer=setTimeout(handleTimeout,timeout),usingJestFakeTimers=jestFakeTimersAreEnabled();if(usingJestFakeTimers){let{unstable_advanceTimersWrapper:advanceTimersWrapper}=getConfig();for(checkCallback();!finished;){if(!jestFakeTimersAreEnabled()){let error=new Error(\"Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830\");showOriginalStackTrace||copyStackTrace(error,stackTraceError),reject(error);return}if(await advanceTimersWrapper(async()=>{jest.advanceTimersByTime(interval);}),finished)break;checkCallback();}}else {try{checkContainerType(container);}catch(e){reject(e);return}intervalId=setInterval(checkRealTimersCallback,interval);let{MutationObserver}=getWindowFromNode(container);observer=new MutationObserver(checkRealTimersCallback),observer.observe(container,mutationObserverOptions),checkCallback();}function onDone(error,result){finished=!0,clearTimeout(overallTimeoutTimer),usingJestFakeTimers||(clearInterval(intervalId),observer.disconnect()),error?reject(error):resolve(result);}function checkRealTimersCallback(){if(jestFakeTimersAreEnabled()){let error=new Error(\"Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830\");return showOriginalStackTrace||copyStackTrace(error,stackTraceError),reject(error)}else return checkCallback()}function checkCallback(){if(promiseStatus!==\"pending\")try{let result=runWithExpensiveErrorDiagnosticsDisabled(callback);typeof result?.then==\"function\"?(promiseStatus=\"pending\",result.then(resolvedValue=>{promiseStatus=\"resolved\",onDone(null,resolvedValue);},rejectedValue=>{promiseStatus=\"rejected\",lastError=rejectedValue;})):onDone(null,result);}catch(error){lastError=error;}}function handleTimeout(){let error;lastError?(error=lastError,!showOriginalStackTrace&&error.name===\"TestingLibraryElementError\"&©StackTrace(error,stackTraceError)):(error=new Error(\"Timed out in waitFor.\"),showOriginalStackTrace||copyStackTrace(error,stackTraceError)),onDone(onTimeout(error),null);}})}function waitForWrapper(callback,options){let stackTraceError=new Error(\"STACK_TRACE_MESSAGE\");return getConfig().asyncWrapper(()=>waitFor(callback,{stackTraceError,...options}))}function getElementError(message,container){return getConfig().getElementError(message,container)}function getMultipleElementsFoundError(message,container){return getElementError(message+\"\\n\\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).\",container)}function queryAllByAttribute(attribute,container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=_temp===void 0?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll(\"[\"+attribute+\"]\")).filter(node=>matcher(node.getAttribute(attribute),node,text,matchNormalizer))}function queryByAttribute(attribute,container,text,options){let els=queryAllByAttribute(attribute,container,text,options);if(els.length>1)throw getMultipleElementsFoundError(\"Found multiple elements by [\"+attribute+\"=\"+text+\"]\",container);return els[0]||null}function makeSingleQuery(allQuery,getMultipleError2){return function(container){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];let els=allQuery(container,...args);if(els.length>1){let elementStrings=els.map(element=>getElementError(null,element).message).join(`\n\n`);throw getMultipleElementsFoundError(getMultipleError2(container,...args)+`\n\nHere are the matching elements:\n\n`+elementStrings,container)}return els[0]||null}}function getSuggestionError(suggestion,container){return getConfig().getElementError(`A better query is available, try this:\n`+suggestion.toString()+`\n`,container)}function makeGetAllQuery(allQuery,getMissingError2){return function(container){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];let els=allQuery(container,...args);if(!els.length)throw getConfig().getElementError(getMissingError2(container,...args),container);return els}}function makeFindQuery(getter){return (container,text,options,waitForOptions)=>waitForWrapper(()=>getter(container,text,options),{container,...waitForOptions})}var wrapSingleQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];let element=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(element&&suggest){let suggestion=getSuggestedQuery(element,variant);if(suggestion&&!queryAllByName.endsWith(suggestion.queryName))throw getSuggestionError(suggestion.toString(),container)}return element},wrapAllByQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];let els=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(els.length&&suggest){let uniqueSuggestionMessages=[...new Set(els.map(element=>{var _getSuggestedQuery;return (_getSuggestedQuery=getSuggestedQuery(element,variant))==null?void 0:_getSuggestedQuery.toString()}))];if(uniqueSuggestionMessages.length===1&&!queryAllByName.endsWith(getSuggestedQuery(els[0],variant).queryName))throw getSuggestionError(uniqueSuggestionMessages[0],container)}return els};function buildQueries(queryAllBy,getMultipleError2,getMissingError2){let queryBy=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllBy,getMultipleError2),queryAllBy.name,\"query\"),getAllBy=makeGetAllQuery(queryAllBy,getMissingError2),getBy=makeSingleQuery(getAllBy,getMultipleError2),getByWithSuggestions=wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,\"get\"),getAllWithSuggestions=wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name.replace(\"query\",\"get\"),\"getAll\"),findAllBy=makeFindQuery(wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name,\"findAll\")),findBy=makeFindQuery(wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,\"find\"));return [queryBy,getAllWithSuggestions,getByWithSuggestions,findAllBy,findBy]}var queryHelpers=Object.freeze({__proto__:null,getElementError,wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion,getMultipleElementsFoundError,queryAllByAttribute,queryByAttribute,makeSingleQuery,makeGetAllQuery,makeFindQuery,buildQueries});function queryAllLabels(container){return Array.from(container.querySelectorAll(\"label,input\")).map(node=>({node,textToMatch:getLabelContent(node)})).filter(_ref=>{let{textToMatch}=_ref;return textToMatch!==null})}var queryAllLabelsByText=function(container,text,_temp){let{exact=!0,trim,collapseWhitespace,normalizer}=_temp===void 0?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return queryAllLabels(container).filter(_ref2=>{let{node,textToMatch}=_ref2;return matcher(textToMatch,node,text,matchNormalizer)}).map(_ref3=>{let{node}=_ref3;return node})},queryAllByLabelText=function(container,text,_temp2){let{selector=\"*\",exact=!0,collapseWhitespace,trim,normalizer}=_temp2===void 0?{}:_temp2;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),matchingLabelledElements=Array.from(container.querySelectorAll(\"*\")).filter(element=>getRealLabels(element).length||element.hasAttribute(\"aria-labelledby\")).reduce((labelledElements,labelledElement)=>{let labelList=getLabels3(container,labelledElement,{selector});labelList.filter(label=>!!label.formControl).forEach(label=>{matcher(label.content,label.formControl,text,matchNormalizer)&&label.formControl&&labelledElements.push(label.formControl);});let labelsValue=labelList.filter(label=>!!label.content).map(label=>label.content);return matcher(labelsValue.join(\" \"),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement),labelsValue.length>1&&labelsValue.forEach((labelValue,index)=>{matcher(labelValue,labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement);let labelsFiltered=[...labelsValue];labelsFiltered.splice(index,1),labelsFiltered.length>1&&matcher(labelsFiltered.join(\" \"),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement);}),labelledElements},[]).concat(queryAllByAttribute(\"aria-label\",container,text,{exact,normalizer:matchNormalizer}));return Array.from(new Set(matchingLabelledElements)).filter(element=>element.matches(selector))},getAllByLabelText=function(container,text){for(var _len=arguments.length,rest=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)rest[_key-2]=arguments[_key];let els=queryAllByLabelText(container,text,...rest);if(!els.length){let labels=queryAllLabelsByText(container,text,...rest);if(labels.length){let tagNames=labels.map(label=>getTagNameOfElementAssociatedWithLabelViaFor(container,label)).filter(tagName=>!!tagName);throw tagNames.length?getConfig().getElementError(tagNames.map(tagName=>\"Found a label with the text of: \"+text+\", however the element associated with this label (<\"+tagName+\" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <\"+tagName+\" />, you can use aria-label or aria-labelledby instead.\").join(`\n\n`),container):getConfig().getElementError(\"Found a label with the text of: \"+text+`, however no form control was found associated to that label. Make sure you're using the \"for\" attribute or \"aria-labelledby\" attribute correctly.`,container)}else throw getConfig().getElementError(\"Unable to find a label with the text of: \"+text,container)}return els};function getTagNameOfElementAssociatedWithLabelViaFor(container,label){let htmlFor=label.getAttribute(\"for\");if(!htmlFor)return null;let element=container.querySelector('[id=\"'+htmlFor+'\"]');return element?element.tagName.toLowerCase():null}var getMultipleError$7=(c,text)=>\"Found multiple elements with the text of: \"+text,queryByLabelText=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllByLabelText,getMultipleError$7),queryAllByLabelText.name,\"query\"),getByLabelText=makeSingleQuery(getAllByLabelText,getMultipleError$7),findAllByLabelText=makeFindQuery(wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,\"findAll\")),findByLabelText=makeFindQuery(wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,\"find\")),getAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,\"getAll\"),getByLabelTextWithSuggestions=wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,\"get\"),queryAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByLabelText,queryAllByLabelText.name,\"queryAll\"),queryAllByPlaceholderText=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute(\"placeholder\",...args)},getMultipleError$6=(c,text)=>\"Found multiple elements with the placeholder text of: \"+text,getMissingError$6=(c,text)=>\"Unable to find an element with the placeholder text of: \"+text,queryAllByPlaceholderTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByPlaceholderText,queryAllByPlaceholderText.name,\"queryAll\"),[queryByPlaceholderText,getAllByPlaceholderText,getByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText]=buildQueries(queryAllByPlaceholderText,getMultipleError$6,getMissingError$6),queryAllByText=function(container,text,_temp){let{selector=\"*\",exact=!0,collapseWhitespace,trim,ignore=getConfig().defaultIgnore,normalizer}=_temp===void 0?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),baseArray=[];return typeof container.matches==\"function\"&&container.matches(selector)&&(baseArray=[container]),[...baseArray,...Array.from(container.querySelectorAll(selector))].filter(node=>!ignore||!node.matches(ignore)).filter(node=>matcher(getNodeText(node),node,text,matchNormalizer))},getMultipleError$5=(c,text)=>\"Found multiple elements with the text: \"+text,getMissingError$5=function(c,text,options){options===void 0&&(options={});let{collapseWhitespace,trim,normalizer,selector}=options,normalizedText=makeNormalizer({collapseWhitespace,trim,normalizer})(text.toString()),isNormalizedDifferent=normalizedText!==text.toString(),isCustomSelector=(selector??\"*\")!==\"*\";return \"Unable to find an element with the text: \"+(isNormalizedDifferent?normalizedText+\" (normalized from '\"+text+\"')\":text)+(isCustomSelector?\", which matches selector '\"+selector+\"'\":\"\")+\". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\"},queryAllByTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByText,queryAllByText.name,\"queryAll\"),[queryByText,getAllByText,getByText,findAllByText,findByText]=buildQueries(queryAllByText,getMultipleError$5,getMissingError$5),queryAllByDisplayValue=function(container,value,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=_temp===void 0?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll(\"input,textarea,select\")).filter(node=>node.tagName===\"SELECT\"?Array.from(node.options).filter(option=>option.selected).some(optionNode=>matcher(getNodeText(optionNode),optionNode,value,matchNormalizer)):matcher(node.value,node,value,matchNormalizer))},getMultipleError$4=(c,value)=>\"Found multiple elements with the display value: \"+value+\".\",getMissingError$4=(c,value)=>\"Unable to find an element with the display value: \"+value+\".\",queryAllByDisplayValueWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByDisplayValue,queryAllByDisplayValue.name,\"queryAll\"),[queryByDisplayValue,getAllByDisplayValue,getByDisplayValue,findAllByDisplayValue,findByDisplayValue]=buildQueries(queryAllByDisplayValue,getMultipleError$4,getMissingError$4),VALID_TAG_REGEXP=/^(img|input|area|.+-.+)$/i,queryAllByAltText=function(container,alt,options){return options===void 0&&(options={}),checkContainerType(container),queryAllByAttribute(\"alt\",container,alt,options).filter(node=>VALID_TAG_REGEXP.test(node.tagName))},getMultipleError$3=(c,alt)=>\"Found multiple elements with the alt text: \"+alt,getMissingError$3=(c,alt)=>\"Unable to find an element with the alt text: \"+alt,queryAllByAltTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByAltText,queryAllByAltText.name,\"queryAll\"),[queryByAltText,getAllByAltText,getByAltText,findAllByAltText,findByAltText]=buildQueries(queryAllByAltText,getMultipleError$3,getMissingError$3),isSvgTitle=node=>{var _node$parentElement;return node.tagName.toLowerCase()===\"title\"&&((_node$parentElement=node.parentElement)==null?void 0:_node$parentElement.tagName.toLowerCase())===\"svg\"},queryAllByTitle=function(container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=_temp===void 0?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll(\"[title], svg > title\")).filter(node=>matcher(node.getAttribute(\"title\"),node,text,matchNormalizer)||isSvgTitle(node)&&matcher(getNodeText(node),node,text,matchNormalizer))},getMultipleError$2=(c,title)=>\"Found multiple elements with the title: \"+title+\".\",getMissingError$2=(c,title)=>\"Unable to find an element with the title: \"+title+\".\",queryAllByTitleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTitle,queryAllByTitle.name,\"queryAll\"),[queryByTitle,getAllByTitle,getByTitle,findAllByTitle,findByTitle]=buildQueries(queryAllByTitle,getMultipleError$2,getMissingError$2),queryAllByRole=function(container,role,_temp){let{hidden=getConfig().defaultHidden,name,description,queryFallbacks=!1,selected,busy,checked,pressed,current,level,expanded,value:{now:valueNow,min:valueMin,max:valueMax,text:valueText}={}}=_temp===void 0?{}:_temp;if(checkContainerType(container),selected!==void 0){var _allRoles$get;if(((_allRoles$get=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get.props[\"aria-selected\"])===void 0)throw new Error('\"aria-selected\" is not supported on role \"'+role+'\".')}if(busy!==void 0){var _allRoles$get2;if(((_allRoles$get2=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get2.props[\"aria-busy\"])===void 0)throw new Error('\"aria-busy\" is not supported on role \"'+role+'\".')}if(checked!==void 0){var _allRoles$get3;if(((_allRoles$get3=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get3.props[\"aria-checked\"])===void 0)throw new Error('\"aria-checked\" is not supported on role \"'+role+'\".')}if(pressed!==void 0){var _allRoles$get4;if(((_allRoles$get4=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get4.props[\"aria-pressed\"])===void 0)throw new Error('\"aria-pressed\" is not supported on role \"'+role+'\".')}if(current!==void 0){var _allRoles$get5;if(((_allRoles$get5=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get5.props[\"aria-current\"])===void 0)throw new Error('\"aria-current\" is not supported on role \"'+role+'\".')}if(level!==void 0&&role!==\"heading\")throw new Error('Role \"'+role+'\" cannot have \"level\" property.');if(valueNow!==void 0){var _allRoles$get6;if(((_allRoles$get6=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get6.props[\"aria-valuenow\"])===void 0)throw new Error('\"aria-valuenow\" is not supported on role \"'+role+'\".')}if(valueMax!==void 0){var _allRoles$get7;if(((_allRoles$get7=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get7.props[\"aria-valuemax\"])===void 0)throw new Error('\"aria-valuemax\" is not supported on role \"'+role+'\".')}if(valueMin!==void 0){var _allRoles$get8;if(((_allRoles$get8=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get8.props[\"aria-valuemin\"])===void 0)throw new Error('\"aria-valuemin\" is not supported on role \"'+role+'\".')}if(valueText!==void 0){var _allRoles$get9;if(((_allRoles$get9=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get9.props[\"aria-valuetext\"])===void 0)throw new Error('\"aria-valuetext\" is not supported on role \"'+role+'\".')}if(expanded!==void 0){var _allRoles$get10;if(((_allRoles$get10=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get10.props[\"aria-expanded\"])===void 0)throw new Error('\"aria-expanded\" is not supported on role \"'+role+'\".')}let subtreeIsInaccessibleCache=new WeakMap;function cachedIsSubtreeInaccessible(element){return subtreeIsInaccessibleCache.has(element)||subtreeIsInaccessibleCache.set(element,isSubtreeInaccessible(element)),subtreeIsInaccessibleCache.get(element)}return Array.from(container.querySelectorAll(makeRoleSelector(role))).filter(node=>{if(node.hasAttribute(\"role\")){let roleValue=node.getAttribute(\"role\");if(queryFallbacks)return roleValue.split(\" \").filter(Boolean).some(roleAttributeToken=>roleAttributeToken===role);let[firstRoleAttributeToken]=roleValue.split(\" \");return firstRoleAttributeToken===role}return getImplicitAriaRoles2(node).some(implicitRole=>implicitRole===role)}).filter(element=>{if(selected!==void 0)return selected===computeAriaSelected(element);if(busy!==void 0)return busy===computeAriaBusy(element);if(checked!==void 0)return checked===computeAriaChecked(element);if(pressed!==void 0)return pressed===computeAriaPressed(element);if(current!==void 0)return current===computeAriaCurrent(element);if(expanded!==void 0)return expanded===computeAriaExpanded(element);if(level!==void 0)return level===computeHeadingLevel(element);if(valueNow!==void 0||valueMax!==void 0||valueMin!==void 0||valueText!==void 0){let valueMatches=!0;if(valueNow!==void 0&&valueMatches&&(valueMatches=valueNow===computeAriaValueNow(element)),valueMax!==void 0&&valueMatches&&(valueMatches=valueMax===computeAriaValueMax(element)),valueMin!==void 0&&valueMatches&&(valueMatches=valueMin===computeAriaValueMin(element)),valueText!==void 0){var _computeAriaValueText;valueMatches&&(valueMatches=matches2((_computeAriaValueText=computeAriaValueText(element))!=null?_computeAriaValueText:null,element,valueText,text=>text));}return valueMatches}return !0}).filter(element=>name===void 0?!0:matches2(computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,name,text=>text)).filter(element=>description===void 0?!0:matches2(computeAccessibleDescription2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,description,text=>text)).filter(element=>hidden===!1?isInaccessible(element,{isSubtreeInaccessible:cachedIsSubtreeInaccessible})===!1:!0)};function makeRoleSelector(role){var _roleElements$get;let explicitRoleSelector='*[role~=\"'+role+'\"]',roleRelations=(_roleElements$get=import_aria_query3.roleElements.get(role))!=null?_roleElements$get:new Set,implicitRoleSelectors=new Set(Array.from(roleRelations).map(_ref=>{let{name}=_ref;return name}));return [explicitRoleSelector].concat(Array.from(implicitRoleSelectors)).join(\",\")}var getNameHint=name=>{let nameHint=\"\";return name===void 0?nameHint=\"\":typeof name==\"string\"?nameHint=' and name \"'+name+'\"':nameHint=\" and name `\"+name+\"`\",nameHint},getMultipleError$1=function(c,role,_temp2){let{name}=_temp2===void 0?{}:_temp2;return 'Found multiple elements with the role \"'+role+'\"'+getNameHint(name)},getMissingError$1=function(container,role,_temp3){let{hidden=getConfig().defaultHidden,name,description}=_temp3===void 0?{}:_temp3;if(getConfig()._disableExpensiveErrorDiagnostics)return 'Unable to find role=\"'+role+'\"'+getNameHint(name);let roles3=\"\";Array.from(container.children).forEach(childElement=>{roles3+=prettyRoles(childElement,{hidden,includeDescription:description!==void 0});});let roleMessage;roles3.length===0?hidden===!1?roleMessage=\"There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\":roleMessage=\"There are no available roles.\":roleMessage=(`\nHere are the `+(hidden===!1?\"accessible\":\"available\")+` roles:\n\n `+roles3.replace(/\\n/g,`\n `).replace(/\\n\\s\\s\\n/g,`\n\n`)+`\n`).trim();let nameHint=\"\";name===void 0?nameHint=\"\":typeof name==\"string\"?nameHint=' and name \"'+name+'\"':nameHint=\" and name `\"+name+\"`\";let descriptionHint=\"\";return description===void 0?descriptionHint=\"\":typeof description==\"string\"?descriptionHint=' and description \"'+description+'\"':descriptionHint=\" and description `\"+description+\"`\",(`\nUnable to find an `+(hidden===!1?\"accessible \":\"\")+'element with the role \"'+role+'\"'+nameHint+descriptionHint+`\n\n`+roleMessage).trim()},queryAllByRoleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByRole,queryAllByRole.name,\"queryAll\"),[queryByRole,getAllByRole,getByRole,findAllByRole,findByRole]=buildQueries(queryAllByRole,getMultipleError$1,getMissingError$1),getTestIdAttribute=()=>getConfig().testIdAttribute,queryAllByTestId=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute(getTestIdAttribute(),...args)},getMultipleError=(c,id)=>\"Found multiple elements by: [\"+getTestIdAttribute()+'=\"'+id+'\"]',getMissingError=(c,id)=>\"Unable to find an element by: [\"+getTestIdAttribute()+'=\"'+id+'\"]',queryAllByTestIdWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTestId,queryAllByTestId.name,\"queryAll\"),[queryByTestId,getAllByTestId,getByTestId,findAllByTestId,findByTestId]=buildQueries(queryAllByTestId,getMultipleError,getMissingError),queries=Object.freeze({__proto__:null,queryAllByLabelText:queryAllByLabelTextWithSuggestions,queryByLabelText,getAllByLabelText:getAllByLabelTextWithSuggestions,getByLabelText:getByLabelTextWithSuggestions,findAllByLabelText,findByLabelText,queryByPlaceholderText,queryAllByPlaceholderText:queryAllByPlaceholderTextWithSuggestions,getByPlaceholderText,getAllByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText,queryByText,queryAllByText:queryAllByTextWithSuggestions,getByText,getAllByText,findAllByText,findByText,queryByDisplayValue,queryAllByDisplayValue:queryAllByDisplayValueWithSuggestions,getByDisplayValue,getAllByDisplayValue,findAllByDisplayValue,findByDisplayValue,queryByAltText,queryAllByAltText:queryAllByAltTextWithSuggestions,getByAltText,getAllByAltText,findAllByAltText,findByAltText,queryByTitle,queryAllByTitle:queryAllByTitleWithSuggestions,getByTitle,getAllByTitle,findAllByTitle,findByTitle,queryByRole,queryAllByRole:queryAllByRoleWithSuggestions,getAllByRole,getByRole,findAllByRole,findByRole,queryByTestId,queryAllByTestId:queryAllByTestIdWithSuggestions,getByTestId,getAllByTestId,findAllByTestId,findByTestId});function getQueriesForElement(element,queries$1,initialValue2){return queries$1===void 0&&(queries$1=queries),initialValue2===void 0&&(initialValue2={}),Object.keys(queries$1).reduce((helpers,key)=>{let fn3=queries$1[key];return helpers[key]=fn3.bind(null,element),helpers},initialValue2)}var isRemoved=result=>!result||Array.isArray(result)&&!result.length;function initialCheck(elements){if(isRemoved(elements))throw new Error(\"The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.\")}async function waitForElementToBeRemoved(callback,options){let timeoutError=new Error(\"Timed out in waitForElementToBeRemoved.\");if(typeof callback!=\"function\"){initialCheck(callback);let getRemainingElements=(Array.isArray(callback)?callback:[callback]).map(element=>{let parent=element.parentElement;if(parent===null)return ()=>null;for(;parent.parentElement;)parent=parent.parentElement;return ()=>parent.contains(element)?element:null});callback=()=>getRemainingElements.map(c=>c()).filter(Boolean);}return initialCheck(callback()),waitForWrapper(()=>{let result;try{result=callback();}catch(error){if(error.name===\"TestingLibraryElementError\")return;throw error}if(!isRemoved(result))throw timeoutError},options)}var eventMap={copy:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:\"CompositionEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:\"CompositionEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:\"CompositionEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:\"FocusEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:\"FocusEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:\"FocusEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:\"FocusEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:\"InputEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:\"UIEvent\",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:\"UIEvent\",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:\"WheelEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:\"ProgressEvent\",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:\"ProgressEvent\",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:\"AnimationEvent\",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:\"AnimationEvent\",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:\"AnimationEvent\",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:\"PopStateEvent\",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}}},eventAliasMap={doubleClick:\"dblClick\"};function fireEvent(element,event){return getConfig().eventWrapper(()=>{if(!event)throw new Error(\"Unable to fire an event - please provide an event object.\");if(!element)throw new Error('Unable to fire a \"'+event.type+'\" event - please provide a DOM element.');return element.dispatchEvent(event)})}function createEvent(eventName,node,init,_temp){let{EventType=\"Event\",defaultInit={}}=_temp===void 0?{}:_temp;if(!node)throw new Error('Unable to fire a \"'+eventName+'\" event - please provide a DOM element.');let eventInit={...defaultInit,...init},{target:{value,files,...targetProperties}={}}=eventInit;value!==void 0&&setNativeValue(node,value),files!==void 0&&Object.defineProperty(node,\"files\",{configurable:!0,enumerable:!0,writable:!0,value:files}),Object.assign(node,targetProperties);let window2=getWindowFromNode(node),EventConstructor=window2[EventType]||window2.Event,event;if(typeof EventConstructor==\"function\")event=new EventConstructor(eventName,eventInit);else {event=window2.document.createEvent(EventType);let{bubbles,cancelable,detail,...otherInit}=eventInit;event.initEvent(eventName,bubbles,cancelable,detail),Object.keys(otherInit).forEach(eventKey=>{event[eventKey]=otherInit[eventKey];});}return [\"dataTransfer\",\"clipboardData\"].forEach(dataTransferKey=>{let dataTransferValue=eventInit[dataTransferKey];typeof dataTransferValue==\"object\"&&(typeof window2.DataTransfer==\"function\"?Object.defineProperty(event,dataTransferKey,{value:Object.getOwnPropertyNames(dataTransferValue).reduce((acc,propName)=>(Object.defineProperty(acc,propName,{value:dataTransferValue[propName]}),acc),new window2.DataTransfer)}):Object.defineProperty(event,dataTransferKey,{value:dataTransferValue}));}),event}Object.keys(eventMap).forEach(key=>{let{EventType,defaultInit}=eventMap[key],eventName=key.toLowerCase();createEvent[key]=(node,init)=>createEvent(eventName,node,init,{EventType,defaultInit}),fireEvent[key]=(node,init)=>fireEvent(node,createEvent[key](node,init));});function setNativeValue(element,value){let{set:valueSetter}=Object.getOwnPropertyDescriptor(element,\"value\")||{},prototype=Object.getPrototypeOf(element),{set:prototypeValueSetter}=Object.getOwnPropertyDescriptor(prototype,\"value\")||{};if(prototypeValueSetter&&valueSetter!==prototypeValueSetter)prototypeValueSetter.call(element,value);else if(valueSetter)valueSetter.call(element,value);else throw new Error(\"The given element does not have a value setter\")}Object.keys(eventAliasMap).forEach(aliasKey=>{let key=eventAliasMap[aliasKey];fireEvent[aliasKey]=function(){return fireEvent[key](...arguments)};});function unindent(string2){return string2.replace(/[ \\t]*[\\n][ \\t]*/g,`\n`)}function encode(value){return import_lz_string.default.compressToEncodedURIComponent(unindent(value))}function getPlaygroundUrl(markup){return \"https://testing-playground.com/#markup=\"+encode(markup)}var debug=(element,maxLength,options)=>Array.isArray(element)?element.forEach(el=>logDOM(el,maxLength,options)):logDOM(element,maxLength,options),logTestingPlaygroundURL=function(element){if(element===void 0&&(element=getDocument().body),!element||!(\"innerHTML\"in element)){console.log(\"The element you're providing isn't a valid DOM element.\");return}if(!element.innerHTML){console.log(\"The provided element doesn't have any children.\");return}let playgroundUrl=getPlaygroundUrl(element.innerHTML);return console.log(`Open this URL in your browser\n\n`+playgroundUrl),playgroundUrl},initialValue={debug,logTestingPlaygroundURL},screen=typeof document<\"u\"&&document.body?getQueriesForElement(document.body,queries,initialValue):Object.keys(queries).reduce((helpers,key)=>(helpers[key]=()=>{throw new TypeError(\"For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error\")},helpers),initialValue);function isElementType(element,tag,props){return element.namespaceURI&&element.namespaceURI!==\"http://www.w3.org/1999/xhtml\"||(tag=Array.isArray(tag)?tag:[tag],!tag.includes(element.tagName.toLowerCase()))?!1:props?Object.entries(props).every(([k,v2])=>element[k]===v2):!0}var clickableInputTypes;(function(clickableInputTypes2){clickableInputTypes2.button=\"button\",clickableInputTypes2.color=\"color\",clickableInputTypes2.file=\"file\",clickableInputTypes2.image=\"image\",clickableInputTypes2.reset=\"reset\",clickableInputTypes2.submit=\"submit\",clickableInputTypes2.checkbox=\"checkbox\",clickableInputTypes2.radio=\"radio\";})(clickableInputTypes||(clickableInputTypes={}));function isClickableInput(element){return isElementType(element,\"button\")||isElementType(element,\"input\")&&element.type in clickableInputTypes}function getWindow(node){var _node_ownerDocument;if(isDocument(node)&&node.defaultView)return node.defaultView;if(!((_node_ownerDocument=node.ownerDocument)===null||_node_ownerDocument===void 0)&&_node_ownerDocument.defaultView)return node.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${describe(node)}`)}function isDocument(node){return node.nodeType===9}function describe(val){return typeof val==\"function\"?`function ${val.name}`:val===null?\"null\":String(val)}function readBlobText(blob,FileReader){return new Promise((res,rej)=>{let fr=new FileReader;fr.onerror=rej,fr.onabort=rej,fr.onload=()=>{res(String(fr.result));},fr.readAsText(blob);})}function createFileList(window2,files){let list={...files,length:files.length,item:index=>list[index],[Symbol.iterator]:function*(){for(let i=0;iexact?item.type===(isGroup?group:type3):isGroup?item.type.startsWith(`${group}/`):item.type===group}function createDataTransferStub(window2){return new class{getData(format4){var _this_items_find;let match=(_this_items_find=this.items.find(getTypeMatcher(format4,!0)))!==null&&_this_items_find!==void 0?_this_items_find:this.items.find(getTypeMatcher(format4,!1)),text=\"\";return match?.getAsString(t=>{text=t;}),text}setData(format4,data){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0)),item=new DataTransferItemStub(data,format4);matchIndex>=0?this.items.splice(matchIndex,1,item):this.items.push(item);}clearData(format4){if(format4){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0));matchIndex>=0&&this.items.remove(matchIndex);}else this.items.clear();}get types(){let t=[];return this.files.length&&t.push(\"Files\"),this.items.forEach(i=>t.push(i.type)),Object.freeze(t),t}setDragImage(){}constructor(){_define_property(this,\"dropEffect\",\"none\"),_define_property(this,\"effectAllowed\",\"uninitialized\"),_define_property(this,\"items\",new DataTransferItemListStub),_define_property(this,\"files\",createFileList(window2,[]));}}}function createDataTransfer(window2,files=[]){let dt=typeof window2.DataTransfer>\"u\"?createDataTransferStub(window2):new window2.DataTransfer;return Object.defineProperty(dt,\"files\",{get:()=>createFileList(window2,files)}),dt}function getBlobFromDataTransferItem(window2,item){if(item.kind===\"file\")return item.getAsFile();let data=\"\";return item.getAsString(s=>{data=s;}),new window2.Blob([data],{type:item.type})}function _define_property2(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function createClipboardItem(window2,...blobs){let dataMap=Object.fromEntries(blobs.map(b2=>[typeof b2==\"string\"?\"text/plain\":b2.type,Promise.resolve(b2)]));return typeof window2.ClipboardItem<\"u\"?new window2.ClipboardItem(dataMap):new class{get types(){return Array.from(Object.keys(this.data))}async getType(type3){let value=await this.data[type3];if(!value)throw new Error(`${type3} is not one of the available MIME types on this item.`);return value instanceof window2.Blob?value:new window2.Blob([value],{type:type3})}constructor(d2){_define_property2(this,\"data\",void 0),this.data=d2;}}(dataMap)}var ClipboardStubControl=Symbol(\"Manage ClipboardSub\");function createClipboardStub(window2,control){return Object.assign(new class extends window2.EventTarget{async read(){return Array.from(this.items)}async readText(){let text=\"\";for(let item of this.items){let type3=item.types.includes(\"text/plain\")?\"text/plain\":item.types.find(t=>t.startsWith(\"text/\"));type3&&(text+=await item.getType(type3).then(b2=>readBlobText(b2,window2.FileReader)));}return text}async write(data){this.items=data;}async writeText(text){this.items=[createClipboardItem(window2,text)];}constructor(...args){super(...args),_define_property2(this,\"items\",[]);}},{[ClipboardStubControl]:control})}function isClipboardStub(clipboard){return !!clipboard?.[ClipboardStubControl]}function attachClipboardStubToView(window2){if(isClipboardStub(window2.navigator.clipboard))return window2.navigator.clipboard[ClipboardStubControl];let realClipboard=Object.getOwnPropertyDescriptor(window2.navigator,\"clipboard\"),stub,control={resetClipboardStub:()=>{stub=createClipboardStub(window2,control);},detachClipboardStub:()=>{realClipboard?Object.defineProperty(window2.navigator,\"clipboard\",realClipboard):Object.defineProperty(window2.navigator,\"clipboard\",{value:void 0,configurable:!0});}};return stub=createClipboardStub(window2,control),Object.defineProperty(window2.navigator,\"clipboard\",{get:()=>stub,configurable:!0}),stub[ClipboardStubControl]}function resetClipboardStubOnView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].resetClipboardStub();}function detachClipboardStubFromView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].detachClipboardStub();}async function readDataTransferFromClipboard(document2){let window2=document2.defaultView,clipboard=window2?.navigator.clipboard,items=clipboard&&await clipboard.read();if(!items)throw new Error(\"The Clipboard API is unavailable.\");let dt=createDataTransfer(window2);for(let item of items)for(let type3 of item.types)dt.setData(type3,await item.getType(type3).then(b2=>readBlobText(b2,window2.FileReader)));return dt}async function writeDataTransferToClipboard(document2,clipboardData){let window2=getWindow(document2),clipboard=window2.navigator.clipboard,items=[];for(let i=0;i!0,()=>!1)))throw new Error(\"The Clipboard API is unavailable.\")}var g=globalThis;typeof g.afterEach==\"function\"&&g.afterEach(()=>resetClipboardStubOnView(globalThis.window));typeof g.afterAll==\"function\"&&g.afterAll(()=>detachClipboardStubFromView(globalThis.window));function isContentEditable(element){return element.hasAttribute(\"contenteditable\")&&(element.getAttribute(\"contenteditable\")==\"true\"||element.getAttribute(\"contenteditable\")==\"\")}function getContentEditable(node){let element=getElement(node);return element&&(element.closest('[contenteditable=\"\"]')||element.closest('[contenteditable=\"true\"]'))}function getElement(node){return node.nodeType===1?node:node.parentElement}function isEditable(element){return isEditableInputOrTextArea(element)&&!element.readOnly||isContentEditable(element)}var editableInputTypes;(function(editableInputTypes2){editableInputTypes2.text=\"text\",editableInputTypes2.date=\"date\",editableInputTypes2[\"datetime-local\"]=\"datetime-local\",editableInputTypes2.email=\"email\",editableInputTypes2.month=\"month\",editableInputTypes2.number=\"number\",editableInputTypes2.password=\"password\",editableInputTypes2.search=\"search\",editableInputTypes2.tel=\"tel\",editableInputTypes2.time=\"time\",editableInputTypes2.url=\"url\",editableInputTypes2.week=\"week\";})(editableInputTypes||(editableInputTypes={}));function isEditableInputOrTextArea(element){return isElementType(element,\"textarea\")||isElementType(element,\"input\")&&element.type in editableInputTypes}var maxLengthSupportedTypes;(function(maxLengthSupportedTypes2){maxLengthSupportedTypes2.email=\"email\",maxLengthSupportedTypes2.password=\"password\",maxLengthSupportedTypes2.search=\"search\",maxLengthSupportedTypes2.telephone=\"telephone\",maxLengthSupportedTypes2.text=\"text\",maxLengthSupportedTypes2.url=\"url\";})(maxLengthSupportedTypes||(maxLengthSupportedTypes={}));function getMaxLength(element){var _element_getAttribute;let attr=(_element_getAttribute=element.getAttribute(\"maxlength\"))!==null&&_element_getAttribute!==void 0?_element_getAttribute:\"\";return /^\\d+$/.test(attr)&&Number(attr)>=0?Number(attr):void 0}function supportsMaxLength(element){return isElementType(element,\"textarea\")||isElementType(element,\"input\")&&element.type in maxLengthSupportedTypes}var FOCUSABLE_SELECTOR=[\"input:not([type=hidden]):not([disabled])\",\"button:not([disabled])\",\"select:not([disabled])\",\"textarea:not([disabled])\",'[contenteditable=\"\"]','[contenteditable=\"true\"]',\"a[href]\",\"[tabindex]:not([disabled])\"].join(\", \");function isFocusable(element){return element.matches(FOCUSABLE_SELECTOR)}var bracketDict;(function(bracketDict2){bracketDict2[\"{\"]=\"}\",bracketDict2[\"[\"]=\"]\";})(bracketDict||(bracketDict={}));function readNextDescriptor(text,context){let pos=0,startBracket=text[pos]in bracketDict?text[pos]:\"\";pos+=startBracket.length;let type3=new RegExp(`^\\\\${startBracket}{2}`).test(text)?\"\":startBracket;return {type:type3,...type3===\"\"?readPrintableChar(text,pos,context):readTag(text,pos,type3,context)}}function readPrintableChar(text,pos,context){let descriptor=text[pos];return assertDescriptor(descriptor,text,pos,context),pos+=descriptor.length,{consumedLength:pos,descriptor,releasePrevious:!1,releaseSelf:!0,repeat:1}}function readTag(text,pos,startBracket,context){var _text_slice_match,_text_slice_match1;let releasePreviousModifier=text[pos]===\"/\"?\"/\":\"\";pos+=releasePreviousModifier.length;let escapedDescriptor=startBracket===\"{\"&&text[pos]===\"\\\\\";pos+=Number(escapedDescriptor);let descriptor=escapedDescriptor?text[pos]:(_text_slice_match=text.slice(pos).match(startBracket===\"{\"?/^\\w+|^[^}>/]/:/^\\w+/))===null||_text_slice_match===void 0?void 0:_text_slice_match[0];assertDescriptor(descriptor,text,pos,context),pos+=descriptor.length;var _text_slice_match_;let repeatModifier=(_text_slice_match_=(_text_slice_match1=text.slice(pos).match(/^>\\d+/))===null||_text_slice_match1===void 0?void 0:_text_slice_match1[0])!==null&&_text_slice_match_!==void 0?_text_slice_match_:\"\";pos+=repeatModifier.length;let releaseSelfModifier=text[pos]===\"/\"||!repeatModifier&&text[pos]===\">\"?text[pos]:\"\";pos+=releaseSelfModifier.length;let expectedEndBracket=bracketDict[startBracket],endBracket=text[pos]===expectedEndBracket?expectedEndBracket:\"\";if(!endBracket)throw new Error(getErrorMessage([!repeatModifier&&\"repeat modifier\",!releaseSelfModifier&&\"release modifier\",`\"${expectedEndBracket}\"`].filter(Boolean).join(\" or \"),text[pos],text,context));return pos+=endBracket.length,{consumedLength:pos,descriptor,releasePrevious:!!releasePreviousModifier,repeat:repeatModifier?Math.max(Number(repeatModifier.substr(1)),1):1,releaseSelf:hasReleaseSelf(releaseSelfModifier,repeatModifier)}}function assertDescriptor(descriptor,text,pos,context){if(!descriptor)throw new Error(getErrorMessage(\"key descriptor\",text[pos],text,context))}function hasReleaseSelf(releaseSelfModifier,repeatModifier){if(releaseSelfModifier)return releaseSelfModifier===\"/\";if(repeatModifier)return !1}function getErrorMessage(expected,found,text,context){return `Expected ${expected} but found \"${found??\"\"}\" in \"${text}\"\n See ${context===\"pointer\"?\"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen\":\"https://testing-library.com/docs/user-event/keyboard\"}\n for more information about how userEvent parses your input.`}function cloneEvent(event){return new event.constructor(event.type,event)}var ApiLevel;(function(ApiLevel2){ApiLevel2[ApiLevel2.Trigger=2]=\"Trigger\",ApiLevel2[ApiLevel2.Call=1]=\"Call\";})(ApiLevel||(ApiLevel={}));function setLevelRef(instance,level){instance.levelRefs[level]={};}function getLevelRef(instance,level){return instance.levelRefs[level]}var PointerEventsCheckLevel;(function(PointerEventsCheckLevel2){PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachTrigger=4]=\"EachTrigger\",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachApiCall=2]=\"EachApiCall\",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachTarget=1]=\"EachTarget\",PointerEventsCheckLevel2[PointerEventsCheckLevel2.Never=0]=\"Never\";})(PointerEventsCheckLevel||(PointerEventsCheckLevel={}));function isDisabled2(element){for(let el=element;el;el=el.parentElement)if(isElementType(el,[\"button\",\"input\",\"select\",\"textarea\",\"optgroup\",\"option\"])){if(el.hasAttribute(\"disabled\"))return !0}else if(isElementType(el,\"fieldset\")){var _el_querySelector;if(el.hasAttribute(\"disabled\")&&!(!((_el_querySelector=el.querySelector(\":scope > legend\"))===null||_el_querySelector===void 0)&&_el_querySelector.contains(element)))return !0}else if(el.tagName.includes(\"-\")&&el.constructor.formAssociated&&el.hasAttribute(\"disabled\"))return !0;return !1}function getActiveElement(document2){let activeElement=document2.activeElement;return activeElement?.shadowRoot?getActiveElement(activeElement.shadowRoot):isDisabled2(activeElement)?document2.ownerDocument?document2.ownerDocument.body:document2.body:activeElement}function getActiveElementOrBody(document2){var _getActiveElement;return (_getActiveElement=getActiveElement(document2))!==null&&_getActiveElement!==void 0?_getActiveElement:document2.body}function findClosest(element,callback){let el=element;do{if(callback(el))return el;el=el.parentElement;}while(el&&el!==element.ownerDocument.body)}function hasOwnSelection(node){return isElement3(node)&&isEditableInputOrTextArea(node)}function hasNoSelection(node){return isElement3(node)&&isClickableInput(node)}function isElement3(node){return node.nodeType===1}function updateSelectionOnFocus(element){let selection=element.ownerDocument.getSelection();if(selection?.focusNode&&hasOwnSelection(element)){let contenteditable=getContentEditable(selection.focusNode);if(contenteditable){if(!selection.isCollapsed){var _contenteditable_firstChild;let focusNode=((_contenteditable_firstChild=contenteditable.firstChild)===null||_contenteditable_firstChild===void 0?void 0:_contenteditable_firstChild.nodeType)===3?contenteditable.firstChild:contenteditable;selection.setBaseAndExtent(focusNode,0,focusNode,0);}}else selection.setBaseAndExtent(element,0,element,0);}}function wrapEvent(cb,_element){return getConfig().eventWrapper(cb)}function focusElement(element){let target=findClosest(element,isFocusable),activeElement=getActiveElement(element.ownerDocument);(target??element.ownerDocument.body)!==activeElement&&(target?wrapEvent(()=>target.focus()):wrapEvent(()=>activeElement?.blur()),updateSelectionOnFocus(target??element.ownerDocument.body));}function blurElement(element){!isFocusable(element)||!(getActiveElement(element.ownerDocument)===element)||wrapEvent(()=>element.blur());}var behavior={};behavior.click=(event,target,instance)=>{let context=target.closest(\"button,input,label,select,textarea\"),control=context&&isElementType(context,\"label\")&&context.control;if(control)return ()=>{isFocusable(control)&&focusElement(control),instance.dispatchEvent(control,cloneEvent(event));};if(isElementType(target,\"input\",{type:\"file\"}))return ()=>{blurElement(target),target.dispatchEvent(new(getWindow(target)).Event(\"fileDialog\")),focusElement(target);}};var UIValue=Symbol(\"Displayed value in UI\"),UISelection=Symbol(\"Displayed selection in UI\"),InitialValue=Symbol(\"Initial value to compare on blur\");function isUIValue(value){return typeof value==\"object\"&&UIValue in value}function isUISelectionStart(start){return !!start&&typeof start==\"object\"&&UISelection in start}function setUIValue(element,value){element[InitialValue]===void 0&&(element[InitialValue]=element.value),element[UIValue]=value,element.value=Object.assign(new String(value),{[UIValue]:!0});}function getUIValue(element){return element[UIValue]===void 0?element.value:String(element[UIValue])}function setUIValueClean(element){element[UIValue]=void 0;}function clearInitialValue(element){element[InitialValue]=void 0;}function getInitialValue(element){return element[InitialValue]}function setUISelectionRaw(element,selection){element[UISelection]=selection;}function setUISelection(element,{focusOffset:focusOffsetParam,anchorOffset:anchorOffsetParam=focusOffsetParam},mode=\"replace\"){let valueLength=getUIValue(element).length,sanitizeOffset=o=>Math.max(0,Math.min(valueLength,o)),anchorOffset=mode===\"replace\"||element[UISelection]===void 0?sanitizeOffset(anchorOffsetParam):element[UISelection].anchorOffset,focusOffset=sanitizeOffset(focusOffsetParam),startOffset=Math.min(anchorOffset,focusOffset),endOffset=Math.max(anchorOffset,focusOffset);if(element[UISelection]={anchorOffset,focusOffset},element.selectionStart===startOffset&&element.selectionEnd===endOffset)return;let startObj=Object.assign(new Number(startOffset),{[UISelection]:!0});try{element.setSelectionRange(startObj,endOffset);}catch{}}function getUISelection(element){var _element_selectionStart,_element_selectionEnd,_element_UISelection;let sel=(_element_UISelection=element[UISelection])!==null&&_element_UISelection!==void 0?_element_UISelection:{anchorOffset:(_element_selectionStart=element.selectionStart)!==null&&_element_selectionStart!==void 0?_element_selectionStart:0,focusOffset:(_element_selectionEnd=element.selectionEnd)!==null&&_element_selectionEnd!==void 0?_element_selectionEnd:0};return {...sel,startOffset:Math.min(sel.anchorOffset,sel.focusOffset),endOffset:Math.max(sel.anchorOffset,sel.focusOffset)}}function hasUISelection(element){return !!element[UISelection]}function setUISelectionClean(element){element[UISelection]=void 0;}var parseInt2=globalThis.parseInt;function buildTimeValue(value){let onlyDigitsValue=value.replace(/\\D/g,\"\");if(onlyDigitsValue.length<2)return value;let firstDigit=parseInt2(onlyDigitsValue[0],10),secondDigit=parseInt2(onlyDigitsValue[1],10);if(firstDigit>=3||firstDigit===2&&secondDigit>=4){let index;return firstDigit>=3?index=1:index=2,build(onlyDigitsValue,index)}return value.length===2?value:build(onlyDigitsValue,2)}function build(onlyDigitsValue,index){let hours=onlyDigitsValue.slice(0,index),validHours=Math.min(parseInt2(hours,10),23),minuteCharacters=onlyDigitsValue.slice(index),parsedMinutes=parseInt2(minuteCharacters,10),validMinutes=Math.min(parsedMinutes,59);return `${validHours.toString().padStart(2,\"0\")}:${validMinutes.toString().padStart(2,\"0\")}`}function isValidDateOrTimeValue(element,value){let clone2=element.cloneNode();return clone2.value=value,clone2.value===value}function getNextCursorPosition(node,offset,direction,inputType){if(isTextNode(node)&&offset+direction>=0&&offset+direction<=node.nodeValue.length)return {node,offset:offset+direction};let nextNode=getNextCharacterContentNode(node,offset,direction);if(nextNode){if(isTextNode(nextNode))return {node:nextNode,offset:direction>0?Math.min(1,nextNode.nodeValue.length):Math.max(nextNode.nodeValue.length-1,0)};if(isElementType(nextNode,\"br\")){let nextPlusOne=getNextCharacterContentNode(nextNode,void 0,direction);return nextPlusOne?isTextNode(nextPlusOne)?{node:nextPlusOne,offset:direction>0?0:nextPlusOne.nodeValue.length}:direction<0&&isElementType(nextPlusOne,\"br\")?{node:nextNode.parentNode,offset:getOffset(nextNode)}:{node:nextPlusOne.parentNode,offset:getOffset(nextPlusOne)+(direction>0?0:1)}:direction<0&&inputType===\"deleteContentBackward\"?{node:nextNode.parentNode,offset:getOffset(nextNode)}:void 0}else return {node:nextNode.parentNode,offset:getOffset(nextNode)+(direction>0?1:0)}}}function getNextCharacterContentNode(node,offset,direction){let nextOffset=Number(offset)+(direction<0?-1:0);return offset!==void 0&&isElement4(node)&&nextOffset>=0&&nextOffsetk.startsWith(\"__react\"))&&getWindow(element).REACT_VERSION===17}function startTrackValue(element){isReact17Element(element)&&(element[TrackChanges]={previousValue:String(element.value),tracked:[]});}function trackOrSetValue(element,v2){var _element_TrackChanges_tracked,_element_TrackChanges;(_element_TrackChanges=element[TrackChanges])===null||_element_TrackChanges===void 0||(_element_TrackChanges_tracked=_element_TrackChanges.tracked)===null||_element_TrackChanges_tracked===void 0||_element_TrackChanges_tracked.push(v2),element[TrackChanges]||(setUIValueClean(element),setUISelection(element,{focusOffset:v2.length}));}function commitValueAfterInput(element,cursorOffset){var _changes_tracked;let changes=element[TrackChanges];if(element[TrackChanges]=void 0,!(!(changes==null||(_changes_tracked=changes.tracked)===null||_changes_tracked===void 0)&&_changes_tracked.length))return;let isJustReactStateUpdate=changes.tracked.length===2&&changes.tracked[0]===changes.previousValue&&changes.tracked[1]===element.value;isJustReactStateUpdate||setUIValueClean(element),hasUISelection(element)&&setUISelection(element,{focusOffset:isJustReactStateUpdate?cursorOffset:element.value.length});}function getTargetTypeAndSelection(node){let element=getElement2(node);if(element&&hasOwnSelection(element))return {type:\"input\",selection:getUISelection(element)};let selection=element?.ownerDocument.getSelection();return {type:getContentEditable(node)&&selection?.anchorNode&&getContentEditable(selection.anchorNode)?\"contenteditable\":\"default\",selection}}function getElement2(node){return node.nodeType===1?node:node.parentElement}function getInputRange(focusNode){let typeAndSelection=getTargetTypeAndSelection(focusNode);if(typeAndSelection.type===\"input\")return typeAndSelection.selection;if(typeAndSelection.type===\"contenteditable\"){var _typeAndSelection_selection;return (_typeAndSelection_selection=typeAndSelection.selection)===null||_typeAndSelection_selection===void 0?void 0:_typeAndSelection_selection.getRangeAt(0)}}function setSelection({focusNode,focusOffset,anchorNode=focusNode,anchorOffset=focusOffset}){var _anchorNode_ownerDocument_getSelection,_anchorNode_ownerDocument;if(getTargetTypeAndSelection(focusNode).type===\"input\")return setUISelection(focusNode,{anchorOffset,focusOffset});(_anchorNode_ownerDocument=anchorNode.ownerDocument)===null||_anchorNode_ownerDocument===void 0||(_anchorNode_ownerDocument_getSelection=_anchorNode_ownerDocument.getSelection())===null||_anchorNode_ownerDocument_getSelection===void 0||_anchorNode_ownerDocument_getSelection.setBaseAndExtent(anchorNode,anchorOffset,focusNode,focusOffset);}function isDateOrTime(element){return isElementType(element,\"input\")&&[\"date\",\"time\"].includes(element.type)}function input(instance,element,data,inputType=\"insertText\"){let inputRange=getInputRange(element);inputRange&&(!isDateOrTime(element)&&!instance.dispatchUIEvent(element,\"beforeinput\",{inputType,data})||(\"startContainer\"in inputRange?editContenteditable(instance,element,inputRange,data,inputType):editInputElement(instance,element,inputRange,data,inputType)));}function editContenteditable(instance,element,inputRange,data,inputType){let del=!1;if(!inputRange.collapsed)del=!0,inputRange.deleteContents();else if([\"deleteContentBackward\",\"deleteContentForward\"].includes(inputType)){let nextPosition=getNextCursorPosition(inputRange.startContainer,inputRange.startOffset,inputType===\"deleteContentBackward\"?-1:1,inputType);if(nextPosition){del=!0;let delRange=inputRange.cloneRange();delRange.comparePoint(nextPosition.node,nextPosition.offset)<0?delRange.setStart(nextPosition.node,nextPosition.offset):delRange.setEnd(nextPosition.node,nextPosition.offset),delRange.deleteContents();}}if(data)if(inputRange.endContainer.nodeType===3){let offset=inputRange.endOffset;inputRange.endContainer.insertData(offset,data),inputRange.setStart(inputRange.endContainer,offset+data.length),inputRange.setEnd(inputRange.endContainer,offset+data.length);}else {let text=element.ownerDocument.createTextNode(data);inputRange.insertNode(text),inputRange.setStart(text,data.length),inputRange.setEnd(text,data.length);}(del||data)&&instance.dispatchUIEvent(element,\"input\",{inputType});}function editInputElement(instance,element,inputRange,data,inputType){let dataToInsert=data;if(supportsMaxLength(element)){let maxLength=getMaxLength(element);if(maxLength!==void 0&&data.length>0){let spaceUntilMaxLength=maxLength-element.value.length;if(spaceUntilMaxLength>0)dataToInsert=data.substring(0,spaceUntilMaxLength);else return}}let{newValue,newOffset,oldValue}=calculateNewValue(dataToInsert,element,inputRange,inputType);newValue===oldValue&&newOffset===inputRange.startOffset&&newOffset===inputRange.endOffset||isElementType(element,\"input\",{type:\"number\"})&&!isValidNumberInput(newValue)||(setUIValue(element,newValue),setSelection({focusNode:element,anchorOffset:newOffset,focusOffset:newOffset}),isDateOrTime(element)?isValidDateOrTimeValue(element,newValue)&&(commitInput(instance,element,newOffset,{}),instance.dispatchUIEvent(element,\"change\"),clearInitialValue(element)):commitInput(instance,element,newOffset,{data,inputType}));}function calculateNewValue(inputData,node,{startOffset,endOffset},inputType){let value=getUIValue(node),prologEnd=Math.max(0,startOffset===endOffset&&inputType===\"deleteContentBackward\"?startOffset-1:startOffset),prolog=value.substring(0,prologEnd),epilogStart=Math.min(value.length,startOffset===endOffset&&inputType===\"deleteContentForward\"?startOffset+1:endOffset),epilog=value.substring(epilogStart,value.length),newValue=`${prolog}${inputData}${epilog}`,newOffset=prologEnd+inputData.length;if(isElementType(node,\"input\",{type:\"time\"})){let builtValue=buildTimeValue(newValue);builtValue!==\"\"&&isValidDateOrTimeValue(node,builtValue)&&(newValue=builtValue,newOffset=builtValue.length);}return {oldValue:value,newValue,newOffset}}function commitInput(instance,element,newOffset,inputInit){instance.dispatchUIEvent(element,\"input\",inputInit),commitValueAfterInput(element,newOffset);}function isValidNumberInput(value){var _value_match,_value_match1;let valueParts=value.split(\"e\",2);return !(/[^\\d.\\-e]/.test(value)||Number((_value_match=value.match(/-/g))===null||_value_match===void 0?void 0:_value_match.length)>2||Number((_value_match1=value.match(/\\./g))===null||_value_match1===void 0?void 0:_value_match1.length)>1||valueParts[1]&&!/^-?\\d*$/.test(valueParts[1]))}behavior.cut=(event,target,instance)=>()=>{isEditable(target)&&input(instance,target,\"\",\"deleteByCut\");};function getValueOrTextContent(element){return element?isContentEditable(element)?element.textContent:getUIValue(element):null}function isVisible(element){let window2=getWindow(element);for(let el=element;el?.ownerDocument;el=el.parentElement){let{display:display2,visibility}=window2.getComputedStyle(el);if(display2===\"none\"||visibility===\"hidden\")return !1}return !0}function getTabDestination(activeElement,shift){let document2=activeElement.ownerDocument,focusableElements=document2.querySelectorAll(FOCUSABLE_SELECTOR),enabledElements=Array.from(focusableElements).filter(el=>el===activeElement||!(Number(el.getAttribute(\"tabindex\"))<0||isDisabled2(el)));Number(activeElement.getAttribute(\"tabindex\"))>=0&&enabledElements.sort((a,b2)=>{let i=Number(a.getAttribute(\"tabindex\")),j=Number(b2.getAttribute(\"tabindex\"));return i===j?0:i===0?1:j===0?-1:i-j});let checkedRadio={},prunedElements=[document2.body],activeRadioGroup=isElementType(activeElement,\"input\",{type:\"radio\"})?activeElement.name:void 0;enabledElements.forEach(currentElement=>{let el=currentElement;if(isElementType(el,\"input\",{type:\"radio\"})&&el.name){if(el===activeElement){prunedElements.push(el);return}else if(el.name===activeRadioGroup)return;if(el.checked){prunedElements=prunedElements.filter(e=>!isElementType(e,\"input\",{type:\"radio\",name:el.name})),prunedElements.push(el),checkedRadio[el.name]=el;return}if(typeof checkedRadio[el.name]<\"u\")return}prunedElements.push(el);});for(let index=prunedElements.findIndex(el=>el===activeElement);;)if(index+=shift?-1:1,index===prunedElements.length?index=0:index===-1&&(index=prunedElements.length-1),prunedElements[index]===activeElement||prunedElements[index]===document2.body||isVisible(prunedElements[index]))return prunedElements[index]}function moveSelection(node,direction){if(hasOwnSelection(node)){let selection=getUISelection(node);setSelection({focusNode:node,focusOffset:selection.startOffset===selection.endOffset?selection.focusOffset+direction:direction<0?selection.startOffset:selection.endOffset});}else {let selection=node.ownerDocument.getSelection();if(!selection?.focusNode)return;if(selection.isCollapsed){let nextPosition=getNextCursorPosition(selection.focusNode,selection.focusOffset,direction);nextPosition&&setSelection({focusNode:nextPosition.node,focusOffset:nextPosition.offset});}else selection[direction<0?\"collapseToStart\":\"collapseToEnd\"]();}}function selectAll(target){if(hasOwnSelection(target))return setSelection({focusNode:target,anchorOffset:0,focusOffset:getUIValue(target).length});var _getContentEditable;let focusNode=(_getContentEditable=getContentEditable(target))!==null&&_getContentEditable!==void 0?_getContentEditable:target.ownerDocument.body;setSelection({focusNode,anchorOffset:0,focusOffset:focusNode.childNodes.length});}function isAllSelected(target){if(hasOwnSelection(target))return getUISelection(target).startOffset===0&&getUISelection(target).endOffset===getUIValue(target).length;var _getContentEditable;let focusNode=(_getContentEditable=getContentEditable(target))!==null&&_getContentEditable!==void 0?_getContentEditable:target.ownerDocument.body,selection=target.ownerDocument.getSelection();return selection?.anchorNode===focusNode&&selection.focusNode===focusNode&&selection.anchorOffset===0&&selection.focusOffset===focusNode.childNodes.length}function setSelectionRange(element,anchorOffset,focusOffset){var _element_firstChild;if(hasOwnSelection(element))return setSelection({focusNode:element,anchorOffset,focusOffset});if(isContentEditable(element)&&((_element_firstChild=element.firstChild)===null||_element_firstChild===void 0?void 0:_element_firstChild.nodeType)===3)return setSelection({focusNode:element.firstChild,anchorOffset,focusOffset});throw new Error(\"Not implemented. The result of this interaction is unreliable.\")}function walkRadio(instance,el,direction){let window2=getWindow(el),group=Array.from(el.ownerDocument.querySelectorAll(el.name?`input[type=\"radio\"][name=\"${window2.CSS.escape(el.name)}\"]`:'input[type=\"radio\"][name=\"\"], input[type=\"radio\"]:not([name])'));for(let i=group.findIndex(e=>e===el)+direction;;i+=direction){if(group[i]||(i=direction>0?0:group.length-1),group[i]===el)return;isDisabled2(group[i])||(focusElement(group[i]),instance.dispatchUIEvent(group[i],\"click\"));}}behavior.keydown=(event,target,instance)=>{var _keydownBehavior_event_key,_keydownBehavior_event_key1;return (_keydownBehavior_event_key1=(_keydownBehavior_event_key=keydownBehavior[event.key])===null||_keydownBehavior_event_key===void 0?void 0:_keydownBehavior_event_key.call(keydownBehavior,event,target,instance))!==null&&_keydownBehavior_event_key1!==void 0?_keydownBehavior_event_key1:combinationBehavior(event,target,instance)};var keydownBehavior={ArrowDown:(event,target,instance)=>{if(isElementType(target,\"input\",{type:\"radio\"}))return ()=>walkRadio(instance,target,-1)},ArrowLeft:(event,target,instance)=>isElementType(target,\"input\",{type:\"radio\"})?()=>walkRadio(instance,target,-1):()=>moveSelection(target,-1),ArrowRight:(event,target,instance)=>isElementType(target,\"input\",{type:\"radio\"})?()=>walkRadio(instance,target,1):()=>moveSelection(target,1),ArrowUp:(event,target,instance)=>{if(isElementType(target,\"input\",{type:\"radio\"}))return ()=>walkRadio(instance,target,1)},Backspace:(event,target,instance)=>{if(isEditable(target))return ()=>{input(instance,target,\"\",\"deleteContentBackward\");}},Delete:(event,target,instance)=>{if(isEditable(target))return ()=>{input(instance,target,\"\",\"deleteContentForward\");}},End:(event,target)=>{if(isElementType(target,[\"input\",\"textarea\"])||isContentEditable(target))return ()=>{var _getValueOrTextContent,_getValueOrTextContent_length;let newPos=(_getValueOrTextContent_length=(_getValueOrTextContent=getValueOrTextContent(target))===null||_getValueOrTextContent===void 0?void 0:_getValueOrTextContent.length)!==null&&_getValueOrTextContent_length!==void 0?_getValueOrTextContent_length:0;setSelectionRange(target,newPos,newPos);}},Home:(event,target)=>{if(isElementType(target,[\"input\",\"textarea\"])||isContentEditable(target))return ()=>{setSelectionRange(target,0,0);}},PageDown:(event,target)=>{if(isElementType(target,[\"input\"]))return ()=>{let newPos=getUIValue(target).length;setSelectionRange(target,newPos,newPos);}},PageUp:(event,target)=>{if(isElementType(target,[\"input\"]))return ()=>{setSelectionRange(target,0,0);}},Tab:(event,target,instance)=>()=>{let dest=getTabDestination(target,instance.system.keyboard.modifiers.Shift);focusElement(dest),hasOwnSelection(dest)&&setUISelection(dest,{anchorOffset:0,focusOffset:dest.value.length});}},combinationBehavior=(event,target,instance)=>{if(event.code===\"KeyA\"&&instance.system.keyboard.modifiers.Control)return ()=>selectAll(target)};behavior.keypress=(event,target,instance)=>{if(event.key===\"Enter\"){if(isElementType(target,\"button\")||isElementType(target,\"input\")&&ClickInputOnEnter.includes(target.type)||isElementType(target,\"a\")&&target.href)return ()=>{instance.dispatchUIEvent(target,\"click\");};if(isElementType(target,\"input\")){let form=target.form,submit=form?.querySelector('input[type=\"submit\"], button:not([type]), button[type=\"submit\"]');return submit?()=>instance.dispatchUIEvent(submit,\"click\"):form&&SubmitSingleInputOnEnter.includes(target.type)&&form.querySelectorAll(\"input\").length===1?()=>instance.dispatchUIEvent(form,\"submit\"):void 0}}if(isEditable(target)){let inputType=event.key===\"Enter\"?isContentEditable(target)&&!instance.system.keyboard.modifiers.Shift?\"insertParagraph\":\"insertLineBreak\":\"insertText\",inputData=event.key===\"Enter\"?`\n`:event.key;return ()=>input(instance,target,inputData,inputType)}};var ClickInputOnEnter=[\"button\",\"color\",\"file\",\"image\",\"reset\",\"submit\"],SubmitSingleInputOnEnter=[\"email\",\"month\",\"password\",\"search\",\"tel\",\"text\",\"url\",\"week\"];behavior.keyup=(event,target,instance)=>{var _keyupBehavior_event_key;return (_keyupBehavior_event_key=keyupBehavior[event.key])===null||_keyupBehavior_event_key===void 0?void 0:_keyupBehavior_event_key.call(keyupBehavior,event,target,instance)};var keyupBehavior={\" \":(event,target,instance)=>{if(isClickableInput(target))return ()=>instance.dispatchUIEvent(target,\"click\")}};behavior.paste=(event,target,instance)=>{if(isEditable(target))return ()=>{var _event_clipboardData;let insertData=(_event_clipboardData=event.clipboardData)===null||_event_clipboardData===void 0?void 0:_event_clipboardData.getData(\"text\");insertData&&input(instance,target,insertData,\"insertFromPaste\");}};var eventMap2={auxclick:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:\"InputEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:\"InputEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!0}}};function getEventClass(type3){return eventMap2[type3].EventType}var mouseEvents=[\"MouseEvent\",\"PointerEvent\"];function isMouseEvent(type3){return mouseEvents.includes(getEventClass(type3))}function isKeyboardEvent(type3){return getEventClass(type3)===\"KeyboardEvent\"}var eventInitializer={ClipboardEvent:[initClipboardEvent],Event:[],InputEvent:[initUIEvent,initInputEvent],MouseEvent:[initUIEvent,initUIEventModififiers,initMouseEvent],PointerEvent:[initUIEvent,initUIEventModififiers,initMouseEvent,initPointerEvent],KeyboardEvent:[initUIEvent,initUIEventModififiers,initKeyboardEvent]};function createEvent2(type3,target,init){let window2=getWindow(target),{EventType,defaultInit}=eventMap2[type3],event=new(getEventConstructors(window2))[EventType](type3,defaultInit);return eventInitializer[EventType].forEach(f=>f(event,init??{})),event}function getEventConstructors(window2){var _window_Event;let Event=(_window_Event=window2.Event)!==null&&_window_Event!==void 0?_window_Event:class{};var _window_AnimationEvent;let AnimationEvent=(_window_AnimationEvent=window2.AnimationEvent)!==null&&_window_AnimationEvent!==void 0?_window_AnimationEvent:class extends Event{};var _window_ClipboardEvent;let ClipboardEvent=(_window_ClipboardEvent=window2.ClipboardEvent)!==null&&_window_ClipboardEvent!==void 0?_window_ClipboardEvent:class extends Event{};var _window_PopStateEvent;let PopStateEvent=(_window_PopStateEvent=window2.PopStateEvent)!==null&&_window_PopStateEvent!==void 0?_window_PopStateEvent:class extends Event{};var _window_ProgressEvent;let ProgressEvent=(_window_ProgressEvent=window2.ProgressEvent)!==null&&_window_ProgressEvent!==void 0?_window_ProgressEvent:class extends Event{};var _window_TransitionEvent;let TransitionEvent=(_window_TransitionEvent=window2.TransitionEvent)!==null&&_window_TransitionEvent!==void 0?_window_TransitionEvent:class extends Event{};var _window_UIEvent;let UIEvent=(_window_UIEvent=window2.UIEvent)!==null&&_window_UIEvent!==void 0?_window_UIEvent:class extends Event{};var _window_CompositionEvent;let CompositionEvent=(_window_CompositionEvent=window2.CompositionEvent)!==null&&_window_CompositionEvent!==void 0?_window_CompositionEvent:class extends UIEvent{};var _window_FocusEvent;let FocusEvent=(_window_FocusEvent=window2.FocusEvent)!==null&&_window_FocusEvent!==void 0?_window_FocusEvent:class extends UIEvent{};var _window_InputEvent;let InputEvent=(_window_InputEvent=window2.InputEvent)!==null&&_window_InputEvent!==void 0?_window_InputEvent:class extends UIEvent{};var _window_KeyboardEvent;let KeyboardEvent=(_window_KeyboardEvent=window2.KeyboardEvent)!==null&&_window_KeyboardEvent!==void 0?_window_KeyboardEvent:class extends UIEvent{};var _window_MouseEvent;let MouseEvent=(_window_MouseEvent=window2.MouseEvent)!==null&&_window_MouseEvent!==void 0?_window_MouseEvent:class extends UIEvent{};var _window_DragEvent;let DragEvent=(_window_DragEvent=window2.DragEvent)!==null&&_window_DragEvent!==void 0?_window_DragEvent:class extends MouseEvent{};var _window_PointerEvent;let PointerEvent=(_window_PointerEvent=window2.PointerEvent)!==null&&_window_PointerEvent!==void 0?_window_PointerEvent:class extends MouseEvent{};var _window_TouchEvent;let TouchEvent=(_window_TouchEvent=window2.TouchEvent)!==null&&_window_TouchEvent!==void 0?_window_TouchEvent:class extends UIEvent{};return {Event,AnimationEvent,ClipboardEvent,PopStateEvent,ProgressEvent,TransitionEvent,UIEvent,CompositionEvent,FocusEvent,InputEvent,KeyboardEvent,MouseEvent,DragEvent,PointerEvent,TouchEvent}}function assignProps(obj,props){for(let[key,value]of Object.entries(props))Object.defineProperty(obj,key,{get:()=>value??null});}function sanitizeNumber(n){return Number(n??0)}function initClipboardEvent(event,{clipboardData}){assignProps(event,{clipboardData});}function initInputEvent(event,{data,inputType,isComposing}){assignProps(event,{data,isComposing:!!isComposing,inputType:String(inputType)});}function initUIEvent(event,{view,detail}){assignProps(event,{view,detail:sanitizeNumber(detail??0)});}function initUIEventModififiers(event,{altKey,ctrlKey,metaKey,shiftKey,modifierAltGraph,modifierCapsLock,modifierFn,modifierFnLock,modifierNumLock,modifierScrollLock,modifierSymbol,modifierSymbolLock}){assignProps(event,{altKey:!!altKey,ctrlKey:!!ctrlKey,metaKey:!!metaKey,shiftKey:!!shiftKey,getModifierState(k){return !!{Alt:altKey,AltGraph:modifierAltGraph,CapsLock:modifierCapsLock,Control:ctrlKey,Fn:modifierFn,FnLock:modifierFnLock,Meta:metaKey,NumLock:modifierNumLock,ScrollLock:modifierScrollLock,Shift:shiftKey,Symbol:modifierSymbol,SymbolLock:modifierSymbolLock}[k]}});}function initKeyboardEvent(event,{key,code,location,repeat,isComposing,charCode}){assignProps(event,{key:String(key),code:String(code),location:sanitizeNumber(location),repeat:!!repeat,isComposing:!!isComposing,charCode});}function initMouseEvent(event,{x,y:y2,screenX,screenY,clientX=x,clientY=y2,button,buttons,relatedTarget}){assignProps(event,{screenX:sanitizeNumber(screenX),screenY:sanitizeNumber(screenY),clientX:sanitizeNumber(clientX),x:sanitizeNumber(clientX),clientY:sanitizeNumber(clientY),y:sanitizeNumber(clientY),button:sanitizeNumber(button),buttons:sanitizeNumber(buttons),relatedTarget});}function initPointerEvent(event,{pointerId,width,height,pressure,tangentialPressure,tiltX,tiltY,twist,pointerType,isPrimary}){assignProps(event,{pointerId:sanitizeNumber(pointerId),width:sanitizeNumber(width),height:sanitizeNumber(height),pressure:sanitizeNumber(pressure),tangentialPressure:sanitizeNumber(tangentialPressure),tiltX:sanitizeNumber(tiltX),tiltY:sanitizeNumber(tiltY),twist:sanitizeNumber(twist),pointerType:String(pointerType),isPrimary:!!isPrimary});}function dispatchUIEvent(target,type3,init,preventDefault=!1){(isMouseEvent(type3)||isKeyboardEvent(type3))&&(init={...init,...this.system.getUIEventModifiers()});let event=createEvent2(type3,target,init);return dispatchEvent.call(this,target,event,preventDefault)}function dispatchEvent(target,event,preventDefault=!1){var _behavior_type;let type3=event.type,behaviorImplementation=preventDefault?()=>{}:(_behavior_type=behavior[type3])===null||_behavior_type===void 0?void 0:_behavior_type.call(behavior,event,target,this);if(behaviorImplementation){event.preventDefault();let defaultPrevented=!1;return Object.defineProperty(event,\"defaultPrevented\",{get:()=>defaultPrevented}),Object.defineProperty(event,\"preventDefault\",{value:()=>{defaultPrevented=event.cancelable;}}),wrapEvent(()=>target.dispatchEvent(event)),defaultPrevented||behaviorImplementation(),!defaultPrevented}return wrapEvent(()=>target.dispatchEvent(event))}function dispatchDOMEvent(target,type3,init){let event=createEvent2(type3,target,init);wrapEvent(()=>target.dispatchEvent(event));}var Interceptor=Symbol(\"Interceptor for programmatical calls\");function prepareInterceptor(element,propName,interceptorImpl){let prototypeDescriptor=Object.getOwnPropertyDescriptor(element.constructor.prototype,propName),objectDescriptor=Object.getOwnPropertyDescriptor(element,propName),target=prototypeDescriptor?.set?\"set\":\"value\";if(typeof prototypeDescriptor?.[target]!=\"function\"||prototypeDescriptor[target][Interceptor])throw new Error(`Element ${element.tagName} does not implement \"${String(propName)}\".`);function intercept(...args){let{applyNative=!1,realArgs,then}=interceptorImpl.call(this,...args),realFunc=(!applyNative&&objectDescriptor||prototypeDescriptor)[target];target===\"set\"?realFunc.call(this,realArgs):realFunc.call(this,...realArgs),then?.();}intercept[Interceptor]=Interceptor,Object.defineProperty(element,propName,{...objectDescriptor??prototypeDescriptor,[target]:intercept});}function prepareValueInterceptor(element){prepareInterceptor(element,\"value\",function(v2){let isUI=isUIValue(v2);return isUI&&startTrackValue(this),{applyNative:!!isUI,realArgs:sanitizeValue(this,v2),then:isUI?void 0:()=>trackOrSetValue(this,String(v2))}});}function sanitizeValue(element,v2){return isElementType(element,\"input\",{type:\"number\"})&&String(v2)!==\"\"&&!Number.isNaN(Number(v2))?String(Number(v2)):String(v2)}function prepareSelectionInterceptor(element){prepareInterceptor(element,\"setSelectionRange\",function(start,...others){let isUI=isUISelectionStart(start);return {applyNative:!!isUI,realArgs:[Number(start),...others],then:()=>isUI?void 0:setUISelectionClean(element)}}),prepareInterceptor(element,\"selectionStart\",function(v2){return {realArgs:v2,then:()=>setUISelectionClean(element)}}),prepareInterceptor(element,\"selectionEnd\",function(v2){return {realArgs:v2,then:()=>setUISelectionClean(element)}}),prepareInterceptor(element,\"select\",function(){return {realArgs:[],then:()=>setUISelectionRaw(element,{anchorOffset:0,focusOffset:getUIValue(element).length})}});}function prepareRangeTextInterceptor(element){prepareInterceptor(element,\"setRangeText\",function(...realArgs){return {realArgs,then:()=>{setUIValueClean(element),setUISelectionClean(element);}}});}var isPrepared=Symbol(\"Node prepared with document state workarounds\");function prepareDocument(document2){document2[isPrepared]||(document2.addEventListener(\"focus\",e=>{let el=e.target;prepareElement(el);},{capture:!0,passive:!0}),document2.activeElement&&prepareElement(document2.activeElement),document2.addEventListener(\"blur\",e=>{let el=e.target,initialValue2=getInitialValue(el);initialValue2!==void 0&&(el.value!==initialValue2&&dispatchDOMEvent(el,\"change\"),clearInitialValue(el));},{capture:!0,passive:!0}),document2[isPrepared]=isPrepared);}function prepareElement(el){el[isPrepared]||(isElementType(el,[\"input\",\"textarea\"])&&(prepareValueInterceptor(el),prepareSelectionInterceptor(el),prepareRangeTextInterceptor(el)),el[isPrepared]=isPrepared);}function getDocumentFromNode(el){return isDocument2(el)?el:el.ownerDocument}function isDocument2(node){return node.nodeType===9}function wait(config3){let delay=config3.delay;if(typeof delay==\"number\")return Promise.all([new Promise(resolve=>globalThis.setTimeout(()=>resolve(),delay)),config3.advanceTimers(delay)])}function _define_property3(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var DOM_KEY_LOCATION;(function(DOM_KEY_LOCATION2){DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.STANDARD=0]=\"STANDARD\",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.LEFT=1]=\"LEFT\",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.RIGHT=2]=\"RIGHT\",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.NUMPAD=3]=\"NUMPAD\";})(DOM_KEY_LOCATION||(DOM_KEY_LOCATION={}));var modifierKeys=[\"Alt\",\"AltGraph\",\"Control\",\"Fn\",\"Meta\",\"Shift\",\"Symbol\"];function isModifierKey(key){return modifierKeys.includes(key)}var modifierLocks=[\"CapsLock\",\"FnLock\",\"NumLock\",\"ScrollLock\",\"SymbolLock\"];function isModifierLock(key){return modifierLocks.includes(key)}var KeyboardHost=class{isKeyPressed(keyDef){return !!this.pressed[String(keyDef.code)]}getPressedKeys(){return Object.values(this.pressed).map(p2=>p2.keyDef)}async keydown(instance,keyDef){var _this_pressed,_code,_this_pressed_code;let key=String(keyDef.key),code=String(keyDef.code),target=getActiveElementOrBody(instance.config.document);this.setKeydownTarget(target);var _;(_=(_this_pressed=this.pressed)[_code=code])!==null&&_!==void 0||(_this_pressed[_code]={keyDef,unpreventedDefault:!1}),isModifierKey(key)&&(this.modifiers[key]=!0);let unprevented=instance.dispatchUIEvent(target,\"keydown\",{key,code});isModifierLock(key)&&!this.modifiers[key]&&(this.modifiers[key]=!0,this.modifierLockStart[key]=!0),(_this_pressed_code=this.pressed[code]).unpreventedDefault||(_this_pressed_code.unpreventedDefault=unprevented),unprevented&&this.hasKeyPress(key)&&instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),\"keypress\",{key,code,charCode:keyDef.key===\"Enter\"?13:String(keyDef.key).charCodeAt(0)});}async keyup(instance,keyDef){let key=String(keyDef.key),code=String(keyDef.code),unprevented=this.pressed[code].unpreventedDefault;delete this.pressed[code],isModifierKey(key)&&!Object.values(this.pressed).find(p2=>p2.keyDef.key===key)&&(this.modifiers[key]=!1),instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),\"keyup\",{key,code},!unprevented),isModifierLock(key)&&this.modifiers[key]&&(this.modifierLockStart[key]?this.modifierLockStart[key]=!1:this.modifiers[key]=!1);}setKeydownTarget(target){target!==this.lastKeydownTarget&&(this.carryChar=\"\"),this.lastKeydownTarget=target;}hasKeyPress(key){return (key.length===1||key===\"Enter\")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(system){_define_property3(this,\"system\",void 0),_define_property3(this,\"modifiers\",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),_define_property3(this,\"pressed\",{}),_define_property3(this,\"carryChar\",\"\"),_define_property3(this,\"lastKeydownTarget\",void 0),_define_property3(this,\"modifierLockStart\",{}),this.system=system;}};var defaultKeyMap=[...\"0123456789\".split(\"\").map(c=>({code:`Digit${c}`,key:c})),...\")!@#$%^&*(\".split(\"\").map((c,i)=>({code:`Digit${i}`,key:c,shiftKey:!0})),...\"abcdefghijklmnopqrstuvwxyz\".split(\"\").map(c=>({code:`Key${c.toUpperCase()}`,key:c})),...\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\".split(\"\").map(c=>({code:`Key${c}`,key:c,shiftKey:!0})),{code:\"Space\",key:\" \"},{code:\"AltLeft\",key:\"Alt\",location:DOM_KEY_LOCATION.LEFT},{code:\"AltRight\",key:\"Alt\",location:DOM_KEY_LOCATION.RIGHT},{code:\"ShiftLeft\",key:\"Shift\",location:DOM_KEY_LOCATION.LEFT},{code:\"ShiftRight\",key:\"Shift\",location:DOM_KEY_LOCATION.RIGHT},{code:\"ControlLeft\",key:\"Control\",location:DOM_KEY_LOCATION.LEFT},{code:\"ControlRight\",key:\"Control\",location:DOM_KEY_LOCATION.RIGHT},{code:\"MetaLeft\",key:\"Meta\",location:DOM_KEY_LOCATION.LEFT},{code:\"MetaRight\",key:\"Meta\",location:DOM_KEY_LOCATION.RIGHT},{code:\"OSLeft\",key:\"OS\",location:DOM_KEY_LOCATION.LEFT},{code:\"OSRight\",key:\"OS\",location:DOM_KEY_LOCATION.RIGHT},{code:\"Tab\",key:\"Tab\"},{code:\"CapsLock\",key:\"CapsLock\"},{code:\"Backspace\",key:\"Backspace\"},{code:\"Enter\",key:\"Enter\"},{code:\"Escape\",key:\"Escape\"},{code:\"ArrowUp\",key:\"ArrowUp\"},{code:\"ArrowDown\",key:\"ArrowDown\"},{code:\"ArrowLeft\",key:\"ArrowLeft\"},{code:\"ArrowRight\",key:\"ArrowRight\"},{code:\"Home\",key:\"Home\"},{code:\"End\",key:\"End\"},{code:\"Delete\",key:\"Delete\"},{code:\"PageUp\",key:\"PageUp\"},{code:\"PageDown\",key:\"PageDown\"},{code:\"Fn\",key:\"Fn\"},{code:\"Symbol\",key:\"Symbol\"},{code:\"AltRight\",key:\"AltGraph\"}];var defaultKeyMap2=[{name:\"MouseLeft\",pointerType:\"mouse\",button:\"primary\"},{name:\"MouseRight\",pointerType:\"mouse\",button:\"secondary\"},{name:\"MouseMiddle\",pointerType:\"mouse\",button:\"auxiliary\"},{name:\"TouchA\",pointerType:\"touch\"},{name:\"TouchB\",pointerType:\"touch\"},{name:\"TouchC\",pointerType:\"touch\"}];function _define_property4(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Buttons=class{getButtons(){let v2=0;for(let button of Object.keys(this.pressed))v2|=2**Number(button);return v2}down(keyDef){let button=getMouseButtonId(keyDef.button);if(button in this.pressed){this.pressed[button].push(keyDef);return}return this.pressed[button]=[keyDef],button}up(keyDef){let button=getMouseButtonId(keyDef.button);if(button in this.pressed&&(this.pressed[button]=this.pressed[button].filter(k=>k.name!==keyDef.name),this.pressed[button].length===0))return delete this.pressed[button],button}constructor(){_define_property4(this,\"pressed\",{});}},MouseButton={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function getMouseButtonId(button=0){return button in MouseButton?MouseButton[button]:Number(button)}var MouseButtonFlip={1:2,2:1};function getMouseEventButton(button){return button=getMouseButtonId(button),button in MouseButtonFlip?MouseButtonFlip[button]:button}function _define_property5(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Device=class{get countPressed(){return this.pressedKeys.size}isPressed(keyDef){return this.pressedKeys.has(keyDef.name)}addPressed(keyDef){return this.pressedKeys.add(keyDef.name)}removePressed(keyDef){return this.pressedKeys.delete(keyDef.name)}constructor(){_define_property5(this,\"pressedKeys\",new Set);}};function getTreeDiff(a,b2){let treeA=[];for(let el=a;el;el=el.parentElement)treeA.push(el);let treeB=[];for(let el=b2;el;el=el.parentElement)treeB.push(el);let i=0;for(;!(i>=treeA.length||i>=treeB.length||treeA[treeA.length-1-i]!==treeB[treeB.length-1-i]);i++);return [treeA.slice(0,treeA.length-i),treeB.slice(0,treeB.length-i),treeB.slice(treeB.length-i)]}function resolveCaretPosition({target,node,offset}){return hasOwnSelection(target)?{node:target,offset:offset??getUIValue(target).length}:node?{node,offset:offset??(node.nodeType===3?node.nodeValue.length:node.childNodes.length)}:findNodeAtTextOffset(target,offset)}function findNodeAtTextOffset(node,offset,isRoot=!0){let i=offset===void 0?node.childNodes.length-1:0,step=offset===void 0?-1:1;for(;offset===void 0?i>=(isRoot?Math.max(node.childNodes.length-1,0):0):i<=node.childNodes.length;){if(offset&&i===node.childNodes.length)throw new Error(\"The given offset is out of bounds.\");let c=node.childNodes.item(i),text=String(c.textContent);if(text.length)if(offset!==void 0&&text.lengthselectionRange.end||selectionFocus.offset0&&range.setEnd(selectionFocus.node,selectionFocus.offset);let selection=document2.getSelection();selection?.removeAllRanges(),selection?.addRange(range.cloneRange());}}function isDifferentPointerPosition(positionA,positionB){var _positionA_coords,_positionB_coords,_positionA_coords1,_positionB_coords1,_positionA_caret,_positionB_caret,_positionA_caret1,_positionB_caret1;return positionA.target!==positionB.target||((_positionA_coords=positionA.coords)===null||_positionA_coords===void 0?void 0:_positionA_coords.x)!==((_positionB_coords=positionB.coords)===null||_positionB_coords===void 0?void 0:_positionB_coords.y)||((_positionA_coords1=positionA.coords)===null||_positionA_coords1===void 0?void 0:_positionA_coords1.y)!==((_positionB_coords1=positionB.coords)===null||_positionB_coords1===void 0?void 0:_positionB_coords1.y)||((_positionA_caret=positionA.caret)===null||_positionA_caret===void 0?void 0:_positionA_caret.node)!==((_positionB_caret=positionB.caret)===null||_positionB_caret===void 0?void 0:_positionB_caret.node)||((_positionA_caret1=positionA.caret)===null||_positionA_caret1===void 0?void 0:_positionA_caret1.offset)!==((_positionB_caret1=positionB.caret)===null||_positionB_caret1===void 0?void 0:_positionB_caret1.offset)}function _define_property6(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Mouse=class{move(instance,position){let prevPosition=this.position,prevTarget=this.getTarget(instance);if(this.position=position,!isDifferentPointerPosition(prevPosition,position))return;let nextTarget=this.getTarget(instance),init=this.getEventInit(\"mousemove\"),[leave,enter]=getTreeDiff(prevTarget,nextTarget);return {leave:()=>{prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,\"mouseout\",init),leave.forEach(el=>instance.dispatchUIEvent(el,\"mouseleave\",init)));},enter:()=>{prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,\"mouseover\",init),enter.forEach(el=>instance.dispatchUIEvent(el,\"mouseenter\",init)));},move:()=>{instance.dispatchUIEvent(nextTarget,\"mousemove\",init),this.modifySelecting(instance);}}}down(instance,keyDef,pointer3){let button=this.buttons.down(keyDef);if(button===void 0)return;let target=this.getTarget(instance);this.buttonDownTarget[button]=target;let disabled=isDisabled2(target),init=this.getEventInit(\"mousedown\",keyDef.button);(disabled||instance.dispatchUIEvent(target,\"mousedown\",init))&&(this.startSelecting(instance,init.detail),focusElement(target)),!disabled&&getMouseEventButton(keyDef.button)===2&&instance.dispatchUIEvent(target,\"contextmenu\",this.getEventInit(\"contextmenu\",keyDef.button,pointer3));}up(instance,keyDef,pointer3){let button=this.buttons.up(keyDef);if(button===void 0)return;let target=this.getTarget(instance);if(!isDisabled2(target)){instance.dispatchUIEvent(target,\"mouseup\",this.getEventInit(\"mouseup\",keyDef.button)),this.endSelecting();let clickTarget=getTreeDiff(this.buttonDownTarget[button],target)[2][0];if(clickTarget){let init=this.getEventInit(\"click\",keyDef.button,pointer3);init.detail&&(instance.dispatchUIEvent(clickTarget,init.button===0?\"click\":\"auxclick\",init),init.button===0&&init.detail===2&&instance.dispatchUIEvent(clickTarget,\"dblclick\",{...this.getEventInit(\"dblclick\",keyDef.button),detail:init.detail}));}}}resetClickCount(){this.clickCount.reset();}getEventInit(type3,button,pointer3){let init={...this.position.coords};return pointer3&&(init.pointerId=pointer3.pointerId,init.pointerType=pointer3.pointerType,init.isPrimary=pointer3.isPrimary),init.button=getMouseEventButton(button),init.buttons=this.buttons.getButtons(),type3===\"mousedown\"?init.detail=this.clickCount.getOnDown(init.button):type3===\"mouseup\"?init.detail=this.clickCount.getOnUp(init.button):(type3===\"click\"||type3===\"auxclick\")&&(init.detail=this.clickCount.incOnClick(init.button)),init}getTarget(instance){var _this_position_target;return (_this_position_target=this.position.target)!==null&&_this_position_target!==void 0?_this_position_target:instance.config.document.body}startSelecting(instance,clickCount){var _this_position_caret,_this_position_caret1;this.selecting=setSelectionPerMouseDown({document:instance.config.document,target:this.getTarget(instance),node:(_this_position_caret=this.position.caret)===null||_this_position_caret===void 0?void 0:_this_position_caret.node,offset:(_this_position_caret1=this.position.caret)===null||_this_position_caret1===void 0?void 0:_this_position_caret1.offset,clickCount});}modifySelecting(instance){var _this_position_caret,_this_position_caret1;this.selecting&&modifySelectionPerMouseMove(this.selecting,{document:instance.config.document,target:this.getTarget(instance),node:(_this_position_caret=this.position.caret)===null||_this_position_caret===void 0?void 0:_this_position_caret.node,offset:(_this_position_caret1=this.position.caret)===null||_this_position_caret1===void 0?void 0:_this_position_caret1.offset});}endSelecting(){this.selecting=void 0;}constructor(){_define_property6(this,\"position\",{}),_define_property6(this,\"buttons\",new Buttons),_define_property6(this,\"selecting\",void 0),_define_property6(this,\"buttonDownTarget\",{}),_define_property6(this,\"clickCount\",new class{incOnClick(button){let current=this.down[button]===void 0?void 0:Number(this.down[button])+1;return this.count=this.count[button]===void 0?{}:{[button]:Number(this.count[button])+1},current}getOnDown(button){var _this_count_button;this.down={[button]:(_this_count_button=this.count[button])!==null&&_this_count_button!==void 0?_this_count_button:0};var _this_count_button1;return this.count={[button]:(_this_count_button1=this.count[button])!==null&&_this_count_button1!==void 0?_this_count_button1:0},Number(this.count[button])+1}getOnUp(button){return this.down[button]===void 0?void 0:Number(this.down[button])+1}reset(){this.count={};}constructor(){_define_property6(this,\"down\",{}),_define_property6(this,\"count\",{});}});}};function hasPointerEvents(instance,element){var _checkPointerEvents;return ((_checkPointerEvents=checkPointerEvents(instance,element))===null||_checkPointerEvents===void 0?void 0:_checkPointerEvents.pointerEvents)!==\"none\"}function closestPointerEventsDeclaration(element){let window2=getWindow(element);for(let el=element,tree=[];el?.ownerDocument;el=el.parentElement){tree.push(el);let pointerEvents=window2.getComputedStyle(el).pointerEvents;if(pointerEvents&&![\"inherit\",\"unset\"].includes(pointerEvents))return {pointerEvents,tree}}}var PointerEventsCheck=Symbol(\"Last check for pointer-events\");function checkPointerEvents(instance,element){let lastCheck=element[PointerEventsCheck];if(!(instance.config.pointerEventsCheck!==PointerEventsCheckLevel.Never&&(!lastCheck||hasBitFlag(instance.config.pointerEventsCheck,PointerEventsCheckLevel.EachApiCall)&&lastCheck[ApiLevel.Call]!==getLevelRef(instance,ApiLevel.Call)||hasBitFlag(instance.config.pointerEventsCheck,PointerEventsCheckLevel.EachTrigger)&&lastCheck[ApiLevel.Trigger]!==getLevelRef(instance,ApiLevel.Trigger))))return lastCheck?.result;let declaration=closestPointerEventsDeclaration(element);return element[PointerEventsCheck]={[ApiLevel.Call]:getLevelRef(instance,ApiLevel.Call),[ApiLevel.Trigger]:getLevelRef(instance,ApiLevel.Trigger),result:declaration},declaration}function assertPointerEvents(instance,element){let declaration=checkPointerEvents(instance,element);if(declaration?.pointerEvents===\"none\")throw new Error([`Unable to perform pointer interaction as the element ${declaration.tree.length>1?\"inherits\":\"has\"} \\`pointer-events: none\\`:`,\"\",printTree(declaration.tree)].join(`\n`))}function printTree(tree){return tree.reverse().map((el,i)=>[\"\".padEnd(i),el.tagName,el.id&&`#${el.id}`,el.hasAttribute(\"data-testid\")&&`(testId=${el.getAttribute(\"data-testid\")})`,getLabelDescr(el),tree.length>1&&i===0&&\" <-- This element declared `pointer-events: none`\",tree.length>1&&i===tree.length-1&&\" <-- Asserted pointer events here\"].filter(Boolean).join(\"\")).join(`\n`)}function getLabelDescr(element){var _element_labels;let label;if(element.hasAttribute(\"aria-label\"))label=element.getAttribute(\"aria-label\");else if(element.hasAttribute(\"aria-labelledby\")){var _element_ownerDocument_getElementById_textContent,_element_ownerDocument_getElementById;label=(_element_ownerDocument_getElementById=element.ownerDocument.getElementById(element.getAttribute(\"aria-labelledby\")))===null||_element_ownerDocument_getElementById===void 0||(_element_ownerDocument_getElementById_textContent=_element_ownerDocument_getElementById.textContent)===null||_element_ownerDocument_getElementById_textContent===void 0?void 0:_element_ownerDocument_getElementById_textContent.trim();}else if(isElementType(element,[\"button\",\"input\",\"meter\",\"output\",\"progress\",\"select\",\"textarea\"])&&(!((_element_labels=element.labels)===null||_element_labels===void 0)&&_element_labels.length))label=Array.from(element.labels).map(el=>{var _el_textContent;return (_el_textContent=el.textContent)===null||_el_textContent===void 0?void 0:_el_textContent.trim()}).join(\"|\");else if(isElementType(element,\"button\")){var _element_textContent;label=(_element_textContent=element.textContent)===null||_element_textContent===void 0?void 0:_element_textContent.trim();}return label=label?.replace(/\\n/g,\" \"),Number(label?.length)>30&&(label=`${label?.substring(0,29)}\\u2026`),label?`(label=${label})`:\"\"}function hasBitFlag(conf,flag){return (conf&flag)>0}function _define_property7(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Pointer=class{init(instance,position){this.position=position;let target=this.getTarget(instance),[,enter]=getTreeDiff(null,target),init=this.getEventInit();return assertPointerEvents(instance,target),instance.dispatchUIEvent(target,\"pointerover\",init),enter.forEach(el=>instance.dispatchUIEvent(el,\"pointerenter\",init)),this}move(instance,position){let prevPosition=this.position,prevTarget=this.getTarget(instance);if(this.position=position,!isDifferentPointerPosition(prevPosition,position))return;let nextTarget=this.getTarget(instance),init=this.getEventInit(),[leave,enter]=getTreeDiff(prevTarget,nextTarget);return {leave:()=>{hasPointerEvents(instance,prevTarget)&&prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,\"pointerout\",init),leave.forEach(el=>instance.dispatchUIEvent(el,\"pointerleave\",init)));},enter:()=>{assertPointerEvents(instance,nextTarget),prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,\"pointerover\",init),enter.forEach(el=>instance.dispatchUIEvent(el,\"pointerenter\",init)));},move:()=>{instance.dispatchUIEvent(nextTarget,\"pointermove\",init);}}}down(instance,_keyDef){if(this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!0,this.isPrevented=!instance.dispatchUIEvent(target,\"pointerdown\",this.getEventInit());}up(instance,_keyDef){if(!this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!1,instance.dispatchUIEvent(target,\"pointerup\",this.getEventInit());}release(instance){let target=this.getTarget(instance),[leave]=getTreeDiff(target,null),init=this.getEventInit();hasPointerEvents(instance,target)&&(instance.dispatchUIEvent(target,\"pointerout\",init),leave.forEach(el=>instance.dispatchUIEvent(el,\"pointerleave\",init))),this.isCancelled=!0;}getTarget(instance){var _this_position_target;return (_this_position_target=this.position.target)!==null&&_this_position_target!==void 0?_this_position_target:instance.config.document.body}getEventInit(){return {...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId,pointerType,isPrimary}){_define_property7(this,\"pointerId\",void 0),_define_property7(this,\"pointerType\",void 0),_define_property7(this,\"isPrimary\",void 0),_define_property7(this,\"isMultitouch\",!1),_define_property7(this,\"isCancelled\",!1),_define_property7(this,\"isDown\",!1),_define_property7(this,\"isPrevented\",!1),_define_property7(this,\"position\",{}),this.pointerId=pointerId,this.pointerType=pointerType,this.isPrimary=isPrimary,this.isMultitouch=!isPrimary;}};function _define_property8(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var PointerHost=class{isKeyPressed(keyDef){return this.devices.get(keyDef.pointerType).isPressed(keyDef)}async press(instance,keyDef,position){let pointerName=this.getPointerName(keyDef),pointer3=keyDef.pointerType===\"touch\"?this.pointers.new(pointerName,keyDef).init(instance,position):this.pointers.get(pointerName);pointer3.position=position,pointer3.pointerType!==\"touch\"&&(this.mouse.position=position),this.devices.get(keyDef.pointerType).addPressed(keyDef),this.buttons.down(keyDef),pointer3.down(instance,keyDef),pointer3.pointerType!==\"touch\"&&!pointer3.isPrevented&&this.mouse.down(instance,keyDef,pointer3);}async move(instance,pointerName,position){let pointer3=this.pointers.get(pointerName),pointermove=pointer3.move(instance,position),mousemove=pointer3.pointerType===\"touch\"||pointer3.isPrevented&&pointer3.isDown?void 0:this.mouse.move(instance,position);pointermove?.leave(),mousemove?.leave(),pointermove?.enter(),mousemove?.enter(),pointermove?.move(),mousemove?.move();}async release(instance,keyDef,position){let device=this.devices.get(keyDef.pointerType);device.removePressed(keyDef),this.buttons.up(keyDef);let pointer3=this.pointers.get(this.getPointerName(keyDef));if(pointer3.position=position,pointer3.pointerType!==\"touch\"&&(this.mouse.position=position),device.countPressed===0&&pointer3.up(instance,keyDef),pointer3.pointerType===\"touch\"&&pointer3.release(instance),!pointer3.isPrevented){if(pointer3.pointerType===\"touch\"&&!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.down(instance,keyDef,pointer3);}if(!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.up(instance,keyDef,pointer3);}}}getPointerName(keyDef){return keyDef.pointerType===\"touch\"?keyDef.name:keyDef.pointerType}getPreviousPosition(pointerName){return this.pointers.has(pointerName)?this.pointers.get(pointerName).position:void 0}resetClickCount(){this.mouse.resetClickCount();}getMouseTarget(instance){var _this_mouse_position_target;return (_this_mouse_position_target=this.mouse.position.target)!==null&&_this_mouse_position_target!==void 0?_this_mouse_position_target:instance.config.document.body}setMousePosition(position){this.mouse.position=position,this.pointers.get(\"mouse\").position=position;}constructor(system){_define_property8(this,\"system\",void 0),_define_property8(this,\"mouse\",void 0),_define_property8(this,\"buttons\",void 0),_define_property8(this,\"devices\",new class{get(k){var _this_registry,_k,_;return (_=(_this_registry=this.registry)[_k=k])!==null&&_!==void 0||(_this_registry[_k]=new Device),this.registry[k]}constructor(){_define_property8(this,\"registry\",{});}}),_define_property8(this,\"pointers\",new class{new(pointerName,keyDef){let isPrimary=keyDef.pointerType!==\"touch\"||!Object.values(this.registry).some(p2=>p2.pointerType===\"touch\"&&!p2.isCancelled);return isPrimary||Object.values(this.registry).forEach(p2=>{p2.pointerType===keyDef.pointerType&&!p2.isCancelled&&(p2.isMultitouch=!0);}),this.registry[pointerName]=new Pointer({pointerId:this.nextId++,pointerType:keyDef.pointerType,isPrimary}),this.registry[pointerName]}get(pointerName){if(!this.has(pointerName))throw new Error(`Trying to access pointer \"${pointerName}\" which does not exist.`);return this.registry[pointerName]}has(pointerName){return pointerName in this.registry}constructor(){_define_property8(this,\"registry\",{mouse:new Pointer({pointerId:1,pointerType:\"mouse\",isPrimary:!0})}),_define_property8(this,\"nextId\",2);}}),this.system=system,this.buttons=new Buttons,this.mouse=new Mouse;}};function _define_property9(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var System=class{getUIEventModifiers(){return {altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){_define_property9(this,\"keyboard\",new KeyboardHost(this)),_define_property9(this,\"pointer\",new PointerHost(this));}};async function click(element){let pointerIn=[];return this.config.skipHover||pointerIn.push({target:element}),pointerIn.push({keys:\"[MouseLeft]\",target:element}),this.pointer(pointerIn)}async function dblClick(element){return this.pointer([{target:element},\"[MouseLeft][MouseLeft]\"])}async function tripleClick(element){return this.pointer([{target:element},\"[MouseLeft][MouseLeft][MouseLeft]\"])}async function hover(element){return this.pointer({target:element})}async function unhover(element){return assertPointerEvents(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:element.ownerDocument.body})}async function tab({shift}={}){return this.keyboard(shift===!0?\"{Shift>}{Tab}{/Shift}\":shift===!1?\"[/ShiftLeft][/ShiftRight]{Tab}\":\"{Tab}\")}function parseKeyDef(keyboardMap,text){let defs=[];do{let{type:type3,descriptor,consumedLength,releasePrevious,releaseSelf=!0,repeat}=readNextDescriptor(text,\"keyboard\");var _keyboardMap_find;let keyDef=(_keyboardMap_find=keyboardMap.find(def=>{if(type3===\"[\"){var _def_code;return ((_def_code=def.code)===null||_def_code===void 0?void 0:_def_code.toLowerCase())===descriptor.toLowerCase()}else if(type3===\"{\"){var _def_key;return ((_def_key=def.key)===null||_def_key===void 0?void 0:_def_key.toLowerCase())===descriptor.toLowerCase()}return def.key===descriptor}))!==null&&_keyboardMap_find!==void 0?_keyboardMap_find:{key:\"Unknown\",code:\"Unknown\",[type3===\"[\"?\"code\":\"key\"]:descriptor};defs.push({keyDef,releasePrevious,releaseSelf,repeat}),text=text.slice(consumedLength);}while(text);return defs}async function keyboard(text){let actions=parseKeyDef(this.config.keyboardMap,text);for(let i=0;i{throw new Error(\"`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.\")});this.dispatchUIEvent(target,\"paste\",{clipboardData:dataTransfer});}function getClipboardDataFromString(doc,text){let dt=createDataTransfer(getWindow(doc));return dt.setData(\"text\",text),dt}function parseKeyDef2(pointerMap,keys2){let defs=[];do{let{descriptor,consumedLength,releasePrevious,releaseSelf=!0}=readNextDescriptor(keys2,\"pointer\"),keyDef=pointerMap.find(p2=>p2.name===descriptor);keyDef&&defs.push({keyDef,releasePrevious,releaseSelf}),keys2=keys2.slice(consumedLength);}while(keys2);return defs}async function pointer(input2){let{pointerMap}=this.config,actions=[];(Array.isArray(input2)?input2:[input2]).forEach(actionInput=>{typeof actionInput==\"string\"?actions.push(...parseKeyDef2(pointerMap,actionInput)):\"keys\"in actionInput?actions.push(...parseKeyDef2(pointerMap,actionInput.keys).map(i=>({...actionInput,...i}))):actions.push(actionInput);});for(let i=0;i{if(typeof val!=\"string\"&&allOptions.includes(val))return val;{let matchingOption=allOptions.find(o=>o.value===val||o.innerHTML===val);if(matchingOption)return matchingOption;throw getConfig().getElementError(`Value \"${String(val)}\" not found in options`,select)}}).filter(option=>!isDisabled2(option));if(isDisabled2(select)||!selectedOptions.length)return;let selectOption=option=>{option.selected=newValue,this.dispatchUIEvent(select,\"input\",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(select,\"change\");};if(isElementType(select,\"select\"))if(select.multiple)for(let option of selectedOptions){let withPointerEvents=this.config.pointerEventsCheck===0?!0:hasPointerEvents(this,option);withPointerEvents&&(this.dispatchUIEvent(option,\"pointerover\"),this.dispatchUIEvent(select,\"pointerenter\"),this.dispatchUIEvent(option,\"mouseover\"),this.dispatchUIEvent(select,\"mouseenter\"),this.dispatchUIEvent(option,\"pointermove\"),this.dispatchUIEvent(option,\"mousemove\"),this.dispatchUIEvent(option,\"pointerdown\"),this.dispatchUIEvent(option,\"mousedown\")),focusElement(select),withPointerEvents&&(this.dispatchUIEvent(option,\"pointerup\"),this.dispatchUIEvent(option,\"mouseup\")),selectOption(option),withPointerEvents&&this.dispatchUIEvent(option,\"click\"),await wait(this.config);}else if(selectedOptions.length===1){let withPointerEvents=this.config.pointerEventsCheck===0?!0:hasPointerEvents(this,select);withPointerEvents?await this.click(select):focusElement(select),selectOption(selectedOptions[0]),withPointerEvents&&(this.dispatchUIEvent(select,\"pointerover\"),this.dispatchUIEvent(select,\"pointerenter\"),this.dispatchUIEvent(select,\"mouseover\"),this.dispatchUIEvent(select,\"mouseenter\"),this.dispatchUIEvent(select,\"pointerup\"),this.dispatchUIEvent(select,\"mouseup\"),this.dispatchUIEvent(select,\"click\")),await wait(this.config);}else throw getConfig().getElementError(\"Cannot select multiple options on a non-multiple select\",select);else if(select.getAttribute(\"role\")===\"listbox\")for(let option of selectedOptions)await this.click(option),await this.unhover(option);else throw getConfig().getElementError(\"Cannot select options on elements that are neither select nor listbox elements\",select)}async function type(element,text,{skipClick=this.config.skipClick,skipAutoClose=this.config.skipAutoClose,initialSelectionStart,initialSelectionEnd}={}){element.disabled||(skipClick||await this.click(element),initialSelectionStart!==void 0&&setSelectionRange(element,initialSelectionStart,initialSelectionEnd??initialSelectionStart),await this.keyboard(text),skipAutoClose||await releaseAllKeys(this));}var fakeFiles=Symbol(\"files and value properties are mocked\");function restoreProperty(obj,prop,descriptor){descriptor?Object.defineProperty(obj,prop,descriptor):delete obj[prop];}function setFiles(el,files){var _el_fakeFiles;(_el_fakeFiles=el[fakeFiles])===null||_el_fakeFiles===void 0||_el_fakeFiles.restore();let typeDescr=Object.getOwnPropertyDescriptor(el,\"type\"),valueDescr=Object.getOwnPropertyDescriptor(el,\"value\"),filesDescr=Object.getOwnPropertyDescriptor(el,\"files\");function restore(){restoreProperty(el,\"type\",typeDescr),restoreProperty(el,\"value\",valueDescr),restoreProperty(el,\"files\",filesDescr);}el[fakeFiles]={restore},Object.defineProperties(el,{files:{configurable:!0,get:()=>files},value:{configurable:!0,get:()=>files.length?`C:\\\\fakepath\\\\${files[0].name}`:\"\",set(v2){if(v2===\"\")restore();else {var _valueDescr_set;valueDescr==null||(_valueDescr_set=valueDescr.set)===null||_valueDescr_set===void 0||_valueDescr_set.call(el,v2);}}},type:{configurable:!0,get:()=>\"file\",set(v2){v2!==\"file\"&&(restore(),el.type=v2);}}});}async function upload(element,fileOrFiles){let input2=isElementType(element,\"label\")?element.control:element;if(!input2||!isElementType(input2,\"input\",{type:\"file\"}))throw new TypeError(`The ${input2===element?\"given\":\"associated\"} ${input2?.tagName} element does not accept file uploads`);if(isDisabled2(element))return;let files=(Array.isArray(fileOrFiles)?fileOrFiles:[fileOrFiles]).filter(file=>!this.config.applyAccept||isAcceptableFile(file,input2.accept)).slice(0,input2.multiple?void 0:1),fileDialog=()=>{var _input_files;files.length===((_input_files=input2.files)===null||_input_files===void 0?void 0:_input_files.length)&&files.every((f,i)=>{var _input_files2;return f===((_input_files2=input2.files)===null||_input_files2===void 0?void 0:_input_files2.item(i))})||(setFiles(input2,createFileList(getWindow(element),files)),this.dispatchUIEvent(input2,\"input\"),this.dispatchUIEvent(input2,\"change\"));};input2.addEventListener(\"fileDialog\",fileDialog),await this.click(element),input2.removeEventListener(\"fileDialog\",fileDialog);}function isAcceptableFile(file,accept){if(!accept)return !0;let wildcards=[\"audio/*\",\"image/*\",\"video/*\"];return accept.split(\",\").some(acceptToken=>acceptToken.startsWith(\".\")?file.name.endsWith(acceptToken):wildcards.includes(acceptToken)?file.type.startsWith(acceptToken.substr(0,acceptToken.length-1)):file.type===acceptToken)}var userEventApi={click,dblClick,tripleClick,hover,unhover,tab,keyboard,copy,cut,paste,pointer,clear,deselectOptions,selectOptions,type,upload};function wrapAsync(implementation){return getConfig().asyncWrapper(implementation)}var defaultOptionsDirect={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:defaultKeyMap,pointerMap:defaultKeyMap2,pointerEventsCheck:PointerEventsCheckLevel.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},defaultOptionsSetup={...defaultOptionsDirect,writeToClipboard:!0};function createConfig(options={},defaults=defaultOptionsSetup,node){let document2=getDocument2(options,node,defaults);return {...defaults,...options,document:document2}}function setupMain(options={}){let config3=createConfig(options);prepareDocument(config3.document);var _config_document_defaultView;let view=(_config_document_defaultView=config3.document.defaultView)!==null&&_config_document_defaultView!==void 0?_config_document_defaultView:globalThis.window;return attachClipboardStubToView(view),createInstance(config3).api}function setupDirect({keyboardState,pointerState,...options}={},node){let config3=createConfig(options,defaultOptionsDirect,node);prepareDocument(config3.document);var _ref;let system=(_ref=pointerState??keyboardState)!==null&&_ref!==void 0?_ref:new System;return {api:createInstance(config3,system).api,system}}function setupSub(options){return createInstance({...this.config,...options},this.system).api}function wrapAndBindImpl(instance,impl){function method(...args){return setLevelRef(instance,ApiLevel.Call),wrapAsync(()=>impl.apply(instance,args).then(async ret=>(await wait(instance.config),ret)))}return Object.defineProperty(method,\"name\",{get:()=>impl.name}),method}function createInstance(config3,system=new System){let instance={};return Object.assign(instance,{config:config3,dispatchEvent:dispatchEvent.bind(instance),dispatchUIEvent:dispatchUIEvent.bind(instance),system,levelRefs:{},...userEventApi}),{instance,api:{...Object.fromEntries(Object.entries(userEventApi).map(([name,api])=>[name,wrapAndBindImpl(instance,api)])),setup:setupSub.bind(instance)}}}function getDocument2(options,node,defaults){var _options_document,_ref;return (_ref=(_options_document=options.document)!==null&&_options_document!==void 0?_options_document:node&&getDocumentFromNode(node))!==null&&_ref!==void 0?_ref:defaults.document}var directApi_exports={};__export(directApi_exports,{clear:()=>clear2,click:()=>click2,copy:()=>copy2,cut:()=>cut2,dblClick:()=>dblClick2,deselectOptions:()=>deselectOptions2,hover:()=>hover2,keyboard:()=>keyboard2,paste:()=>paste2,pointer:()=>pointer2,selectOptions:()=>selectOptions2,tab:()=>tab2,tripleClick:()=>tripleClick2,type:()=>type2,unhover:()=>unhover2,upload:()=>upload2});function clear2(element){return setupDirect().api.clear(element)}function click2(element,options={}){return setupDirect(options,element).api.click(element)}function copy2(options={}){return setupDirect(options).api.copy()}function cut2(options={}){return setupDirect(options).api.cut()}function dblClick2(element,options={}){return setupDirect(options).api.dblClick(element)}function deselectOptions2(select,values,options={}){return setupDirect(options).api.deselectOptions(select,values)}function hover2(element,options={}){return setupDirect(options).api.hover(element)}async function keyboard2(text,options={}){let{api,system}=setupDirect(options);return api.keyboard(text).then(()=>system)}async function pointer2(input2,options={}){let{api,system}=setupDirect(options);return api.pointer(input2).then(()=>system)}function paste2(clipboardData,options){return setupDirect(options).api.paste(clipboardData)}function selectOptions2(select,values,options={}){return setupDirect(options).api.selectOptions(select,values)}function tripleClick2(element,options={}){return setupDirect(options).api.tripleClick(element)}function type2(element,text,options={}){return setupDirect(options,element).api.type(element,text,options)}function unhover2(element,options={}){let{api,system}=setupDirect(options);return system.pointer.setMousePosition({target:element}),api.unhover(element)}function upload2(element,fileOrFiles,options={}){return setupDirect(options).api.upload(element,fileOrFiles)}function tab2(options={}){return setupDirect().api.tab(options)}var userEvent={...directApi_exports,setup:setupMain};function dedent(templ){for(var values=[],_i=1;_ipath[0]===\"fireEvent\"||method.startsWith(\"find\")||method.startsWith(\"waitFor\")});testingLibrary.screen=new Proxy(testingLibrary.screen,{get(target,prop,receiver){return once.warn(esm_default`\n You are using Testing Library's \\`screen\\` object. Use \\`within(canvasElement)\\` instead.\n More info: https://storybook.js.org/docs/react/essentials/interactions\n `),Reflect.get(target,prop,receiver)}});var {buildQueries:buildQueries2,configure:configure2,createEvent:createEvent3,fireEvent:fireEvent2,findAllByAltText:findAllByAltText2,findAllByDisplayValue:findAllByDisplayValue2,findAllByLabelText:findAllByLabelText2,findAllByPlaceholderText:findAllByPlaceholderText2,findAllByRole:findAllByRole2,findAllByTestId:findAllByTestId2,findAllByText:findAllByText2,findAllByTitle:findAllByTitle2,findByAltText:findByAltText2,findByDisplayValue:findByDisplayValue2,findByLabelText:findByLabelText2,findByPlaceholderText:findByPlaceholderText2,findByRole:findByRole2,findByTestId:findByTestId2,findByText:findByText2,findByTitle:findByTitle2,getAllByAltText:getAllByAltText2,getAllByDisplayValue:getAllByDisplayValue2,getAllByLabelText:getAllByLabelText2,getAllByPlaceholderText:getAllByPlaceholderText2,getAllByRole:getAllByRole2,getAllByTestId:getAllByTestId2,getAllByText:getAllByText2,getAllByTitle:getAllByTitle2,getByAltText:getByAltText2,getByDisplayValue:getByDisplayValue2,getByLabelText:getByLabelText2,getByPlaceholderText:getByPlaceholderText2,getByRole:getByRole2,getByTestId:getByTestId2,getByText:getByText2,getByTitle:getByTitle2,getConfig:getConfig2,getDefaultNormalizer:getDefaultNormalizer2,getElementError:getElementError2,getNodeText:getNodeText2,getQueriesForElement:getQueriesForElement2,getRoles:getRoles2,getSuggestedQuery:getSuggestedQuery2,isInaccessible:isInaccessible2,logDOM:logDOM2,logRoles:logRoles2,prettyDOM:prettyDOM2,queries:queries2,queryAllByAltText:queryAllByAltText2,queryAllByAttribute:queryAllByAttribute2,queryAllByDisplayValue:queryAllByDisplayValue2,queryAllByLabelText:queryAllByLabelText2,queryAllByPlaceholderText:queryAllByPlaceholderText2,queryAllByRole:queryAllByRole2,queryAllByTestId:queryAllByTestId2,queryAllByText:queryAllByText2,queryAllByTitle:queryAllByTitle2,queryByAltText:queryByAltText2,queryByAttribute:queryByAttribute2,queryByDisplayValue:queryByDisplayValue2,queryByLabelText:queryByLabelText2,queryByPlaceholderText:queryByPlaceholderText2,queryByRole:queryByRole2,queryByTestId:queryByTestId2,queryByText:queryByText2,queryByTitle:queryByTitle2,queryHelpers:queryHelpers2,screen:screen2,waitFor:waitFor2,waitForElementToBeRemoved:waitForElementToBeRemoved2,within,prettyFormat:prettyFormat2}=testingLibrary,{userEvent:userEvent2}=instrument({userEvent},{intercept:!0});var {expect:expect3}=instrument({expect:expect2},{getKeys:(obj,depth)=>{let privateApi=[\"assert\",\"__methods\",\"__flags\",\"_obj\"];if(obj.constructor===chai_default.Assertion){let keys2=Object.keys(Object.getPrototypeOf(obj)).filter(it=>!privateApi.includes(it));return depth>2?keys2:[...keys2,\"not\"]}return Object.keys(obj)},intercept:method=>method!==\"expect\"}),resetAllMocksLoader=({parameters})=>{parameters?.test?.mockReset===!0?resetAllMocks():parameters?.test?.clearMocks===!0?clearAllMocks():parameters?.test?.restoreMocks!==!1&&restoreAllMocks();},traverseArgs=(value,depth=0,key)=>{if(depth>5||value==null)return value;if(isMockFunction(value))return key&&value.mockName(key),value;if(typeof value==\"function\"&&\"isAction\"in value&&value.isAction&&!(\"implicit\"in value&&value.implicit)){let mock=fn2(value);return key&&mock.mockName(key),mock}if(Array.isArray(value))return depth++,value.map(item=>traverseArgs(item,depth));if(typeof value==\"object\"&&value.constructor===Object){depth++;for(let[k,v2]of Object.entries(value))Object.getOwnPropertyDescriptor(value,k)?.writable&&(value[k]=traverseArgs(v2,depth,k));return value}return value},nameSpiesAndWrapActionsInSpies=({initialArgs})=>{traverseArgs(initialArgs);};scope.__STORYBOOK_TEST_LOADERS__=[resetAllMocksLoader,nameSpiesAndWrapActionsInSpies];scope.__STORYBOOK_TEST_ON_MOCK_CALL__=onMockCall;\n\nexport { buildQueries2 as buildQueries, clearAllMocks, configure2 as configure, createEvent3 as createEvent, expect3 as expect, findAllByAltText2 as findAllByAltText, findAllByDisplayValue2 as findAllByDisplayValue, findAllByLabelText2 as findAllByLabelText, findAllByPlaceholderText2 as findAllByPlaceholderText, findAllByRole2 as findAllByRole, findAllByTestId2 as findAllByTestId, findAllByText2 as findAllByText, findAllByTitle2 as findAllByTitle, findByAltText2 as findByAltText, findByDisplayValue2 as findByDisplayValue, findByLabelText2 as findByLabelText, findByPlaceholderText2 as findByPlaceholderText, findByRole2 as findByRole, findByTestId2 as findByTestId, findByText2 as findByText, findByTitle2 as findByTitle, fireEvent2 as fireEvent, fn2 as fn, getAllByAltText2 as getAllByAltText, getAllByDisplayValue2 as getAllByDisplayValue, getAllByLabelText2 as getAllByLabelText, getAllByPlaceholderText2 as getAllByPlaceholderText, getAllByRole2 as getAllByRole, getAllByTestId2 as getAllByTestId, getAllByText2 as getAllByText, getAllByTitle2 as getAllByTitle, getByAltText2 as getByAltText, getByDisplayValue2 as getByDisplayValue, getByLabelText2 as getByLabelText, getByPlaceholderText2 as getByPlaceholderText, getByRole2 as getByRole, getByTestId2 as getByTestId, getByText2 as getByText, getByTitle2 as getByTitle, getConfig2 as getConfig, getDefaultNormalizer2 as getDefaultNormalizer, getElementError2 as getElementError, getNodeText2 as getNodeText, getQueriesForElement2 as getQueriesForElement, getRoles2 as getRoles, getSuggestedQuery2 as getSuggestedQuery, isInaccessible2 as isInaccessible, isMockFunction, logDOM2 as logDOM, logRoles2 as logRoles, mocked, mocks, onMockCall, prettyDOM2 as prettyDOM, prettyFormat2 as prettyFormat, queries2 as queries, queryAllByAltText2 as queryAllByAltText, queryAllByAttribute2 as queryAllByAttribute, queryAllByDisplayValue2 as queryAllByDisplayValue, queryAllByLabelText2 as queryAllByLabelText, queryAllByPlaceholderText2 as queryAllByPlaceholderText, queryAllByRole2 as queryAllByRole, queryAllByTestId2 as queryAllByTestId, queryAllByText2 as queryAllByText, queryAllByTitle2 as queryAllByTitle, queryByAltText2 as queryByAltText, queryByAttribute2 as queryByAttribute, queryByDisplayValue2 as queryByDisplayValue, queryByLabelText2 as queryByLabelText, queryByPlaceholderText2 as queryByPlaceholderText, queryByRole2 as queryByRole, queryByTestId2 as queryByTestId, queryByText2 as queryByText, queryByTitle2 as queryByTitle, queryHelpers2 as queryHelpers, resetAllMocks, restoreAllMocks, screen2 as screen, spyOn2 as spyOn, traverseArgs, userEvent2 as userEvent, waitFor2 as waitFor, waitForElementToBeRemoved2 as waitForElementToBeRemoved, within };\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/3448.4857a1c9.iframe.bundle.js b/3448.4857a1c9.iframe.bundle.js new file mode 100644 index 00000000..12ecd35f --- /dev/null +++ b/3448.4857a1c9.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_linzjs_step_ag_grid=self.webpackChunk_linzjs_step_ag_grid||[]).push([[3448],{"./node_modules/@storybook/components/dist/WithTooltip-KJL26V4Q.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{WithToolTipState:()=>_chunk_V2RRM4BX_mjs__WEBPACK_IMPORTED_MODULE_0__.W,WithTooltip:()=>_chunk_V2RRM4BX_mjs__WEBPACK_IMPORTED_MODULE_0__.W,WithTooltipPure:()=>_chunk_V2RRM4BX_mjs__WEBPACK_IMPORTED_MODULE_0__.D});var _chunk_V2RRM4BX_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/components/dist/chunk-V2RRM4BX.mjs")}}]); \ No newline at end of file diff --git a/3927.154f9bc8.iframe.bundle.js b/3927.154f9bc8.iframe.bundle.js new file mode 100644 index 00000000..6faacf55 --- /dev/null +++ b/3927.154f9bc8.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_linzjs_step_ag_grid=self.webpackChunk_linzjs_step_ag_grid||[]).push([[3927],{"./node_modules/lodash-es/castArray.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _isArray_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/lodash-es/isArray.js");const __WEBPACK_DEFAULT_EXPORT__=function castArray(){if(!arguments.length)return[];var value=arguments[0];return(0,_isArray_js__WEBPACK_IMPORTED_MODULE_0__.Z)(value)?value:[value]}},"./node_modules/lodash-es/compact.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=function compact(array){for(var index=-1,length=null==array?0:array.length,resIndex=0,result=[];++index{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _baseAssignValue_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/lodash-es/_baseAssignValue.js"),_createAggregator_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/lodash-es/_createAggregator.js"),hasOwnProperty=Object.prototype.hasOwnProperty;const __WEBPACK_DEFAULT_EXPORT__=(0,_createAggregator_js__WEBPACK_IMPORTED_MODULE_0__.Z)((function(result,value,key){hasOwnProperty.call(result,key)?++result[key]:(0,_baseAssignValue_js__WEBPACK_IMPORTED_MODULE_1__.Z)(result,key,1)}))},"./node_modules/lodash-es/filter.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>lodash_es_filter});var _arrayFilter=__webpack_require__("./node_modules/lodash-es/_arrayFilter.js"),_baseEach=__webpack_require__("./node_modules/lodash-es/_baseEach.js");const _baseFilter=function baseFilter(collection,predicate){var result=[];return(0,_baseEach.Z)(collection,(function(value,index,collection){predicate(value,index,collection)&&result.push(value)})),result};var _baseIteratee=__webpack_require__("./node_modules/lodash-es/_baseIteratee.js"),isArray=__webpack_require__("./node_modules/lodash-es/isArray.js");const lodash_es_filter=function filter(collection,predicate){return((0,isArray.Z)(collection)?_arrayFilter.Z:_baseFilter)(collection,(0,_baseIteratee.Z)(predicate,3))}},"./node_modules/lodash-es/mergeWith.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>lodash_es_mergeWith});var _Stack=__webpack_require__("./node_modules/lodash-es/_Stack.js"),_baseAssignValue=__webpack_require__("./node_modules/lodash-es/_baseAssignValue.js"),eq=__webpack_require__("./node_modules/lodash-es/eq.js");const _assignMergeValue=function assignMergeValue(object,key,value){(void 0!==value&&!(0,eq.Z)(object[key],value)||void 0===value&&!(key in object))&&(0,_baseAssignValue.Z)(object,key,value)};var _baseFor=__webpack_require__("./node_modules/lodash-es/_baseFor.js"),_cloneBuffer=__webpack_require__("./node_modules/lodash-es/_cloneBuffer.js"),_cloneTypedArray=__webpack_require__("./node_modules/lodash-es/_cloneTypedArray.js"),_copyArray=__webpack_require__("./node_modules/lodash-es/_copyArray.js"),_initCloneObject=__webpack_require__("./node_modules/lodash-es/_initCloneObject.js"),isArguments=__webpack_require__("./node_modules/lodash-es/isArguments.js"),isArray=__webpack_require__("./node_modules/lodash-es/isArray.js"),isArrayLikeObject=__webpack_require__("./node_modules/lodash-es/isArrayLikeObject.js"),isBuffer=__webpack_require__("./node_modules/lodash-es/isBuffer.js"),isFunction=__webpack_require__("./node_modules/lodash-es/isFunction.js"),isObject=__webpack_require__("./node_modules/lodash-es/isObject.js"),isPlainObject=__webpack_require__("./node_modules/lodash-es/isPlainObject.js"),isTypedArray=__webpack_require__("./node_modules/lodash-es/isTypedArray.js");const _safeGet=function safeGet(object,key){if(("constructor"!==key||"function"!=typeof object[key])&&"__proto__"!=key)return object[key]};var _copyObject=__webpack_require__("./node_modules/lodash-es/_copyObject.js"),keysIn=__webpack_require__("./node_modules/lodash-es/keysIn.js");const lodash_es_toPlainObject=function toPlainObject(value){return(0,_copyObject.Z)(value,(0,keysIn.Z)(value))};const _baseMergeDeep=function baseMergeDeep(object,source,key,srcIndex,mergeFunc,customizer,stack){var objValue=_safeGet(object,key),srcValue=_safeGet(source,key),stacked=stack.get(srcValue);if(stacked)_assignMergeValue(object,key,stacked);else{var newValue=customizer?customizer(objValue,srcValue,key+"",object,source,stack):void 0,isCommon=void 0===newValue;if(isCommon){var isArr=(0,isArray.Z)(srcValue),isBuff=!isArr&&(0,isBuffer.Z)(srcValue),isTyped=!isArr&&!isBuff&&(0,isTypedArray.Z)(srcValue);newValue=srcValue,isArr||isBuff||isTyped?(0,isArray.Z)(objValue)?newValue=objValue:(0,isArrayLikeObject.Z)(objValue)?newValue=(0,_copyArray.Z)(objValue):isBuff?(isCommon=!1,newValue=(0,_cloneBuffer.Z)(srcValue,!0)):isTyped?(isCommon=!1,newValue=(0,_cloneTypedArray.Z)(srcValue,!0)):newValue=[]:(0,isPlainObject.Z)(srcValue)||(0,isArguments.Z)(srcValue)?(newValue=objValue,(0,isArguments.Z)(objValue)?newValue=lodash_es_toPlainObject(objValue):(0,isObject.Z)(objValue)&&!(0,isFunction.Z)(objValue)||(newValue=(0,_initCloneObject.Z)(srcValue))):isCommon=!1}isCommon&&(stack.set(srcValue,newValue),mergeFunc(newValue,srcValue,srcIndex,customizer,stack),stack.delete(srcValue)),_assignMergeValue(object,key,newValue)}};const _baseMerge=function baseMerge(object,source,srcIndex,customizer,stack){object!==source&&(0,_baseFor.Z)(source,(function(srcValue,key){if(stack||(stack=new _Stack.Z),(0,isObject.Z)(srcValue))_baseMergeDeep(object,source,key,srcIndex,baseMerge,customizer,stack);else{var newValue=customizer?customizer(_safeGet(object,key),srcValue,key+"",object,source,stack):void 0;void 0===newValue&&(newValue=srcValue),_assignMergeValue(object,key,newValue)}}),keysIn.Z)};var _baseRest=__webpack_require__("./node_modules/lodash-es/_baseRest.js"),_isIterateeCall=__webpack_require__("./node_modules/lodash-es/_isIterateeCall.js");const lodash_es_mergeWith=function createAssigner(assigner){return(0,_baseRest.Z)((function(object,sources){var index=-1,length=sources.length,customizer=length>1?sources[length-1]:void 0,guard=length>2?sources[2]:void 0;for(customizer=assigner.length>3&&"function"==typeof customizer?(length--,customizer):void 0,guard&&(0,_isIterateeCall.Z)(sources[0],sources[1],guard)&&(customizer=length<3?void 0:customizer,length=1),object=Object(object);++index{__webpack_require__.d(__webpack_exports__,{Z:()=>lodash_es_pull});var _baseRest=__webpack_require__("./node_modules/lodash-es/_baseRest.js"),_arrayMap=__webpack_require__("./node_modules/lodash-es/_arrayMap.js"),_baseIndexOf=__webpack_require__("./node_modules/lodash-es/_baseIndexOf.js");const _baseIndexOfWith=function baseIndexOfWith(array,value,fromIndex,comparator){for(var index=fromIndex-1,length=array.length;++index-1;)seen!==array&&splice.call(seen,fromIndex,1),splice.call(array,fromIndex,1);return array};const lodash_es_pullAll=function pullAll(array,values){return array&&array.length&&values&&values.length?_basePullAll(array,values):array};const lodash_es_pull=(0,_baseRest.Z)(lodash_es_pullAll)},"./node_modules/lodash-es/range.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>lodash_es_range});var nativeCeil=Math.ceil,nativeMax=Math.max;const _baseRange=function baseRange(start,end,step,fromRight){for(var index=-1,length=nativeMax(nativeCeil((end-start)/(step||1)),0),result=Array(length);length--;)result[fromRight?length:++index]=start,start+=step;return result};var _isIterateeCall=__webpack_require__("./node_modules/lodash-es/_isIterateeCall.js"),toFinite=__webpack_require__("./node_modules/lodash-es/toFinite.js");const lodash_es_range=function createRange(fromRight){return function(start,end,step){return step&&"number"!=typeof step&&(0,_isIterateeCall.Z)(start,end,step)&&(end=step=void 0),start=(0,toFinite.Z)(start),void 0===end?(end=start,start=0):end=(0,toFinite.Z)(end),step=void 0===step?start{__webpack_require__.d(__webpack_exports__,{Z:()=>lodash_es_remove});var _baseIteratee=__webpack_require__("./node_modules/lodash-es/_baseIteratee.js"),_baseUnset=__webpack_require__("./node_modules/lodash-es/_baseUnset.js"),_isIndex=__webpack_require__("./node_modules/lodash-es/_isIndex.js"),splice=Array.prototype.splice;const _basePullAt=function basePullAt(array,indexes){for(var length=array?indexes.length:0,lastIndex=length-1;length--;){var index=indexes[length];if(length==lastIndex||index!==previous){var previous=index;(0,_isIndex.Z)(index)?splice.call(array,index,1):(0,_baseUnset.Z)(array,index)}}return array};const lodash_es_remove=function remove(array,predicate){var result=[];if(!array||!array.length)return result;var index=-1,indexes=[],length=array.length;for(predicate=(0,_baseIteratee.Z)(predicate,3);++index{__webpack_require__.d(__webpack_exports__,{Z:()=>lodash_es_sumBy});var _baseIteratee=__webpack_require__("./node_modules/lodash-es/_baseIteratee.js");const _baseSum=function baseSum(array,iteratee){for(var result,index=-1,length=array.length;++index{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _baseFlatten_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/lodash-es/_baseFlatten.js"),_baseRest_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/lodash-es/_baseRest.js"),_baseUniq_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/lodash-es/_baseUniq.js"),_isArrayLikeObject_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/lodash-es/isArrayLikeObject.js");const __WEBPACK_DEFAULT_EXPORT__=(0,_baseRest_js__WEBPACK_IMPORTED_MODULE_0__.Z)((function(arrays){return(0,_baseUniq_js__WEBPACK_IMPORTED_MODULE_1__.Z)((0,_baseFlatten_js__WEBPACK_IMPORTED_MODULE_2__.Z)(arrays,1,_isArrayLikeObject_js__WEBPACK_IMPORTED_MODULE_3__.Z,!0))}))}}]); \ No newline at end of file diff --git a/4493.982da647.iframe.bundle.js b/4493.982da647.iframe.bundle.js new file mode 100644 index 00000000..72ddaa71 --- /dev/null +++ b/4493.982da647.iframe.bundle.js @@ -0,0 +1,402 @@ +/*! For license information please see 4493.982da647.iframe.bundle.js.LICENSE.txt */ +(self.webpackChunk_linzjs_step_ag_grid=self.webpackChunk_linzjs_step_ag_grid||[]).push([[4493],{"./node_modules/@base2/pretty-print-object/dist/index.js":function(__unused_webpack_module,exports){"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i{"use strict";Object.create,Object.defineProperty,Object.getOwnPropertyDescriptor,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.prototype.hasOwnProperty},"./node_modules/@storybook/addon-essentials/dist/actions/preview.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{argsEnhancers:()=>argsEnhancers,loaders:()=>loaders});var v4=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS_=__webpack_require__("@storybook/core-events/preview-errors"),config={depth:10,clearOnStoryChange:!0,limit:50},findProto=(obj,callback)=>{let proto=Object.getPrototypeOf(obj);return!proto||callback(proto)?proto:findProto(proto,callback)},serializeArg=a=>{if("object"==typeof(e=a)&&e&&findProto(e,(proto=>/^Synthetic(?:Base)?Event$/.test(proto.constructor.name)))&&"function"==typeof e.persist){let e=Object.create(a.constructor.prototype,Object.getOwnPropertyDescriptors(a));e.persist();let viewDescriptor=Object.getOwnPropertyDescriptor(e,"view"),view=viewDescriptor?.value;return"object"==typeof view&&"Window"===view?.constructor.name&&Object.defineProperty(e,"view",{...viewDescriptor,value:Object.create(view.constructor.prototype)}),e}var e;return a};function action(name,options={}){let actionOptions={...config,...options},handler=function(...args){if(options.implicit){let storyRenderer=("__STORYBOOK_PREVIEW__"in external_STORYBOOK_MODULE_GLOBAL_.global?external_STORYBOOK_MODULE_GLOBAL_.global.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find((render=>"playing"===render.phase||"rendering"===render.phase));if(storyRenderer){let deprecated=!window?.FEATURES?.disallowImplicitActionsInRenderV8,error=new external_STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS_.ImplicitActionsDuringRendering({phase:storyRenderer.phase,name,deprecated});if(!deprecated)throw error;console.warn(error)}}let channel=external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(),id="object"==typeof crypto&&"function"==typeof crypto.getRandomValues?(0,v4.Z)():Date.now().toString(36)+Math.random().toString(36).substring(2),serializedArgs=args.map(serializeArg),normalizedArgs=args.length>1?serializedArgs:serializedArgs[0],actionDisplayToEmit={id,count:0,data:{name,args:normalizedArgs},options:{...actionOptions,maxDepth:5+(actionOptions.depth||3),allowFunction:actionOptions.allowFunction||!1}};channel.emit("storybook/actions/action-event",actionDisplayToEmit)};return handler.isAction=!0,handler.implicit=options.implicit,handler}var isInInitialArgs=(name,initialArgs)=>typeof initialArgs[name]>"u"&&!(name in initialArgs),argsEnhancers=[context=>{let{initialArgs,argTypes,parameters:{actions}}=context;return actions?.disable||!argTypes?{}:Object.entries(argTypes).filter((([name,argType])=>!!argType.action)).reduce(((acc,[name,argType])=>(isInInitialArgs(name,initialArgs)&&(acc[name]=action("string"==typeof argType.action?argType.action:name)),acc)),{})},context=>{let{initialArgs,argTypes,id,parameters:{actions}}=context;if(!actions||actions.disable||!actions.argTypesRegex||!argTypes)return{};let argTypesRegex=new RegExp(actions.argTypesRegex);return Object.entries(argTypes).filter((([name])=>!!argTypesRegex.test(name))).reduce(((acc,[name,argType])=>(isInInitialArgs(name,initialArgs)&&(acc[name]=action(name,{implicit:!0,id})),acc)),{})}],subscribed=!1,loaders=[context=>{let{parameters:{actions}}=context;if(!actions?.disable&&!subscribed&&"__STORYBOOK_TEST_ON_MOCK_CALL__"in external_STORYBOOK_MODULE_GLOBAL_.global&&"function"==typeof external_STORYBOOK_MODULE_GLOBAL_.global.__STORYBOOK_TEST_ON_MOCK_CALL__){(0,external_STORYBOOK_MODULE_GLOBAL_.global.__STORYBOOK_TEST_ON_MOCK_CALL__)(((mock,args)=>{let name=mock.getMockName();(!/^next\/.*::/.test(name)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some((prefix=>name.startsWith(prefix))))&&action(name)(args)})),subscribed=!0}}]},"./node_modules/@storybook/addon-essentials/dist/backgrounds/preview.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{decorators:()=>decorators,globals:()=>globals,parameters:()=>parameters});var external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),external_STORYBOOK_MODULE_CLIENT_LOGGER_=__webpack_require__("@storybook/client-logger"),{document:preview_document,window:preview_window}=external_STORYBOOK_MODULE_GLOBAL_.global,clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle)},clearStyle=selector=>{let element=preview_document.getElementById(selector);element&&element.parentElement?.removeChild(element)},decorators=[(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,gridParameters=parameters2.backgrounds.grid,isActive=!0===globals2.backgrounds?.grid&&!0!==gridParameters.disable,{cellAmount,cellSize,opacity}=gridParameters,isInDocs="docs"===context.viewMode,defaultOffset=void 0===parameters2.layout||"padded"===parameters2.layout?16:0,offsetX=gridParameters.offsetX??(isInDocs?20:defaultOffset),offsetY=gridParameters.offsetY??(isInDocs?20:defaultOffset),gridStyles=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>`\n ${"docs"===context.viewMode?`#anchor--${context.id} .docs-story`:".sb-show-main"} {\n background-size: ${[`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize}px ${cellSize}px`,`${cellSize}px ${cellSize}px`].join(", ")} !important;\n background-position: ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px !important;\n background-blend-mode: difference !important;\n background-image: linear-gradient(rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px) !important;\n }\n `),[cellSize]);return(0,external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)((()=>{let selectorId="docs"===context.viewMode?`addon-backgrounds-grid-docs-${context.id}`:"addon-backgrounds-grid";isActive?((selector,css)=>{let existingStyle=preview_document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{let style=preview_document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css,preview_document.head.appendChild(style)}})(selectorId,gridStyles):clearStyles(selectorId)}),[isActive,gridStyles,context]),StoryFn()},(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,globalsBackgroundColor=globals2.backgrounds?.value,backgroundsConfig=parameters2.backgrounds,selectedBackgroundColor=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>backgroundsConfig.disable?"transparent":((currentSelectedValue,backgrounds=[],defaultName)=>{if("transparent"===currentSelectedValue)return"transparent";if(backgrounds.find((background=>background.value===currentSelectedValue)))return currentSelectedValue;let defaultBackground=backgrounds.find((background=>background.name===defaultName));if(defaultBackground)return defaultBackground.value;if(defaultName){let availableColors=backgrounds.map((background=>background.name)).join(", ");external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn(esm.Z` + Backgrounds Addon: could not find the default color "${defaultName}". + These are the available colors for your story based on your configuration: + ${availableColors}. + `)}return"transparent"})(globalsBackgroundColor,backgroundsConfig.values,backgroundsConfig.default)),[backgroundsConfig,globalsBackgroundColor]),isActive=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>selectedBackgroundColor&&"transparent"!==selectedBackgroundColor),[selectedBackgroundColor]),selector="docs"===context.viewMode?`#anchor--${context.id} .docs-story`:".sb-show-main",backgroundStyles=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>`\n ${selector} {\n background: ${selectedBackgroundColor} !important;\n ${preview_window.matchMedia("(prefers-reduced-motion: reduce)").matches?"":"transition: background-color 0.3s;"}\n }\n `),[selectedBackgroundColor,selector]);return(0,external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)((()=>{let selectorId="docs"===context.viewMode?`addon-backgrounds-docs-${context.id}`:"addon-backgrounds-color";isActive?((selector,css,storyId)=>{let existingStyle=preview_document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{let style=preview_document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css;let gridStyleSelector="addon-backgrounds-grid"+(storyId?`-docs-${storyId}`:""),existingGridStyle=preview_document.getElementById(gridStyleSelector);existingGridStyle?existingGridStyle.parentElement?.insertBefore(style,existingGridStyle):preview_document.head.appendChild(style)}})(selectorId,backgroundStyles,"docs"===context.viewMode?context.id:null):clearStyles(selectorId)}),[isActive,backgroundStyles,context]),StoryFn()}],parameters={backgrounds:{grid:{cellSize:20,opacity:.5,cellAmount:5},values:[{name:"light",value:"#F8F8F8"},{name:"dark",value:"#333333"}]}},globals={backgrounds:null}},"./node_modules/@storybook/addon-essentials/dist/docs/preview.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{parameters:()=>parameters});__webpack_require__("./node_modules/@storybook/addon-docs/dist/chunk-GN5PWX3D.mjs");var external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),excludeTags=Object.entries(external_STORYBOOK_MODULE_GLOBAL_.global.TAGS_OPTIONS??{}).reduce(((acc,entry)=>{let[tag,option]=entry;return option.excludeFromDocsStories&&(acc[tag]=!0),acc}),{}),parameters={docs:{renderer:async()=>{let{DocsRenderer}=await Promise.all([__webpack_require__.e(5295),__webpack_require__.e(5312)]).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/addon-docs/dist/DocsRenderer-K4EAMTCU.mjs"));return new DocsRenderer},stories:{filter:story=>{let tags=story.tags||[];return tags.includes("autodocs")&&0===tags.filter((tag=>excludeTags[tag])).length&&!story.parameters.docs?.disable}}}}},"./node_modules/@storybook/addon-essentials/dist/highlight/preview.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__);var external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_CORE_EVENTS_=__webpack_require__("@storybook/core-events"),{document:preview_document}=external_STORYBOOK_MODULE_GLOBAL_.global,channel=external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(),resetHighlight=()=>{let sheetToBeRemoved=preview_document.getElementById("storybookHighlight");sheetToBeRemoved&&sheetToBeRemoved.parentNode?.removeChild(sheetToBeRemoved)};channel.on(external_STORYBOOK_MODULE_CORE_EVENTS_.STORY_CHANGED,resetHighlight),channel.on("storybook/highlight/reset",resetHighlight),channel.on("storybook/highlight/add",(infos=>{resetHighlight();let elements=Array.from(new Set(infos.elements)),sheet=preview_document.createElement("style");sheet.setAttribute("id","storybookHighlight"),sheet.innerHTML=elements.map((target=>`${target}{\n ${((color="#FF4785",style="dashed")=>`\n outline: 2px ${style} ${color};\n outline-offset: 2px;\n box-shadow: 0 0 0 6px rgba(255,255,255,0.6);\n`)(infos.color,infos.style)}\n }`)).join(" "),preview_document.head.appendChild(sheet)}))},"./node_modules/@storybook/addon-essentials/dist/measure/preview.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{decorators:()=>decorators,globals:()=>globals});var external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),isProduction=!0,prefix="Invariant failed";function invariant(condition,message){if(!condition){if(isProduction)throw new Error(prefix);var provided="function"==typeof message?message():message,value=provided?"".concat(prefix,": ").concat(provided):prefix;throw new Error(value)}}function getDocumentWidthAndHeight(){let container=external_STORYBOOK_MODULE_GLOBAL_.global.document.documentElement,height=Math.max(container.scrollHeight,container.offsetHeight);return{width:Math.max(container.scrollWidth,container.offsetWidth),height}}function setCanvasWidthAndHeight(canvas,context,{width,height}){canvas.style.width=`${width}px`,canvas.style.height=`${height}px`;let scale=external_STORYBOOK_MODULE_GLOBAL_.global.window.devicePixelRatio;canvas.width=Math.floor(width*scale),canvas.height=Math.floor(height*scale),context.scale(scale,scale)}var state={};function init(){state.canvas||(state=function createCanvas(){let canvas=external_STORYBOOK_MODULE_GLOBAL_.global.document.createElement("canvas");canvas.id="storybook-addon-measure";let context=canvas.getContext("2d");invariant(null!=context);let{width,height}=getDocumentWidthAndHeight();return setCanvasWidthAndHeight(canvas,context,{width,height}),canvas.style.position="absolute",canvas.style.left="0",canvas.style.top="0",canvas.style.zIndex="2147483647",canvas.style.pointerEvents="none",external_STORYBOOK_MODULE_GLOBAL_.global.document.body.appendChild(canvas),{canvas,context,width,height}}())}function clear(){state.context&&state.context.clearRect(0,0,state.width??0,state.height??0)}var colors={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},labelPadding=6;function roundedRect(context,{x,y,w,h,r}){x-=w/2,y-=h/2,w<2*r&&(r=w/2),h<2*r&&(r=h/2),context.beginPath(),context.moveTo(x+r,y),context.arcTo(x+w,y,x+w,y+h,r),context.arcTo(x+w,y+h,x,y+h,r),context.arcTo(x,y+h,x,y,r),context.arcTo(x,y,x+w,y,r),context.closePath()}function textWithRect(context,type,{x,y,w,h},text){return roundedRect(context,{x,y,w,h,r:3}),context.fillStyle=`${colors[type]}dd`,context.fill(),context.strokeStyle=colors[type],context.stroke(),context.fillStyle=colors.text,context.fillText(text,x,y),roundedRect(context,{x,y,w,h,r:3}),context.fillStyle=`${colors[type]}dd`,context.fill(),context.strokeStyle=colors[type],context.stroke(),context.fillStyle=colors.text,context.fillText(text,x,y),{x,y,w,h}}function configureText(context,text){context.font="600 12px monospace",context.textBaseline="middle",context.textAlign="center";let metrics=context.measureText(text),actualHeight=metrics.actualBoundingBoxAscent+metrics.actualBoundingBoxDescent;return{w:metrics.width+2*labelPadding,h:actualHeight+2*labelPadding}}function drawLabel(context,measurements,{type,position="center",text},prevRect,external=!1){let{x,y}=function positionCoordinate(position,{padding,border,width,height,top,left}){let contentWidth=width-border.left-border.right-padding.left-padding.right,contentHeight=height-padding.top-padding.bottom-border.top-border.bottom,x=left+border.left+padding.left,y=top+border.top+padding.top;return"top"===position?x+=contentWidth/2:"right"===position?(x+=contentWidth,y+=contentHeight/2):"bottom"===position?(x+=contentWidth/2,y+=contentHeight):"left"===position?y+=contentHeight/2:"center"===position&&(x+=contentWidth/2,y+=contentHeight/2),{x,y}}(position,measurements),{offsetX,offsetY}=function offset(type,position,{margin,border,padding},labelPaddingSize,external){let shift=dir=>0,offsetX=0,offsetY=0,locationMultiplier=external?1:.5,labelPaddingShift=external?2*labelPaddingSize:0;return"padding"===type?shift=dir=>padding[dir]*locationMultiplier+labelPaddingShift:"border"===type?shift=dir=>padding[dir]+border[dir]*locationMultiplier+labelPaddingShift:"margin"===type&&(shift=dir=>padding[dir]+border[dir]+margin[dir]*locationMultiplier+labelPaddingShift),"top"===position?offsetY=-shift("top"):"right"===position?offsetX=shift("right"):"bottom"===position?offsetY=shift("bottom"):"left"===position&&(offsetX=-shift("left")),{offsetX,offsetY}}(type,position,measurements,labelPadding+1,external);x+=offsetX,y+=offsetY;let{w,h}=configureText(context,text);if(prevRect&&function collide(a,b){return Math.abs(a.x-b.x){let rect=external&&"center"===l.position?drawFloatingLabel(context,measurements,l):drawLabel(context,measurements,l,rects[idx-1],external);rects[idx]=rect}))}var colors2={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},SMALL_NODE_SIZE=30;function pxToNumber(px){return parseInt(px.replace("px",""),10)}function round(value){return Number.isInteger(value)?value:value.toFixed(2)}function filterZeroValues(labels){return labels.filter((l=>0!==l.text&&"0"!==l.text))}function floatingAlignment(extremities){let windowExtremities_top=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollY,windowExtremities_bottom=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollY+external_STORYBOOK_MODULE_GLOBAL_.global.window.innerHeight,windowExtremities_left=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollX,windowExtremities_right=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollX+external_STORYBOOK_MODULE_GLOBAL_.global.window.innerWidth,distances_top=Math.abs(windowExtremities_top-extremities.top),distances_bottom=Math.abs(windowExtremities_bottom-extremities.bottom);return{x:Math.abs(windowExtremities_left-extremities.left)>Math.abs(windowExtremities_right-extremities.right)?"left":"right",y:distances_top>distances_bottom?"top":"bottom"}}function drawBoxModel(element){return context=>{if(element&&context){let measurements=function measureElement(element){let style=external_STORYBOOK_MODULE_GLOBAL_.global.getComputedStyle(element),{top,left,right,bottom,width,height}=element.getBoundingClientRect(),{marginTop,marginBottom,marginLeft,marginRight,paddingTop,paddingBottom,paddingLeft,paddingRight,borderBottomWidth,borderTopWidth,borderLeftWidth,borderRightWidth}=style;top+=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollY,left+=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollX,bottom+=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollY,right+=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollX;let margin={top:pxToNumber(marginTop),bottom:pxToNumber(marginBottom),left:pxToNumber(marginLeft),right:pxToNumber(marginRight)},padding={top:pxToNumber(paddingTop),bottom:pxToNumber(paddingBottom),left:pxToNumber(paddingLeft),right:pxToNumber(paddingRight)},border={top:pxToNumber(borderTopWidth),bottom:pxToNumber(borderBottomWidth),left:pxToNumber(borderLeftWidth),right:pxToNumber(borderRightWidth)},extremities={top:top-margin.top,bottom:bottom+margin.bottom,left:left-margin.left,right:right+margin.right};return{margin,padding,border,top,left,bottom,right,width,height,extremities,floatingAlignment:floatingAlignment(extremities)}}(element),marginLabels=function drawMargin(context,{margin,width,height,top,left,bottom,right}){let marginHeight=height+margin.bottom+margin.top;return context.fillStyle=colors2.margin,context.fillRect(left,top-margin.top,width,margin.top),context.fillRect(right,top-margin.top,margin.right,marginHeight),context.fillRect(left,bottom,width,margin.bottom),context.fillRect(left-margin.left,top-margin.top,margin.left,marginHeight),filterZeroValues([{type:"margin",text:round(margin.top),position:"top"},{type:"margin",text:round(margin.right),position:"right"},{type:"margin",text:round(margin.bottom),position:"bottom"},{type:"margin",text:round(margin.left),position:"left"}])}(context,measurements),paddingLabels=function drawPadding(context,{padding,border,width,height,top,left,bottom,right}){let paddingWidth=width-border.left-border.right,paddingHeight=height-padding.top-padding.bottom-border.top-border.bottom;return context.fillStyle=colors2.padding,context.fillRect(left+border.left,top+border.top,paddingWidth,padding.top),context.fillRect(right-padding.right-border.right,top+padding.top+border.top,padding.right,paddingHeight),context.fillRect(left+border.left,bottom-padding.bottom-border.bottom,paddingWidth,padding.bottom),context.fillRect(left+border.left,top+padding.top+border.top,padding.left,paddingHeight),filterZeroValues([{type:"padding",text:padding.top,position:"top"},{type:"padding",text:padding.right,position:"right"},{type:"padding",text:padding.bottom,position:"bottom"},{type:"padding",text:padding.left,position:"left"}])}(context,measurements),borderLabels=function drawBorder(context,{border,width,height,top,left,bottom,right}){let borderHeight=height-border.top-border.bottom;return context.fillStyle=colors2.border,context.fillRect(left,top,width,border.top),context.fillRect(left,bottom-border.bottom,width,border.bottom),context.fillRect(left,top+border.top,border.left,borderHeight),context.fillRect(right-border.right,top+border.top,border.right,borderHeight),filterZeroValues([{type:"border",text:border.top,position:"top"},{type:"border",text:border.right,position:"right"},{type:"border",text:border.bottom,position:"bottom"},{type:"border",text:border.left,position:"left"}])}(context,measurements),contentLabels=function drawContent(context,{padding,border,width,height,top,left}){let contentWidth=width-border.left-border.right-padding.left-padding.right,contentHeight=height-padding.top-padding.bottom-border.top-border.bottom;return context.fillStyle=colors2.content,context.fillRect(left+border.left+padding.left,top+border.top+padding.top,contentWidth,contentHeight),[{type:"content",position:"center",text:`${round(contentWidth)} x ${round(contentHeight)}`}]}(context,measurements);!function labelStacks(context,measurements,labels,externalLabels){let stacks=labels.reduce(((acc,l)=>(Object.prototype.hasOwnProperty.call(acc,l.position)||(acc[l.position]=[]),acc[l.position]?.push(l),acc)),{});stacks.top&&drawStack(context,measurements,stacks.top,externalLabels),stacks.right&&drawStack(context,measurements,stacks.right,externalLabels),stacks.bottom&&drawStack(context,measurements,stacks.bottom,externalLabels),stacks.left&&drawStack(context,measurements,stacks.left,externalLabels),stacks.center&&drawStack(context,measurements,stacks.center,externalLabels)}(context,measurements,[...contentLabels,...paddingLabels,...borderLabels,...marginLabels],measurements.width<=3*SMALL_NODE_SIZE||measurements.height<=SMALL_NODE_SIZE)}}}function drawSelectedElement(element){!function draw(callback){clear(),callback(state.context)}(drawBoxModel(element))}var nodeAtPointerRef,pointer={x:0,y:0};function findAndDrawElement(x,y){nodeAtPointerRef=((x,y)=>{let element=external_STORYBOOK_MODULE_GLOBAL_.global.document.elementFromPoint(x,y),crawlShadows=node=>{if(node&&node.shadowRoot){let nestedElement=node.shadowRoot.elementFromPoint(x,y);return node.isEqualNode(nestedElement)?node:nestedElement.shadowRoot?crawlShadows(nestedElement):nestedElement}return node};return crawlShadows(element)||element})(x,y),drawSelectedElement(nodeAtPointerRef)}var decorators=[(StoryFn,context)=>{let{measureEnabled}=context.globals;return(0,external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)((()=>{let onPointerMove=event=>{window.requestAnimationFrame((()=>{event.stopPropagation(),pointer.x=event.clientX,pointer.y=event.clientY}))};return document.addEventListener("pointermove",onPointerMove),()=>{document.removeEventListener("pointermove",onPointerMove)}}),[]),(0,external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)((()=>{let onResize=()=>{window.requestAnimationFrame((()=>{!function rescale(){invariant(state.canvas,"Canvas should exist in the state."),invariant(state.context,"Context should exist in the state."),setCanvasWidthAndHeight(state.canvas,state.context,{width:0,height:0});let{width,height}=getDocumentWidthAndHeight();setCanvasWidthAndHeight(state.canvas,state.context,{width,height}),state.width=width,state.height=height}()}))};return"story"===context.viewMode&&measureEnabled&&(document.addEventListener("pointerover",(event=>{window.requestAnimationFrame((()=>{event.stopPropagation(),findAndDrawElement(event.clientX,event.clientY)}))})),init(),window.addEventListener("resize",onResize),findAndDrawElement(pointer.x,pointer.y)),()=>{window.removeEventListener("resize",onResize),function destroy(){state.canvas&&(clear(),state.canvas.parentNode?.removeChild(state.canvas),state={})}()}}),[measureEnabled,context.viewMode]),StoryFn()}],globals={measureEnabled:!1}},"./node_modules/@storybook/addon-essentials/dist/outline/preview.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{decorators:()=>decorators,globals:()=>globals});var external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle)},clearStyle=input=>{let selector="string"==typeof input?input:input.join(""),element=external_STORYBOOK_MODULE_GLOBAL_.global.document.getElementById(selector);element&&element.parentElement&&element.parentElement.removeChild(element)};var decorators=[(StoryFn,context)=>{let{globals:globals2}=context,isActive=[!0,"true"].includes(globals2.outline),isInDocs="docs"===context.viewMode,outlineStyles=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>function outlineCSS(selector){return esm.Z` + ${selector} body { + outline: 1px solid #2980b9 !important; + } + + ${selector} article { + outline: 1px solid #3498db !important; + } + + ${selector} nav { + outline: 1px solid #0088c3 !important; + } + + ${selector} aside { + outline: 1px solid #33a0ce !important; + } + + ${selector} section { + outline: 1px solid #66b8da !important; + } + + ${selector} header { + outline: 1px solid #99cfe7 !important; + } + + ${selector} footer { + outline: 1px solid #cce7f3 !important; + } + + ${selector} h1 { + outline: 1px solid #162544 !important; + } + + ${selector} h2 { + outline: 1px solid #314e6e !important; + } + + ${selector} h3 { + outline: 1px solid #3e5e85 !important; + } + + ${selector} h4 { + outline: 1px solid #449baf !important; + } + + ${selector} h5 { + outline: 1px solid #c7d1cb !important; + } + + ${selector} h6 { + outline: 1px solid #4371d0 !important; + } + + ${selector} main { + outline: 1px solid #2f4f90 !important; + } + + ${selector} address { + outline: 1px solid #1a2c51 !important; + } + + ${selector} div { + outline: 1px solid #036cdb !important; + } + + ${selector} p { + outline: 1px solid #ac050b !important; + } + + ${selector} hr { + outline: 1px solid #ff063f !important; + } + + ${selector} pre { + outline: 1px solid #850440 !important; + } + + ${selector} blockquote { + outline: 1px solid #f1b8e7 !important; + } + + ${selector} ol { + outline: 1px solid #ff050c !important; + } + + ${selector} ul { + outline: 1px solid #d90416 !important; + } + + ${selector} li { + outline: 1px solid #d90416 !important; + } + + ${selector} dl { + outline: 1px solid #fd3427 !important; + } + + ${selector} dt { + outline: 1px solid #ff0043 !important; + } + + ${selector} dd { + outline: 1px solid #e80174 !important; + } + + ${selector} figure { + outline: 1px solid #ff00bb !important; + } + + ${selector} figcaption { + outline: 1px solid #bf0032 !important; + } + + ${selector} table { + outline: 1px solid #00cc99 !important; + } + + ${selector} caption { + outline: 1px solid #37ffc4 !important; + } + + ${selector} thead { + outline: 1px solid #98daca !important; + } + + ${selector} tbody { + outline: 1px solid #64a7a0 !important; + } + + ${selector} tfoot { + outline: 1px solid #22746b !important; + } + + ${selector} tr { + outline: 1px solid #86c0b2 !important; + } + + ${selector} th { + outline: 1px solid #a1e7d6 !important; + } + + ${selector} td { + outline: 1px solid #3f5a54 !important; + } + + ${selector} col { + outline: 1px solid #6c9a8f !important; + } + + ${selector} colgroup { + outline: 1px solid #6c9a9d !important; + } + + ${selector} button { + outline: 1px solid #da8301 !important; + } + + ${selector} datalist { + outline: 1px solid #c06000 !important; + } + + ${selector} fieldset { + outline: 1px solid #d95100 !important; + } + + ${selector} form { + outline: 1px solid #d23600 !important; + } + + ${selector} input { + outline: 1px solid #fca600 !important; + } + + ${selector} keygen { + outline: 1px solid #b31e00 !important; + } + + ${selector} label { + outline: 1px solid #ee8900 !important; + } + + ${selector} legend { + outline: 1px solid #de6d00 !important; + } + + ${selector} meter { + outline: 1px solid #e8630c !important; + } + + ${selector} optgroup { + outline: 1px solid #b33600 !important; + } + + ${selector} option { + outline: 1px solid #ff8a00 !important; + } + + ${selector} output { + outline: 1px solid #ff9619 !important; + } + + ${selector} progress { + outline: 1px solid #e57c00 !important; + } + + ${selector} select { + outline: 1px solid #e26e0f !important; + } + + ${selector} textarea { + outline: 1px solid #cc5400 !important; + } + + ${selector} details { + outline: 1px solid #33848f !important; + } + + ${selector} summary { + outline: 1px solid #60a1a6 !important; + } + + ${selector} command { + outline: 1px solid #438da1 !important; + } + + ${selector} menu { + outline: 1px solid #449da6 !important; + } + + ${selector} del { + outline: 1px solid #bf0000 !important; + } + + ${selector} ins { + outline: 1px solid #400000 !important; + } + + ${selector} img { + outline: 1px solid #22746b !important; + } + + ${selector} iframe { + outline: 1px solid #64a7a0 !important; + } + + ${selector} embed { + outline: 1px solid #98daca !important; + } + + ${selector} object { + outline: 1px solid #00cc99 !important; + } + + ${selector} param { + outline: 1px solid #37ffc4 !important; + } + + ${selector} video { + outline: 1px solid #6ee866 !important; + } + + ${selector} audio { + outline: 1px solid #027353 !important; + } + + ${selector} source { + outline: 1px solid #012426 !important; + } + + ${selector} canvas { + outline: 1px solid #a2f570 !important; + } + + ${selector} track { + outline: 1px solid #59a600 !important; + } + + ${selector} map { + outline: 1px solid #7be500 !important; + } + + ${selector} area { + outline: 1px solid #305900 !important; + } + + ${selector} a { + outline: 1px solid #ff62ab !important; + } + + ${selector} em { + outline: 1px solid #800b41 !important; + } + + ${selector} strong { + outline: 1px solid #ff1583 !important; + } + + ${selector} i { + outline: 1px solid #803156 !important; + } + + ${selector} b { + outline: 1px solid #cc1169 !important; + } + + ${selector} u { + outline: 1px solid #ff0430 !important; + } + + ${selector} s { + outline: 1px solid #f805e3 !important; + } + + ${selector} small { + outline: 1px solid #d107b2 !important; + } + + ${selector} abbr { + outline: 1px solid #4a0263 !important; + } + + ${selector} q { + outline: 1px solid #240018 !important; + } + + ${selector} cite { + outline: 1px solid #64003c !important; + } + + ${selector} dfn { + outline: 1px solid #b4005a !important; + } + + ${selector} sub { + outline: 1px solid #dba0c8 !important; + } + + ${selector} sup { + outline: 1px solid #cc0256 !important; + } + + ${selector} time { + outline: 1px solid #d6606d !important; + } + + ${selector} code { + outline: 1px solid #e04251 !important; + } + + ${selector} kbd { + outline: 1px solid #5e001f !important; + } + + ${selector} samp { + outline: 1px solid #9c0033 !important; + } + + ${selector} var { + outline: 1px solid #d90047 !important; + } + + ${selector} mark { + outline: 1px solid #ff0053 !important; + } + + ${selector} bdi { + outline: 1px solid #bf3668 !important; + } + + ${selector} bdo { + outline: 1px solid #6f1400 !important; + } + + ${selector} ruby { + outline: 1px solid #ff7b93 !important; + } + + ${selector} rt { + outline: 1px solid #ff2f54 !important; + } + + ${selector} rp { + outline: 1px solid #803e49 !important; + } + + ${selector} span { + outline: 1px solid #cc2643 !important; + } + + ${selector} br { + outline: 1px solid #db687d !important; + } + + ${selector} wbr { + outline: 1px solid #db175b !important; + }`}(isInDocs?'[data-story-block="true"]':".sb-show-main")),[context]);return(0,external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)((()=>{let selectorId=isInDocs?`addon-outline-docs-${context.id}`:"addon-outline";return isActive?((selector,css)=>{let existingStyle=external_STORYBOOK_MODULE_GLOBAL_.global.document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{let style=external_STORYBOOK_MODULE_GLOBAL_.global.document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css,external_STORYBOOK_MODULE_GLOBAL_.global.document.head.appendChild(style)}})(selectorId,outlineStyles):clearStyles(selectorId),()=>{clearStyles(selectorId)}}),[isActive,outlineStyles,context]),StoryFn()}],globals={outline:!1}},"./node_modules/@storybook/addon-essentials/dist/viewport/preview.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{globals:()=>globals});var globals={viewport:"reset",viewportRotated:!1}},"./node_modules/@storybook/addon-interactions/dist/preview.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{parameters:()=>parameters,runStep:()=>runStep});var _storybook_instrumenter__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/instrumenter/dist/index.mjs"),{step:runStep}=(0,_storybook_instrumenter__WEBPACK_IMPORTED_MODULE_0__.x6)({step:(label,play,context)=>play(context)},{intercept:!0}),parameters={throwPlayFunctionExceptions:!1}},"./node_modules/@storybook/docs-tools/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ir:()=>createSummaryValue,Je:()=>extractComponentProps,PO:()=>SourceType,Px:()=>hasDocgen,VF:()=>extractComponentDescription,_A:()=>isTooLongForTypeSummary,fW:()=>isTooLongForDefaultValueSummary,g:()=>SNIPPET_RENDERED,jq:()=>getDocgenSection,p5:()=>TypeSystem,rS:()=>enhanceArgTypes});var TypeSystem2,_storybook_core_events_preview_errors__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("@storybook/core-events/preview-errors"),lodash_mapValues_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/lodash/mapValues.js"),lodash_mapValues_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(lodash_mapValues_js__WEBPACK_IMPORTED_MODULE_1__),doctrine__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/doctrine/lib/doctrine.js"),_storybook_preview_api__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("@storybook/preview-api"),QUOTE_REGEX=/^['"]|['"]$/g,parseLiteral=str2=>{let trimmedValue=(str2=>str2.replace(QUOTE_REGEX,""))(str2);return(str2=>QUOTE_REGEX.test(str2))(str2)||Number.isNaN(Number(trimmedValue))?trimmedValue:Number(trimmedValue)},convertSig=type=>{switch(type.type){case"function":return{name:"function"};case"object":let values={};return type.signature.properties.forEach((prop=>{values[prop.key]=convert(prop.value)})),{name:"object",value:values};default:throw new _storybook_core_events_preview_errors__WEBPACK_IMPORTED_MODULE_0__.UnknownArgTypesError({type,language:"Typescript"})}},convert=type=>{let{name,raw}=type,base={};switch(typeof raw<"u"&&(base.raw=raw),type.name){case"string":case"number":case"symbol":case"boolean":return{...base,name};case"Array":return{...base,name:"array",value:type.elements.map(convert)};case"signature":return{...base,...convertSig(type)};case"union":let result;return result=type.elements?.every((element=>"literal"===element.name))?{...base,name:"enum",value:type.elements?.map((v=>parseLiteral(v.value)))}:{...base,name,value:type.elements?.map(convert)},result;case"intersection":return{...base,name,value:type.elements?.map(convert)};default:return{...base,name:"other",value:name}}},isLiteral=type=>"literal"===type.name,toEnumOption=element=>element.value.replace(/['|"]/g,""),convertSig2=type=>{switch(type.type){case"function":return{name:"function"};case"object":let values={};return type.signature.properties.forEach((prop=>{values[prop.key]=convert2(prop.value)})),{name:"object",value:values};default:throw new _storybook_core_events_preview_errors__WEBPACK_IMPORTED_MODULE_0__.UnknownArgTypesError({type,language:"Flow"})}},convert2=type=>{let{name,raw}=type,base={};switch(typeof raw<"u"&&(base.raw=raw),type.name){case"literal":return{...base,name:"other",value:type.value};case"string":case"number":case"symbol":case"boolean":return{...base,name};case"Array":return{...base,name:"array",value:type.elements.map(convert2)};case"signature":return{...base,...convertSig2(type)};case"union":return type.elements?.every(isLiteral)?{...base,name:"enum",value:type.elements?.map(toEnumOption)}:{...base,name,value:type.elements?.map(convert2)};case"intersection":return{...base,name,value:type.elements?.map(convert2)};default:return{...base,name:"other",value:name}}},SIGNATURE_REGEXP=/^\(.*\) => /,convert3=type=>{let{name,raw,computed,value}=type,base={};switch(typeof raw<"u"&&(base.raw=raw),name){case"enum":{let values2=computed?value:value.map((v=>parseLiteral(v.value)));return{...base,name,value:values2}}case"string":case"number":case"symbol":case"object":return{...base,name};case"func":return{...base,name:"function"};case"bool":case"boolean":return{...base,name:"boolean"};case"arrayOf":case"array":return{...base,name:"array",value:value&&convert3(value)};case"objectOf":return{...base,name,value:convert3(value)};case"shape":case"exact":let values=lodash_mapValues_js__WEBPACK_IMPORTED_MODULE_1___default()(value,(field=>convert3(field)));return{...base,name:"object",value:values};case"union":return{...base,name:"union",value:value.map((v=>convert3(v)))};default:{if(name?.indexOf("|")>0)try{let literalValues=name.split("|").map((v=>JSON.parse(v)));return{...base,name:"enum",value:literalValues}}catch{}let otherVal=value?`${name}(${value})`:name,otherName=SIGNATURE_REGEXP.test(name)?"function":"other";return{...base,name:otherName,value:otherVal}}}},convert4=docgenInfo=>{let{type,tsType,flowType}=docgenInfo;try{if(null!=type)return convert3(type);if(null!=tsType)return convert(tsType);if(null!=flowType)return convert2(flowType)}catch(err){console.error(err)}return null},TypeSystem=((TypeSystem2=TypeSystem||{}).JAVASCRIPT="JavaScript",TypeSystem2.FLOW="Flow",TypeSystem2.TYPESCRIPT="TypeScript",TypeSystem2.UNKNOWN="Unknown",TypeSystem2),BLACKLIST=["null","undefined"];function isDefaultValueBlacklisted(value){return BLACKLIST.some((x=>x===value))}var str=obj=>{if(!obj)return"";if("string"==typeof obj)return obj;throw new Error(`Description: expected string, got: ${JSON.stringify(obj)}`)};function hasDocgen(component){return!!component.__docgenInfo}function getDocgenSection(component,section){return hasDocgen(component)?component.__docgenInfo[section]:null}var DEFAULT_OPTIONS={tags:["param","arg","argument","returns","ignore","deprecated"]},parseJsDoc=(value,options=DEFAULT_OPTIONS)=>{if(!function containsJsDoc(value){return null!=value&&value.includes("@")}(value))return{includesJsDoc:!1,ignore:!1};let jsDocAst=function parse(content,tags){let ast;try{ast=doctrine__WEBPACK_IMPORTED_MODULE_2__.parse(content??"",{tags,sloppy:!0})}catch(e){throw console.error(e),new Error("Cannot parse JSDoc tags.")}return ast}(value,options.tags),extractedTags=function extractJsDocTags(ast){let extractedTags={params:null,deprecated:null,returns:null,ignore:!1};for(let i=0;iparamName.includes("null")?paramName.replace("-null","").replace(".null",""):tag.name,getTypeName:()=>null!=tag.type?extractTypeName(tag.type):null}:null}function extractDeprecated(tag){return null!=tag.title?tag.description:null}function extractReturns(tag){return null!=tag.type?{type:tag.type,description:tag.description,getTypeName:()=>extractTypeName(tag.type)}:null}function extractTypeName(type){return"NameExpression"===type?.type?type.name:"RecordType"===type?.type?`({${type.fields.map((field=>{if("FieldType"===field.type&&null!=field.value){let valueTypeName=extractTypeName(field.value);return`${field.key}: ${valueTypeName}`}return field.key})).join(", ")}})`:"UnionType"===type?.type?`(${type.elements.map(extractTypeName).join("|")})`:"ArrayType"===type?.type?"[]":"TypeApplication"===type?.type&&null!=type.expression&&"Array"===type.expression.name?`${extractTypeName(type.applications[0])}[]`:"NullableType"===type?.type||"NonNullableType"===type?.type||"OptionalType"===type?.type?extractTypeName(type.expression):"AllLiteral"===type?.type?"any":null}function isTooLongForTypeSummary(value){return value.length>90}function isTooLongForDefaultValueSummary(value){return value.length>50}function createSummaryValue(summary,detail){return summary===detail?{summary}:{summary,detail}}function generateUnionElement({name,value,elements,raw}){return value??(null!=elements?elements.map(generateUnionElement).join(" | "):raw??name)}function generateSignature(flowType){let{type}=flowType;return"object"===type?function generateObjectSignature({type,raw}){return null!=raw?isTooLongForTypeSummary(raw)?createSummaryValue(type,raw):createSummaryValue(raw):createSummaryValue(type)}(flowType):function generateFuncSignature({type,raw}){return createSummaryValue(null!=raw?raw:type)}(flowType)}function createType(type){if(null==type)return null;switch(type.name){case"union":return function generateUnion({name,raw,elements}){return createSummaryValue(null!=elements?elements.map(generateUnionElement).join(" | "):null!=raw?raw.replace(/^\|\s*/,""):name)}(type);case"signature":return generateSignature(type);default:return function generateDefault({name,raw}){return null!=raw?isTooLongForTypeSummary(raw)?createSummaryValue(name,raw):createSummaryValue(raw):createSummaryValue(name)}(type)}}function createDefaultValue(defaultValue,type){if(null!=defaultValue){let{value}=defaultValue;if(!isDefaultValueBlacklisted(value))return isTooLongForDefaultValueSummary(value)?createSummaryValue(type?.name,value):createSummaryValue(value)}return null}function createType2({tsType,required}){if(null==tsType)return null;let typeName=tsType.name;return required||(typeName=typeName.replace(" | undefined","")),createSummaryValue(["Array","Record","signature"].includes(tsType.name)?tsType.raw:typeName)}function createDefaultValue2({defaultValue}){if(null!=defaultValue){let{value}=defaultValue;if(!isDefaultValueBlacklisted(value))return createSummaryValue(value)}return null}function createType3(type){return null!=type?createSummaryValue(type.name):null}function createDefaultValue3(defaultValue,type){if(null!=defaultValue){let{value}=defaultValue;if(!isDefaultValueBlacklisted(value))return function isReactDocgenTypescript(defaultValue){let{computed,func}=defaultValue;return typeof computed>"u"&&typeof func>"u"}(defaultValue)&&function isStringValued(type){return!!type&&("string"===type.name||"enum"===type.name&&Array.isArray(type.value)&&type.value.every((({value:tv})=>"string"==typeof tv&&'"'===tv[0]&&'"'===tv[tv.length-1])))}(type)?createSummaryValue(JSON.stringify(value)):createSummaryValue(value)}return null}function createBasicPropDef(name,type,docgenInfo){let{description,required,defaultValue}=docgenInfo;return{name,type:createType3(type),required,description,defaultValue:createDefaultValue3(defaultValue,type)}}function applyJsDocResult(propDef,jsDocParsingResult){if(jsDocParsingResult?.includesJsDoc){let{description,extractedTags}=jsDocParsingResult;null!=description&&(propDef.description=jsDocParsingResult.description);let value={...extractedTags,params:extractedTags?.params?.map((x=>({name:x.getPrettyName(),description:x.description})))};Object.values(value).filter(Boolean).length>0&&(propDef.jsDocTags=value)}return propDef}var javaScriptFactory=(propName,docgenInfo,jsDocParsingResult)=>{let propDef=createBasicPropDef(propName,docgenInfo.type,docgenInfo);return propDef.sbType=convert4(docgenInfo),applyJsDocResult(propDef,jsDocParsingResult)},tsFactory=(propName,docgenInfo,jsDocParsingResult)=>{let propDef=((propName,docgenInfo)=>{let{description,required}=docgenInfo;return{name:propName,type:createType2(docgenInfo),required,description,defaultValue:createDefaultValue2(docgenInfo)}})(propName,docgenInfo);return propDef.sbType=convert4(docgenInfo),applyJsDocResult(propDef,jsDocParsingResult)},flowFactory=(propName,docgenInfo,jsDocParsingResult)=>{let propDef=((propName,docgenInfo)=>{let{flowType,description,required,defaultValue}=docgenInfo;return{name:propName,type:createType(flowType),required,description,defaultValue:createDefaultValue(defaultValue??null,flowType??null)}})(propName,docgenInfo);return propDef.sbType=convert4(docgenInfo),applyJsDocResult(propDef,jsDocParsingResult)},unknownFactory=(propName,docgenInfo,jsDocParsingResult)=>applyJsDocResult(createBasicPropDef(propName,{name:"unknown"},docgenInfo),jsDocParsingResult),getPropDefFactory=typeSystem=>{switch(typeSystem){case"JavaScript":return javaScriptFactory;case"TypeScript":return tsFactory;case"Flow":return flowFactory;default:return unknownFactory}},getTypeSystem=docgenInfo=>null!=docgenInfo.type?"JavaScript":null!=docgenInfo.flowType?"Flow":null!=docgenInfo.tsType?"TypeScript":"Unknown",extractComponentProps=(component,section)=>{let docgenSection=getDocgenSection(component,section);return function isValidDocgenSection(docgenSection){return null!=docgenSection&&Object.keys(docgenSection).length>0}(docgenSection)?Array.isArray(docgenSection)?(docgenSection=>{let typeSystem=getTypeSystem(docgenSection[0]),createPropDef=getPropDefFactory(typeSystem);return docgenSection.map((item=>{let sanitizedItem=item;return item.type?.elements&&(sanitizedItem={...item,type:{...item.type,value:item.type.elements}}),extractProp(sanitizedItem.name,sanitizedItem,typeSystem,createPropDef)}))})(docgenSection):(docgenSection=>{let docgenPropsKeys=Object.keys(docgenSection),typeSystem=getTypeSystem(docgenSection[docgenPropsKeys[0]]),createPropDef=getPropDefFactory(typeSystem);return docgenPropsKeys.map((propName=>{let docgenInfo=docgenSection[propName];return null!=docgenInfo?extractProp(propName,docgenInfo,typeSystem,createPropDef):null})).filter(Boolean)})(docgenSection):[]};function extractProp(propName,docgenInfo,typeSystem,createPropDef){let jsDocParsingResult=parseJsDoc(docgenInfo.description);return jsDocParsingResult.includesJsDoc&&jsDocParsingResult.ignore?null:{propDef:createPropDef(propName,docgenInfo,jsDocParsingResult),jsDocTags:jsDocParsingResult.extractedTags,docgenInfo,typeSystem}}function extractComponentDescription(component){return null!=component?function getDocgenDescription(component){return hasDocgen(component)?str(component.__docgenInfo.description):""}(component):""}var SourceType2,enhanceArgTypes=context=>{let{component,argTypes:userArgTypes,parameters:{docs={}}}=context,{extractArgTypes}=docs,extractedArgTypes=extractArgTypes&&component?extractArgTypes(component):{};return extractedArgTypes?(0,_storybook_preview_api__WEBPACK_IMPORTED_MODULE_3__.combineParameters)(extractedArgTypes,userArgTypes):userArgTypes},SNIPPET_RENDERED="storybook/docs/snippet-rendered",SourceType=((SourceType2=SourceType||{}).AUTO="auto",SourceType2.CODE="code",SourceType2.DYNAMIC="dynamic",SourceType2)},"./node_modules/@storybook/instrumenter/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{x6:()=>instrument});var _storybook_preview_api__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("@storybook/preview-api"),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("@storybook/client-logger"),_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("@storybook/core-events"),_storybook_global__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("@storybook/global"),process=__webpack_require__("./node_modules/process/browser.js"),__create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__require=__webpack_require__("./node_modules/@storybook/instrumenter/dist sync recursive"),__commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__toESM=(mod,isNodeMode,target)=>(target=null!=mod?__create(__getProtoOf(mod)):{},((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(!isNodeMode&&mod&&mod.__esModule?target:__defProp(target,"default",{value:mod,enumerable:!0}),mod)),require_ansi_styles=__commonJS({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(exports,module){var wrapAnsi256=(offset=0)=>code=>`[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`[${38+offset};2;${red};${green};${blue}m`;Object.defineProperty(module,"exports",{enumerable:!0,get:function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`[${style[0]}m`,close:`[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1})}return Object.defineProperty(styles,"codes",{value:codes,enumerable:!1}),styles.color.close="",styles.bgColor.close="",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(hex.toString(16));if(!matches)return[0,0,0];let{colorString}=matches.groups;3===colorString.length&&(colorString=colorString.split("").map((character=>character+character)).join(""));let integer=Number.parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}})}}),require_collections=__commonJS({"../../node_modules/pretty-format/build/collections.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printIteratorEntries=function printIteratorEntries(iterator,config,indentation,depth,refs,printer,separator=": "){let result="",width=0,current=iterator.next();if(!current.done){result+=config.spacingOuter;let indentationNext=indentation+config.indent;for(;!current.done;){if(result+=indentationNext,width++===config.maxWidth){result+="…";break}result+=printer(current.value[0],config,indentationNext,depth,refs)+separator+printer(current.value[1],config,indentationNext,depth,refs),current=iterator.next(),current.done?config.min||(result+=","):result+=`,${config.spacingInner}`}result+=config.spacingOuter+indentation}return result},exports.printIteratorValues=function printIteratorValues(iterator,config,indentation,depth,refs,printer){let result="",width=0,current=iterator.next();if(!current.done){result+=config.spacingOuter;let indentationNext=indentation+config.indent;for(;!current.done;){if(result+=indentationNext,width++===config.maxWidth){result+="…";break}result+=printer(current.value,config,indentationNext,depth,refs),current=iterator.next(),current.done?config.min||(result+=","):result+=`,${config.spacingInner}`}result+=config.spacingOuter+indentation}return result},exports.printListItems=function printListItems(list,config,indentation,depth,refs,printer){let result="";if(list.length){result+=config.spacingOuter;let indentationNext=indentation+config.indent;for(let i=0;i{let rawKeys=Object.keys(object),keys=null!==compareKeys?rawKeys.sort(compareKeys):rawKeys;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach((symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys.push(symbol)})),keys})(val,config.compareKeys);if(keys.length){result+=config.spacingOuter;let indentationNext=indentation+config.indent;for(let i=0;i{let stringedValue=val.toString();if("ArrayContaining"===stringedValue||"ArrayNotContaining"===stringedValue)return++depth>config.maxDepth?`[${stringedValue}]`:`${stringedValue+" "}[${(0,_collections.printListItems)(val.sample,config,indentation,depth,refs,printer)}]`;if("ObjectContaining"===stringedValue||"ObjectNotContaining"===stringedValue)return++depth>config.maxDepth?`[${stringedValue}]`:`${stringedValue+" "}{${(0,_collections.printObjectProperties)(val.sample,config,indentation,depth,refs,printer)}}`;if("StringMatching"===stringedValue||"StringNotMatching"===stringedValue||"StringContaining"===stringedValue||"StringNotContaining"===stringedValue)return stringedValue+" "+printer(val.sample,config,indentation,depth,refs);if("function"!=typeof val.toAsymmetricMatcher)throw new Error(`Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`);return val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_DOMCollection=__commonJS({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),OBJECT_NAMES=["DOMStringMap","NamedNodeMap"],ARRAY_REGEXP=/^(HTML\w*Collection|NodeList)$/,test=val=>{return val&&val.constructor&&!!val.constructor.name&&(name=val.constructor.name,-1!==OBJECT_NAMES.indexOf(name)||ARRAY_REGEXP.test(name));var name};exports.test=test;var serialize=(collection,config,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return++depth>config.maxDepth?`[${name}]`:(config.min?"":name+" ")+(-1!==OBJECT_NAMES.indexOf(name)?`{${(0,_collections.printObjectProperties)((collection=>"NamedNodeMap"===collection.constructor.name)(collection)?Array.from(collection).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}):{...collection},config,indentation,depth,refs,printer)}}`:`[${(0,_collections.printListItems)(Array.from(collection),config,indentation,depth,refs,printer)}]`)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_escapeHTML=__commonJS({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function escapeHTML(str){return str.replace(//g,">")}}}),require_markup=__commonJS({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(require_escapeHTML());exports.printProps=(keys,props,config,indentation,depth,refs,printer)=>{let indentationNext=indentation+config.indent,colors=config.colors;return keys.map((key=>{let value=props[key],printed=printer(value,config,indentationNext,depth,refs);return"string"!=typeof value&&(-1!==printed.indexOf("\n")&&(printed=config.spacingOuter+indentationNext+printed+config.spacingOuter+indentation),printed=`{${printed}}`),`${config.spacingInner+indentation+colors.prop.open+key+colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`})).join("")};exports.printChildren=(children,config,indentation,depth,refs,printer)=>children.map((child=>config.spacingOuter+indentation+("string"==typeof child?printText(child,config):printer(child,config,indentation,depth,refs)))).join("");var printText=(text,config)=>{let contentColor=config.colors.content;return contentColor.open+(0,_escapeHTML.default)(text)+contentColor.close};exports.printText=printText;exports.printComment=(comment,config)=>{let commentColor=config.colors.comment;return`${commentColor.open}\x3c!--${(0,_escapeHTML.default)(comment)}--\x3e${commentColor.close}`};exports.printElement=(type,printedProps,printedChildren,config,indentation)=>{let tagColor=config.colors.tag;return`${tagColor.open}<${type}${printedProps&&tagColor.close+printedProps+config.spacingOuter+indentation+tagColor.open}${printedChildren?`>${tagColor.close}${printedChildren}${config.spacingOuter}${indentation}${tagColor.open}${tagColor.close}`};exports.printElementAsLeaf=(type,config)=>{let tagColor=config.colors.tag;return`${tagColor.open}<${type}${tagColor.close} …${tagColor.open} />${tagColor.close}`}}}),require_DOMElement=__commonJS({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),ELEMENT_REGEXP=/^((HTML|SVG)\w*)?Element$/,test=val=>val?.constructor?.name&&(val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement="string"==typeof tagName&&tagName.includes("-")||(val=>{try{return"function"==typeof val.hasAttribute&&val.hasAttribute("is")}catch{return!1}})(val);return 1===nodeType&&(ELEMENT_REGEXP.test(constructorName)||isCustomElement)||3===nodeType&&"Text"===constructorName||8===nodeType&&"Comment"===constructorName||11===nodeType&&"DocumentFragment"===constructorName})(val);function nodeIsFragment(node){return 11===node.nodeType}exports.test=test;var serialize=(node,config,indentation,depth,refs,printer)=>{if(function nodeIsText(node){return 3===node.nodeType}(node))return(0,_markup.printText)(node.data,config);if(function nodeIsComment(node){return 8===node.nodeType}(node))return(0,_markup.printComment)(node.data,config);let type=nodeIsFragment(node)?"DocumentFragment":node.tagName.toLowerCase();return++depth>config.maxDepth?(0,_markup.printElementAsLeaf)(type,config):(0,_markup.printElement)(type,(0,_markup.printProps)(nodeIsFragment(node)?[]:Array.from(node.attributes,(attr=>attr.name)).sort(),nodeIsFragment(node)?{}:Array.from(node.attributes).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}),config,indentation+config.indent,depth,refs,printer),(0,_markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config,indentation+config.indent,depth,refs,printer),config,indentation)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_Immutable=__commonJS({"../../node_modules/pretty-format/build/plugins/Immutable.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),getImmutableName=name=>`Immutable.${name}`,printAsLeaf=name=>`[${name}]`;var printImmutableValues=(val,config,indentation,depth,refs,printer,type)=>++depth>config.maxDepth?printAsLeaf(getImmutableName(type)):`${getImmutableName(type)+" "}[${(0,_collections.printIteratorValues)(val.values(),config,indentation,depth,refs,printer)}]`,serialize=(val,config,indentation,depth,refs,printer)=>val["@@__IMMUTABLE_MAP__@@"]?((val,config,indentation,depth,refs,printer,type)=>++depth>config.maxDepth?printAsLeaf(getImmutableName(type)):`${getImmutableName(type)+" "}{${(0,_collections.printIteratorEntries)(val.entries(),config,indentation,depth,refs,printer)}}`)(val,config,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedMap":"Map"):val["@@__IMMUTABLE_LIST__@@"]?printImmutableValues(val,config,indentation,depth,refs,printer,"List"):val["@@__IMMUTABLE_SET__@@"]?printImmutableValues(val,config,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedSet":"Set"):val["@@__IMMUTABLE_STACK__@@"]?printImmutableValues(val,config,indentation,depth,refs,printer,"Stack"):val["@@__IMMUTABLE_SEQ__@@"]?((val,config,indentation,depth,refs,printer)=>{let name=getImmutableName("Seq");return++depth>config.maxDepth?printAsLeaf(name):val["@@__IMMUTABLE_KEYED__@@"]?`${name+" "}{${val._iter||val._object?(0,_collections.printIteratorEntries)(val.entries(),config,indentation,depth,refs,printer):"…"}}`:`${name+" "}[${val._iter||val._array||val._collection||val._iterable?(0,_collections.printIteratorValues)(val.values(),config,indentation,depth,refs,printer):"…"}]`})(val,config,indentation,depth,refs,printer):((val,config,indentation,depth,refs,printer)=>{let name=getImmutableName(val._name||"Record");return++depth>config.maxDepth?printAsLeaf(name):`${name+" "}{${(0,_collections.printIteratorEntries)(function getRecordEntries(val){let i=0;return{next(){if(ival&&(!0===val["@@__IMMUTABLE_ITERABLE__@@"]||!0===val["@@__IMMUTABLE_RECORD__@@"]);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_react_is_development=__commonJS({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(exports){!function(){var REACT_MODULE_REFERENCE,REACT_ELEMENT_TYPE=Symbol.for("react.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_PROVIDER_TYPE=Symbol.for("react.provider"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_SERVER_CONTEXT_TYPE=Symbol.for("react.server_context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy"),REACT_OFFSCREEN_TYPE=Symbol.for("react.offscreen");function typeOf(object){if("object"==typeof object&&null!==object){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type=object.type;switch(type){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type;default:var $$typeofType=type&&type.$$typeof;switch($$typeofType){case REACT_SERVER_CONTEXT_TYPE:case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}REACT_MODULE_REFERENCE=Symbol.for("react.module.reference");var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,SuspenseList=REACT_SUSPENSE_LIST_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.SuspenseList=SuspenseList,exports.isAsyncMode=function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isConcurrentMode=function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isContextConsumer=function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE},exports.isContextProvider=function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE},exports.isElement=function isElement(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE},exports.isForwardRef=function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE},exports.isFragment=function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE},exports.isLazy=function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE},exports.isMemo=function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE},exports.isPortal=function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE},exports.isProfiler=function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE},exports.isStrictMode=function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE},exports.isSuspense=function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE},exports.isSuspenseList=function isSuspenseList(object){return typeOf(object)===REACT_SUSPENSE_LIST_TYPE},exports.isValidElementType=function isValidElementType(type){return!("string"!=typeof type&&"function"!=typeof type&&type!==REACT_FRAGMENT_TYPE&&type!==REACT_PROFILER_TYPE&&type!==REACT_STRICT_MODE_TYPE&&type!==REACT_SUSPENSE_TYPE&&type!==REACT_SUSPENSE_LIST_TYPE&&type!==REACT_OFFSCREEN_TYPE&&("object"!=typeof type||null===type||type.$$typeof!==REACT_LAZY_TYPE&&type.$$typeof!==REACT_MEMO_TYPE&&type.$$typeof!==REACT_PROVIDER_TYPE&&type.$$typeof!==REACT_CONTEXT_TYPE&&type.$$typeof!==REACT_FORWARD_REF_TYPE&&type.$$typeof!==REACT_MODULE_REFERENCE&&void 0===type.getModuleId))},exports.typeOf=typeOf}()}}),require_react_is=__commonJS({"../../node_modules/pretty-format/node_modules/react-is/index.js"(exports,module){module.exports=require_react_is_development()}}),require_ReactElement=__commonJS({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var ReactIs=function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!=typeof obj&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}(require_react_is()),_markup=require_markup();function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach((item=>{getChildren(item,children)})):null!=arg&&!1!==arg&&children.push(arg),children),getType3=element=>{let type=element.type;if("string"==typeof type)return type;if("function"==typeof type)return type.displayName||type.name||"Unknown";if(ReactIs.isFragment(element))return"React.Fragment";if(ReactIs.isSuspense(element))return"React.Suspense";if("object"==typeof type&&null!==type){if(ReactIs.isContextProvider(element))return"Context.Provider";if(ReactIs.isContextConsumer(element))return"Context.Consumer";if(ReactIs.isForwardRef(element)){if(type.displayName)return type.displayName;let functionName=type.render.displayName||type.render.name||"";return""!==functionName?`ForwardRef(${functionName})`:"ForwardRef"}if(ReactIs.isMemo(element)){let functionName=type.displayName||type.type.displayName||type.type.name||"";return""!==functionName?`Memo(${functionName})`:"Memo"}}return"UNDEFINED"},serialize=(element,config,indentation,depth,refs,printer)=>++depth>config.maxDepth?(0,_markup.printElementAsLeaf)(getType3(element),config):(0,_markup.printElement)(getType3(element),(0,_markup.printProps)((element=>{let{props}=element;return Object.keys(props).filter((key=>"children"!==key&&void 0!==props[key])).sort()})(element),element.props,config,indentation+config.indent,depth,refs,printer),(0,_markup.printChildren)(getChildren(element.props.children),config,indentation+config.indent,depth,refs,printer),config,indentation);exports.serialize=serialize;var test=val=>null!=val&&ReactIs.isElement(val);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_ReactTestComponent=__commonJS({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),Symbol2=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,testSymbol="function"==typeof Symbol2&&Symbol2.for?Symbol2.for("react.test.json"):245830487,serialize=(object,config,indentation,depth,refs,printer)=>++depth>config.maxDepth?(0,_markup.printElementAsLeaf)(object.type,config):(0,_markup.printElement)(object.type,object.props?(0,_markup.printProps)((object=>{let{props}=object;return props?Object.keys(props).filter((key=>void 0!==props[key])).sort():[]})(object),object.props,config,indentation+config.indent,depth,refs,printer):"",object.children?(0,_markup.printChildren)(object.children,config,indentation+config.indent,depth,refs,printer):"",config,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_build=__commonJS({"../../node_modules/pretty-format/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DEFAULT_OPTIONS=void 0,exports.format=format3,exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles()),_collections=require_collections(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher()),_DOMCollection=_interopRequireDefault(require_DOMCollection()),_DOMElement=_interopRequireDefault(require_DOMElement()),_Immutable=_interopRequireDefault(require_Immutable()),_ReactElement=_interopRequireDefault(require_ReactElement()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>"function"==typeof val.constructor&&val.constructor.name||"Object",SYMBOL_REGEXP=/^Symbol\((.*)\)(.*)$/,NEWLINE_REGEXP=/\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name}};function printFunction(val,printFunctionName){return printFunctionName?`[Function ${val.name||"anonymous"}]`:"[Function]"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,"Symbol($1)")}function printError(val){return`[${errorToString.call(val)}]`}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(!0===val||!1===val)return`${val}`;if(void 0===val)return"undefined";if(null===val)return"null";let typeOf=typeof val;if("number"===typeOf)return function printNumber(val){return Object.is(val,-0)?"-0":String(val)}(val);if("bigint"===typeOf)return function printBigInt(val){return`${val}n`}(val);if("string"===typeOf)return escapeString?`"${val.replace(/"|\\/g,"\\$&")}"`:`"${val}"`;if("function"===typeOf)return printFunction(val,printFunctionName);if("symbol"===typeOf)return printSymbol(val);let toStringed=toString.call(val);return"[object WeakMap]"===toStringed?"WeakMap {}":"[object WeakSet]"===toStringed?"WeakSet {}":"[object Function]"===toStringed||"[object GeneratorFunction]"===toStringed?printFunction(val,printFunctionName):"[object Symbol]"===toStringed?printSymbol(val):"[object Date]"===toStringed?isNaN(+val)?"Date { NaN }":toISOString.call(val):"[object Error]"===toStringed?printError(val):"[object RegExp]"===toStringed?escapeRegex?regExpToString.call(val).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config,indentation,depth,refs,hasCalledToJSON){if(-1!==refs.indexOf(val))return"[Circular]";(refs=refs.slice()).push(val);let hitMaxDepth=++depth>config.maxDepth,min=config.min;if(config.callToJSON&&!hitMaxDepth&&val.toJSON&&"function"==typeof val.toJSON&&!hasCalledToJSON)return printer(val.toJSON(),config,indentation,depth,refs,!0);let toStringed=toString.call(val);return"[object Arguments]"===toStringed?hitMaxDepth?"[Arguments]":`${min?"":"Arguments "}[${(0,_collections.printListItems)(val,config,indentation,depth,refs,printer)}]`:function isToStringedArrayType(toStringed){return"[object Array]"===toStringed||"[object ArrayBuffer]"===toStringed||"[object DataView]"===toStringed||"[object Float32Array]"===toStringed||"[object Float64Array]"===toStringed||"[object Int8Array]"===toStringed||"[object Int16Array]"===toStringed||"[object Int32Array]"===toStringed||"[object Uint8Array]"===toStringed||"[object Uint8ClampedArray]"===toStringed||"[object Uint16Array]"===toStringed||"[object Uint32Array]"===toStringed}(toStringed)?hitMaxDepth?`[${val.constructor.name}]`:`${min||!config.printBasicPrototype&&"Array"===val.constructor.name?"":`${val.constructor.name} `}[${(0,_collections.printListItems)(val,config,indentation,depth,refs,printer)}]`:"[object Map]"===toStringed?hitMaxDepth?"[Map]":`Map {${(0,_collections.printIteratorEntries)(val.entries(),config,indentation,depth,refs,printer," => ")}}`:"[object Set]"===toStringed?hitMaxDepth?"[Set]":`Set {${(0,_collections.printIteratorValues)(val.values(),config,indentation,depth,refs,printer)}}`:hitMaxDepth||(val=>typeof window<"u"&&val===window)(val)?`[${getConstructorName(val)}]`:`${min||!config.printBasicPrototype&&"Object"===getConstructorName(val)?"":`${getConstructorName(val)} `}{${(0,_collections.printObjectProperties)(val,config,indentation,depth,refs,printer)}}`}function printPlugin(plugin,val,config,indentation,depth,refs){let printed;try{printed=function isNewPlugin(plugin){return null!=plugin.serialize}(plugin)?plugin.serialize(val,config,indentation,depth,refs,printer):plugin.print(val,(valChild=>printer(valChild,config,indentation,depth,refs)),(str=>{let indentationNext=indentation+config.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n${indentationNext}`)}),{edgeSpacing:config.spacingOuter,min:config.min,spacing:config.spacingInner},config.colors)}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if("string"!=typeof printed)throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`);return printed}function findPlugin(plugins4,val){for(let p=0;pDEFAULT_THEME_KEYS.reduce(((colors,key)=>{let value=options.theme&&void 0!==options.theme[key]?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(!color||"string"!=typeof color.close||"string"!=typeof color.open)throw new Error(`pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`);return colors[key]=color,colors}),Object.create(null)),getPrintFunctionName=options=>options?.printFunctionName??DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options?.escapeRegex??DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options?.escapeString??DEFAULT_OPTIONS.escapeString,getConfig=options=>{return{callToJSON:options?.callToJSON??DEFAULT_OPTIONS.callToJSON,colors:options?.highlight?getColorsHighlight(options):DEFAULT_THEME_KEYS.reduce(((colors,key)=>(colors[key]={close:"",open:""},colors)),Object.create(null)),compareKeys:"function"==typeof options?.compareKeys||null===options?.compareKeys?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options?.min?"":(indent=options?.indent??DEFAULT_OPTIONS.indent,new Array(indent+1).join(" ")),maxDepth:options?.maxDepth??DEFAULT_OPTIONS.maxDepth,maxWidth:options?.maxWidth??DEFAULT_OPTIONS.maxWidth,min:options?.min??DEFAULT_OPTIONS.min,plugins:options?.plugins??DEFAULT_OPTIONS.plugins,printBasicPrototype:options?.printBasicPrototype??!0,printFunctionName:getPrintFunctionName(options),spacingInner:options?.min?" ":"\n",spacingOuter:options?.min?"":"\n"};var indent};function format3(val,options){if(options&&(function validateOptions(options){if(Object.keys(options).forEach((key=>{if(!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS,key))throw new Error(`pretty-format: Unknown option "${key}".`)})),options.min&&void 0!==options.indent&&0!==options.indent)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(void 0!==options.theme){if(null===options.theme)throw new Error('pretty-format: Option "theme" must not be null.');if("object"!=typeof options.theme)throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof options.theme}".`)}}(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(null!==plugin)return printPlugin(plugin,val,getConfig(options),"",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return null!==basicResult?basicResult:printComplexValue(val,getConfig(options),"",0,[])}var plugins3={AsymmetricMatcher:_AsymmetricMatcher.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins3;var _default=format3;exports.default=_default}}),require_build2=__commonJS({"../../node_modules/diff-sequences/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function diffSequence(aLength,bLength,isCommon,foundSubsequence){validateLength("aLength",aLength),validateLength("bLength",bLength),validateCallback("isCommon",isCommon),validateCallback("foundSubsequence",foundSubsequence);let nCommonF=countCommonItemsF(0,aLength,0,bLength,isCommon);if(0!==nCommonF&&foundSubsequence(nCommonF,0,0),aLength!==nCommonF||bLength!==nCommonF){let aStart=nCommonF,bStart=nCommonF,nCommonR=countCommonItemsR(aStart,aLength-1,bStart,bLength-1,isCommon),aEnd=aLength-nCommonR,bEnd=bLength-nCommonR,nCommonFR=nCommonF+nCommonR;aLength!==nCommonFR&&bLength!==nCommonFR&&findSubsequences(0,aStart,aEnd,bStart,bEnd,!1,[{foundSubsequence,isCommon}],[0],[0],{aCommonFollowing:0,aCommonPreceding:0,aEndPreceding:0,aStartFollowing:0,bCommonFollowing:0,bCommonPreceding:0,bEndPreceding:0,bStartFollowing:0,nChangeFollowing:0,nChangePreceding:0,nCommonFollowing:0,nCommonPreceding:0}),0!==nCommonR&&foundSubsequence(nCommonR,aEnd,bEnd)}};var pkg="diff-sequences",countCommonItemsF=(aIndex,aEnd,bIndex,bEnd,isCommon)=>{let nCommon=0;for(;aIndex{let nCommon=0;for(;aStart<=aIndex&&bStart<=bIndex&&isCommon(aIndex,bIndex);)aIndex-=1,bIndex-=1,nCommon+=1;return nCommon},extendPathsF=(d,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF)=>{let iF=0,kF=-d,aFirst=aIndexesF[iF],aIndexPrev1=aFirst;aIndexesF[iF]+=countCommonItemsF(aFirst+1,aEnd,bF+aFirst-kF+1,bEnd,isCommon);let nF=d{let iR=0,kR=d,aFirst=aIndexesR[iR],aIndexPrev1=aFirst;aIndexesR[iR]-=countCommonItemsR(aStart,aFirst-1,bStart,bR+aFirst-kR-1,isCommon);let nR=d{let bF=bStart-aStart,baDeltaLength=bEnd-bStart-(aEnd-aStart),kMinOverlapF=-baDeltaLength-(d-1),kMaxOverlapF=d-1-baDeltaLength,aIndexPrev1=0,nF=d{let bR=bEnd-aEnd,baDeltaLength=bEnd-bStart-(aEnd-aStart),kMinOverlapR=baDeltaLength-d,kMaxOverlapR=baDeltaLength+d,aIndexPrev1=0,nR=d{if(bEnd-bStart{foundSubsequence2(nCommon,aCommon,bCommon)},isCommon:(bIndex,aIndex)=>isCommon2(aIndex,bIndex)}}let tStart=aStart,tEnd=aEnd;aStart=bStart,aEnd=bEnd,bStart=tStart,bEnd=tEnd}let{foundSubsequence,isCommon}=callbacks[transposed?1:0];((nChange,aStart,aEnd,bStart,bEnd,isCommon,aIndexesF,aIndexesR,division)=>{let bF=bStart-aStart,bR=bEnd-aEnd,aLength=aEnd-aStart,bLength=bEnd-bStart,baDeltaLength=bLength-aLength,iMaxF=aLength,iMaxR=aLength;if(aIndexesF[0]=aStart-1,aIndexesR[0]=aEnd,baDeltaLength%2==0){let dMin=(nChange||baDeltaLength)/2,dMax=(aLength+bLength)/2;for(let d=1;d<=dMax;d+=1)if(iMaxF=extendPathsF(d,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF),d{if("number"!=typeof arg)throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`);if(!Number.isSafeInteger(arg))throw new RangeError(`${pkg}: ${name} value ${arg} is not a safe integer`);if(arg<0)throw new RangeError(`${pkg}: ${name} value ${arg} is a negative integer`)},validateCallback=(name,arg)=>{let type=typeof arg;if("function"!==type)throw new TypeError(`${pkg}: ${name} typeof ${type} is not a function`)}}}),require_loupe=__commonJS({"../../node_modules/loupe/loupe.js"(exports,module){var global2,factory;global2=exports,factory=function(exports2){function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj2){return typeof obj2}:function(obj2){return obj2&&"function"==typeof Symbol&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2})(obj)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if(!(typeof Symbol>"u")&&Symbol.iterator in Object(arr)){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i2&&void 0!==arguments[2]?arguments[2]:truncator;string2=String(string2);var tailLength=tail.length,stringLength=string2.length;return tailLength>length&&stringLength>tailLength?tail:stringLength>length&&stringLength>tailLength?"".concat(string2.slice(0,length-tailLength)).concat(tail):string2}function inspectList(list,options,inspectItem){var separator=arguments.length>3&&void 0!==arguments[3]?arguments[3]:", ";inspectItem=inspectItem||options.inspect;var size=list.length;if(0===size)return"";for(var originalLength=options.truncate,output="",peek="",truncated="",i=0;ioriginalLength&&output.length+truncated.length<=originalLength||!last&&!secondToLast&&truncatedLength>originalLength||(peek=last?"":inspectItem(list[i+1],options)+(secondToLast?"":separator),!last&&secondToLast&&truncatedLength>originalLength&&nextLength+peek.length>originalLength))break;if(output+=string2,!last&&!secondToLast&&nextLength+peek.length>=originalLength){truncated="".concat(truncator,"(").concat(list.length-i-1,")");break}truncated=""}return"".concat(output).concat(truncated)}function inspectProperty(_ref2,options){var _ref3=_slicedToArray(_ref2,2),key=_ref3[0],value=_ref3[1];return options.truncate-=2,"string"==typeof key?key=function quoteComplexKey(key){return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?key:JSON.stringify(key).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}(key):"number"!=typeof key&&(key="[".concat(options.inspect(key,options),"]")),options.truncate-=key.length,value=options.inspect(value,options),"".concat(key,": ").concat(value)}var toString=Function.prototype.toString,functionNameMatch=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,getFuncName_1=function getFuncName(aFunc){if("function"!=typeof aFunc)return null;var name="";if(typeof Function.prototype.name>"u"&&typeof aFunc.name>"u"){var functionSource=toString.call(aFunc);if(functionSource.indexOf("(")>512)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1])}else name=aFunc.name;return name};function inspectTypedArray(array,options){var name=function(array){return"function"==typeof Buffer&&array instanceof Buffer?"Buffer":array[Symbol.toStringTag]?array[Symbol.toStringTag]:getFuncName_1(array.constructor)}(array);options.truncate-=name.length+4;var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"".concat(name,"[]");for(var output="",i=0;i ").concat(value)}var isNaN2=Number.isNaN||function(i){return i!=i};function inspectNumber(number,options){return isNaN2(number)?options.stylize("NaN","number"):number===1/0?options.stylize("Infinity","number"):number===-1/0?options.stylize("-Infinity","number"):0===number?options.stylize(1/number==1/0?"+0":"-0","number"):options.stylize(truncate(number,options.truncate),"number")}function inspectBigInt(number,options){var nums=truncate(number.toString(),options.truncate-1);return nums!==truncator&&(nums+="n"),options.stylize(nums,"bigint")}var stringEscapeChars=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),escapeCharacters={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},hex=16,unicodeLength=4;function escape(char){return escapeCharacters[char]||"\\u".concat("0000".concat(char.charCodeAt(0).toString(hex)).slice(-unicodeLength))}function inspectString(string2,options){return stringEscapeChars.test(string2)&&(string2=string2.replace(stringEscapeChars,escape)),options.stylize("'".concat(truncate(string2,options.truncate-2),"'"),"string")}function inspectSymbol(value){return"description"in Symbol.prototype?value.description?"Symbol(".concat(value.description,")"):"Symbol()":value.toString()}var getPromiseValue=function(){return"Promise{…}"};try{var _process$binding=process.binding("util"),getPromiseDetails=_process$binding.getPromiseDetails,kPending=_process$binding.kPending,kRejected=_process$binding.kRejected;Array.isArray(getPromiseDetails(Promise.resolve()))&&(getPromiseValue=function(value,options){var _getPromiseDetails2=_slicedToArray(getPromiseDetails(value),2),state=_getPromiseDetails2[0],innerValue=_getPromiseDetails2[1];return state===kPending?"Promise{}":"Promise".concat(state===kRejected?"!":"","{").concat(options.inspect(innerValue,options),"}")})}catch{}var inspectPromise=getPromiseValue;function inspectObject(object,options){var properties=Object.getOwnPropertyNames(object),symbols=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(object):[];if(0===properties.length&&0===symbols.length)return"{}";if(options.truncate-=4,options.seen=options.seen||[],options.seen.indexOf(object)>=0)return"[Circular]";options.seen.push(object);var propertyContents=inspectList(properties.map((function(key){return[key,object[key]]})),options,inspectProperty),symbolContents=inspectList(symbols.map((function(key){return[key,object[key]]})),options,inspectProperty);options.seen.pop();var sep="";return propertyContents&&symbolContents&&(sep=", "),"{ ".concat(propertyContents).concat(sep).concat(symbolContents," }")}var toStringTag=!!(typeof Symbol<"u"&&Symbol.toStringTag)&&Symbol.toStringTag,errorKeys=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function inspectAttribute(_ref,options){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];return options.truncate-=3,value?"".concat(options.stylize(key,"yellow"),"=").concat(options.stylize('"'.concat(value,'"'),"string")):"".concat(options.stylize(key,"yellow"))}function inspectHTMLCollection(collection,options){return inspectList(collection,options,inspectHTML,"\n")}function inspectHTML(element,options){var properties=element.getAttributeNames(),name=element.tagName.toLowerCase(),head=options.stylize("<".concat(name),"special"),headClose=options.stylize(">","special"),tail=options.stylize(""),"special");options.truncate-=2*name.length+5;var propertyContents="";properties.length>0&&(propertyContents+=" ",propertyContents+=inspectList(properties.map((function(key){return[key,element.getAttribute(key)]})),options,inspectAttribute," ")),options.truncate-=propertyContents.length;var truncate2=options.truncate,children=inspectHTMLCollection(element.children,options);return children&&children.length>truncate2&&(children="".concat(truncator,"(").concat(element.children.length,")")),"".concat(head).concat(propertyContents).concat(headClose).concat(children).concat(tail)}var chaiInspect="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("chai/inspect"):"@@chai/inspect",nodeInspect=!1;try{var nodeUtil=__require("util");nodeInspect=!!nodeUtil.inspect&&nodeUtil.inspect.custom}catch{nodeInspect=!1}function FakeMap(){this.key="chai/loupe__"+Math.random()+Date.now()}FakeMap.prototype={get:function(key){return key[this.key]},has:function(key){return this.key in key},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this.key,{value,configurable:!0})}};var constructorMap=new("function"==typeof WeakMap?WeakMap:FakeMap),stringTagMap={},baseTypesMap={undefined:function(value,options){return options.stylize("undefined","undefined")},null:function(value,options){return options.stylize(null,"null")},boolean:function(value,options){return options.stylize(value,"boolean")},Boolean:function(value,options){return options.stylize(value,"boolean")},number:inspectNumber,Number:inspectNumber,bigint:inspectBigInt,BigInt:inspectBigInt,string:inspectString,String:inspectString,function:inspectFunction,Function:inspectFunction,symbol:inspectSymbol,Symbol:inspectSymbol,Array:function inspectArray(array,options){var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"[]";options.truncate-=4;var listContents=inspectList(array,options);options.truncate-=listContents.length;var propertyContents="";return nonIndexProperties.length&&(propertyContents=inspectList(nonIndexProperties.map((function(key){return[key,array[key]]})),options,inspectProperty)),"[ ".concat(listContents).concat(propertyContents?", ".concat(propertyContents):""," ]")},Date:function inspectDate(dateObject,options){var stringRepresentation=dateObject.toJSON();if(null===stringRepresentation)return"Invalid Date";var split=stringRepresentation.split("T"),date=split[0];return options.stylize("".concat(date,"T").concat(truncate(split[1],options.truncate-date.length-1)),"date")},Map:function inspectMap(map,options){return map.size-1<=0?"Map{}":(options.truncate-=7,"Map{ ".concat(inspectList(function mapToEntries(map){var entries=[];return map.forEach((function(value,key){entries.push([key,value])})),entries}(map),options,inspectMapEntry)," }"))},Set:function inspectSet(set,options){return 0===set.size?"Set{}":(options.truncate-=7,"Set{ ".concat(inspectList(function arrayFromSet(set){var values=[];return set.forEach((function(value){values.push(value)})),values}(set),options)," }"))},RegExp:function inspectRegExp(value,options){var flags=value.toString().split("/")[2],sourceLength=options.truncate-(2+flags.length),source=value.source;return options.stylize("/".concat(truncate(source,sourceLength),"/").concat(flags),"regexp")},Promise:inspectPromise,WeakSet:function(value,options){return options.stylize("WeakSet{…}","special")},WeakMap:function(value,options){return options.stylize("WeakMap{…}","special")},Arguments:function inspectArguments(args,options){return 0===args.length?"Arguments[]":(options.truncate-=13,"Arguments[ ".concat(inspectList(args,options)," ]"))},Int8Array:inspectTypedArray,Uint8Array:inspectTypedArray,Uint8ClampedArray:inspectTypedArray,Int16Array:inspectTypedArray,Uint16Array:inspectTypedArray,Int32Array:inspectTypedArray,Uint32Array:inspectTypedArray,Float32Array:inspectTypedArray,Float64Array:inspectTypedArray,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:function inspectObject$1(error,options){var properties=Object.getOwnPropertyNames(error).filter((function(key){return-1===errorKeys.indexOf(key)})),name=error.name;options.truncate-=name.length;var message="";"string"==typeof error.message?message=truncate(error.message,options.truncate):properties.unshift("message"),message=message?": ".concat(message):"",options.truncate-=message.length+5;var propertyContents=inspectList(properties.map((function(key){return[key,error[key]]})),options,inspectProperty);return"".concat(name).concat(message).concat(propertyContents?" { ".concat(propertyContents," }"):"")},HTMLCollection:inspectHTMLCollection,NodeList:inspectHTMLCollection},toString$1=Object.prototype.toString;function inspect3(value,options){options=function normaliseOptions(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref$showHidden=_ref.showHidden,showHidden=void 0!==_ref$showHidden&&_ref$showHidden,_ref$depth=_ref.depth,depth=void 0===_ref$depth?2:_ref$depth,_ref$colors=_ref.colors,colors=void 0!==_ref$colors&&_ref$colors,_ref$customInspect=_ref.customInspect,customInspect=void 0===_ref$customInspect||_ref$customInspect,_ref$showProxy=_ref.showProxy,showProxy=void 0!==_ref$showProxy&&_ref$showProxy,_ref$maxArrayLength=_ref.maxArrayLength,maxArrayLength=void 0===_ref$maxArrayLength?1/0:_ref$maxArrayLength,_ref$breakLength=_ref.breakLength,breakLength=void 0===_ref$breakLength?1/0:_ref$breakLength,_ref$seen=_ref.seen,seen=void 0===_ref$seen?[]:_ref$seen,_ref$truncate=_ref.truncate,truncate2=void 0===_ref$truncate?1/0:_ref$truncate,_ref$stylize=_ref.stylize,stylize=void 0===_ref$stylize?String:_ref$stylize,options={showHidden:!!showHidden,depth:Number(depth),colors:!!colors,customInspect:!!customInspect,showProxy:!!showProxy,maxArrayLength:Number(maxArrayLength),breakLength:Number(breakLength),truncate:Number(truncate2),seen,stylize};return options.colors&&(options.stylize=colorise),options}(options),options.inspect=inspect3;var customInspect=options.customInspect,type=null===value?"null":_typeof(value);if("object"===type&&(type=toString$1.call(value).slice(8,-1)),baseTypesMap[type])return baseTypesMap[type](value,options);if(customInspect&&value){var output=function(value,options,type){return chaiInspect in value&&"function"==typeof value[chaiInspect]?value[chaiInspect](options):nodeInspect&&nodeInspect in value&&"function"==typeof value[nodeInspect]?value[nodeInspect](options.depth,options):"inspect"in value&&"function"==typeof value.inspect?value.inspect(options.depth,options):"constructor"in value&&constructorMap.has(value.constructor)?constructorMap.get(value.constructor)(value,options):stringTagMap[type]?stringTagMap[type](value,options):""}(value,options,type);if(output)return"string"==typeof output?output:inspect3(output,options)}var proto=!!value&&Object.getPrototypeOf(value);return proto===Object.prototype||null===proto?inspectObject(value,options):value&&"function"==typeof HTMLElement&&value instanceof HTMLElement?inspectHTML(value,options):"constructor"in value?value.constructor!==Object?function inspectClass(value,options){var name="";return toStringTag&&toStringTag in value&&(name=value[toStringTag]),(!(name=name||getFuncName_1(value.constructor))||"_class"===name)&&(name=""),options.truncate-=name.length,"".concat(name).concat(inspectObject(value,options))}(value,options):inspectObject(value,options):value===Object(value)?inspectObject(value,options):options.stylize(String(value),type)}var custom=chaiInspect;exports2.custom=custom,exports2.default=inspect3,exports2.inspect=inspect3,exports2.registerConstructor=function registerConstructor(constructor,inspector){return!constructorMap.has(constructor)&&(constructorMap.set(constructor,inspector),!0)},exports2.registerStringTag=function registerStringTag(stringTag,inspector){return!(stringTag in stringTagMap)&&(stringTagMap[stringTag]=inspector,!0)},Object.defineProperty(exports2,"__esModule",{value:!0})},"object"==typeof exports&&typeof module<"u"?factory(exports):"function"==typeof define&&__webpack_require__.amdO?define(["exports"],factory):factory((global2=typeof globalThis<"u"?globalThis:global2||self).loupe={})}}),import_pretty_format=__toESM(require_build(),1),diff$1=__toESM(require_build2(),1),SAFE_COLORS_SYMBOL=Symbol("vitest:SAFE_COLORS"),colorsEntries=Object.entries({bold:["","",""],dim:["","",""],italic:["",""],underline:["",""],inverse:["",""],hidden:["",""],strikethrough:["",""],black:["",""],red:["",""],green:["",""],yellow:["",""],blue:["",""],magenta:["",""],cyan:["",""],white:["",""],gray:["",""],bgBlack:["",""],bgRed:["",""],bgGreen:["",""],bgYellow:["",""],bgBlue:["",""],bgMagenta:["",""],bgCyan:["",""],bgWhite:["",""]});function string(str){return String(str)}string.open="",string.close="";var defaultColors=colorsEntries.reduce(((acc,[key])=>(acc[key]=string,acc)),{isColorSupported:!1});function getType(value){if(void 0===value)return"undefined";if(null===value)return"null";if(Array.isArray(value))return"array";if("boolean"==typeof value)return"boolean";if("function"==typeof value)return"function";if("number"==typeof value)return"number";if("string"==typeof value)return"string";if("bigint"==typeof value)return"bigint";if("object"==typeof value){if(null!=value){if(value.constructor===RegExp)return"regexp";if(value.constructor===Map)return"map";if(value.constructor===Set)return"set";if(value.constructor===Date)return"date"}return"object"}if("symbol"==typeof value)return"symbol";throw new Error(`value of unknown type: ${value}`)}var DIFF_DELETE=-1,DIFF_INSERT=1,DIFF_EQUAL=0,Diff=class{0;1;constructor(op,text){this[0]=op,this[1]=text}},NO_DIFF_MESSAGE="Compared values have no visual difference.",SIMILAR_MESSAGE="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";function printDiffLine(line,isFirstOrLast,color,indicator,trailingSpaceFormatter,emptyFirstOrLastLinePlaceholder){return 0!==line.length?color(`${indicator} ${function formatTrailingSpaces(line,trailingSpaceFormatter){return line.replace(/\s+$/,(match=>trailingSpaceFormatter(match)))}(line,trailingSpaceFormatter)}`):" "!==indicator?color(indicator):isFirstOrLast&&0!==emptyFirstOrLastLinePlaceholder.length?color(`${indicator} ${emptyFirstOrLastLinePlaceholder}`):""}function printDeleteLine(line,isFirstOrLast,{aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printInsertLine(line,isFirstOrLast,{bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printCommonLine(line,isFirstOrLast,{commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function createPatchMark(aStart,aEnd,bStart,bEnd,{patchColor}){return patchColor(`@@ -${aStart+1},${aEnd-aStart} +${bStart+1},${bEnd-bStart} @@`)}var noColor=string2=>string2,DIFF_CONTEXT_DEFAULT=5;function getDefaultOptions(){let c=function getColors(){return globalThis[SAFE_COLORS_SYMBOL]||defaultColors}();return{aAnnotation:"Expected",aColor:c.green,aIndicator:"-",bAnnotation:"Received",bColor:c.red,bIndicator:"+",changeColor:c.inverse,changeLineTrailingSpaceColor:noColor,commonColor:c.dim,commonIndicator:" ",commonLineTrailingSpaceColor:noColor,compareKeys:void 0,contextLines:DIFF_CONTEXT_DEFAULT,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:c.yellow}}function normalizeDiffOptions(options={}){return{...getDefaultOptions(),...options,compareKeys:(compareKeys=options.compareKeys,compareKeys&&"function"==typeof compareKeys?compareKeys:void 0),contextLines:(contextLines=options.contextLines,"number"==typeof contextLines&&Number.isSafeInteger(contextLines)&&contextLines>=0?contextLines:DIFF_CONTEXT_DEFAULT)};var contextLines,compareKeys}function isEmptyString(lines){return 1===lines.length&&0===lines[0].length}function printDiffLines(diffs,options){return function printAnnotation({aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator,includeChangeCounts,omitAnnotationLines},changeCounts){if(omitAnnotationLines)return"";let aRest="",bRest="";if(includeChangeCounts){let aCount=String(changeCounts.a),bCount=String(changeCounts.b),baAnnotationLengthDiff=bAnnotation.length-aAnnotation.length,aAnnotationPadding=" ".repeat(Math.max(0,baAnnotationLengthDiff)),bAnnotationPadding=" ".repeat(Math.max(0,-baAnnotationLengthDiff)),baCountLengthDiff=bCount.length-aCount.length;aRest=`${aAnnotationPadding} ${aIndicator} ${" ".repeat(Math.max(0,baCountLengthDiff))}${aCount}`,bRest=`${bAnnotationPadding} ${bIndicator} ${" ".repeat(Math.max(0,-baCountLengthDiff))}${bCount}`}let b=`${bIndicator} ${bAnnotation}${bRest}`;return`${aColor(`${aIndicator} ${aAnnotation}${aRest}`)}\n${bColor(b)}\n\n`}(options,function countChanges(diffs){let a=0,b=0;return diffs.forEach((diff2=>{switch(diff2[0]){case DIFF_DELETE:a+=1;break;case DIFF_INSERT:b+=1}})),{a,b}}(diffs))+(options.expand?function joinAlignedDiffsExpand(diffs,options){return diffs.map(((diff2,i,diffs2)=>{let line=diff2[1],isFirstOrLast=0===i||i===diffs2.length-1;switch(diff2[0]){case DIFF_DELETE:return printDeleteLine(line,isFirstOrLast,options);case DIFF_INSERT:return printInsertLine(line,isFirstOrLast,options);default:return printCommonLine(line,isFirstOrLast,options)}})).join("\n")}(diffs,options):function joinAlignedDiffsNoExpand(diffs,options){let iLength=diffs.length,nContextLines=options.contextLines,nContextLines2=nContextLines+nContextLines,jLength=iLength,hasExcessAtStartOrEnd=!1,nExcessesBetweenChanges=0,i=0;for(;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(0===iStart)i>nContextLines&&(jLength-=i-nContextLines,hasExcessAtStartOrEnd=!0);else if(i===iLength){let n=i-iStart;n>nContextLines&&(jLength-=n-nContextLines,hasExcessAtStartOrEnd=!0)}else{let n=i-iStart;n>nContextLines2&&(jLength-=n-nContextLines2,nExcessesBetweenChanges+=1)}for(;i!==iLength&&diffs[i][0]!==DIFF_EQUAL;)i+=1}let hasPatch=0!==nExcessesBetweenChanges||hasExcessAtStartOrEnd;0!==nExcessesBetweenChanges?jLength+=nExcessesBetweenChanges+1:hasExcessAtStartOrEnd&&(jLength+=1);let jLast=jLength-1,lines=[],jPatchMark=0;hasPatch&&lines.push("");let aStart=0,bStart=0,aEnd=0,bEnd=0,pushCommonLine=line=>{let j=lines.length;lines.push(printCommonLine(line,0===j||j===jLast,options)),aEnd+=1,bEnd+=1},pushDeleteLine=line=>{let j=lines.length;lines.push(printDeleteLine(line,0===j||j===jLast,options)),aEnd+=1},pushInsertLine=line=>{let j=lines.length;lines.push(printInsertLine(line,0===j||j===jLast,options)),bEnd+=1};for(i=0;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(0===iStart){i>nContextLines&&(iStart=i-nContextLines,aStart=iStart,bStart=iStart,aEnd=aStart,bEnd=bStart);for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else if(i===iLength){let iEnd=i-iStart>nContextLines?iStart+nContextLines:i;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else{let nCommon=i-iStart;if(nCommon>nContextLines2){let iEnd=iStart+nContextLines;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options),jPatchMark=lines.length,lines.push("");let nOmit=nCommon-nContextLines2;aStart=aEnd+nOmit,bStart=bEnd+nOmit,aEnd=aStart,bEnd=bStart;for(let iCommon=i-nContextLines;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}for(;i!==iLength&&diffs[i][0]===DIFF_DELETE;)pushDeleteLine(diffs[i][1]),i+=1;for(;i!==iLength&&diffs[i][0]===DIFF_INSERT;)pushInsertLine(diffs[i][1]),i+=1}return hasPatch&&(lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options)),lines.join("\n")}(diffs,options))}function diffLinesUnified(aLines,bLines,options){return printDiffLines(diffLinesRaw(isEmptyString(aLines)?[]:aLines,isEmptyString(bLines)?[]:bLines),normalizeDiffOptions(options))}function diffLinesRaw(aLines,bLines){let aLength=aLines.length,bLength=bLines.length,isCommon=(aIndex2,bIndex2)=>aLines[aIndex2]===bLines[bIndex2],diffs=[],aIndex=0,bIndex=0,foundSubsequence=(nCommon,aCommon,bCommon)=>{for(;aIndex!==aCommon;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bCommon;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));for(;0!==nCommon;nCommon-=1,aIndex+=1,bIndex+=1)diffs.push(new Diff(DIFF_EQUAL,bLines[bIndex]))};for((diff$1.default.default||diff$1.default)(aLength,bLength,isCommon,foundSubsequence);aIndex!==aLength;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bLength;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));return diffs}function getCommonMessage(message,options){let{commonColor}=normalizeDiffOptions(options);return commonColor(message)}var{AsymmetricMatcher,DOMCollection,DOMElement,Immutable,ReactElement,ReactTestComponent}=import_pretty_format.plugins,PLUGINS=[ReactTestComponent,ReactElement,DOMElement,DOMCollection,Immutable,AsymmetricMatcher],FORMAT_OPTIONS={plugins:PLUGINS},FALLBACK_FORMAT_OPTIONS={callToJSON:!1,maxDepth:10,plugins:PLUGINS};function diff(a,b,options){if(Object.is(a,b))return"";let aType=getType(a),expectedType=aType,omitDifference=!1;if("object"===aType&&"function"==typeof a.asymmetricMatch){if(a.$$typeof!==Symbol.for("jest.asymmetricMatcher")||"function"!=typeof a.getExpectedType)return null;expectedType=a.getExpectedType(),omitDifference="string"===expectedType}if(expectedType!==getType(b)){let{aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator}=normalizeDiffOptions(options),formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),aDisplay=(0,import_pretty_format.format)(a,formatOptions),bDisplay=(0,import_pretty_format.format)(b,formatOptions);return`${`${aColor(`${aIndicator} ${aAnnotation}:`)} \n${aDisplay}`}\n\n${`${bColor(`${bIndicator} ${bAnnotation}:`)} \n${bDisplay}`}`}if(omitDifference)return null;switch(aType){case"string":return diffLinesUnified(a.split("\n"),b.split("\n"),options);case"boolean":case"number":return function comparePrimitive(a,b,options){let aFormat=(0,import_pretty_format.format)(a,FORMAT_OPTIONS),bFormat=(0,import_pretty_format.format)(b,FORMAT_OPTIONS);return aFormat===bFormat?"":diffLinesUnified(aFormat.split("\n"),bFormat.split("\n"),options)}(a,b,options);case"map":return compareObjects(sortMap(a),sortMap(b),options);case"set":return compareObjects(sortSet(a),sortSet(b),options);default:return compareObjects(a,b,options)}}function sortMap(map){return new Map(Array.from(map.entries()).sort())}function sortSet(set){return new Set(Array.from(set.values()).sort())}function compareObjects(a,b,options){let difference,hasThrown=!1;try{difference=getObjectsDifference(a,b,getFormatOptions(FORMAT_OPTIONS,options),options)}catch{hasThrown=!0}let noDiffMessage=getCommonMessage(NO_DIFF_MESSAGE,options);if(void 0===difference||difference===noDiffMessage){difference=getObjectsDifference(a,b,getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),options),difference!==noDiffMessage&&!hasThrown&&(difference=`${getCommonMessage(SIMILAR_MESSAGE,options)}\n\n${difference}`)}return difference}function getFormatOptions(formatOptions,options){let{compareKeys}=normalizeDiffOptions(options);return{...formatOptions,compareKeys}}function getObjectsDifference(a,b,formatOptions,options){let formatOptionsZeroIndent={...formatOptions,indent:0},aCompare=(0,import_pretty_format.format)(a,formatOptionsZeroIndent),bCompare=(0,import_pretty_format.format)(b,formatOptionsZeroIndent);if(aCompare===bCompare)return getCommonMessage(NO_DIFF_MESSAGE,options);{let aDisplay=(0,import_pretty_format.format)(a,formatOptions),bDisplay=(0,import_pretty_format.format)(b,formatOptions);return function diffLinesUnified2(aLinesDisplay,bLinesDisplay,aLinesCompare,bLinesCompare,options){if(isEmptyString(aLinesDisplay)&&isEmptyString(aLinesCompare)&&(aLinesDisplay=[],aLinesCompare=[]),isEmptyString(bLinesDisplay)&&isEmptyString(bLinesCompare)&&(bLinesDisplay=[],bLinesCompare=[]),aLinesDisplay.length!==aLinesCompare.length||bLinesDisplay.length!==bLinesCompare.length)return diffLinesUnified(aLinesDisplay,bLinesDisplay,options);let diffs=diffLinesRaw(aLinesCompare,bLinesCompare),aIndex=0,bIndex=0;return diffs.forEach((diff2=>{switch(diff2[0]){case DIFF_DELETE:diff2[1]=aLinesDisplay[aIndex],aIndex+=1;break;case DIFF_INSERT:diff2[1]=bLinesDisplay[bIndex],bIndex+=1;break;default:diff2[1]=bLinesDisplay[bIndex],aIndex+=1,bIndex+=1}})),printDiffLines(diffs,normalizeDiffOptions(options))}(aDisplay.split("\n"),bDisplay.split("\n"),aCompare.split("\n"),bCompare.split("\n"),options)}}var import_pretty_format2=__toESM(require_build(),1),loupe=__toESM(require_loupe(),1),{AsymmetricMatcher:AsymmetricMatcher2,DOMCollection:DOMCollection2,DOMElement:DOMElement2,Immutable:Immutable2,ReactElement:ReactElement2,ReactTestComponent:ReactTestComponent2}=import_pretty_format2.plugins,PLUGINS2=[ReactTestComponent2,ReactElement2,DOMElement2,DOMCollection2,Immutable2,AsymmetricMatcher2];function stringify(object,maxDepth=10,{maxLength,...options}={}){let result,MAX_LENGTH=maxLength??1e4;try{result=(0,import_pretty_format2.format)(object,{maxDepth,escapeString:!1,plugins:PLUGINS2,...options})}catch{result=(0,import_pretty_format2.format)(object,{callToJSON:!1,maxDepth,escapeString:!1,plugins:PLUGINS2,...options})}return result.length>=MAX_LENGTH&&maxDepth>1?stringify(object,Math.floor(maxDepth/2)):result}var formatRegExp=/%[sdjifoOcj%]/g;function inspect2(obj,options={}){return 0===options.truncate&&(options.truncate=Number.POSITIVE_INFINITY),loupe.inspect(obj,options)}function getType2(value){return Object.prototype.toString.apply(value).slice(8,-1)}function getOwnProperties(obj){let ownProps=new Set;return function isFinalObj(obj){return obj===Object.prototype||obj===Function.prototype||obj===RegExp.prototype}(obj)?[]:(function collectOwnProperties(obj,collector){let collect="function"==typeof collector?collector:key=>collector.add(key);Object.getOwnPropertyNames(obj).forEach(collect),Object.getOwnPropertySymbols(obj).forEach(collect)}(obj,ownProps),Array.from(ownProps))}var defaultCloneOptions={forceWritable:!1};function deepClone(val,options=defaultCloneOptions){return clone(val,new WeakMap,options)}function clone(val,seen,options=defaultCloneOptions){let k,out;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){for(out=Array(k=val.length),seen.set(val,out);k--;)out[k]=clone(val[k],seen,options);return out}if("[object Object]"===Object.prototype.toString.call(val)){out=Object.create(Object.getPrototypeOf(val)),seen.set(val,out);let props=getOwnProperties(val);for(let k2 of props){let descriptor=Object.getOwnPropertyDescriptor(val,k2);if(!descriptor)continue;let cloned=clone(val[k2],seen,options);"get"in descriptor?Object.defineProperty(out,k2,{...descriptor,get:()=>cloned}):Object.defineProperty(out,k2,{...descriptor,writable:!!options.forceWritable||descriptor.writable,value:cloned})}return out}return val}__toESM(require_build(),1),__toESM(require_build2(),1),__toESM(require_loupe(),1);var IS_RECORD_SYMBOL="@@__IMMUTABLE_RECORD__@@",IS_COLLECTION_SYMBOL="@@__IMMUTABLE_ITERABLE__@@";var OBJECT_PROTO=Object.getPrototypeOf({});function getUnserializableMessage(err){return err instanceof Error?`: ${err.message}`:"string"==typeof err?`: ${err}`:""}function serializeError(val,seen=new WeakMap){if(!val||"string"==typeof val)return val;if("function"==typeof val)return`Function<${val.name||"anonymous"}>`;if("symbol"==typeof val)return val.toString();if("object"!=typeof val)return val;if(function isImmutable(v){return v&&(v[IS_COLLECTION_SYMBOL]||v[IS_RECORD_SYMBOL])}(val))return serializeError(val.toJSON(),seen);if(val instanceof Promise||val.constructor&&"AsyncFunction"===val.constructor.prototype)return"Promise";if(typeof Element<"u"&&val instanceof Element)return val.tagName;if("function"==typeof val.asymmetricMatch)return`${val.toString()} ${function format2(...args){if("string"!=typeof args[0]){let objects=[];for(let i2=0;i2{if("%%"===x)return"%";if(i>=len)return x;switch(x){case"%s":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:"number"==typeof value&&0===value&&1/value<0?"-0":"object"==typeof value&&null!==value?inspect2(value,{depth:0,colors:!1,compact:3}):String(value)}case"%d":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:Number(value).toString()}case"%i":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:Number.parseInt(String(value)).toString()}case"%f":return Number.parseFloat(String(args[i++])).toString();case"%o":return inspect2(args[i++],{showHidden:!0,showProxy:!0});case"%O":return inspect2(args[i++]);case"%c":return i++,"";case"%j":try{return JSON.stringify(args[i++])}catch(err){let m=err.message;if(m.includes("circular structure")||m.includes("cyclic structures")||m.includes("cyclic object"))return"[Circular]";throw err}default:return x}}));for(let x=args[i];i{try{clone2[i]=serializeError(e,seen)}catch(err){clone2[i]=getUnserializableMessage(err)}})),clone2}{let clone2=Object.create(null);seen.set(val,clone2);let obj=val;for(;obj&&obj!==OBJECT_PROTO;)Object.getOwnPropertyNames(obj).forEach((key=>{if(!(key in clone2))try{clone2[key]=serializeError(val[key],seen)}catch(err){delete clone2[key],clone2[key]=getUnserializableMessage(err)}})),obj=Object.getPrototypeOf(obj);return clone2}}function normalizeErrorMessage(message){return message.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function processError(err,diffOptions){if(!err||"object"!=typeof err)return{message:err};if(err.stack&&(err.stackStr=String(err.stack)),err.name&&(err.nameStr=String(err.name)),err.showDiff||void 0===err.showDiff&&void 0!==err.expected&&void 0!==err.actual){let clonedActual=deepClone(err.actual,{forceWritable:!0}),clonedExpected=deepClone(err.expected,{forceWritable:!0}),{replacedActual,replacedExpected}=replaceAsymmetricMatcher(clonedActual,clonedExpected);err.diff=diff(replacedExpected,replacedActual,{...diffOptions,...err.diffOptions})}"string"!=typeof err.expected&&(err.expected=stringify(err.expected,10)),"string"!=typeof err.actual&&(err.actual=stringify(err.actual,10));try{"string"==typeof err.message&&(err.message=normalizeErrorMessage(err.message)),"object"==typeof err.cause&&"string"==typeof err.cause.message&&(err.cause.message=normalizeErrorMessage(err.cause.message))}catch{}try{return serializeError(err)}catch(e){return serializeError(new Error(`Failed to fully serialize error: ${e?.message}\nInner error message: ${err?.message}`))}}function isAsymmetricMatcher(data){return"Object"===getType2(data)&&"function"==typeof data.asymmetricMatch}function isReplaceable(obj1,obj2){let obj1Type=getType2(obj1);return obj1Type===getType2(obj2)&&("Object"===obj1Type||"Array"===obj1Type)}function replaceAsymmetricMatcher(actual,expected,actualReplaced=new WeakSet,expectedReplaced=new WeakSet){return isReplaceable(actual,expected)?(actualReplaced.has(actual)||expectedReplaced.has(expected)||(actualReplaced.add(actual),expectedReplaced.add(expected),getOwnProperties(expected).forEach((key=>{let expectedValue=expected[key],actualValue=actual[key];if(isAsymmetricMatcher(expectedValue))expectedValue.asymmetricMatch(actualValue)&&(actual[key]=expectedValue);else if(isAsymmetricMatcher(actualValue))actualValue.asymmetricMatch(expectedValue)&&(expected[key]=actualValue);else if(isReplaceable(actualValue,expectedValue)){let replaced=replaceAsymmetricMatcher(actualValue,expectedValue,actualReplaced,expectedReplaced);actual[key]=replaced.replacedActual,expected[key]=replaced.replacedExpected}}))),{replacedActual:actual,replacedExpected:expected}):{replacedActual:actual,replacedExpected:expected}}var CallStates2,CallStates=((CallStates2=CallStates||{}).DONE="done",CallStates2.ERROR="error",CallStates2.ACTIVE="active",CallStates2.WAITING="waiting",CallStates2),EVENTS_CALL="storybook/instrumenter/call",EVENTS_SYNC="storybook/instrumenter/sync",EVENTS_START="storybook/instrumenter/start",EVENTS_BACK="storybook/instrumenter/back",EVENTS_GOTO="storybook/instrumenter/goto",EVENTS_NEXT="storybook/instrumenter/next",EVENTS_END="storybook/instrumenter/end",controlsDisabled={start:!1,back:!1,goto:!1,next:!1,end:!1},alreadyCompletedException=new Error("This function ran after the play function completed. Did you forget to `await` it?"),isObject=o=>"[object Object]"===Object.prototype.toString.call(o),isInstrumentable=o=>{if(!isObject(o)&&!(o=>"[object Module]"===Object.prototype.toString.call(o))(o))return!1;if(void 0===o.constructor)return!0;let proto=o.constructor.prototype;return!!isObject(proto)},getInitialState=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),getRetainedState=(state,isDebugging=!1)=>{let calls=(isDebugging?state.shadowCalls:state.calls).filter((call=>call.retain));if(!calls.length)return;let callRefsByResult=new Map(Array.from(state.callRefsByResult.entries()).filter((([,ref])=>ref.retain)));return{cursor:calls.length,calls,callRefsByResult}},Instrumenter=class{constructor(){this.initialized=!1,this.channel=_storybook_preview_api__WEBPACK_IMPORTED_MODULE_0__.addons.getChannel(),this.state=_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window?.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};let resetState=({storyId,isPlaying=!0,isDebugging=!1})=>{let state=this.getState(storyId);this.setState(storyId,{...getInitialState(),...getRetainedState(state,isDebugging),shadowCalls:isDebugging?state.shadowCalls:[],chainedCallIds:isDebugging?state.chainedCallIds:new Set,playUntil:isDebugging?state.playUntil:void 0,isPlaying,isDebugging}),this.sync(storyId)};this.channel.on(_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__.FORCE_REMOUNT,resetState),this.channel.on(_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__.STORY_RENDER_PHASE_CHANGED,(({storyId,newPhase})=>{let{isDebugging}=this.getState(storyId);this.setState(storyId,{renderPhase:newPhase}),"preparing"===newPhase&&isDebugging&&resetState({storyId}),"playing"===newPhase&&resetState({storyId,isDebugging}),"played"===newPhase&&this.setState(storyId,{isLocked:!1,isPlaying:!1,isDebugging:!1}),"errored"===newPhase&&this.setState(storyId,{isLocked:!1,isPlaying:!1})})),this.channel.on(_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__.SET_CURRENT_STORY,(()=>{this.initialized?this.cleanup():this.initialized=!0}));let start=({storyId,playUntil})=>{this.getState(storyId).isDebugging||this.setState(storyId,(({calls})=>({calls:[],shadowCalls:calls.map((call=>({...call,status:"waiting"}))),isDebugging:!0})));let log=this.getLog(storyId);this.setState(storyId,(({shadowCalls})=>{if(playUntil||!log.length)return{playUntil};let firstRowIndex=shadowCalls.findIndex((call=>call.id===log[0].callId));return{playUntil:shadowCalls.slice(0,firstRowIndex).filter((call=>call.interceptable&&!call.ancestors.length)).slice(-1)[0]?.id}})),this.channel.emit(_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__.FORCE_REMOUNT,{storyId,isDebugging:!0})},end=({storyId})=>{this.setState(storyId,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(storyId).resolvers).forEach((resolve=>resolve()))};this.channel.on(EVENTS_START,start),this.channel.on(EVENTS_BACK,(({storyId})=>{let log=this.getLog(storyId).filter((call=>!call.ancestors.length)),last=log.reduceRight(((res,item,index)=>res>=0||"waiting"===item.status?res:index),-1);start({storyId,playUntil:log[last-1]?.callId})})),this.channel.on(EVENTS_GOTO,(({storyId,callId})=>{let{calls,shadowCalls,resolvers}=this.getState(storyId),call=calls.find((({id})=>id===callId)),shadowCall=shadowCalls.find((({id})=>id===callId));if(!call&&shadowCall&&Object.values(resolvers).length>0){let nextId=this.getLog(storyId).find((c=>"waiting"===c.status))?.callId;shadowCall.id!==nextId&&this.setState(storyId,{playUntil:shadowCall.id}),Object.values(resolvers).forEach((resolve=>resolve()))}else start({storyId,playUntil:callId})})),this.channel.on(EVENTS_NEXT,(({storyId})=>{let{resolvers}=this.getState(storyId);if(Object.values(resolvers).length>0)Object.values(resolvers).forEach((resolve=>resolve()));else{let nextId=this.getLog(storyId).find((c=>"waiting"===c.status))?.callId;nextId?start({storyId,playUntil:nextId}):end({storyId})}})),this.channel.on(EVENTS_END,end)}getState(storyId){return this.state[storyId]||getInitialState()}setState(storyId,update){let state=this.getState(storyId),patch="function"==typeof update?update(state):update;this.state={...this.state,[storyId]:{...state,...patch}},_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window?.parent&&(_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){this.state=Object.entries(this.state).reduce(((acc,[storyId,state])=>{let retainedState=getRetainedState(state);return retainedState&&(acc[storyId]=Object.assign(getInitialState(),retainedState)),acc}),{});let payload={controlStates:controlsDisabled,logItems:[]};this.channel.emit(EVENTS_SYNC,payload),_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window?.parent&&(_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(storyId){let{calls,shadowCalls}=this.getState(storyId),merged=[...shadowCalls];calls.forEach(((call,index)=>{merged[index]=call}));let seen=new Set;return merged.reduceRight(((acc,call)=>(call.args.forEach((arg=>{arg?.__callId__&&seen.add(arg.__callId__)})),call.path.forEach((node=>{node.__callId__&&seen.add(node.__callId__)})),(call.interceptable||call.exception)&&!seen.has(call.id)&&(acc.unshift({callId:call.id,status:call.status,ancestors:call.ancestors}),seen.add(call.id)),acc)),[])}instrument(obj,options,depth=0){if(!isInstrumentable(obj))return obj;let{mutate=!1,path=[]}=options,keys=options.getKeys?options.getKeys(obj,depth):Object.keys(obj);return depth+=1,keys.reduce(((acc,key)=>{let descriptor=function getPropertyDescriptor(obj,propName){let target=obj;for(;null!=target;){let descriptor=Object.getOwnPropertyDescriptor(target,propName);if(descriptor)return descriptor;target=Object.getPrototypeOf(target)}}(obj,key);if("function"==typeof descriptor?.get){let getter=()=>descriptor?.get?.bind(obj)?.();return Object.defineProperty(acc,key,{get:()=>this.instrument(getter(),{...options,path:path.concat(key)},depth)}),acc}let value=obj[key];return"function"!=typeof value?(acc[key]=this.instrument(value,{...options,path:path.concat(key)},depth),acc):"__originalFn__"in value&&"function"==typeof value.__originalFn__?(acc[key]=value,acc):(acc[key]=(...args)=>this.track(key,value,obj,args,options),acc[key].__originalFn__=value,Object.defineProperty(acc[key],"name",{value:key,writable:!1}),Object.keys(value).length>0&&Object.assign(acc[key],this.instrument({...value},{...options,path:path.concat(key)},depth)),acc)}),mutate?obj:(obj=>{try{return new obj.constructor}catch{return{}}})(obj))}track(method,fn,object,args,options){let storyId=args?.[0]?.__storyId__||_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor,ancestors}=this.getState(storyId);this.setState(storyId,{cursor:cursor+1});let id=`${ancestors.slice(-1)[0]||storyId} [${cursor}] ${method}`,{path=[],intercept=!1,retain=!1}=options,interceptable="function"==typeof intercept?intercept(method,path):intercept,call={id,cursor,storyId,ancestors,path,method,args,interceptable,retain},result=(interceptable&&!ancestors.length?this.intercept:this.invoke).call(this,fn,object,call,options);return this.instrument(result,{...options,mutate:!0,path:[{__callId__:call.id}]})}intercept(fn,object,call,options){let{chainedCallIds,isDebugging,playUntil}=this.getState(call.storyId),isChainedUpon=chainedCallIds.has(call.id);return!isDebugging||isChainedUpon||playUntil?(playUntil===call.id&&this.setState(call.storyId,{playUntil:void 0}),this.invoke(fn,object,call,options)):new Promise((resolve=>{this.setState(call.storyId,(({resolvers})=>({isLocked:!1,resolvers:{...resolvers,[call.id]:resolve}})))})).then((()=>(this.setState(call.storyId,(state=>{let{[call.id]:_,...resolvers}=state.resolvers;return{isLocked:!0,resolvers}})),this.invoke(fn,object,call,options))))}invoke(fn,object,call,options){let{callRefsByResult,renderPhase}=this.getState(call.storyId),serializeValues=value=>{if(callRefsByResult.has(value))return callRefsByResult.get(value);if(value instanceof Array)return value.map(serializeValues);if(value instanceof Date)return{__date__:{value:value.toISOString()}};if(value instanceof Error){let{name,message,stack}=value;return{__error__:{name,message,stack}}}if(value instanceof RegExp){let{flags,source}=value;return{__regexp__:{flags,source}}}if(value instanceof _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window?.HTMLElement){let{prefix,localName,id,classList,innerText}=value;return{__element__:{prefix,localName,id,classNames:Array.from(classList),innerText}}}return"function"==typeof value?{__function__:{name:"getMockName"in value?value.getMockName():value.name}}:"symbol"==typeof value?{__symbol__:{description:value.description}}:"object"==typeof value&&value?.constructor?.name&&"Object"!==value?.constructor?.name?{__class__:{name:value.constructor.name}}:"[object Object]"===Object.prototype.toString.call(value)?Object.fromEntries(Object.entries(value).map((([key,val])=>[key,serializeValues(val)]))):value},info={...call,args:call.args.map(serializeValues)};call.path.forEach((ref=>{ref?.__callId__&&this.setState(call.storyId,(({chainedCallIds})=>({chainedCallIds:new Set(Array.from(chainedCallIds).concat(ref.__callId__))})))}));let handleException=e=>{if(e instanceof Error){let{name,message,stack,callId=call.id}=e,{showDiff,diff:diff2,actual,expected}="AssertionError"===e.name?processError(e):e,exception={name,message,stack,callId,showDiff,diff:diff2,actual,expected};if(this.update({...info,status:"error",exception}),this.setState(call.storyId,(state=>({callRefsByResult:new Map([...Array.from(state.callRefsByResult.entries()),[e,{__callId__:call.id,retain:call.retain}]])}))),call.ancestors.length)throw Object.prototype.hasOwnProperty.call(e,"callId")||Object.defineProperty(e,"callId",{value:call.id}),e}throw e};try{if("played"===renderPhase&&!call.retain)throw alreadyCompletedException;let finalArgs=(options.getArgs?options.getArgs(call,this.getState(call.storyId)):call.args).map((arg=>"function"!=typeof arg||Object.keys(arg).length?arg:(...args)=>{let{cursor,ancestors}=this.getState(call.storyId);this.setState(call.storyId,{cursor:0,ancestors:[...ancestors,call.id]});let restore=()=>this.setState(call.storyId,{cursor,ancestors}),willRestore=!1;try{let res=arg(...args);return res instanceof Promise?(willRestore=!0,res.finally(restore)):res}finally{willRestore||restore()}})),result=fn.apply(object,finalArgs);return result&&["object","function","symbol"].includes(typeof result)&&this.setState(call.storyId,(state=>({callRefsByResult:new Map([...Array.from(state.callRefsByResult.entries()),[result,{__callId__:call.id,retain:call.retain}]])}))),this.update({...info,status:result instanceof Promise?"active":"done"}),result instanceof Promise?result.then((value=>(this.update({...info,status:"done"}),value)),handleException):result}catch(e){return handleException(e)}}update(call){this.channel.emit(EVENTS_CALL,call),this.setState(call.storyId,(({calls})=>{let callsById=calls.concat(call).reduce(((a,c)=>Object.assign(a,{[c.id]:c})),{});return{calls:Object.values(callsById).sort(((a,b)=>a.id.localeCompare(b.id,void 0,{numeric:!0})))}})),this.sync(call.storyId)}sync(storyId){let synchronize=()=>{let{isLocked,isPlaying}=this.getState(storyId),logItems=this.getLog(storyId),pausedAt=logItems.filter((({ancestors})=>!ancestors.length)).find((item=>"waiting"===item.status))?.callId,hasActive=logItems.some((item=>"active"===item.status));if(isLocked||hasActive||0===logItems.length){let payload2={controlStates:controlsDisabled,logItems};return void this.channel.emit(EVENTS_SYNC,payload2)}let hasPrevious=logItems.some((item=>"done"===item.status||"error"===item.status)),payload={controlStates:{start:hasPrevious,back:hasPrevious,goto:!0,next:isPlaying,end:isPlaying},logItems,pausedAt};this.channel.emit(EVENTS_SYNC,payload)};this.setState(storyId,(({syncTimeout})=>(clearTimeout(syncTimeout),{syncTimeout:setTimeout(synchronize,0)})))}};function instrument(obj,options={}){try{let forceInstrument=!1,skipInstrument=!1;return _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window?.location?.search?.includes("instrument=true")?forceInstrument=!0:_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window?.location?.search?.includes("instrument=false")&&(skipInstrument=!0),_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window?.parent===_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window&&!forceInstrument||skipInstrument?obj:(_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window&&!_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new Instrumenter),(_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(obj,options))}catch(e){return _storybook_client_logger__WEBPACK_IMPORTED_MODULE_1__.once.warn(e),obj}}},"./node_modules/@storybook/react-dom-shim/dist/react-18.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{K:()=>unmountElement,l:()=>renderElement});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),react_dom_client__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react-dom/client.js"),nodes=new Map,WithCallback=({callback,children})=>{let once=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();return(0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)((()=>{once.current!==callback&&(once.current=callback,callback())}),[callback]),children},renderElement=async(node,el,rootOptions)=>{let root=await getReactRoot(el,rootOptions);return new Promise((resolve=>{root.render(react__WEBPACK_IMPORTED_MODULE_0__.createElement(WithCallback,{callback:()=>resolve(null)},node))}))},unmountElement=(el,shouldUseNewRootApi)=>{let root=nodes.get(el);root&&(root.unmount(),nodes.delete(el))},getReactRoot=async(el,rootOptions)=>{let root=nodes.get(el);return root||(root=react_dom_client__WEBPACK_IMPORTED_MODULE_1__.createRoot(el,rootOptions),nodes.set(el,root)),root}},"./node_modules/@storybook/react/dist/chunk-JSBTCGGE.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{r:()=>__export});var __defProp=Object.defineProperty,__export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})}},"./node_modules/@storybook/react/dist/entry-preview-docs.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{applyDecorators:()=>applyDecorators,argTypesEnhancers:()=>argTypesEnhancers,decorators:()=>decorators,parameters:()=>parameters});__webpack_require__("./node_modules/@storybook/react/dist/chunk-JSBTCGGE.mjs");var dist=__webpack_require__("./node_modules/@storybook/docs-tools/dist/index.mjs"),prop_types=__webpack_require__("./node_modules/prop-types/index.js"),prop_types_default=__webpack_require__.n(prop_types),html_tags=__webpack_require__("./node_modules/html-tags/index.js"),escodegen=__webpack_require__("./node_modules/escodegen/escodegen.js"),esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),acorn=__webpack_require__("./node_modules/acorn/dist/acorn.mjs"),acorn_jsx=__webpack_require__("./node_modules/acorn-jsx/index.js"),acorn_jsx_default=__webpack_require__.n(acorn_jsx);function simple(node,visitors,baseVisitor,state,override){baseVisitor||(baseVisitor=base),function c(node,st,override){var type=override||node.type,found=visitors[type];baseVisitor[type](node,st,c),found&&found(node,st)}(node,state,override)}Object.create;function skipThrough(node,st,c){c(node,st)}function ignore(_node,_st,_c){}var base={};base.Program=base.BlockStatement=function(node,st,c){for(var i=0,list=node.body;i{let prettyName=x.getPrettyName(),typeName=x.getTypeName();return null!=typeName?`${prettyName}: ${typeName}`:prettyName}));funcParts.push(`(${funcParams.join(", ")})`)}else funcParts.push("()");return hasReturns&&funcParts.push(`=> ${returns.getTypeName()}`),funcParts.join(" ")}function generateShortFuncSignature(params,returns){let hasParams=null!=params,hasReturns=null!=returns;if(!hasParams&&!hasReturns)return"";let funcParts=[];return hasParams?funcParts.push("( ... )"):funcParts.push("()"),hasReturns&&funcParts.push(`=> ${returns.getTypeName()}`),funcParts.join(" ")}var CUSTOM_CAPTION="custom",OBJECT_CAPTION="object",ARRAY_CAPTION="array",CLASS_CAPTION="class",FUNCTION_CAPTION="func",ELEMENT_CAPTION="element";function isHtmlTag(tagName){return html_tags.includes(tagName.toLowerCase())}var BASIC_OPTIONS={format:{indent:{style:" "},semicolons:!1}},COMPACT_OPTIONS={...BASIC_OPTIONS,format:{newline:""}},PRETTY_OPTIONS={...BASIC_OPTIONS};function generateCode(ast,compact=!1){return(0,escodegen.R_)(ast,compact?COMPACT_OPTIONS:PRETTY_OPTIONS)}function generateObjectCode(ast,compact=!1){return compact?function generateCompactObjectCode(ast){let result=generateCode(ast,!0);return result.endsWith(" }")||(result=`${result.slice(0,-1)} }`),result}(ast):generateCode(ast)}function generateArrayCode(ast,compact=!1){return compact?function generateCompactArrayCode(ast){let result=generateCode(ast,!0);return result.startsWith("[ ")&&(result=result.replace("[ ","[")),result}(ast):function generateMultilineArrayCode(ast){let result=generateCode(ast);return result.endsWith(" }]")&&(result=(0,esm.Z)(result)),result}(ast)}var isMemo=component=>component.$$typeof===Symbol.for("react.memo"),ACORN_WALK_VISITORS={...base,JSXElement:()=>{}},acornParser=acorn.Parser.extend(acorn_jsx_default()());function extractIdentifierName(identifierNode){return null!=identifierNode?identifierNode.name:null}function filterAncestors(ancestors){return ancestors.filter((x=>"ObjectExpression"===x.type||"ArrayExpression"===x.type))}function calculateNodeDepth(node){let depths=[];return function ancestor(node,visitors,baseVisitor,state,override){var ancestors=[];baseVisitor||(baseVisitor=base),function c(node,st,override){var type=override||node.type,found=visitors[type],isNew=node!==ancestors[ancestors.length-1];isNew&&ancestors.push(node),baseVisitor[type](node,st,c),found&&found(node,st||ancestors,ancestors),isNew&&ancestors.pop()}(node,state,override)}(node,{ObjectExpression(_,ancestors){depths.push(filterAncestors(ancestors).length)},ArrayExpression(_,ancestors){depths.push(filterAncestors(ancestors).length)}},ACORN_WALK_VISITORS),Math.max(...depths)}function parseObject(objectNode){return{inferredType:{type:"Object",depth:calculateNodeDepth(objectNode)},ast:objectNode}}function parseExpression(expression){switch(expression.type){case"Identifier":return function parseIdentifier(identifierNode){return{inferredType:{type:"Identifier",identifier:extractIdentifierName(identifierNode)},ast:identifierNode}}(expression);case"Literal":return function parseLiteral(literalNode){return{inferredType:{type:"Literal"},ast:literalNode}}(expression);case"FunctionExpression":case"ArrowFunctionExpression":return function parseFunction(funcNode){let innerJsxElementNode;simple(funcNode.body,{JSXElement(node){innerJsxElementNode=node}},ACORN_WALK_VISITORS);let inferredType={type:null!=innerJsxElementNode?"Element":"Function",params:funcNode.params,hasParams:0!==funcNode.params.length},identifierName=extractIdentifierName(funcNode.id);return null!=identifierName&&(inferredType.identifier=identifierName),{inferredType,ast:funcNode}}(expression);case"ClassExpression":return function parseClass(classNode){let innerJsxElementNode;return simple(classNode.body,{JSXElement(node){innerJsxElementNode=node}},ACORN_WALK_VISITORS),{inferredType:{type:null!=innerJsxElementNode?"Element":"Class",identifier:extractIdentifierName(classNode.id)},ast:classNode}}(expression);case"JSXElement":return function parseJsxElement(jsxElementNode){let inferredType={type:"Element"},identifierName=extractIdentifierName(jsxElementNode.openingElement.name);return null!=identifierName&&(inferredType.identifier=identifierName),{inferredType,ast:jsxElementNode}}(expression);case"CallExpression":return function parseCall(callNode){return"shape"===extractIdentifierName("MemberExpression"===callNode.callee.type?callNode.callee.property:callNode.callee)?parseObject(callNode.arguments[0]):null}(expression);case"ObjectExpression":return parseObject(expression);case"ArrayExpression":return function parseArray(arrayNode){return{inferredType:{type:"Array",depth:calculateNodeDepth(arrayNode)},ast:arrayNode}}(expression);default:return null}}function parse(value){let ast=acornParser.parse(`(${value})`,{ecmaVersion:2020}),parsingResult={inferredType:{type:"Unknown"},ast};if(null!=ast.body[0]){let rootNode=ast.body[0];switch(rootNode.type){case"ExpressionStatement":{let expressionResult=parseExpression(rootNode.expression);null!=expressionResult&&(parsingResult=expressionResult);break}}}return parsingResult}function inspectValue(value){try{return{...parse(value)}}catch{}return{inferredType:{type:"Unknown"}}}var MAX_FUNC_LENGTH=150;function createTypeDef({name,short,compact,full,inferredType}){return{name,short,compact,full:full??short,inferredType}}function cleanPropTypes(value){return value.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function splitIntoLines(value){return value.split(/\r?\n/)}function prettyObject(ast,compact=!1){return cleanPropTypes(generateObjectCode(ast,compact))}function prettyArray(ast,compact=!1){return cleanPropTypes(generateCode(ast,compact))}function generateTypeFromString(value,originalTypeName){let short,compact,full,{inferredType,ast}=inspectValue(value),{type}=inferredType;switch(type){case"Identifier":case"Literal":short=value,compact=value;break;case"Object":{let{depth}=inferredType;short=OBJECT_CAPTION,compact=1===depth?prettyObject(ast,!0):null,full=prettyObject(ast);break}case"Element":{let{identifier}=inferredType;short=null==identifier||isHtmlTag(identifier)?ELEMENT_CAPTION:identifier,compact=1===splitIntoLines(value).length?value:null,full=value;break}case"Array":{let{depth}=inferredType;short=ARRAY_CAPTION,compact=depth<=2?prettyArray(ast,!0):null,full=prettyArray(ast);break}default:short=function getCaptionForInspectionType(type){switch(type){case"Object":return OBJECT_CAPTION;case"Array":return ARRAY_CAPTION;case"Class":return CLASS_CAPTION;case"Function":return FUNCTION_CAPTION;case"Element":return ELEMENT_CAPTION;default:return CUSTOM_CAPTION}}(type),compact=1===splitIntoLines(value).length?value:null,full=value}return createTypeDef({name:originalTypeName,short,compact,full,inferredType:type})}function objectOf(of){return`objectOf(${of})`}function generateEnum(type){if(Array.isArray(type.value)){let values=type.value.reduce(((acc,v)=>{let{short,compact,full}=function generateEnumValue({value,computed}){return computed?generateTypeFromString(value,"enumvalue"):createTypeDef({name:"enumvalue",short:value,compact:value})}(v);return acc.short.push(short),acc.compact.push(compact),acc.full.push(full),acc}),{short:[],compact:[],full:[]});return createTypeDef({name:"enum",short:values.short.join(" | "),compact:values.compact.every((x=>null!=x))?values.compact.join(" | "):null,full:values.full.join(" | ")})}return createTypeDef({name:"enum",short:type.value,compact:type.value})}function braceAfter(of){return`${of}[]`}function braceAround(of){return`[${of}]`}function createArrayOfObjectTypeDef(short,compact,full){return createTypeDef({name:"arrayOf",short:braceAfter(short),compact:null!=compact?braceAround(compact):null,full:full&&braceAround(full)})}function generateType(type,extractedProp){try{switch(type.name){case"custom":return function generateCustom({raw}){return null!=raw?generateTypeFromString(raw,"custom"):createTypeDef({name:"custom",short:CUSTOM_CAPTION,compact:CUSTOM_CAPTION})}(type);case"func":return function generateFunc(extractedProp){let{jsDocTags}=extractedProp;return null==jsDocTags||null==jsDocTags.params&&null==jsDocTags.returns?createTypeDef({name:"func",short:FUNCTION_CAPTION,compact:FUNCTION_CAPTION}):createTypeDef({name:"func",short:generateShortFuncSignature(jsDocTags.params,jsDocTags.returns),compact:null,full:generateFuncSignature(jsDocTags.params,jsDocTags.returns)})}(extractedProp);case"shape":return function generateShape(type,extractedProp){let fields=Object.keys(type.value).map((key=>`${key}: ${generateType(type.value[key],extractedProp).full}`)).join(", "),{inferredType,ast}=inspectValue(`{ ${fields} }`),{depth}=inferredType;return createTypeDef({name:"shape",short:OBJECT_CAPTION,compact:1===depth&&ast?prettyObject(ast,!0):null,full:ast?prettyObject(ast):null})}(type,extractedProp);case"instanceOf":return createTypeDef({name:"instanceOf",short:type.value,compact:type.value});case"objectOf":return function generateObjectOf(type,extractedProp){let{short,compact,full}=generateType(type.value,extractedProp);return createTypeDef({name:"objectOf",short:objectOf(short),compact:null!=compact?objectOf(compact):null,full:full&&objectOf(full)})}(type,extractedProp);case"union":return function generateUnion(type,extractedProp){if(Array.isArray(type.value)){let values=type.value.reduce(((acc,v)=>{let{short,compact,full}=generateType(v,extractedProp);return acc.short.push(short),acc.compact.push(compact),acc.full.push(full),acc}),{short:[],compact:[],full:[]});return createTypeDef({name:"union",short:values.short.join(" | "),compact:values.compact.every((x=>null!=x))?values.compact.join(" | "):null,full:values.full.join(" | ")})}return createTypeDef({name:"union",short:type.value,compact:null})}(type,extractedProp);case"enum":return generateEnum(type);case"arrayOf":return function generateArray(type,extractedProp){let{name,short,compact,full,inferredType}=generateType(type.value,extractedProp);if("custom"===name){if("Object"===inferredType)return createArrayOfObjectTypeDef(short,compact,full)}else if("shape"===name)return createArrayOfObjectTypeDef(short,compact,full);return createTypeDef({name:"arrayOf",short:braceAfter(short),compact:braceAfter(short)})}(type,extractedProp);default:return createTypeDef({name:type.name,short:type.name,compact:type.name})}}catch(e){console.error(e)}return createTypeDef({name:"unknown",short:"unknown",compact:"unknown"})}function generateObject({inferredType,ast}){let{depth}=inferredType;if(1===depth){let compactObject=generateObjectCode(ast,!0);if(!(0,dist.fW)(compactObject))return(0,dist.Ir)(compactObject)}return(0,dist.Ir)(OBJECT_CAPTION,generateObjectCode(ast))}function generateArray2({inferredType,ast}){let{depth}=inferredType;if(depth<=2){let compactArray=generateArrayCode(ast,!0);if(!(0,dist.fW)(compactArray))return(0,dist.Ir)(compactArray)}return(0,dist.Ir)(ARRAY_CAPTION,generateArrayCode(ast))}function getPrettyFuncIdentifier(identifier,hasArguments){return hasArguments?`${identifier}( ... )`:`${identifier}()`}function getPrettyElementIdentifier(identifier){return`<${identifier} />`}function getPrettyIdentifier(inferredType){let{type,identifier}=inferredType;switch(type){case"Function":return getPrettyFuncIdentifier(identifier,inferredType.hasParams);case"Element":return getPrettyElementIdentifier(identifier);default:return identifier}}function createDefaultValue(defaultValue){try{let inspectionResult=inspectValue(defaultValue);switch(inspectionResult.inferredType.type){case"Object":return generateObject(inspectionResult);case"Function":return function generateFunc2({inferredType,ast}){let{identifier}=inferredType;if(null!=identifier)return(0,dist.Ir)(getPrettyIdentifier(inferredType),generateCode(ast));let prettyCaption=generateCode(ast,!0);return(0,dist.fW)(prettyCaption)?(0,dist.Ir)(FUNCTION_CAPTION,generateCode(ast)):(0,dist.Ir)(prettyCaption)}(inspectionResult);case"Element":return function generateElement(defaultValue,inspectionResult){let{inferredType}=inspectionResult,{identifier}=inferredType;if(null!=identifier&&!isHtmlTag(identifier)){let prettyIdentifier=getPrettyIdentifier(inferredType);return(0,dist.Ir)(prettyIdentifier,defaultValue)}return(0,dist.fW)(defaultValue)?(0,dist.Ir)(ELEMENT_CAPTION,defaultValue):(0,dist.Ir)(defaultValue)}(defaultValue,inspectionResult);case"Array":return generateArray2(inspectionResult);default:return null}}catch(e){console.error(e)}return null}function isReactElement(element){return null!=element.$$typeof}function extractFunctionName(func,propName){let{name}=func;return""!==name&&"anonymous"!==name&&name!==propName?name:null}var DEFAULT_TYPE_RESOLVERS={string:rawDefaultProp=>(0,dist.Ir)(JSON.stringify(rawDefaultProp)),object:rawDefaultProp=>{if(isReactElement(rawDefaultProp)&&null!=rawDefaultProp.type)return function generateReactObject(rawDefaultProp){let{type}=rawDefaultProp,{displayName}=type,jsx2=(0,cjs.ZP)(rawDefaultProp,{});if(null!=displayName){let prettyIdentifier=getPrettyElementIdentifier(displayName);return(0,dist.Ir)(prettyIdentifier,jsx2)}if(isString_default()(type)&&isHtmlTag(type)){let jsxSummary=(0,cjs.ZP)(rawDefaultProp,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!(0,dist.fW)(jsxSummary))return(0,dist.Ir)(jsxSummary)}return(0,dist.Ir)(ELEMENT_CAPTION,jsx2)}(rawDefaultProp);if(isPlainObject_default()(rawDefaultProp)){return generateObject(inspectValue(JSON.stringify(rawDefaultProp)))}if(Array.isArray(rawDefaultProp)){return generateArray2(inspectValue(JSON.stringify(rawDefaultProp)))}return(0,dist.Ir)(OBJECT_CAPTION)},function:(rawDefaultProp,propDef)=>{let inspectionResult,isElement=!1;if(isFunction_default()(rawDefaultProp.render))isElement=!0;else if(null!=rawDefaultProp.prototype&&isFunction_default()(rawDefaultProp.prototype.render))isElement=!0;else{let innerElement;try{inspectionResult=inspectValue(rawDefaultProp.toString());let{hasParams,params}=inspectionResult.inferredType;hasParams?1===params.length&&"ObjectPattern"===params[0].type&&(innerElement=rawDefaultProp({})):innerElement=rawDefaultProp(),null!=innerElement&&isReactElement(innerElement)&&(isElement=!0)}catch{}}let funcName=extractFunctionName(rawDefaultProp,propDef.name);if(null!=funcName){if(isElement)return(0,dist.Ir)(getPrettyElementIdentifier(funcName));null!=inspectionResult&&(inspectionResult=inspectValue(rawDefaultProp.toString()));let{hasParams}=inspectionResult.inferredType;return(0,dist.Ir)(getPrettyFuncIdentifier(funcName,hasParams))}return(0,dist.Ir)(isElement?ELEMENT_CAPTION:FUNCTION_CAPTION)},default:rawDefaultProp=>(0,dist.Ir)(rawDefaultProp.toString())};function createDefaultValueFromRawDefaultProp(rawDefaultProp,propDef,typeResolvers=DEFAULT_TYPE_RESOLVERS){try{switch(typeof rawDefaultProp){case"string":return typeResolvers.string(rawDefaultProp,propDef);case"object":return typeResolvers.object(rawDefaultProp,propDef);case"function":return typeResolvers.function(rawDefaultProp,propDef);default:return typeResolvers.default(rawDefaultProp,propDef)}}catch(e){console.error(e)}return null}var rawDefaultPropTypeResolvers=function createTypeResolvers(customResolvers={}){return{...DEFAULT_TYPE_RESOLVERS,...customResolvers}}({function:(rawDefaultProp,{name,type})=>{let isElement="element"===type?.summary||"elementType"===type?.summary,funcName=extractFunctionName(rawDefaultProp,name);if(null!=funcName){if(isElement)return(0,dist.Ir)(getPrettyElementIdentifier(funcName));let{hasParams}=inspectValue(rawDefaultProp.toString()).inferredType;return(0,dist.Ir)(getPrettyFuncIdentifier(funcName,hasParams))}return(0,dist.Ir)(isElement?ELEMENT_CAPTION:FUNCTION_CAPTION)}});function enhancePropTypesProp(extractedProp,rawDefaultProp){let{propDef}=extractedProp,newtype=function createType(extractedProp){let{type}=extractedProp.docgenInfo;if(null==type)return null;try{switch(type.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short,compact,full}=generateType(type,extractedProp);return null==compact||(0,dist._A)(compact)?full?(0,dist.Ir)(short,full):(0,dist.Ir)(short):(0,dist.Ir)(compact)}case"func":{let detail,{short,full}=generateType(type,extractedProp),summary=short;return full&&full.lengthextractedProps.find((y=>y.name===x)))).filter(Boolean):extractedProps}(extractedProps.map((x=>enhancePropTypesProp(x,rawDefaultProps[x.propDef.name]))),component)}function enhanceTypeScriptProps(extractedProps){return extractedProps.map((prop=>function enhanceTypeScriptProp(extractedProp,rawDefaultProp){let{propDef}=extractedProp,{defaultValue}=extractedProp.docgenInfo;if(null!=defaultValue&&null!=defaultValue.value){let newDefaultValue=createDefaultValue(defaultValue.value);null!=newDefaultValue&&(propDef.defaultValue=newDefaultValue)}else if(null!=rawDefaultProp){let newDefaultValue=createDefaultValueFromRawDefaultProp(rawDefaultProp,propDef);null!=newDefaultValue&&(propDef.defaultValue=newDefaultValue)}return propDef}(prop)))}var propTypesMap=new Map;function getPropDefs(component,section){let processedComponent=component;!(0,dist.Px)(component)&&!component.propTypes&&isMemo(component)&&(processedComponent=component.type);let extractedProps=(0,dist.Je)(processedComponent,section);if(0===extractedProps.length)return[];switch(extractedProps[0].typeSystem){case dist.p5.JAVASCRIPT:return enhancePropTypesProps(extractedProps,component);case dist.p5.TYPESCRIPT:return enhanceTypeScriptProps(extractedProps);default:return extractedProps.map((x=>x.propDef))}}Object.keys(prop_types_default()).forEach((typeName=>{let type=prop_types_default()[typeName];propTypesMap.set(type,typeName),propTypesMap.set(type.isRequired,typeName)}));var toPascalCase=str=>str.charAt(0).toUpperCase()+str.slice(1);function simplifyNodeForStringify(node){if((0,react.isValidElement)(node)){let props=Object.keys(node.props).reduce(((acc,cur)=>(acc[cur]=simplifyNodeForStringify(node.props[cur]),acc)),{});return{...node,props,_owner:null}}return Array.isArray(node)?node.map(simplifyNodeForStringify):node}var renderJsx=(code,options)=>{if(typeof code>"u")return external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn("Too many skip or undefined component"),null;let displayNameDefaults,renderedJSX=code,Type=renderedJSX.type;for(let i=0;i"u")return external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn("Cannot skip undefined element"),null;if(react.Children.count(renderedJSX)>1)return external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn("Trying to skip an array of elements"),null;typeof renderedJSX.props.children>"u"?(external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn("Not enough children to skip elements."),"function"==typeof renderedJSX.type&&""===renderedJSX.type.name&&(renderedJSX=react.createElement(Type,{...renderedJSX.props}))):renderedJSX="function"==typeof renderedJSX.props.children?renderedJSX.props.children():renderedJSX.props.children}displayNameDefaults="string"==typeof options?.displayName?{showFunctions:!0,displayName:()=>options.displayName}:{displayName:el=>{return el.type.displayName?el.type.displayName:(0,dist.jq)(el.type,"displayName")?(0,dist.jq)(el.type,"displayName"):el.type.render?.displayName?el.type.render.displayName:"symbol"==typeof el.type||el.type.$$typeof&&"symbol"==typeof el.type.$$typeof?((elementType=el.type).$$typeof||elementType).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map((segment=>segment.split("_").map(toPascalCase).join(""))).join("."):el.type.name&&"_default"!==el.type.name?el.type.name:"function"==typeof el.type?"No Display Name":el.type.$$typeof===Symbol.for("react.forward_ref")?el.type.render.name:isMemo(el.type)?el.type.type.name:el.type;var elementType}};let opts={...displayNameDefaults,filterProps:(value,key)=>void 0!==value,...options};return react.Children.map(code,(c=>{let child="number"==typeof c?c.toString():c,string=("function"==typeof cjs.ZP?cjs.ZP:cjs.ZP.default)(simplifyNodeForStringify(child),opts);if(string.indexOf(""")>-1){let matches=string.match(/\S+=\\"([^"]*)\\"/g);matches&&matches.forEach((match=>{string=string.replace(match,match.replace(/"/g,"'"))}))}return string})).join("\n").replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},defaultOpts={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},mdxToJsx=node=>{if(!(node=>"MDXCreateElement"===node.type?.displayName&&!!node.props?.mdxType)(node))return node;let{mdxType,originalType,children,...rest}=node.props,jsxChildren=[];return children&&(jsxChildren=(Array.isArray(children)?children:[children]).map(mdxToJsx)),(0,react.createElement)(originalType,rest,...jsxChildren)},jsxDecorator=(storyFn,context)=>{let channel=external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(),skip=(context=>{let sourceParams=context?.parameters.docs?.source,isArgsStory=context?.parameters.__isArgsStory;return sourceParams?.type!==dist.PO.DYNAMIC&&(!isArgsStory||sourceParams?.code||sourceParams?.type===dist.PO.CODE)})(context),jsx2="";(0,external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)((()=>{if(!skip){let{id,unmappedArgs}=context;channel.emit(dist.g,{id,source:jsx2,args:unmappedArgs})}}));let story=storyFn();if(skip)return story;let options={...defaultOpts,...context?.parameters.jsx||{}},storyJsx=context?.parameters.docs?.source?.excludeDecorators?context.originalStoryFn(context.args,context):story,sourceJsx=mdxToJsx(storyJsx),rendered=renderJsx(sourceJsx,options);return rendered&&(jsx2=rendered),story},applyDecorators=(storyFn,decorators2)=>{let jsxIndex=decorators2.findIndex((d=>d.originalFn===jsxDecorator)),reorderedDecorators=-1===jsxIndex?decorators2:[...decorators2.splice(jsxIndex,1),...decorators2];return(0,external_STORYBOOK_MODULE_PREVIEW_API_.defaultDecorateStory)(storyFn,reorderedDecorators)},parameters={docs:{story:{inline:!0},extractArgTypes:component=>{if(component){let{rows}=(component=>({rows:getPropDefs(component,"props")}))(component);if(rows)return rows.reduce(((acc,row)=>{let{name,description,type,sbType,defaultValue:defaultSummary,jsDocTags,required}=row;return acc[name]={name,description,type:{required,...sbType},table:{type:type??void 0,jsDocTags,defaultValue:defaultSummary??void 0}},acc}),{})}return null},extractComponentDescription:dist.VF}},decorators=[jsxDecorator],argTypesEnhancers=[dist.rS]},"./node_modules/@storybook/react/dist/entry-preview.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{parameters:()=>parameters,render:()=>render,renderToCanvas:()=>renderToCanvas});var chunk_JSBTCGGE=__webpack_require__("./node_modules/@storybook/react/dist/chunk-JSBTCGGE.mjs"),react=__webpack_require__("./node_modules/react/index.js"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),react_18=__webpack_require__("./node_modules/@storybook/react-dom-shim/dist/react-18.mjs");(0,chunk_JSBTCGGE.r)({},{parameters:()=>parameters,render:()=>render,renderToCanvas:()=>renderToCanvas});var render=(args,context)=>{let{id,component:Component}=context;if(!Component)throw new Error(`Unable to render story ${id} as the component annotation is missing from the default export`);return react.createElement(Component,{...args})},{FRAMEWORK_OPTIONS}=external_STORYBOOK_MODULE_GLOBAL_.global,ErrorBoundary=class extends react.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError}=this.state,{showMain}=this.props;hasError||showMain()}componentDidCatch(err){let{showException}=this.props;showException(err)}render(){let{hasError}=this.state,{children}=this.props;return hasError?null:children}},Wrapper=FRAMEWORK_OPTIONS?.strictMode?react.StrictMode:react.Fragment;async function renderToCanvas({storyContext,unboundStoryFn,showMain,showException,forceRemount},canvasElement){let content=react.createElement(ErrorBoundary,{showMain,showException},react.createElement(unboundStoryFn,{...storyContext})),element=Wrapper?react.createElement(Wrapper,null,content):content;return forceRemount&&(0,react_18.K)(canvasElement),await(0,react_18.l)(element,canvasElement,storyContext?.parameters?.react?.rootOptions),()=>(0,react_18.K)(canvasElement)}var parameters={renderer:"react"}},"./node_modules/acorn-jsx/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";const XHTMLEntities=__webpack_require__("./node_modules/acorn-jsx/xhtml.js"),hexNumber=/^[\da-fA-F]+$/,decimalNumber=/^\d+$/,acornJsxMap=new WeakMap;function getJsxTokens(acorn){acorn=acorn.Parser.acorn||acorn;let acornJsx=acornJsxMap.get(acorn);if(!acornJsx){const tt=acorn.tokTypes,TokContext=acorn.TokContext,TokenType=acorn.TokenType,tc_oTag=new TokContext("...",!0,!0),tokContexts={tc_oTag,tc_cTag,tc_expr},tokTypes={jsxName:new TokenType("jsxName"),jsxText:new TokenType("jsxText",{beforeExpr:!0}),jsxTagStart:new TokenType("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new TokenType("jsxTagEnd")};tokTypes.jsxTagStart.updateContext=function(){this.context.push(tc_expr),this.context.push(tc_oTag),this.exprAllowed=!1},tokTypes.jsxTagEnd.updateContext=function(prevType){let out=this.context.pop();out===tc_oTag&&prevType===tt.slash||out===tc_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===tc_expr):this.exprAllowed=!0},acornJsx={tokContexts,tokTypes},acornJsxMap.set(acorn,acornJsx)}return acornJsx}function getQualifiedJSXName(object){return object?"JSXIdentifier"===object.type?object.name:"JSXNamespacedName"===object.type?object.namespace.name+":"+object.name.name:"JSXMemberExpression"===object.type?getQualifiedJSXName(object.object)+"."+getQualifiedJSXName(object.property):void 0:object}module.exports=function(options){return options=options||{},function(Parser){return function plugin(options,Parser){const acorn=Parser.acorn||__webpack_require__("./node_modules/acorn/dist/acorn.mjs"),acornJsx=getJsxTokens(acorn),tt=acorn.tokTypes,tok=acornJsx.tokTypes,tokContexts=acorn.tokContexts,tc_oTag=acornJsx.tokContexts.tc_oTag,tc_cTag=acornJsx.tokContexts.tc_cTag,tc_expr=acornJsx.tokContexts.tc_expr,isNewLine=acorn.isNewLine,isIdentifierStart=acorn.isIdentifierStart,isIdentifierChar=acorn.isIdentifierChar;return class extends Parser{static get acornJsx(){return acornJsx}jsx_readToken(){let out="",chunkStart=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let ch=this.input.charCodeAt(this.pos);switch(ch){case 60:case 123:return this.pos===this.start?60===ch&&this.exprAllowed?(++this.pos,this.finishToken(tok.jsxTagStart)):this.getTokenFromCode(ch):(out+=this.input.slice(chunkStart,this.pos),this.finishToken(tok.jsxText,out));case 38:out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readEntity(),chunkStart=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===ch?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:isNewLine(ch)?(out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readNewLine(!0),chunkStart=this.pos):++this.pos}}}jsx_readNewLine(normalizeCRLF){let out,ch=this.input.charCodeAt(this.pos);return++this.pos,13===ch&&10===this.input.charCodeAt(this.pos)?(++this.pos,out=normalizeCRLF?"\n":"\r\n"):out=String.fromCharCode(ch),this.options.locations&&(++this.curLine,this.lineStart=this.pos),out}jsx_readString(quote){let out="",chunkStart=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let ch=this.input.charCodeAt(this.pos);if(ch===quote)break;38===ch?(out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readEntity(),chunkStart=this.pos):isNewLine(ch)?(out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readNewLine(!1),chunkStart=this.pos):++this.pos}return out+=this.input.slice(chunkStart,this.pos++),this.finishToken(tt.string,out)}jsx_readEntity(){let entity,str="",count=0,ch=this.input[this.pos];"&"!==ch&&this.raise(this.pos,"Entity must start with an ampersand");let startPos=++this.pos;for(;this.pos")}let fragmentOrElement=openingElement.name?"Element":"Fragment";return node["opening"+fragmentOrElement]=openingElement,node["closing"+fragmentOrElement]=closingElement,node.children=children,this.type===tt.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(node,"JSX"+fragmentOrElement)}jsx_parseText(){let node=this.parseLiteral(this.value);return node.type="JSXText",node}jsx_parseElement(){let startPos=this.start,startLoc=this.startLoc;return this.next(),this.jsx_parseElementAt(startPos,startLoc)}parseExprAtom(refShortHandDefaultPos){return this.type===tok.jsxText?this.jsx_parseText():this.type===tok.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(refShortHandDefaultPos)}readToken(code){let context=this.curContext();if(context===tc_expr)return this.jsx_readToken();if(context===tc_oTag||context===tc_cTag){if(isIdentifierStart(code))return this.jsx_readWord();if(62==code)return++this.pos,this.finishToken(tok.jsxTagEnd);if((34===code||39===code)&&context==tc_oTag)return this.jsx_readString(code)}return 60===code&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(tok.jsxTagStart)):super.readToken(code)}updateContext(prevType){if(this.type==tt.braceL){var curContext=this.curContext();curContext==tc_oTag?this.context.push(tokContexts.b_expr):curContext==tc_expr?this.context.push(tokContexts.b_tmpl):super.updateContext(prevType),this.exprAllowed=!0}else{if(this.type!==tt.slash||prevType!==tok.jsxTagStart)return super.updateContext(prevType);this.context.length-=2,this.context.push(tc_cTag),this.exprAllowed=!1}}}}({allowNamespaces:!1!==options.allowNamespaces,allowNamespacedObjects:!!options.allowNamespacedObjects},Parser)}},Object.defineProperty(module.exports,"tokTypes",{get:function get_tokTypes(){return getJsxTokens(__webpack_require__("./node_modules/acorn/dist/acorn.mjs")).tokTypes},configurable:!0,enumerable:!0})},"./node_modules/acorn-jsx/xhtml.js":module=>{module.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}},"./node_modules/acorn/dist/acorn.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Node:()=>Node,Parser:()=>Parser,Position:()=>Position,SourceLocation:()=>SourceLocation,TokContext:()=>TokContext,Token:()=>Token,TokenType:()=>TokenType,defaultOptions:()=>defaultOptions,getLineInfo:()=>getLineInfo,isIdentifierChar:()=>isIdentifierChar,isIdentifierStart:()=>isIdentifierStart,isNewLine:()=>isNewLine,keywordTypes:()=>keywords$1,lineBreak:()=>lineBreak,lineBreakG:()=>lineBreakG,nonASCIIwhitespace:()=>nonASCIIwhitespace,parse:()=>parse,parseExpressionAt:()=>parseExpressionAt,tokContexts:()=>types$1,tokTypes:()=>types,tokenizer:()=>tokenizer,version:()=>version});var reservedWords={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ecma5AndLessKeywords="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",keywords={5:ecma5AndLessKeywords,"5module":ecma5AndLessKeywords+" export import",6:ecma5AndLessKeywords+" const class extends export import super"},keywordRelationalOperator=/^in(stanceof)?$/,nonASCIIidentifierStartChars="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",nonASCIIidentifierChars="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",nonASCIIidentifierStart=new RegExp("["+nonASCIIidentifierStartChars+"]"),nonASCIIidentifier=new RegExp("["+nonASCIIidentifierStartChars+nonASCIIidentifierChars+"]");nonASCIIidentifierStartChars=nonASCIIidentifierChars=null;var astralIdentifierStartCodes=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],astralIdentifierCodes=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(code,set){for(var pos=65536,i=0;icode)return!1;if((pos+=set[i+1])>=code)return!0}}function isIdentifierStart(code,astral){return code<65?36===code:code<91||(code<97?95===code:code<123||(code<=65535?code>=170&&nonASCIIidentifierStart.test(String.fromCharCode(code)):!1!==astral&&isInAstralSet(code,astralIdentifierStartCodes)))}function isIdentifierChar(code,astral){return code<48?36===code:code<58||!(code<65)&&(code<91||(code<97?95===code:code<123||(code<=65535?code>=170&&nonASCIIidentifier.test(String.fromCharCode(code)):!1!==astral&&(isInAstralSet(code,astralIdentifierStartCodes)||isInAstralSet(code,astralIdentifierCodes)))))}var TokenType=function TokenType(label,conf){void 0===conf&&(conf={}),this.label=label,this.keyword=conf.keyword,this.beforeExpr=!!conf.beforeExpr,this.startsExpr=!!conf.startsExpr,this.isLoop=!!conf.isLoop,this.isAssign=!!conf.isAssign,this.prefix=!!conf.prefix,this.postfix=!!conf.postfix,this.binop=conf.binop||null,this.updateContext=null};function binop(name,prec){return new TokenType(name,{beforeExpr:!0,binop:prec})}var beforeExpr={beforeExpr:!0},startsExpr={startsExpr:!0},keywords$1={};function kw(name,options){return void 0===options&&(options={}),options.keyword=name,keywords$1[name]=new TokenType(name,options)}var types={num:new TokenType("num",startsExpr),regexp:new TokenType("regexp",startsExpr),string:new TokenType("string",startsExpr),name:new TokenType("name",startsExpr),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new TokenType("]"),braceL:new TokenType("{",{beforeExpr:!0,startsExpr:!0}),braceR:new TokenType("}"),parenL:new TokenType("(",{beforeExpr:!0,startsExpr:!0}),parenR:new TokenType(")"),comma:new TokenType(",",beforeExpr),semi:new TokenType(";",beforeExpr),colon:new TokenType(":",beforeExpr),dot:new TokenType("."),question:new TokenType("?",beforeExpr),questionDot:new TokenType("?."),arrow:new TokenType("=>",beforeExpr),template:new TokenType("template"),invalidTemplate:new TokenType("invalidTemplate"),ellipsis:new TokenType("...",beforeExpr),backQuote:new TokenType("`",startsExpr),dollarBraceL:new TokenType("${",{beforeExpr:!0,startsExpr:!0}),eq:new TokenType("=",{beforeExpr:!0,isAssign:!0}),assign:new TokenType("_=",{beforeExpr:!0,isAssign:!0}),incDec:new TokenType("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new TokenType("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new TokenType("**",{beforeExpr:!0}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",beforeExpr),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",beforeExpr),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",beforeExpr),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",startsExpr),_if:kw("if"),_return:kw("return",beforeExpr),_switch:kw("switch"),_throw:kw("throw",beforeExpr),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",startsExpr),_super:kw("super",startsExpr),_class:kw("class",startsExpr),_extends:kw("extends",beforeExpr),_export:kw("export"),_import:kw("import",startsExpr),_null:kw("null",startsExpr),_true:kw("true",startsExpr),_false:kw("false",startsExpr),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},lineBreak=/\r\n?|\n|\u2028|\u2029/,lineBreakG=new RegExp(lineBreak.source,"g");function isNewLine(code,ecma2019String){return 10===code||13===code||!ecma2019String&&(8232===code||8233===code)}var nonASCIIwhitespace=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,skipWhiteSpace=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ref=Object.prototype,hasOwnProperty=ref.hasOwnProperty,toString=ref.toString;function has(obj,propName){return hasOwnProperty.call(obj,propName)}var isArray=Array.isArray||function(obj){return"[object Array]"===toString.call(obj)};function wordsRegexp(words){return new RegExp("^(?:"+words.replace(/ /g,"|")+")$")}var Position=function Position(line,col){this.line=line,this.column=col};Position.prototype.offset=function offset(n){return new Position(this.line,this.column+n)};var SourceLocation=function SourceLocation(p,start,end){this.start=start,this.end=end,null!==p.sourceFile&&(this.source=p.sourceFile)};function getLineInfo(input,offset){for(var line=1,cur=0;;){lineBreakG.lastIndex=cur;var match=lineBreakG.exec(input);if(!(match&&match.index=2015&&(options.ecmaVersion-=2009),null==options.allowReserved&&(options.allowReserved=options.ecmaVersion<5),isArray(options.onToken)){var tokens=options.onToken;options.onToken=function(token){return tokens.push(token)}}return isArray(options.onComment)&&(options.onComment=function pushComment(options,array){return function(block,text,start,end,startLoc,endLoc){var comment={type:block?"Block":"Line",value:text,start,end};options.locations&&(comment.loc=new SourceLocation(this,startLoc,endLoc)),options.ranges&&(comment.range=[start,end]),array.push(comment)}}(options,options.onComment)),options}function functionFlags(async,generator){return 2|(async?4:0)|(generator?8:0)}var Parser=function Parser(options,input,startPos){this.options=options=getOptions(options),this.sourceFile=options.sourceFile,this.keywords=wordsRegexp(keywords[options.ecmaVersion>=6?6:"module"===options.sourceType?"5module":5]);var reserved="";if(!0!==options.allowReserved){for(var v=options.ecmaVersion;!(reserved=reservedWords[v]);v--);"module"===options.sourceType&&(reserved+=" await")}this.reservedWords=wordsRegexp(reserved);var reservedStrict=(reserved?reserved+" ":"")+reservedWords.strict;this.reservedWordsStrict=wordsRegexp(reservedStrict),this.reservedWordsStrictBind=wordsRegexp(reservedStrict+" "+reservedWords.strictBind),this.input=String(input),this.containsEsc=!1,startPos?(this.pos=startPos,this.lineStart=this.input.lastIndexOf("\n",startPos-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(lineBreak).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=types.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===options.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&options.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},prototypeAccessors={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};Parser.prototype.parse=function parse(){var node=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(node)},prototypeAccessors.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},prototypeAccessors.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},prototypeAccessors.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},prototypeAccessors.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},prototypeAccessors.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},prototypeAccessors.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Parser.prototype.inNonArrowFunction=function inNonArrowFunction(){return(2&this.currentThisScope().flags)>0},Parser.extend=function extend(){for(var plugins=[],len=arguments.length;len--;)plugins[len]=arguments[len];for(var cls=this,i=0;i=,?^&]/.test(next)||"!"===next&&"="===this.input.charAt(end+1))}start+=match[0].length,skipWhiteSpace.lastIndex=start,start+=skipWhiteSpace.exec(this.input)[0].length,";"===this.input[start]&&start++}},pp.eat=function(type){return this.type===type&&(this.next(),!0)},pp.isContextual=function(name){return this.type===types.name&&this.value===name&&!this.containsEsc},pp.eatContextual=function(name){return!!this.isContextual(name)&&(this.next(),!0)},pp.expectContextual=function(name){this.eatContextual(name)||this.unexpected()},pp.canInsertSemicolon=function(){return this.type===types.eof||this.type===types.braceR||lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},pp.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},pp.semicolon=function(){this.eat(types.semi)||this.insertSemicolon()||this.unexpected()},pp.afterTrailingComma=function(tokType,notNext){if(this.type===tokType)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),notNext||this.next(),!0},pp.expect=function(type){this.eat(type)||this.unexpected()},pp.unexpected=function(pos){this.raise(null!=pos?pos:this.start,"Unexpected token")},pp.checkPatternErrors=function(refDestructuringErrors,isAssign){if(refDestructuringErrors){refDestructuringErrors.trailingComma>-1&&this.raiseRecoverable(refDestructuringErrors.trailingComma,"Comma is not permitted after the rest element");var parens=isAssign?refDestructuringErrors.parenthesizedAssign:refDestructuringErrors.parenthesizedBind;parens>-1&&this.raiseRecoverable(parens,"Parenthesized pattern")}},pp.checkExpressionErrors=function(refDestructuringErrors,andThrow){if(!refDestructuringErrors)return!1;var shorthandAssign=refDestructuringErrors.shorthandAssign,doubleProto=refDestructuringErrors.doubleProto;if(!andThrow)return shorthandAssign>=0||doubleProto>=0;shorthandAssign>=0&&this.raise(shorthandAssign,"Shorthand property assignments are valid only in destructuring patterns"),doubleProto>=0&&this.raiseRecoverable(doubleProto,"Redefinition of __proto__ property")},pp.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(node,!1,!context);case types._class:return context&&this.unexpected(),this.parseClass(node,!0);case types._if:return this.parseIfStatement(node);case types._return:return this.parseReturnStatement(node);case types._switch:return this.parseSwitchStatement(node);case types._throw:return this.parseThrowStatement(node);case types._try:return this.parseTryStatement(node);case types._const:case types._var:return kind=kind||this.value,context&&"var"!==kind&&this.unexpected(),this.parseVarStatement(node,kind);case types._while:return this.parseWhileStatement(node);case types._with:return this.parseWithStatement(node);case types.braceL:return this.parseBlock(!0,node);case types.semi:return this.parseEmptyStatement(node);case types._export:case types._import:if(this.options.ecmaVersion>10&&starttype===types._import){skipWhiteSpace.lastIndex=this.pos;var skip=skipWhiteSpace.exec(this.input),next=this.pos+skip[0].length,nextCh=this.input.charCodeAt(next);if(40===nextCh||46===nextCh)return this.parseExpressionStatement(node,this.parseExpression())}return this.options.allowImportExportEverywhere||(topLevel||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),starttype===types._import?this.parseImport(node):this.parseExport(node,exports);default:if(this.isAsyncFunction())return context&&this.unexpected(),this.next(),this.parseFunctionStatement(node,!0,!context);var maybeName=this.value,expr=this.parseExpression();return starttype===types.name&&"Identifier"===expr.type&&this.eat(types.colon)?this.parseLabeledStatement(node,maybeName,expr,context):this.parseExpressionStatement(node,expr)}},pp$1.parseBreakContinueStatement=function(node,keyword){var isBreak="break"===keyword;this.next(),this.eat(types.semi)||this.insertSemicolon()?node.label=null:this.type!==types.name?this.unexpected():(node.label=this.parseIdent(),this.semicolon());for(var i=0;i=6?this.eat(types.semi):this.semicolon(),this.finishNode(node,"DoWhileStatement")},pp$1.parseForStatement=function(node){this.next();var awaitAt=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(loopLabel),this.enterScope(0),this.expect(types.parenL),this.type===types.semi)return awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,null);var isLet=this.isLet();if(this.type===types._var||this.type===types._const||isLet){var init$1=this.startNode(),kind=isLet?"let":this.value;return this.next(),this.parseVar(init$1,!0,kind),this.finishNode(init$1,"VariableDeclaration"),(this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===init$1.declarations.length?(this.options.ecmaVersion>=9&&(this.type===types._in?awaitAt>-1&&this.unexpected(awaitAt):node.await=awaitAt>-1),this.parseForIn(node,init$1)):(awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,init$1))}var refDestructuringErrors=new DestructuringErrors,init=this.parseExpression(!0,refDestructuringErrors);return this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===types._in?awaitAt>-1&&this.unexpected(awaitAt):node.await=awaitAt>-1),this.toAssignable(init,!1,refDestructuringErrors),this.checkLVal(init),this.parseForIn(node,init)):(this.checkExpressionErrors(refDestructuringErrors,!0),awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,init))},pp$1.parseFunctionStatement=function(node,isAsync,declarationPosition){return this.next(),this.parseFunction(node,FUNC_STATEMENT|(declarationPosition?0:FUNC_HANGING_STATEMENT),!1,isAsync)},pp$1.parseIfStatement=function(node){return this.next(),node.test=this.parseParenExpression(),node.consequent=this.parseStatement("if"),node.alternate=this.eat(types._else)?this.parseStatement("if"):null,this.finishNode(node,"IfStatement")},pp$1.parseReturnStatement=function(node){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(types.semi)||this.insertSemicolon()?node.argument=null:(node.argument=this.parseExpression(),this.semicolon()),this.finishNode(node,"ReturnStatement")},pp$1.parseSwitchStatement=function(node){var cur;this.next(),node.discriminant=this.parseParenExpression(),node.cases=[],this.expect(types.braceL),this.labels.push(switchLabel),this.enterScope(0);for(var sawDefault=!1;this.type!==types.braceR;)if(this.type===types._case||this.type===types._default){var isCase=this.type===types._case;cur&&this.finishNode(cur,"SwitchCase"),node.cases.push(cur=this.startNode()),cur.consequent=[],this.next(),isCase?cur.test=this.parseExpression():(sawDefault&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),sawDefault=!0,cur.test=null),this.expect(types.colon)}else cur||this.unexpected(),cur.consequent.push(this.parseStatement(null));return this.exitScope(),cur&&this.finishNode(cur,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(node,"SwitchStatement")},pp$1.parseThrowStatement=function(node){return this.next(),lineBreak.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),node.argument=this.parseExpression(),this.semicolon(),this.finishNode(node,"ThrowStatement")};var empty=[];pp$1.parseTryStatement=function(node){if(this.next(),node.block=this.parseBlock(),node.handler=null,this.type===types._catch){var clause=this.startNode();if(this.next(),this.eat(types.parenL)){clause.param=this.parseBindingAtom();var simple="Identifier"===clause.param.type;this.enterScope(simple?32:0),this.checkLVal(clause.param,simple?4:2),this.expect(types.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),clause.param=null,this.enterScope(0);clause.body=this.parseBlock(!1),this.exitScope(),node.handler=this.finishNode(clause,"CatchClause")}return node.finalizer=this.eat(types._finally)?this.parseBlock():null,node.handler||node.finalizer||this.raise(node.start,"Missing catch or finally clause"),this.finishNode(node,"TryStatement")},pp$1.parseVarStatement=function(node,kind){return this.next(),this.parseVar(node,!1,kind),this.semicolon(),this.finishNode(node,"VariableDeclaration")},pp$1.parseWhileStatement=function(node){return this.next(),node.test=this.parseParenExpression(),this.labels.push(loopLabel),node.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(node,"WhileStatement")},pp$1.parseWithStatement=function(node){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),node.object=this.parseParenExpression(),node.body=this.parseStatement("with"),this.finishNode(node,"WithStatement")},pp$1.parseEmptyStatement=function(node){return this.next(),this.finishNode(node,"EmptyStatement")},pp$1.parseLabeledStatement=function(node,maybeName,expr,context){for(var i$1=0,list=this.labels;i$1=0;i--){var label$1=this.labels[i];if(label$1.statementStart!==node.start)break;label$1.statementStart=this.start,label$1.kind=kind}return this.labels.push({name:maybeName,kind,statementStart:this.start}),node.body=this.parseStatement(context?-1===context.indexOf("label")?context+"label":context:"label"),this.labels.pop(),node.label=expr,this.finishNode(node,"LabeledStatement")},pp$1.parseExpressionStatement=function(node,expr){return node.expression=expr,this.semicolon(),this.finishNode(node,"ExpressionStatement")},pp$1.parseBlock=function(createNewLexicalScope,node,exitStrict){for(void 0===createNewLexicalScope&&(createNewLexicalScope=!0),void 0===node&&(node=this.startNode()),node.body=[],this.expect(types.braceL),createNewLexicalScope&&this.enterScope(0);this.type!==types.braceR;){var stmt=this.parseStatement(null);node.body.push(stmt)}return exitStrict&&(this.strict=!1),this.next(),createNewLexicalScope&&this.exitScope(),this.finishNode(node,"BlockStatement")},pp$1.parseFor=function(node,init){return node.init=init,this.expect(types.semi),node.test=this.type===types.semi?null:this.parseExpression(),this.expect(types.semi),node.update=this.type===types.parenR?null:this.parseExpression(),this.expect(types.parenR),node.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(node,"ForStatement")},pp$1.parseForIn=function(node,init){var isForIn=this.type===types._in;return this.next(),"VariableDeclaration"===init.type&&null!=init.declarations[0].init&&(!isForIn||this.options.ecmaVersion<8||this.strict||"var"!==init.kind||"Identifier"!==init.declarations[0].id.type)?this.raise(init.start,(isForIn?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===init.type&&this.raise(init.start,"Invalid left-hand side in for-loop"),node.left=init,node.right=isForIn?this.parseExpression():this.parseMaybeAssign(),this.expect(types.parenR),node.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(node,isForIn?"ForInStatement":"ForOfStatement")},pp$1.parseVar=function(node,isFor,kind){for(node.declarations=[],node.kind=kind;;){var decl=this.startNode();if(this.parseVarId(decl,kind),this.eat(types.eq)?decl.init=this.parseMaybeAssign(isFor):"const"!==kind||this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===decl.id.type||isFor&&(this.type===types._in||this.isContextual("of"))?decl.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),node.declarations.push(this.finishNode(decl,"VariableDeclarator")),!this.eat(types.comma))break}return node},pp$1.parseVarId=function(decl,kind){decl.id=this.parseBindingAtom(),this.checkLVal(decl.id,"var"===kind?1:2,!1)};var FUNC_STATEMENT=1,FUNC_HANGING_STATEMENT=2;pp$1.parseFunction=function(node,statement,allowExpressionBody,isAsync){this.initFunction(node),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!isAsync)&&(this.type===types.star&&statement&FUNC_HANGING_STATEMENT&&this.unexpected(),node.generator=this.eat(types.star)),this.options.ecmaVersion>=8&&(node.async=!!isAsync),statement&FUNC_STATEMENT&&(node.id=4&statement&&this.type!==types.name?null:this.parseIdent(),!node.id||statement&FUNC_HANGING_STATEMENT||this.checkLVal(node.id,this.strict||node.generator||node.async?this.treatFunctionsAsVar?1:2:3));var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(node.async,node.generator)),statement&FUNC_STATEMENT||(node.id=this.type===types.name?this.parseIdent():null),this.parseFunctionParams(node),this.parseFunctionBody(node,allowExpressionBody,!1),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,statement&FUNC_STATEMENT?"FunctionDeclaration":"FunctionExpression")},pp$1.parseFunctionParams=function(node){this.expect(types.parenL),node.params=this.parseBindingList(types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},pp$1.parseClass=function(node,isStatement){this.next();var oldStrict=this.strict;this.strict=!0,this.parseClassId(node,isStatement),this.parseClassSuper(node);var classBody=this.startNode(),hadConstructor=!1;for(classBody.body=[],this.expect(types.braceL);this.type!==types.braceR;){var element=this.parseClassElement(null!==node.superClass);element&&(classBody.body.push(element),"MethodDefinition"===element.type&&"constructor"===element.kind&&(hadConstructor&&this.raise(element.start,"Duplicate constructor in the same class"),hadConstructor=!0))}return this.strict=oldStrict,this.next(),node.body=this.finishNode(classBody,"ClassBody"),this.finishNode(node,isStatement?"ClassDeclaration":"ClassExpression")},pp$1.parseClassElement=function(constructorAllowsSuper){var this$1=this;if(this.eat(types.semi))return null;var method=this.startNode(),tryContextual=function(k,noLineBreak){void 0===noLineBreak&&(noLineBreak=!1);var start=this$1.start,startLoc=this$1.startLoc;return!!this$1.eatContextual(k)&&(!(this$1.type===types.parenL||noLineBreak&&this$1.canInsertSemicolon())||(method.key&&this$1.unexpected(),method.computed=!1,method.key=this$1.startNodeAt(start,startLoc),method.key.name=k,this$1.finishNode(method.key,"Identifier"),!1))};method.kind="method",method.static=tryContextual("static");var isGenerator=this.eat(types.star),isAsync=!1;isGenerator||(this.options.ecmaVersion>=8&&tryContextual("async",!0)?(isAsync=!0,isGenerator=this.options.ecmaVersion>=9&&this.eat(types.star)):tryContextual("get")?method.kind="get":tryContextual("set")&&(method.kind="set")),method.key||this.parsePropertyName(method);var key=method.key,allowsDirectSuper=!1;return method.computed||method.static||!("Identifier"===key.type&&"constructor"===key.name||"Literal"===key.type&&"constructor"===key.value)?method.static&&"Identifier"===key.type&&"prototype"===key.name&&this.raise(key.start,"Classes may not have a static property named prototype"):("method"!==method.kind&&this.raise(key.start,"Constructor can't have get/set modifier"),isGenerator&&this.raise(key.start,"Constructor can't be a generator"),isAsync&&this.raise(key.start,"Constructor can't be an async method"),method.kind="constructor",allowsDirectSuper=constructorAllowsSuper),this.parseClassMethod(method,isGenerator,isAsync,allowsDirectSuper),"get"===method.kind&&0!==method.value.params.length&&this.raiseRecoverable(method.value.start,"getter should have no params"),"set"===method.kind&&1!==method.value.params.length&&this.raiseRecoverable(method.value.start,"setter should have exactly one param"),"set"===method.kind&&"RestElement"===method.value.params[0].type&&this.raiseRecoverable(method.value.params[0].start,"Setter cannot use rest params"),method},pp$1.parseClassMethod=function(method,isGenerator,isAsync,allowsDirectSuper){return method.value=this.parseMethod(isGenerator,isAsync,allowsDirectSuper),this.finishNode(method,"MethodDefinition")},pp$1.parseClassId=function(node,isStatement){this.type===types.name?(node.id=this.parseIdent(),isStatement&&this.checkLVal(node.id,2,!1)):(!0===isStatement&&this.unexpected(),node.id=null)},pp$1.parseClassSuper=function(node){node.superClass=this.eat(types._extends)?this.parseExprSubscripts():null},pp$1.parseExport=function(node,exports){if(this.next(),this.eat(types.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(node.exported=this.parseIdent(!0),this.checkExport(exports,node.exported.name,this.lastTokStart)):node.exported=null),this.expectContextual("from"),this.type!==types.string&&this.unexpected(),node.source=this.parseExprAtom(),this.semicolon(),this.finishNode(node,"ExportAllDeclaration");if(this.eat(types._default)){var isAsync;if(this.checkExport(exports,"default",this.lastTokStart),this.type===types._function||(isAsync=this.isAsyncFunction())){var fNode=this.startNode();this.next(),isAsync&&this.next(),node.declaration=this.parseFunction(fNode,4|FUNC_STATEMENT,!1,isAsync)}else if(this.type===types._class){var cNode=this.startNode();node.declaration=this.parseClass(cNode,"nullableID")}else node.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(node,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())node.declaration=this.parseStatement(null),"VariableDeclaration"===node.declaration.type?this.checkVariableExport(exports,node.declaration.declarations):this.checkExport(exports,node.declaration.id.name,node.declaration.id.start),node.specifiers=[],node.source=null;else{if(node.declaration=null,node.specifiers=this.parseExportSpecifiers(exports),this.eatContextual("from"))this.type!==types.string&&this.unexpected(),node.source=this.parseExprAtom();else{for(var i=0,list=node.specifiers;i=6&&node)switch(node.type){case"Identifier":this.inAsync&&"await"===node.name&&this.raise(node.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":node.type="ObjectPattern",refDestructuringErrors&&this.checkPatternErrors(refDestructuringErrors,!0);for(var i=0,list=node.properties;i=8&&!containsEsc&&"async"===id.name&&!this.canInsertSemicolon()&&this.eat(types._function))return this.parseFunction(this.startNodeAt(startPos,startLoc),0,!1,!0);if(canBeArrow&&!this.canInsertSemicolon()){if(this.eat(types.arrow))return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],!1);if(this.options.ecmaVersion>=8&&"async"===id.name&&this.type===types.name&&!containsEsc)return id=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(types.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],!0)}return id;case types.regexp:var value=this.value;return(node=this.parseLiteral(value.value)).regex={pattern:value.pattern,flags:value.flags},node;case types.num:case types.string:return this.parseLiteral(this.value);case types._null:case types._true:case types._false:return(node=this.startNode()).value=this.type===types._null?null:this.type===types._true,node.raw=this.type.keyword,this.next(),this.finishNode(node,"Literal");case types.parenL:var start=this.start,expr=this.parseParenAndDistinguishExpression(canBeArrow);return refDestructuringErrors&&(refDestructuringErrors.parenthesizedAssign<0&&!this.isSimpleAssignTarget(expr)&&(refDestructuringErrors.parenthesizedAssign=start),refDestructuringErrors.parenthesizedBind<0&&(refDestructuringErrors.parenthesizedBind=start)),expr;case types.bracketL:return node=this.startNode(),this.next(),node.elements=this.parseExprList(types.bracketR,!0,!0,refDestructuringErrors),this.finishNode(node,"ArrayExpression");case types.braceL:return this.parseObj(!1,refDestructuringErrors);case types._function:return node=this.startNode(),this.next(),this.parseFunction(node,0);case types._class:return this.parseClass(this.startNode(),!1);case types._new:return this.parseNew();case types.backQuote:return this.parseTemplate();case types._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},pp$3.parseExprImport=function(){var node=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var meta=this.parseIdent(!0);switch(this.type){case types.parenL:return this.parseDynamicImport(node);case types.dot:return node.meta=meta,this.parseImportMeta(node);default:this.unexpected()}},pp$3.parseDynamicImport=function(node){if(this.next(),node.source=this.parseMaybeAssign(),!this.eat(types.parenR)){var errorPos=this.start;this.eat(types.comma)&&this.eat(types.parenR)?this.raiseRecoverable(errorPos,"Trailing comma is not allowed in import()"):this.unexpected(errorPos)}return this.finishNode(node,"ImportExpression")},pp$3.parseImportMeta=function(node){this.next();var containsEsc=this.containsEsc;return node.property=this.parseIdent(!0),"meta"!==node.property.name&&this.raiseRecoverable(node.property.start,"The only valid meta property for import is 'import.meta'"),containsEsc&&this.raiseRecoverable(node.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&this.raiseRecoverable(node.start,"Cannot use 'import.meta' outside a module"),this.finishNode(node,"MetaProperty")},pp$3.parseLiteral=function(value){var node=this.startNode();return node.value=value,node.raw=this.input.slice(this.start,this.end),110===node.raw.charCodeAt(node.raw.length-1)&&(node.bigint=node.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(node,"Literal")},pp$3.parseParenExpression=function(){this.expect(types.parenL);var val=this.parseExpression();return this.expect(types.parenR),val},pp$3.parseParenAndDistinguishExpression=function(canBeArrow){var val,startPos=this.start,startLoc=this.startLoc,allowTrailingComma=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var spreadStart,innerStartPos=this.start,innerStartLoc=this.startLoc,exprList=[],first=!0,lastIsComma=!1,refDestructuringErrors=new DestructuringErrors,oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==types.parenR;){if(first?first=!1:this.expect(types.comma),allowTrailingComma&&this.afterTrailingComma(types.parenR,!0)){lastIsComma=!0;break}if(this.type===types.ellipsis){spreadStart=this.start,exprList.push(this.parseParenItem(this.parseRestBinding())),this.type===types.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}exprList.push(this.parseMaybeAssign(!1,refDestructuringErrors,this.parseParenItem))}var innerEndPos=this.start,innerEndLoc=this.startLoc;if(this.expect(types.parenR),canBeArrow&&!this.canInsertSemicolon()&&this.eat(types.arrow))return this.checkPatternErrors(refDestructuringErrors,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.parseParenArrowList(startPos,startLoc,exprList);exprList.length&&!lastIsComma||this.unexpected(this.lastTokStart),spreadStart&&this.unexpected(spreadStart),this.checkExpressionErrors(refDestructuringErrors,!0),this.yieldPos=oldYieldPos||this.yieldPos,this.awaitPos=oldAwaitPos||this.awaitPos,exprList.length>1?((val=this.startNodeAt(innerStartPos,innerStartLoc)).expressions=exprList,this.finishNodeAt(val,"SequenceExpression",innerEndPos,innerEndLoc)):val=exprList[0]}else val=this.parseParenExpression();if(this.options.preserveParens){var par=this.startNodeAt(startPos,startLoc);return par.expression=val,this.finishNode(par,"ParenthesizedExpression")}return val},pp$3.parseParenItem=function(item){return item},pp$3.parseParenArrowList=function(startPos,startLoc,exprList){return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),exprList)};var empty$1=[];pp$3.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var node=this.startNode(),meta=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(types.dot)){node.meta=meta;var containsEsc=this.containsEsc;return node.property=this.parseIdent(!0),"target"!==node.property.name&&this.raiseRecoverable(node.property.start,"The only valid meta property for new is 'new.target'"),containsEsc&&this.raiseRecoverable(node.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(node.start,"'new.target' can only be used in functions"),this.finishNode(node,"MetaProperty")}var startPos=this.start,startLoc=this.startLoc,isImport=this.type===types._import;return node.callee=this.parseSubscripts(this.parseExprAtom(),startPos,startLoc,!0),isImport&&"ImportExpression"===node.callee.type&&this.raise(startPos,"Cannot use new with import()"),this.eat(types.parenL)?node.arguments=this.parseExprList(types.parenR,this.options.ecmaVersion>=8,!1):node.arguments=empty$1,this.finishNode(node,"NewExpression")},pp$3.parseTemplateElement=function(ref){var isTagged=ref.isTagged,elem=this.startNode();return this.type===types.invalidTemplate?(isTagged||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),elem.value={raw:this.value,cooked:null}):elem.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),elem.tail=this.type===types.backQuote,this.finishNode(elem,"TemplateElement")},pp$3.parseTemplate=function(ref){void 0===ref&&(ref={});var isTagged=ref.isTagged;void 0===isTagged&&(isTagged=!1);var node=this.startNode();this.next(),node.expressions=[];var curElt=this.parseTemplateElement({isTagged});for(node.quasis=[curElt];!curElt.tail;)this.type===types.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(types.dollarBraceL),node.expressions.push(this.parseExpression()),this.expect(types.braceR),node.quasis.push(curElt=this.parseTemplateElement({isTagged}));return this.next(),this.finishNode(node,"TemplateLiteral")},pp$3.isAsyncProp=function(prop){return!prop.computed&&"Identifier"===prop.key.type&&"async"===prop.key.name&&(this.type===types.name||this.type===types.num||this.type===types.string||this.type===types.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===types.star)&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},pp$3.parseObj=function(isPattern,refDestructuringErrors){var node=this.startNode(),first=!0,propHash={};for(node.properties=[],this.next();!this.eat(types.braceR);){if(first)first=!1;else if(this.expect(types.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(types.braceR))break;var prop=this.parseProperty(isPattern,refDestructuringErrors);isPattern||this.checkPropClash(prop,propHash,refDestructuringErrors),node.properties.push(prop)}return this.finishNode(node,isPattern?"ObjectPattern":"ObjectExpression")},pp$3.parseProperty=function(isPattern,refDestructuringErrors){var isGenerator,isAsync,startPos,startLoc,prop=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(types.ellipsis))return isPattern?(prop.argument=this.parseIdent(!1),this.type===types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(prop,"RestElement")):(this.type===types.parenL&&refDestructuringErrors&&(refDestructuringErrors.parenthesizedAssign<0&&(refDestructuringErrors.parenthesizedAssign=this.start),refDestructuringErrors.parenthesizedBind<0&&(refDestructuringErrors.parenthesizedBind=this.start)),prop.argument=this.parseMaybeAssign(!1,refDestructuringErrors),this.type===types.comma&&refDestructuringErrors&&refDestructuringErrors.trailingComma<0&&(refDestructuringErrors.trailingComma=this.start),this.finishNode(prop,"SpreadElement"));this.options.ecmaVersion>=6&&(prop.method=!1,prop.shorthand=!1,(isPattern||refDestructuringErrors)&&(startPos=this.start,startLoc=this.startLoc),isPattern||(isGenerator=this.eat(types.star)));var containsEsc=this.containsEsc;return this.parsePropertyName(prop),!isPattern&&!containsEsc&&this.options.ecmaVersion>=8&&!isGenerator&&this.isAsyncProp(prop)?(isAsync=!0,isGenerator=this.options.ecmaVersion>=9&&this.eat(types.star),this.parsePropertyName(prop,refDestructuringErrors)):isAsync=!1,this.parsePropertyValue(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc),this.finishNode(prop,"Property")},pp$3.parsePropertyValue=function(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc){if((isGenerator||isAsync)&&this.type===types.colon&&this.unexpected(),this.eat(types.colon))prop.value=isPattern?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,refDestructuringErrors),prop.kind="init";else if(this.options.ecmaVersion>=6&&this.type===types.parenL)isPattern&&this.unexpected(),prop.kind="init",prop.method=!0,prop.value=this.parseMethod(isGenerator,isAsync);else if(isPattern||containsEsc||!(this.options.ecmaVersion>=5)||prop.computed||"Identifier"!==prop.key.type||"get"!==prop.key.name&&"set"!==prop.key.name||this.type===types.comma||this.type===types.braceR||this.type===types.eq)this.options.ecmaVersion>=6&&!prop.computed&&"Identifier"===prop.key.type?((isGenerator||isAsync)&&this.unexpected(),this.checkUnreserved(prop.key),"await"!==prop.key.name||this.awaitIdentPos||(this.awaitIdentPos=startPos),prop.kind="init",isPattern?prop.value=this.parseMaybeDefault(startPos,startLoc,prop.key):this.type===types.eq&&refDestructuringErrors?(refDestructuringErrors.shorthandAssign<0&&(refDestructuringErrors.shorthandAssign=this.start),prop.value=this.parseMaybeDefault(startPos,startLoc,prop.key)):prop.value=prop.key,prop.shorthand=!0):this.unexpected();else{(isGenerator||isAsync)&&this.unexpected(),prop.kind=prop.key.name,this.parsePropertyName(prop),prop.value=this.parseMethod(!1);var paramCount="get"===prop.kind?0:1;if(prop.value.params.length!==paramCount){var start=prop.value.start;"get"===prop.kind?this.raiseRecoverable(start,"getter should have no params"):this.raiseRecoverable(start,"setter should have exactly one param")}else"set"===prop.kind&&"RestElement"===prop.value.params[0].type&&this.raiseRecoverable(prop.value.params[0].start,"Setter cannot use rest params")}},pp$3.parsePropertyName=function(prop){if(this.options.ecmaVersion>=6){if(this.eat(types.bracketL))return prop.computed=!0,prop.key=this.parseMaybeAssign(),this.expect(types.bracketR),prop.key;prop.computed=!1}return prop.key=this.type===types.num||this.type===types.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},pp$3.initFunction=function(node){node.id=null,this.options.ecmaVersion>=6&&(node.generator=node.expression=!1),this.options.ecmaVersion>=8&&(node.async=!1)},pp$3.parseMethod=function(isGenerator,isAsync,allowDirectSuper){var node=this.startNode(),oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.initFunction(node),this.options.ecmaVersion>=6&&(node.generator=isGenerator),this.options.ecmaVersion>=8&&(node.async=!!isAsync),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|functionFlags(isAsync,node.generator)|(allowDirectSuper?128:0)),this.expect(types.parenL),node.params=this.parseBindingList(types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(node,!1,!0),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,"FunctionExpression")},pp$3.parseArrowExpression=function(node,params,isAsync){var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.enterScope(16|functionFlags(isAsync,!1)),this.initFunction(node),this.options.ecmaVersion>=8&&(node.async=!!isAsync),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,node.params=this.toAssignableList(params,!0),this.parseFunctionBody(node,!0,!1),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,"ArrowFunctionExpression")},pp$3.parseFunctionBody=function(node,isArrowFunction,isMethod){var isExpression=isArrowFunction&&this.type!==types.braceL,oldStrict=this.strict,useStrict=!1;if(isExpression)node.body=this.parseMaybeAssign(),node.expression=!0,this.checkParams(node,!1);else{var nonSimple=this.options.ecmaVersion>=7&&!this.isSimpleParamList(node.params);oldStrict&&!nonSimple||(useStrict=this.strictDirective(this.end))&&nonSimple&&this.raiseRecoverable(node.start,"Illegal 'use strict' directive in function with non-simple parameter list");var oldLabels=this.labels;this.labels=[],useStrict&&(this.strict=!0),this.checkParams(node,!oldStrict&&!useStrict&&!isArrowFunction&&!isMethod&&this.isSimpleParamList(node.params)),this.strict&&node.id&&this.checkLVal(node.id,5),node.body=this.parseBlock(!1,void 0,useStrict&&!oldStrict),node.expression=!1,this.adaptDirectivePrologue(node.body.body),this.labels=oldLabels}this.exitScope()},pp$3.isSimpleParamList=function(params){for(var i=0,list=params;i-1||scope.functions.indexOf(name)>-1||scope.var.indexOf(name)>-1,scope.lexical.push(name),this.inModule&&1&scope.flags&&delete this.undefinedExports[name]}else if(4===bindingType){this.currentScope().lexical.push(name)}else if(3===bindingType){var scope$2=this.currentScope();redeclared=this.treatFunctionsAsVar?scope$2.lexical.indexOf(name)>-1:scope$2.lexical.indexOf(name)>-1||scope$2.var.indexOf(name)>-1,scope$2.functions.push(name)}else for(var i=this.scopeStack.length-1;i>=0;--i){var scope$3=this.scopeStack[i];if(scope$3.lexical.indexOf(name)>-1&&!(32&scope$3.flags&&scope$3.lexical[0]===name)||!this.treatFunctionsAsVarInScope(scope$3)&&scope$3.functions.indexOf(name)>-1){redeclared=!0;break}if(scope$3.var.push(name),this.inModule&&1&scope$3.flags&&delete this.undefinedExports[name],3&scope$3.flags)break}redeclared&&this.raiseRecoverable(pos,"Identifier '"+name+"' has already been declared")},pp$5.checkLocalExport=function(id){-1===this.scopeStack[0].lexical.indexOf(id.name)&&-1===this.scopeStack[0].var.indexOf(id.name)&&(this.undefinedExports[id.name]=id)},pp$5.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},pp$5.currentVarScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(3&scope.flags)return scope}},pp$5.currentThisScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(3&scope.flags&&!(16&scope.flags))return scope}};var Node=function Node(parser,pos,loc){this.type="",this.start=pos,this.end=0,parser.options.locations&&(this.loc=new SourceLocation(parser,loc)),parser.options.directSourceFile&&(this.sourceFile=parser.options.directSourceFile),parser.options.ranges&&(this.range=[pos,0])},pp$6=Parser.prototype;function finishNodeAt(node,type,pos,loc){return node.type=type,node.end=pos,this.options.locations&&(node.loc.end=loc),this.options.ranges&&(node.range[1]=pos),node}pp$6.startNode=function(){return new Node(this,this.start,this.startLoc)},pp$6.startNodeAt=function(pos,loc){return new Node(this,pos,loc)},pp$6.finishNode=function(node,type){return finishNodeAt.call(this,node,type,this.lastTokEnd,this.lastTokEndLoc)},pp$6.finishNodeAt=function(node,type,pos,loc){return finishNodeAt.call(this,node,type,pos,loc)};var TokContext=function TokContext(token,isExpr,preserveSpace,override,generator){this.token=token,this.isExpr=!!isExpr,this.preserveSpace=!!preserveSpace,this.override=override,this.generator=!!generator},types$1={b_stat:new TokContext("{",!1),b_expr:new TokContext("{",!0),b_tmpl:new TokContext("${",!1),p_stat:new TokContext("(",!1),p_expr:new TokContext("(",!0),q_tmpl:new TokContext("`",!0,!0,(function(p){return p.tryReadTemplateToken()})),f_stat:new TokContext("function",!1),f_expr:new TokContext("function",!0),f_expr_gen:new TokContext("function",!0,!1,null,!0),f_gen:new TokContext("function",!1,!1,null,!0)},pp$7=Parser.prototype;pp$7.initialContext=function(){return[types$1.b_stat]},pp$7.braceIsBlock=function(prevType){var parent=this.curContext();return parent===types$1.f_expr||parent===types$1.f_stat||(prevType!==types.colon||parent!==types$1.b_stat&&parent!==types$1.b_expr?prevType===types._return||prevType===types.name&&this.exprAllowed?lineBreak.test(this.input.slice(this.lastTokEnd,this.start)):prevType===types._else||prevType===types.semi||prevType===types.eof||prevType===types.parenR||prevType===types.arrow||(prevType===types.braceL?parent===types$1.b_stat:prevType!==types._var&&prevType!==types._const&&prevType!==types.name&&!this.exprAllowed):!parent.isExpr)},pp$7.inGeneratorContext=function(){for(var i=this.context.length-1;i>=1;i--){var context=this.context[i];if("function"===context.token)return context.generator}return!1},pp$7.updateContext=function(prevType){var update,type=this.type;type.keyword&&prevType===types.dot?this.exprAllowed=!1:(update=type.updateContext)?update.call(this,prevType):this.exprAllowed=type.beforeExpr},types.parenR.updateContext=types.braceR.updateContext=function(){if(1!==this.context.length){var out=this.context.pop();out===types$1.b_stat&&"function"===this.curContext().token&&(out=this.context.pop()),this.exprAllowed=!out.isExpr}else this.exprAllowed=!0},types.braceL.updateContext=function(prevType){this.context.push(this.braceIsBlock(prevType)?types$1.b_stat:types$1.b_expr),this.exprAllowed=!0},types.dollarBraceL.updateContext=function(){this.context.push(types$1.b_tmpl),this.exprAllowed=!0},types.parenL.updateContext=function(prevType){var statementParens=prevType===types._if||prevType===types._for||prevType===types._with||prevType===types._while;this.context.push(statementParens?types$1.p_stat:types$1.p_expr),this.exprAllowed=!0},types.incDec.updateContext=function(){},types._function.updateContext=types._class.updateContext=function(prevType){!prevType.beforeExpr||prevType===types.semi||prevType===types._else||prevType===types._return&&lineBreak.test(this.input.slice(this.lastTokEnd,this.start))||(prevType===types.colon||prevType===types.braceL)&&this.curContext()===types$1.b_stat?this.context.push(types$1.f_stat):this.context.push(types$1.f_expr),this.exprAllowed=!1},types.backQuote.updateContext=function(){this.curContext()===types$1.q_tmpl?this.context.pop():this.context.push(types$1.q_tmpl),this.exprAllowed=!1},types.star.updateContext=function(prevType){if(prevType===types._function){var index=this.context.length-1;this.context[index]===types$1.f_expr?this.context[index]=types$1.f_expr_gen:this.context[index]=types$1.f_gen}this.exprAllowed=!0},types.name.updateContext=function(prevType){var allowed=!1;this.options.ecmaVersion>=6&&prevType!==types.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(allowed=!0),this.exprAllowed=allowed};var ecma9BinaryProperties="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ecma10BinaryProperties=ecma9BinaryProperties+" Extended_Pictographic",unicodeBinaryProperties={9:ecma9BinaryProperties,10:ecma10BinaryProperties,11:ecma10BinaryProperties},unicodeGeneralCategoryValues="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",ecma9ScriptValues="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ecma10ScriptValues=ecma9ScriptValues+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",unicodeScriptValues={9:ecma9ScriptValues,10:ecma10ScriptValues,11:ecma10ScriptValues+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho"},data={};function buildUnicodeData(ecmaVersion){var d=data[ecmaVersion]={binary:wordsRegexp(unicodeBinaryProperties[ecmaVersion]+" "+unicodeGeneralCategoryValues),nonBinary:{General_Category:wordsRegexp(unicodeGeneralCategoryValues),Script:wordsRegexp(unicodeScriptValues[ecmaVersion])}};d.nonBinary.Script_Extensions=d.nonBinary.Script,d.nonBinary.gc=d.nonBinary.General_Category,d.nonBinary.sc=d.nonBinary.Script,d.nonBinary.scx=d.nonBinary.Script_Extensions}buildUnicodeData(9),buildUnicodeData(10),buildUnicodeData(11);var pp$8=Parser.prototype,RegExpValidationState=function RegExpValidationState(parser){this.parser=parser,this.validFlags="gim"+(parser.options.ecmaVersion>=6?"uy":"")+(parser.options.ecmaVersion>=9?"s":""),this.unicodeProperties=data[parser.options.ecmaVersion>=11?11:parser.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString(ch){return ch<=65535?String.fromCharCode(ch):(ch-=65536,String.fromCharCode(55296+(ch>>10),56320+(1023&ch)))}function isSyntaxCharacter(ch){return 36===ch||ch>=40&&ch<=43||46===ch||63===ch||ch>=91&&ch<=94||ch>=123&&ch<=125}function isControlLetter(ch){return ch>=65&&ch<=90||ch>=97&&ch<=122}function isUnicodePropertyNameCharacter(ch){return isControlLetter(ch)||95===ch}function isUnicodePropertyValueCharacter(ch){return isUnicodePropertyNameCharacter(ch)||isDecimalDigit(ch)}function isDecimalDigit(ch){return ch>=48&&ch<=57}function isHexDigit(ch){return ch>=48&&ch<=57||ch>=65&&ch<=70||ch>=97&&ch<=102}function hexToInt(ch){return ch>=65&&ch<=70?ch-65+10:ch>=97&&ch<=102?ch-97+10:ch-48}function isOctalDigit(ch){return ch>=48&&ch<=55}RegExpValidationState.prototype.reset=function reset(start,pattern,flags){var unicode=-1!==flags.indexOf("u");this.start=0|start,this.source=pattern+"",this.flags=flags,this.switchU=unicode&&this.parser.options.ecmaVersion>=6,this.switchN=unicode&&this.parser.options.ecmaVersion>=9},RegExpValidationState.prototype.raise=function raise(message){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+message)},RegExpValidationState.prototype.at=function at(i,forceU){void 0===forceU&&(forceU=!1);var s=this.source,l=s.length;if(i>=l)return-1;var c=s.charCodeAt(i);if(!forceU&&!this.switchU||c<=55295||c>=57344||i+1>=l)return c;var next=s.charCodeAt(i+1);return next>=56320&&next<=57343?(c<<10)+next-56613888:c},RegExpValidationState.prototype.nextIndex=function nextIndex(i,forceU){void 0===forceU&&(forceU=!1);var s=this.source,l=s.length;if(i>=l)return l;var next,c=s.charCodeAt(i);return!forceU&&!this.switchU||c<=55295||c>=57344||i+1>=l||(next=s.charCodeAt(i+1))<56320||next>57343?i+1:i+2},RegExpValidationState.prototype.current=function current(forceU){return void 0===forceU&&(forceU=!1),this.at(this.pos,forceU)},RegExpValidationState.prototype.lookahead=function lookahead(forceU){return void 0===forceU&&(forceU=!1),this.at(this.nextIndex(this.pos,forceU),forceU)},RegExpValidationState.prototype.advance=function advance(forceU){void 0===forceU&&(forceU=!1),this.pos=this.nextIndex(this.pos,forceU)},RegExpValidationState.prototype.eat=function eat(ch,forceU){return void 0===forceU&&(forceU=!1),this.current(forceU)===ch&&(this.advance(forceU),!0)},pp$8.validateRegExpFlags=function(state){for(var validFlags=state.validFlags,flags=state.flags,i=0;i-1&&this.raise(state.start,"Duplicate regular expression flag")}},pp$8.validateRegExpPattern=function(state){this.regexp_pattern(state),!state.switchN&&this.options.ecmaVersion>=9&&state.groupNames.length>0&&(state.switchN=!0,this.regexp_pattern(state))},pp$8.regexp_pattern=function(state){state.pos=0,state.lastIntValue=0,state.lastStringValue="",state.lastAssertionIsQuantifiable=!1,state.numCapturingParens=0,state.maxBackReference=0,state.groupNames.length=0,state.backReferenceNames.length=0,this.regexp_disjunction(state),state.pos!==state.source.length&&(state.eat(41)&&state.raise("Unmatched ')'"),(state.eat(93)||state.eat(125))&&state.raise("Lone quantifier brackets")),state.maxBackReference>state.numCapturingParens&&state.raise("Invalid escape");for(var i=0,list=state.backReferenceNames;i=9&&(lookbehind=state.eat(60)),state.eat(61)||state.eat(33))return this.regexp_disjunction(state),state.eat(41)||state.raise("Unterminated group"),state.lastAssertionIsQuantifiable=!lookbehind,!0}return state.pos=start,!1},pp$8.regexp_eatQuantifier=function(state,noError){return void 0===noError&&(noError=!1),!!this.regexp_eatQuantifierPrefix(state,noError)&&(state.eat(63),!0)},pp$8.regexp_eatQuantifierPrefix=function(state,noError){return state.eat(42)||state.eat(43)||state.eat(63)||this.regexp_eatBracedQuantifier(state,noError)},pp$8.regexp_eatBracedQuantifier=function(state,noError){var start=state.pos;if(state.eat(123)){var min=0,max=-1;if(this.regexp_eatDecimalDigits(state)&&(min=state.lastIntValue,state.eat(44)&&this.regexp_eatDecimalDigits(state)&&(max=state.lastIntValue),state.eat(125)))return-1!==max&&max=9?this.regexp_groupSpecifier(state):63===state.current()&&state.raise("Invalid group"),this.regexp_disjunction(state),state.eat(41))return state.numCapturingParens+=1,!0;state.raise("Unterminated group")}return!1},pp$8.regexp_eatExtendedAtom=function(state){return state.eat(46)||this.regexp_eatReverseSolidusAtomEscape(state)||this.regexp_eatCharacterClass(state)||this.regexp_eatUncapturingGroup(state)||this.regexp_eatCapturingGroup(state)||this.regexp_eatInvalidBracedQuantifier(state)||this.regexp_eatExtendedPatternCharacter(state)},pp$8.regexp_eatInvalidBracedQuantifier=function(state){return this.regexp_eatBracedQuantifier(state,!0)&&state.raise("Nothing to repeat"),!1},pp$8.regexp_eatSyntaxCharacter=function(state){var ch=state.current();return!!isSyntaxCharacter(ch)&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatPatternCharacters=function(state){for(var start=state.pos,ch=0;-1!==(ch=state.current())&&!isSyntaxCharacter(ch);)state.advance();return state.pos!==start},pp$8.regexp_eatExtendedPatternCharacter=function(state){var ch=state.current();return!(-1===ch||36===ch||ch>=40&&ch<=43||46===ch||63===ch||91===ch||94===ch||124===ch)&&(state.advance(),!0)},pp$8.regexp_groupSpecifier=function(state){if(state.eat(63)){if(this.regexp_eatGroupName(state))return-1!==state.groupNames.indexOf(state.lastStringValue)&&state.raise("Duplicate capture group name"),void state.groupNames.push(state.lastStringValue);state.raise("Invalid group")}},pp$8.regexp_eatGroupName=function(state){if(state.lastStringValue="",state.eat(60)){if(this.regexp_eatRegExpIdentifierName(state)&&state.eat(62))return!0;state.raise("Invalid capture group name")}return!1},pp$8.regexp_eatRegExpIdentifierName=function(state){if(state.lastStringValue="",this.regexp_eatRegExpIdentifierStart(state)){for(state.lastStringValue+=codePointToString(state.lastIntValue);this.regexp_eatRegExpIdentifierPart(state);)state.lastStringValue+=codePointToString(state.lastIntValue);return!0}return!1},pp$8.regexp_eatRegExpIdentifierStart=function(state){var start=state.pos,forceU=this.options.ecmaVersion>=11,ch=state.current(forceU);return state.advance(forceU),92===ch&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)&&(ch=state.lastIntValue),function isRegExpIdentifierStart(ch){return isIdentifierStart(ch,!0)||36===ch||95===ch}(ch)?(state.lastIntValue=ch,!0):(state.pos=start,!1)},pp$8.regexp_eatRegExpIdentifierPart=function(state){var start=state.pos,forceU=this.options.ecmaVersion>=11,ch=state.current(forceU);return state.advance(forceU),92===ch&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)&&(ch=state.lastIntValue),function isRegExpIdentifierPart(ch){return isIdentifierChar(ch,!0)||36===ch||95===ch||8204===ch||8205===ch}(ch)?(state.lastIntValue=ch,!0):(state.pos=start,!1)},pp$8.regexp_eatAtomEscape=function(state){return!!(this.regexp_eatBackReference(state)||this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)||state.switchN&&this.regexp_eatKGroupName(state))||(state.switchU&&(99===state.current()&&state.raise("Invalid unicode escape"),state.raise("Invalid escape")),!1)},pp$8.regexp_eatBackReference=function(state){var start=state.pos;if(this.regexp_eatDecimalEscape(state)){var n=state.lastIntValue;if(state.switchU)return n>state.maxBackReference&&(state.maxBackReference=n),!0;if(n<=state.numCapturingParens)return!0;state.pos=start}return!1},pp$8.regexp_eatKGroupName=function(state){if(state.eat(107)){if(this.regexp_eatGroupName(state))return state.backReferenceNames.push(state.lastStringValue),!0;state.raise("Invalid named reference")}return!1},pp$8.regexp_eatCharacterEscape=function(state){return this.regexp_eatControlEscape(state)||this.regexp_eatCControlLetter(state)||this.regexp_eatZero(state)||this.regexp_eatHexEscapeSequence(state)||this.regexp_eatRegExpUnicodeEscapeSequence(state,!1)||!state.switchU&&this.regexp_eatLegacyOctalEscapeSequence(state)||this.regexp_eatIdentityEscape(state)},pp$8.regexp_eatCControlLetter=function(state){var start=state.pos;if(state.eat(99)){if(this.regexp_eatControlLetter(state))return!0;state.pos=start}return!1},pp$8.regexp_eatZero=function(state){return 48===state.current()&&!isDecimalDigit(state.lookahead())&&(state.lastIntValue=0,state.advance(),!0)},pp$8.regexp_eatControlEscape=function(state){var ch=state.current();return 116===ch?(state.lastIntValue=9,state.advance(),!0):110===ch?(state.lastIntValue=10,state.advance(),!0):118===ch?(state.lastIntValue=11,state.advance(),!0):102===ch?(state.lastIntValue=12,state.advance(),!0):114===ch&&(state.lastIntValue=13,state.advance(),!0)},pp$8.regexp_eatControlLetter=function(state){var ch=state.current();return!!isControlLetter(ch)&&(state.lastIntValue=ch%32,state.advance(),!0)},pp$8.regexp_eatRegExpUnicodeEscapeSequence=function(state,forceU){void 0===forceU&&(forceU=!1);var start=state.pos,switchU=forceU||state.switchU;if(state.eat(117)){if(this.regexp_eatFixedHexDigits(state,4)){var lead=state.lastIntValue;if(switchU&&lead>=55296&&lead<=56319){var leadSurrogateEnd=state.pos;if(state.eat(92)&&state.eat(117)&&this.regexp_eatFixedHexDigits(state,4)){var trail=state.lastIntValue;if(trail>=56320&&trail<=57343)return state.lastIntValue=1024*(lead-55296)+(trail-56320)+65536,!0}state.pos=leadSurrogateEnd,state.lastIntValue=lead}return!0}if(switchU&&state.eat(123)&&this.regexp_eatHexDigits(state)&&state.eat(125)&&function isValidUnicode(ch){return ch>=0&&ch<=1114111}(state.lastIntValue))return!0;switchU&&state.raise("Invalid unicode escape"),state.pos=start}return!1},pp$8.regexp_eatIdentityEscape=function(state){if(state.switchU)return!!this.regexp_eatSyntaxCharacter(state)||!!state.eat(47)&&(state.lastIntValue=47,!0);var ch=state.current();return!(99===ch||state.switchN&&107===ch)&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatDecimalEscape=function(state){state.lastIntValue=0;var ch=state.current();if(ch>=49&&ch<=57){do{state.lastIntValue=10*state.lastIntValue+(ch-48),state.advance()}while((ch=state.current())>=48&&ch<=57);return!0}return!1},pp$8.regexp_eatCharacterClassEscape=function(state){var ch=state.current();if(function isCharacterClassEscape(ch){return 100===ch||68===ch||115===ch||83===ch||119===ch||87===ch}(ch))return state.lastIntValue=-1,state.advance(),!0;if(state.switchU&&this.options.ecmaVersion>=9&&(80===ch||112===ch)){if(state.lastIntValue=-1,state.advance(),state.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(state)&&state.eat(125))return!0;state.raise("Invalid property name")}return!1},pp$8.regexp_eatUnicodePropertyValueExpression=function(state){var start=state.pos;if(this.regexp_eatUnicodePropertyName(state)&&state.eat(61)){var name=state.lastStringValue;if(this.regexp_eatUnicodePropertyValue(state)){var value=state.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(state,name,value),!0}}if(state.pos=start,this.regexp_eatLoneUnicodePropertyNameOrValue(state)){var nameOrValue=state.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(state,nameOrValue),!0}return!1},pp$8.regexp_validateUnicodePropertyNameAndValue=function(state,name,value){has(state.unicodeProperties.nonBinary,name)||state.raise("Invalid property name"),state.unicodeProperties.nonBinary[name].test(value)||state.raise("Invalid property value")},pp$8.regexp_validateUnicodePropertyNameOrValue=function(state,nameOrValue){state.unicodeProperties.binary.test(nameOrValue)||state.raise("Invalid property name")},pp$8.regexp_eatUnicodePropertyName=function(state){var ch=0;for(state.lastStringValue="";isUnicodePropertyNameCharacter(ch=state.current());)state.lastStringValue+=codePointToString(ch),state.advance();return""!==state.lastStringValue},pp$8.regexp_eatUnicodePropertyValue=function(state){var ch=0;for(state.lastStringValue="";isUnicodePropertyValueCharacter(ch=state.current());)state.lastStringValue+=codePointToString(ch),state.advance();return""!==state.lastStringValue},pp$8.regexp_eatLoneUnicodePropertyNameOrValue=function(state){return this.regexp_eatUnicodePropertyValue(state)},pp$8.regexp_eatCharacterClass=function(state){if(state.eat(91)){if(state.eat(94),this.regexp_classRanges(state),state.eat(93))return!0;state.raise("Unterminated character class")}return!1},pp$8.regexp_classRanges=function(state){for(;this.regexp_eatClassAtom(state);){var left=state.lastIntValue;if(state.eat(45)&&this.regexp_eatClassAtom(state)){var right=state.lastIntValue;!state.switchU||-1!==left&&-1!==right||state.raise("Invalid character class"),-1!==left&&-1!==right&&left>right&&state.raise("Range out of order in character class")}}},pp$8.regexp_eatClassAtom=function(state){var start=state.pos;if(state.eat(92)){if(this.regexp_eatClassEscape(state))return!0;if(state.switchU){var ch$1=state.current();(99===ch$1||isOctalDigit(ch$1))&&state.raise("Invalid class escape"),state.raise("Invalid escape")}state.pos=start}var ch=state.current();return 93!==ch&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatClassEscape=function(state){var start=state.pos;if(state.eat(98))return state.lastIntValue=8,!0;if(state.switchU&&state.eat(45))return state.lastIntValue=45,!0;if(!state.switchU&&state.eat(99)){if(this.regexp_eatClassControlLetter(state))return!0;state.pos=start}return this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)},pp$8.regexp_eatClassControlLetter=function(state){var ch=state.current();return!(!isDecimalDigit(ch)&&95!==ch)&&(state.lastIntValue=ch%32,state.advance(),!0)},pp$8.regexp_eatHexEscapeSequence=function(state){var start=state.pos;if(state.eat(120)){if(this.regexp_eatFixedHexDigits(state,2))return!0;state.switchU&&state.raise("Invalid escape"),state.pos=start}return!1},pp$8.regexp_eatDecimalDigits=function(state){var start=state.pos,ch=0;for(state.lastIntValue=0;isDecimalDigit(ch=state.current());)state.lastIntValue=10*state.lastIntValue+(ch-48),state.advance();return state.pos!==start},pp$8.regexp_eatHexDigits=function(state){var start=state.pos,ch=0;for(state.lastIntValue=0;isHexDigit(ch=state.current());)state.lastIntValue=16*state.lastIntValue+hexToInt(ch),state.advance();return state.pos!==start},pp$8.regexp_eatLegacyOctalEscapeSequence=function(state){if(this.regexp_eatOctalDigit(state)){var n1=state.lastIntValue;if(this.regexp_eatOctalDigit(state)){var n2=state.lastIntValue;n1<=3&&this.regexp_eatOctalDigit(state)?state.lastIntValue=64*n1+8*n2+state.lastIntValue:state.lastIntValue=8*n1+n2}else state.lastIntValue=n1;return!0}return!1},pp$8.regexp_eatOctalDigit=function(state){var ch=state.current();return isOctalDigit(ch)?(state.lastIntValue=ch-48,state.advance(),!0):(state.lastIntValue=0,!1)},pp$8.regexp_eatFixedHexDigits=function(state,length){var start=state.pos;state.lastIntValue=0;for(var i=0;i>10),56320+(1023&code)))}pp$9.next=function(ignoreEscapeSequenceInKeyword){!ignoreEscapeSequenceInKeyword&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Token(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},pp$9.getToken=function(){return this.next(),new Token(this)},"undefined"!=typeof Symbol&&(pp$9[Symbol.iterator]=function(){var this$1=this;return{next:function(){var token=this$1.getToken();return{done:token.type===types.eof,value:token}}}}),pp$9.curContext=function(){return this.context[this.context.length-1]},pp$9.nextToken=function(){var curContext=this.curContext();return curContext&&curContext.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(types.eof):curContext.override?curContext.override(this):void this.readToken(this.fullCharCodeAtPos())},pp$9.readToken=function(code){return isIdentifierStart(code,this.options.ecmaVersion>=6)||92===code?this.readWord():this.getTokenFromCode(code)},pp$9.fullCharCodeAtPos=function(){var code=this.input.charCodeAt(this.pos);return code<=55295||code>=57344?code:(code<<10)+this.input.charCodeAt(this.pos+1)-56613888},pp$9.skipBlockComment=function(){var match,startLoc=this.options.onComment&&this.curPosition(),start=this.pos,end=this.input.indexOf("*/",this.pos+=2);if(-1===end&&this.raise(this.pos-2,"Unterminated comment"),this.pos=end+2,this.options.locations)for(lineBreakG.lastIndex=start;(match=lineBreakG.exec(this.input))&&match.index8&&ch<14||ch>=5760&&nonASCIIwhitespace.test(String.fromCharCode(ch))))break loop;++this.pos}}},pp$9.finishToken=function(type,val){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var prevType=this.type;this.type=type,this.value=val,this.updateContext(prevType)},pp$9.readToken_dot=function(){var next=this.input.charCodeAt(this.pos+1);if(next>=48&&next<=57)return this.readNumber(!0);var next2=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===next&&46===next2?(this.pos+=3,this.finishToken(types.ellipsis)):(++this.pos,this.finishToken(types.dot))},pp$9.readToken_slash=function(){var next=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===next?this.finishOp(types.assign,2):this.finishOp(types.slash,1)},pp$9.readToken_mult_modulo_exp=function(code){var next=this.input.charCodeAt(this.pos+1),size=1,tokentype=42===code?types.star:types.modulo;return this.options.ecmaVersion>=7&&42===code&&42===next&&(++size,tokentype=types.starstar,next=this.input.charCodeAt(this.pos+2)),61===next?this.finishOp(types.assign,size+1):this.finishOp(tokentype,size)},pp$9.readToken_pipe_amp=function(code){var next=this.input.charCodeAt(this.pos+1);if(next===code){if(this.options.ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(types.assign,3);return this.finishOp(124===code?types.logicalOR:types.logicalAND,2)}return 61===next?this.finishOp(types.assign,2):this.finishOp(124===code?types.bitwiseOR:types.bitwiseAND,1)},pp$9.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(types.assign,2):this.finishOp(types.bitwiseXOR,1)},pp$9.readToken_plus_min=function(code){var next=this.input.charCodeAt(this.pos+1);return next===code?45!==next||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(types.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===next?this.finishOp(types.assign,2):this.finishOp(types.plusMin,1)},pp$9.readToken_lt_gt=function(code){var next=this.input.charCodeAt(this.pos+1),size=1;return next===code?(size=62===code&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+size)?this.finishOp(types.assign,size+1):this.finishOp(types.bitShift,size)):33!==next||60!==code||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===next&&(size=2),this.finishOp(types.relational,size)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},pp$9.readToken_eq_excl=function(code){var next=this.input.charCodeAt(this.pos+1);return 61===next?this.finishOp(types.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===code&&62===next&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(types.arrow)):this.finishOp(61===code?types.eq:types.prefix,1)},pp$9.readToken_question=function(){var ecmaVersion=this.options.ecmaVersion;if(ecmaVersion>=11){var next=this.input.charCodeAt(this.pos+1);if(46===next){var next2=this.input.charCodeAt(this.pos+2);if(next2<48||next2>57)return this.finishOp(types.questionDot,2)}if(63===next){if(ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(types.assign,3);return this.finishOp(types.coalesce,2)}}return this.finishOp(types.question,1)},pp$9.getTokenFromCode=function(code){switch(code){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(types.parenL);case 41:return++this.pos,this.finishToken(types.parenR);case 59:return++this.pos,this.finishToken(types.semi);case 44:return++this.pos,this.finishToken(types.comma);case 91:return++this.pos,this.finishToken(types.bracketL);case 93:return++this.pos,this.finishToken(types.bracketR);case 123:return++this.pos,this.finishToken(types.braceL);case 125:return++this.pos,this.finishToken(types.braceR);case 58:return++this.pos,this.finishToken(types.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(types.backQuote);case 48:var next=this.input.charCodeAt(this.pos+1);if(120===next||88===next)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===next||79===next)return this.readRadixNumber(8);if(98===next||66===next)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(code);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(code);case 124:case 38:return this.readToken_pipe_amp(code);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(code);case 60:case 62:return this.readToken_lt_gt(code);case 61:case 33:return this.readToken_eq_excl(code);case 63:return this.readToken_question();case 126:return this.finishOp(types.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(code)+"'")},pp$9.finishOp=function(type,size){var str=this.input.slice(this.pos,this.pos+size);return this.pos+=size,this.finishToken(type,str)},pp$9.readRegexp=function(){for(var escaped,inClass,start=this.pos;;){this.pos>=this.input.length&&this.raise(start,"Unterminated regular expression");var ch=this.input.charAt(this.pos);if(lineBreak.test(ch)&&this.raise(start,"Unterminated regular expression"),escaped)escaped=!1;else{if("["===ch)inClass=!0;else if("]"===ch&&inClass)inClass=!1;else if("/"===ch&&!inClass)break;escaped="\\"===ch}++this.pos}var pattern=this.input.slice(start,this.pos);++this.pos;var flagsStart=this.pos,flags=this.readWord1();this.containsEsc&&this.unexpected(flagsStart);var state=this.regexpState||(this.regexpState=new RegExpValidationState(this));state.reset(start,pattern,flags),this.validateRegExpFlags(state),this.validateRegExpPattern(state);var value=null;try{value=new RegExp(pattern,flags)}catch(e){}return this.finishToken(types.regexp,{pattern,flags,value})},pp$9.readInt=function(radix,len,maybeLegacyOctalNumericLiteral){for(var allowSeparators=this.options.ecmaVersion>=12&&void 0===len,isLegacyOctalNumericLiteral=maybeLegacyOctalNumericLiteral&&48===this.input.charCodeAt(this.pos),start=this.pos,total=0,lastCode=0,i=0,e=null==len?1/0:len;i=97?code-97+10:code>=65?code-65+10:code>=48&&code<=57?code-48:1/0)>=radix)break;lastCode=code,total=total*radix+val}}return allowSeparators&&95===lastCode&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===start||null!=len&&this.pos-start!==len?null:total},pp$9.readRadixNumber=function(radix){var start=this.pos;this.pos+=2;var val=this.readInt(radix);return null==val&&this.raise(this.start+2,"Expected number in radix "+radix),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(val=stringToBigInt(this.input.slice(start,this.pos)),++this.pos):isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types.num,val)},pp$9.readNumber=function(startsWithDot){var start=this.pos;startsWithDot||null!==this.readInt(10,void 0,!0)||this.raise(start,"Invalid number");var octal=this.pos-start>=2&&48===this.input.charCodeAt(start);octal&&this.strict&&this.raise(start,"Invalid number");var next=this.input.charCodeAt(this.pos);if(!octal&&!startsWithDot&&this.options.ecmaVersion>=11&&110===next){var val$1=stringToBigInt(this.input.slice(start,this.pos));return++this.pos,isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types.num,val$1)}octal&&/[89]/.test(this.input.slice(start,this.pos))&&(octal=!1),46!==next||octal||(++this.pos,this.readInt(10),next=this.input.charCodeAt(this.pos)),69!==next&&101!==next||octal||(43!==(next=this.input.charCodeAt(++this.pos))&&45!==next||++this.pos,null===this.readInt(10)&&this.raise(start,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var val=function stringToNumber(str,isLegacyOctalNumericLiteral){return isLegacyOctalNumericLiteral?parseInt(str,8):parseFloat(str.replace(/_/g,""))}(this.input.slice(start,this.pos),octal);return this.finishToken(types.num,val)},pp$9.readCodePoint=function(){var code;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var codePos=++this.pos;code=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,code>1114111&&this.invalidStringToken(codePos,"Code point out of bounds")}else code=this.readHexChar(4);return code},pp$9.readString=function(quote){for(var out="",chunkStart=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var ch=this.input.charCodeAt(this.pos);if(ch===quote)break;92===ch?(out+=this.input.slice(chunkStart,this.pos),out+=this.readEscapedChar(!1),chunkStart=this.pos):(isNewLine(ch,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return out+=this.input.slice(chunkStart,this.pos++),this.finishToken(types.string,out)};var INVALID_TEMPLATE_ESCAPE_ERROR={};pp$9.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(err){if(err!==INVALID_TEMPLATE_ESCAPE_ERROR)throw err;this.readInvalidTemplateToken()}this.inTemplateElement=!1},pp$9.invalidStringToken=function(position,message){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw INVALID_TEMPLATE_ESCAPE_ERROR;this.raise(position,message)},pp$9.readTmplToken=function(){for(var out="",chunkStart=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var ch=this.input.charCodeAt(this.pos);if(96===ch||36===ch&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==types.template&&this.type!==types.invalidTemplate?(out+=this.input.slice(chunkStart,this.pos),this.finishToken(types.template,out)):36===ch?(this.pos+=2,this.finishToken(types.dollarBraceL)):(++this.pos,this.finishToken(types.backQuote));if(92===ch)out+=this.input.slice(chunkStart,this.pos),out+=this.readEscapedChar(!0),chunkStart=this.pos;else if(isNewLine(ch)){switch(out+=this.input.slice(chunkStart,this.pos),++this.pos,ch){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:out+="\n";break;default:out+=String.fromCharCode(ch)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),chunkStart=this.pos}else++this.pos}},pp$9.readInvalidTemplateToken=function(){for(;this.pos=48&&ch<=55){var octalStr=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],octal=parseInt(octalStr,8);return octal>255&&(octalStr=octalStr.slice(0,-1),octal=parseInt(octalStr,8)),this.pos+=octalStr.length-1,ch=this.input.charCodeAt(this.pos),"0"===octalStr&&56!==ch&&57!==ch||!this.strict&&!inTemplate||this.invalidStringToken(this.pos-1-octalStr.length,inTemplate?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(octal)}return isNewLine(ch)?"":String.fromCharCode(ch)}},pp$9.readHexChar=function(len){var codePos=this.pos,n=this.readInt(16,len);return null===n&&this.invalidStringToken(codePos,"Bad character escape sequence"),n},pp$9.readWord1=function(){this.containsEsc=!1;for(var word="",first=!0,chunkStart=this.pos,astral=this.options.ecmaVersion>=6;this.pos{"use strict";var process=__webpack_require__("./node_modules/process/browser.js");function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _defineProperties(target,props){for(var i=0;i1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];expectsError.apply(void 0,[throws,getActual(promiseFn)].concat(args))},assert.rejects=function rejects(promiseFn){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];return waitForActual(promiseFn).then((function(result){return expectsError.apply(void 0,[rejects,result].concat(args))}))},assert.doesNotThrow=function doesNotThrow(fn){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];expectsNoError.apply(void 0,[doesNotThrow,getActual(fn)].concat(args))},assert.doesNotReject=function doesNotReject(fn){for(var _len5=arguments.length,args=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++)args[_key5-1]=arguments[_key5];return waitForActual(fn).then((function(result){return expectsNoError.apply(void 0,[doesNotReject,result].concat(args))}))},assert.ifError=function ifError(err){if(null!=err){var message="ifError got unwanted exception: ";"object"===_typeof(err)&&"string"==typeof err.message?0===err.message.length&&err.constructor?message+=err.constructor.name:message+=err.message:message+=inspect(err);var newErr=new AssertionError({actual:err,expected:null,operator:"ifError",message,stackStartFn:ifError}),origStack=err.stack;if("string"==typeof origStack){var tmp2=origStack.split("\n");tmp2.shift();for(var tmp1=newErr.stack.split("\n"),i=0;i{"use strict";var process=__webpack_require__("./node_modules/process/browser.js");function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;rstr.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}var blue="",green="",red="",white="",kReadableOperator={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function copyError(source){var keys=Object.keys(source),target=Object.create(Object.getPrototypeOf(source));return keys.forEach((function(key){target[key]=source[key]})),Object.defineProperty(target,"message",{value:source.message}),target}function inspectValue(val){return inspect(val,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function createErrDiff(actual,expected,operator){var other="",res="",lastPos=0,end="",skipped=!1,actualInspected=inspectValue(actual),actualLines=actualInspected.split("\n"),expectedLines=inspectValue(expected).split("\n"),i=0,indicator="";if("strictEqual"===operator&&"object"===_typeof(actual)&&"object"===_typeof(expected)&&null!==actual&&null!==expected&&(operator="strictEqualObject"),1===actualLines.length&&1===expectedLines.length&&actualLines[0]!==expectedLines[0]){var inputLength=actualLines[0].length+expectedLines[0].length;if(inputLength<=10){if(!("object"===_typeof(actual)&&null!==actual||"object"===_typeof(expected)&&null!==expected||0===actual&&0===expected))return"".concat(kReadableOperator[operator],"\n\n")+"".concat(actualLines[0]," !== ").concat(expectedLines[0],"\n")}else if("strictEqualObject"!==operator){if(inputLength<(process.stderr&&process.stderr.isTTY?process.stderr.columns:80)){for(;actualLines[0][i]===expectedLines[0][i];)i++;i>2&&(indicator="\n ".concat(function repeat(str,count){if(count=Math.floor(count),0==str.length||0==count)return"";var maxCount=str.length*count;for(count=Math.floor(Math.log(count)/Math.log(2));count;)str+=str,count--;return str+str.substring(0,maxCount-str.length)}(" ",i),"^"),i=0)}}}for(var a=actualLines[actualLines.length-1],b=expectedLines[expectedLines.length-1];a===b&&(i++<2?end="\n ".concat(a).concat(end):other=a,actualLines.pop(),expectedLines.pop(),0!==actualLines.length&&0!==expectedLines.length);)a=actualLines[actualLines.length-1],b=expectedLines[expectedLines.length-1];var maxLines=Math.max(actualLines.length,expectedLines.length);if(0===maxLines){var _actualLines=actualInspected.split("\n");if(_actualLines.length>30)for(_actualLines[26]="".concat(blue,"...").concat(white);_actualLines.length>27;)_actualLines.pop();return"".concat(kReadableOperator.notIdentical,"\n\n").concat(_actualLines.join("\n"),"\n")}i>3&&(end="\n".concat(blue,"...").concat(white).concat(end),skipped=!0),""!==other&&(end="\n ".concat(other).concat(end),other="");var printedLines=0,msg=kReadableOperator[operator]+"\n".concat(green,"+ actual").concat(white," ").concat(red,"- expected").concat(white),skippedMsg=" ".concat(blue,"...").concat(white," Lines skipped");for(i=0;i1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(expectedLines[i-2]),printedLines++),res+="\n ".concat(expectedLines[i-1]),printedLines++),lastPos=i,other+="\n".concat(red,"-").concat(white," ").concat(expectedLines[i]),printedLines++;else if(expectedLines.length1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(actualLines[i-2]),printedLines++),res+="\n ".concat(actualLines[i-1]),printedLines++),lastPos=i,res+="\n".concat(green,"+").concat(white," ").concat(actualLines[i]),printedLines++;else{var expectedLine=expectedLines[i],actualLine=actualLines[i],divergingLines=actualLine!==expectedLine&&(!endsWith(actualLine,",")||actualLine.slice(0,-1)!==expectedLine);divergingLines&&endsWith(expectedLine,",")&&expectedLine.slice(0,-1)===actualLine&&(divergingLines=!1,actualLine+=","),divergingLines?(cur>1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(actualLines[i-2]),printedLines++),res+="\n ".concat(actualLines[i-1]),printedLines++),lastPos=i,res+="\n".concat(green,"+").concat(white," ").concat(actualLine),other+="\n".concat(red,"-").concat(white," ").concat(expectedLine),printedLines+=2):(res+=other,other="",1!==cur&&0!==i||(res+="\n ".concat(actualLine),printedLines++))}if(printedLines>20&&i30)for(res[26]="".concat(blue,"...").concat(white);res.length>27;)res.pop();_this=1===res.length?_super.call(this,"".concat(base," ").concat(res[0])):_super.call(this,"".concat(base,"\n\n").concat(res.join("\n"),"\n"))}else{var _res=inspectValue(actual),other="",knownOperators=kReadableOperator[operator];"notDeepEqual"===operator||"notEqual"===operator?(_res="".concat(kReadableOperator[operator],"\n\n").concat(_res)).length>1024&&(_res="".concat(_res.slice(0,1021),"...")):(other="".concat(inspectValue(expected)),_res.length>512&&(_res="".concat(_res.slice(0,509),"...")),other.length>512&&(other="".concat(other.slice(0,509),"...")),"deepEqual"===operator||"equal"===operator?_res="".concat(knownOperators,"\n\n").concat(_res,"\n\nshould equal\n\n"):other=" ".concat(operator," ").concat(other)),_this=_super.call(this,"".concat(_res).concat(other))}return Error.stackTraceLimit=limit,_this.generatedMessage=!message,Object.defineProperty(_assertThisInitialized(_this),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),_this.code="ERR_ASSERTION",_this.actual=actual,_this.expected=expected,_this.operator=operator,Error.captureStackTrace&&Error.captureStackTrace(_assertThisInitialized(_this),stackStartFn),_this.stack,_this.name="AssertionError",_possibleConstructorReturn(_this)}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(AssertionError,[{key:"toString",value:function toString(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:_inspect$custom,value:function value(recurseTimes,ctx){return inspect(this,_objectSpread(_objectSpread({},ctx),{},{customInspect:!1,depth:0}))}}]),AssertionError}(_wrapNativeSuper(Error),inspect.custom);module.exports=AssertionError},"./node_modules/assert/build/internal/errors.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _defineProperties(target,props){for(var i=0;i2?"one of ".concat(thing," ").concat(expected.slice(0,len-1).join(", "),", or ")+expected[len-1]:2===len?"one of ".concat(thing," ").concat(expected[0]," or ").concat(expected[1]):"of ".concat(thing," ").concat(expected[0])}return"of ".concat(thing," ").concat(String(expected))}createErrorType("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),createErrorType("ERR_INVALID_ARG_TYPE",(function(name,expected,actual){var determiner,msg;if(void 0===assert&&(assert=__webpack_require__("./node_modules/assert/build/assert.js")),assert("string"==typeof name,"'name' must be a string"),"string"==typeof expected&&function startsWith(str,search,pos){return str.substr(!pos||pos<0?0:+pos,search.length)===search}(expected,"not ")?(determiner="must not be",expected=expected.replace(/^not /,"")):determiner="must be",function endsWith(str,search,this_len){return(void 0===this_len||this_len>str.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}(name," argument"))msg="The ".concat(name," ").concat(determiner," ").concat(oneOf(expected,"type"));else{var type=function includes(str,search,start){return"number"!=typeof start&&(start=0),!(start+search.length>str.length)&&-1!==str.indexOf(search,start)}(name,".")?"property":"argument";msg='The "'.concat(name,'" ').concat(type," ").concat(determiner," ").concat(oneOf(expected,"type"))}return msg+=". Received type ".concat(_typeof(actual))}),TypeError),createErrorType("ERR_INVALID_ARG_VALUE",(function(name,value){var reason=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===util&&(util=__webpack_require__("./node_modules/util/util.js"));var inspected=util.inspect(value);return inspected.length>128&&(inspected="".concat(inspected.slice(0,128),"...")),"The argument '".concat(name,"' ").concat(reason,". Received ").concat(inspected)}),TypeError,RangeError),createErrorType("ERR_INVALID_RETURN_VALUE",(function(input,name,value){var type;return type=value&&value.constructor&&value.constructor.name?"instance of ".concat(value.constructor.name):"type ".concat(_typeof(value)),"Expected ".concat(input,' to be returned from the "').concat(name,'"')+" function but got ".concat(type,".")}),TypeError),createErrorType("ERR_MISSING_ARGS",(function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];void 0===assert&&(assert=__webpack_require__("./node_modules/assert/build/assert.js")),assert(args.length>0,"At least one arg needs to be specified");var msg="The ",len=args.length;switch(args=args.map((function(a){return'"'.concat(a,'"')})),len){case 1:msg+="".concat(args[0]," argument");break;case 2:msg+="".concat(args[0]," and ").concat(args[1]," arguments");break;default:msg+=args.slice(0,len-1).join(", "),msg+=", and ".concat(args[len-1]," arguments")}return"".concat(msg," must be specified")}),TypeError),module.exports.codes=codes},"./node_modules/assert/build/internal/util/comparisons.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i10)return!0;for(var i=0;i57)return!0}return 10===key.length&&key>=Math.pow(2,32)}function getOwnNonIndexProperties(value){return Object.keys(value).filter(isNonIndex).concat(objectGetOwnPropertySymbols(value).filter(Object.prototype.propertyIsEnumerable.bind(value)))}function compare(a,b){if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i{"use strict";var possibleNames=__webpack_require__("./node_modules/possible-typed-array-names/index.js"),g="undefined"==typeof globalThis?__webpack_require__.g:globalThis;module.exports=function availableTypedArrays(){for(var out=[],i=0;i{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),callBind=__webpack_require__("./node_modules/call-bind/index.js"),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function callBoundIntrinsic(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name,".prototype.")>-1?callBind(intrinsic):intrinsic}},"./node_modules/call-bind/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var bind=__webpack_require__("./node_modules/function-bind/index.js"),GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),setFunctionLength=__webpack_require__("./node_modules/set-function-length/index.js"),$TypeError=__webpack_require__("./node_modules/es-errors/type.js"),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$defineProperty=__webpack_require__("./node_modules/es-define-property/index.js"),$max=GetIntrinsic("%Math.max%");module.exports=function callBind(originalFunction){if("function"!=typeof originalFunction)throw new $TypeError("a function is required");var func=$reflectApply(bind,$call,arguments);return setFunctionLength(func,1+$max(0,originalFunction.length-(arguments.length-1)),!0)};var applyBind=function applyBind(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module.exports,"apply",{value:applyBind}):module.exports.apply=applyBind},"./node_modules/define-data-property/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $defineProperty=__webpack_require__("./node_modules/es-define-property/index.js"),$SyntaxError=__webpack_require__("./node_modules/es-errors/syntax.js"),$TypeError=__webpack_require__("./node_modules/es-errors/type.js"),gopd=__webpack_require__("./node_modules/gopd/index.js");module.exports=function defineDataProperty(obj,property,value){if(!obj||"object"!=typeof obj&&"function"!=typeof obj)throw new $TypeError("`obj` must be an object or a function`");if("string"!=typeof property&&"symbol"!=typeof property)throw new $TypeError("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new $TypeError("`loose`, if provided, must be a boolean");var nonEnumerable=arguments.length>3?arguments[3]:null,nonWritable=arguments.length>4?arguments[4]:null,nonConfigurable=arguments.length>5?arguments[5]:null,loose=arguments.length>6&&arguments[6],desc=!!gopd&&gopd(obj,property);if($defineProperty)$defineProperty(obj,property,{configurable:null===nonConfigurable&&desc?desc.configurable:!nonConfigurable,enumerable:null===nonEnumerable&&desc?desc.enumerable:!nonEnumerable,value,writable:null===nonWritable&&desc?desc.writable:!nonWritable});else{if(!loose&&(nonEnumerable||nonWritable||nonConfigurable))throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");obj[property]=value}}},"./node_modules/define-properties/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keys=__webpack_require__("./node_modules/object-keys/index.js"),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr=Object.prototype.toString,concat=Array.prototype.concat,defineDataProperty=__webpack_require__("./node_modules/define-data-property/index.js"),supportsDescriptors=__webpack_require__("./node_modules/has-property-descriptors/index.js")(),defineProperty=function(object,name,value,predicate){if(name in object)if(!0===predicate){if(object[name]===value)return}else if("function"!=typeof(fn=predicate)||"[object Function]"!==toStr.call(fn)||!predicate())return;var fn;supportsDescriptors?defineDataProperty(object,name,value,!0):defineDataProperty(object,name,value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i{!function(){"use strict";var typed,utility,jsdoc,esutils,hasOwnProperty,func;function sliceSource(source,index,last){return source.slice(index,last)}function isParamTitle(title){return"param"===title||"argument"===title||"arg"===title}function isReturnTitle(title){return"return"===title||"returns"===title}function isProperty(title){return"property"===title||"prop"===title}function isNameParameterRequired(title){return isParamTitle(title)||isProperty(title)||"alias"===title||"this"===title||"mixes"===title||"requires"===title}function isAllowedOptional(title){return isProperty(title)||isParamTitle(title)}function isTypeParameterRequired(title){return isParamTitle(title)||isReturnTitle(title)||"define"===title||"enum"===title||"implements"===title||"this"===title||"type"===title||"typedef"===title||isProperty(title)}esutils=__webpack_require__("./node_modules/esutils/lib/utils.js"),typed=__webpack_require__("./node_modules/doctrine/lib/typed.js"),utility=__webpack_require__("./node_modules/doctrine/lib/utility.js"),func=Object.prototype.hasOwnProperty,hasOwnProperty=function hasOwnProperty(obj,name){return func.call(obj,name)};var WHITESPACE="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",STAR_MATCHER="("+WHITESPACE+"*(?:\\*"+WHITESPACE+"?)?)(.+|[\r\n\u2028\u2029])";function unwrapComment(doc){return doc.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(STAR_MATCHER,"g"),"$2").replace(/\s*$/,"")}!function(exports){var Rules,index,lineNumber,length,source,originalSource,recoverable,sloppy,strict;function advance(){var ch=source.charCodeAt(index);return index+=1,!esutils.code.isLineTerminator(ch)||13===ch&&10===source.charCodeAt(index)||(lineNumber+=1),String.fromCharCode(ch)}function parseType(title,last,addRange){for(var ch,brace,type,startIndex,direct=!1;index=last)return null;if(91===source.charCodeAt(index)){if(!allowBrackets)return null;useBrackets=!0,name=advance()}if(name+=scanIdentifier(last),allowNestedParams)for(58!==source.charCodeAt(index)||"module"!==name&&"external"!==name&&"event"!==name||(name+=advance(),name+=scanIdentifier(last)),91===source.charCodeAt(index)&&93===source.charCodeAt(index+1)&&(name+=advance(),name+=advance());46===source.charCodeAt(index)||47===source.charCodeAt(index)||35===source.charCodeAt(index)||45===source.charCodeAt(index)||126===source.charCodeAt(index);)name+=advance(),name+=scanIdentifier(last);if(useBrackets){if(skipWhiteSpace(last),61===source.charCodeAt(index)){var ch;name+=advance(),skipWhiteSpace(last);for(var bracketDepth=1;index=last||93!==source.charCodeAt(index))return null;name+=advance()}return name}function convertIndex(rangeIndex){return source===originalSource?rangeIndex:function convertUnwrappedCommentIndex(originalSource,unwrappedIndex){for(var match,replacedSource=originalSource.replace(/^\/\*\*?/,""),numSkippedChars=0,matcher=new RegExp(STAR_MATCHER,"g");match=matcher.exec(replacedSource);)if(numSkippedChars+=match[1].length,match.index+match[0].length>unwrappedIndex+numSkippedChars)return unwrappedIndex+numSkippedChars+originalSource.length-replacedSource.length;return originalSource.replace(/\*\/$/,"").replace(/\s*$/,"").length}(originalSource,rangeIndex)}function TagParser(options,title){this._options=options,this._title=title.toLowerCase(),this._tag={title,description:null},this._options.lineNumbers&&(this._tag.lineNumber=lineNumber),this._first=index-title.length-1,this._last=0,this._extra={}}function parseTag(options){var parser,tag;if(!function skipToTag(){for(;index=length||(utility.assert(64===source.charCodeAt(index)),0))}())return null;for(tag=(parser=new TagParser(options,function scanTitle(){var ch,title="";for(advance();index=97&&ch<=122||ch>=65&&ch<=90||ch>=48&&ch<=57);)title+=advance();return title}())).parse();index1&&(this._tag.default=assign.slice(1).join("=")),this._tag.name=assign[0],this._tag.type&&"OptionalType"!==this._tag.type.type&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!isNameParameterRequired(this._title))return!0;if(isParamTitle(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},TagParser.prototype.parseDescription=function parseDescription(){var description=sliceSource(source,index,this._last).trim();return description&&(/^-\s+/.test(description)&&(description=description.substring(2)),this._tag.description=description),!0},TagParser.prototype.parseCaption=function parseDescription(){var description=sliceSource(source,index,this._last).trim(),captionStart=description.indexOf(""),captionEnd=description.indexOf("");return captionStart>=0&&captionEnd>=0?(this._tag.caption=description.substring(captionStart+9,captionEnd).trim(),this._tag.description=description.substring(captionEnd+10).trim()):this._tag.description=description,!0},TagParser.prototype.parseKind=function parseKind(){var kind,kinds;return kinds={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},kind=sliceSource(source,index,this._last).trim(),this._tag.kind=kind,!(!hasOwnProperty(kinds,kind)&&!this.addError("Invalid kind name '%0'",kind))},TagParser.prototype.parseAccess=function parseAccess(){var access;return access=sliceSource(source,index,this._last).trim(),this._tag.access=access,!("private"!==access&&"protected"!==access&&"public"!==access&&!this.addError("Invalid access name '%0'",access))},TagParser.prototype.parseThis=function parseThis(){var value=sliceSource(source,index,this._last).trim();return value&&"{"===value.charAt(0)?this.parseType()&&"NameExpression"===this._tag.type.type||"UnionType"===this._tag.type.type?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this"):this.parseNamePath()},TagParser.prototype.parseVariation=function parseVariation(){var variation,text;return text=sliceSource(source,index,this._last).trim(),variation=parseFloat(text,10),this._tag.variation=variation,!(isNaN(variation)&&!this.addError("Invalid variation '%0'",text))},TagParser.prototype.ensureEnd=function(){var shouldBeEmpty=sliceSource(source,index,this._last).trim();return!(shouldBeEmpty&&!this.addError("Unknown content '%0'",shouldBeEmpty))},TagParser.prototype.epilogue=function epilogue(){var description;return description=this._tag.description,!(isAllowedOptional(this._title)&&!this._tag.type&&description&&"["===description.charAt(0)&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!sloppy&&!this.addError("Missing or invalid tag name")))},Rules={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},TagParser.prototype.parse=function parse(){var i,iz,sequences;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=function seekContent(){var ch,waiting,last=index;for(waiting=!1;last{!function(){"use strict";var Syntax,Token,source,length,index,previous,token,value,esutils,utility,rangeOffset,addRange;function isTypeName(ch){return-1==="><(){}[],:*|?!=".indexOf(String.fromCharCode(ch))&&!esutils.code.isWhiteSpace(ch)&&!esutils.code.isLineTerminator(ch)}function Context(previous,index,token,value){this._previous=previous,this._index=index,this._token=token,this._value=value}function maybeAddRange(node,range){return addRange&&(node.range=[range[0]+rangeOffset,range[1]+rangeOffset]),node}function advance(){var ch=source.charAt(index);return index+=1,ch}function scanHexEscape(prefix){var i,len,ch,code=0;for(len="u"===prefix?4:2,i=0;i=length)return token=Token.EOF;switch(ch=source.charCodeAt(index)){case 39:case 34:return token=function scanString(){var quote,ch,code,unescaped,restore,str="";for(quote=source.charAt(index),++index;index=0&&index=length)return Token.ILLEGAL;if(60===source.charCodeAt(index+1))break}value+=advance()}return Token.NAME}())}}function consume(target,text){utility.assert(token===target,text||"consumed token not matched"),next()}function expect(target,message){token!==target&&utility.throwError(message||"unexpected token"),next()}function parseFieldType(){var key,rangeStart=previous;return key=function parseFieldName(){var v=value;return token===Token.NAME||token===Token.STRING?(next(),v):token===Token.NUMBER?(consume(Token.NUMBER),String(v)):void utility.throwError("unexpected token")}(),token===Token.COLON?(consume(Token.COLON),maybeAddRange({type:Syntax.FieldType,key,value:parseTypeExpression()},[rangeStart,previous])):maybeAddRange({type:Syntax.FieldType,key,value:null},[rangeStart,previous])}function parseTypeName(){var expr,applications,startIndex=index-value.length;return expr=function parseNameExpression(){var name=value,rangeStart=index-name.length;return expect(Token.NAME),token!==Token.COLON||"module"!==name&&"external"!==name&&"event"!==name||(consume(Token.COLON),name+=":"+value,expect(Token.NAME)),maybeAddRange({type:Syntax.NameExpression,name},[rangeStart,previous])}(),token===Token.DOT_LT||token===Token.LT?(next(),applications=function parseTypeExpressionList(){var elements=[];for(elements.push(parseTop());token===Token.COMMA;)consume(Token.COMMA),elements.push(parseTop());return elements}(),expect(Token.GT),maybeAddRange({type:Syntax.TypeApplication,expression:expr,applications},[startIndex,previous])):expr}function parseParametersType(){for(var expr,startIndex,nameStartIndex,params=[],optionalSequence=!1,rest=!1,restStartIndex=index-3;token!==Token.RPAREN;)token===Token.REST&&(consume(Token.REST),rest=!0),startIndex=previous,(expr=parseTypeExpression()).type===Syntax.NameExpression&&token===Token.COLON&&(nameStartIndex=previous-expr.name.length,consume(Token.COLON),expr=maybeAddRange({type:Syntax.ParameterType,name:expr.name,expression:parseTypeExpression()},[nameStartIndex,previous])),token===Token.EQUAL?(consume(Token.EQUAL),expr=maybeAddRange({type:Syntax.OptionalType,expression:expr},[startIndex,previous]),optionalSequence=!0):optionalSequence&&utility.throwError("unexpected token"),rest&&(expr=maybeAddRange({type:Syntax.RestType,expression:expr},[restStartIndex,previous])),params.push(expr),token!==Token.RPAREN&&expect(Token.COMMA);return params}function parseFunctionType(){var isNew,thisBinding,params,result,fnType,startIndex=index-value.length;return utility.assert(token===Token.NAME&&"function"===value,"FunctionType should start with 'function'"),consume(Token.NAME),expect(Token.LPAREN),isNew=!1,params=[],thisBinding=null,token!==Token.RPAREN&&(token!==Token.NAME||"this"!==value&&"new"!==value?params=parseParametersType():(isNew="new"===value,consume(Token.NAME),expect(Token.COLON),thisBinding=parseTypeName(),token===Token.COMMA&&(consume(Token.COMMA),params=parseParametersType()))),expect(Token.RPAREN),result=null,token===Token.COLON&&(result=function parseResultType(){return consume(Token.COLON,"ResultType should start with :"),token===Token.NAME&&"void"===value?(consume(Token.NAME),{type:Syntax.VoidLiteral}):parseTypeExpression()}()),fnType=maybeAddRange({type:Syntax.FunctionType,params,result},[startIndex,previous]),thisBinding&&(fnType.this=thisBinding,isNew&&(fnType.new=!0)),fnType}function parseBasicTypeExpression(){var context,startIndex;switch(token){case Token.STAR:return consume(Token.STAR),maybeAddRange({type:Syntax.AllLiteral},[previous-1,previous]);case Token.LPAREN:return function parseUnionType(){var elements,startIndex=index-1;if(consume(Token.LPAREN,"UnionType should start with ("),elements=[],token!==Token.RPAREN)for(;elements.push(parseTypeExpression()),token!==Token.RPAREN;)expect(Token.PIPE);return consume(Token.RPAREN,"UnionType should end with )"),maybeAddRange({type:Syntax.UnionType,elements},[startIndex,previous])}();case Token.LBRACK:return function parseArrayType(){var elements,restStartIndex,startIndex=index-1;for(consume(Token.LBRACK,"ArrayType should start with ["),elements=[];token!==Token.RBRACK;){if(token===Token.REST){restStartIndex=index-3,consume(Token.REST),elements.push(maybeAddRange({type:Syntax.RestType,expression:parseTypeExpression()},[restStartIndex,previous]));break}elements.push(parseTypeExpression()),token!==Token.RBRACK&&expect(Token.COMMA)}return expect(Token.RBRACK),maybeAddRange({type:Syntax.ArrayType,elements},[startIndex,previous])}();case Token.LBRACE:return function parseRecordType(){var fields,rangeEnd,rangeStart=index-1;if(consume(Token.LBRACE,"RecordType should start with {"),fields=[],token===Token.COMMA)consume(Token.COMMA);else for(;token!==Token.RBRACE;)fields.push(parseFieldType()),token!==Token.RBRACE&&expect(Token.COMMA);return rangeEnd=index,expect(Token.RBRACE),maybeAddRange({type:Syntax.RecordType,fields},[rangeStart,rangeEnd])}();case Token.NAME:if(startIndex=index-value.length,"null"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.NullLiteral},[startIndex,previous]);if("undefined"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.UndefinedLiteral},[startIndex,previous]);if("true"===value||"false"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.BooleanLiteralType,value:"true"===value},[startIndex,previous]);if(context=Context.save(),"function"===value)try{return parseFunctionType()}catch(e){context.restore()}return parseTypeName();case Token.STRING:return next(),maybeAddRange({type:Syntax.StringLiteralType,value},[previous-value.length-2,previous]);case Token.NUMBER:return next(),maybeAddRange({type:Syntax.NumericLiteralType,value},[previous-String(value).length,previous]);default:utility.throwError("unexpected token")}}function parseTypeExpression(){var expr,rangeStart;return token===Token.QUESTION?(rangeStart=index-1,consume(Token.QUESTION),token===Token.COMMA||token===Token.EQUAL||token===Token.RBRACE||token===Token.RPAREN||token===Token.PIPE||token===Token.EOF||token===Token.RBRACK||token===Token.GT?maybeAddRange({type:Syntax.NullableLiteral},[rangeStart,previous]):maybeAddRange({type:Syntax.NullableType,expression:parseBasicTypeExpression(),prefix:!0},[rangeStart,previous])):token===Token.BANG?(rangeStart=index-1,consume(Token.BANG),maybeAddRange({type:Syntax.NonNullableType,expression:parseBasicTypeExpression(),prefix:!0},[rangeStart,previous])):(rangeStart=previous,expr=parseBasicTypeExpression(),token===Token.BANG?(consume(Token.BANG),maybeAddRange({type:Syntax.NonNullableType,expression:expr,prefix:!1},[rangeStart,previous])):token===Token.QUESTION?(consume(Token.QUESTION),maybeAddRange({type:Syntax.NullableType,expression:expr,prefix:!1},[rangeStart,previous])):token===Token.LBRACK?(consume(Token.LBRACK),expect(Token.RBRACK,"expected an array-style type declaration ("+value+"[])"),maybeAddRange({type:Syntax.TypeApplication,expression:maybeAddRange({type:Syntax.NameExpression,name:"Array"},[rangeStart,previous]),applications:[expr]},[rangeStart,previous])):expr)}function parseTop(){var expr,elements;if(expr=parseTypeExpression(),token!==Token.PIPE)return expr;for(elements=[expr],consume(Token.PIPE);elements.push(parseTypeExpression()),token===Token.PIPE;)consume(Token.PIPE);return maybeAddRange({type:Syntax.UnionType,elements},[0,index])}function stringifyImpl(node,compact,topLevel){var result,i,iz;switch(node.type){case Syntax.NullableLiteral:result="?";break;case Syntax.AllLiteral:result="*";break;case Syntax.NullLiteral:result="null";break;case Syntax.UndefinedLiteral:result="undefined";break;case Syntax.VoidLiteral:result="void";break;case Syntax.UnionType:for(result=topLevel?"":"(",i=0,iz=node.elements.length;i{!function(){"use strict";var VERSION,Middle;function DoctrineError(message){this.name="DoctrineError",this.message=message}VERSION=__webpack_require__("./node_modules/doctrine/package.json").i8,exports.VERSION=VERSION,DoctrineError.prototype=((Middle=function(){}).prototype=Error.prototype,new Middle),DoctrineError.prototype.constructor=DoctrineError,exports.DoctrineError=DoctrineError,exports.throwError=function throwError(message){throw new DoctrineError(message)},exports.assert=__webpack_require__("./node_modules/assert/build/assert.js")}()},"./node_modules/es-define-property/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $defineProperty=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Object.defineProperty%",!0)||!1;if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=!1}module.exports=$defineProperty},"./node_modules/es-errors/eval.js":module=>{"use strict";module.exports=EvalError},"./node_modules/es-errors/index.js":module=>{"use strict";module.exports=Error},"./node_modules/es-errors/range.js":module=>{"use strict";module.exports=RangeError},"./node_modules/es-errors/ref.js":module=>{"use strict";module.exports=ReferenceError},"./node_modules/es-errors/syntax.js":module=>{"use strict";module.exports=SyntaxError},"./node_modules/es-errors/type.js":module=>{"use strict";module.exports=TypeError},"./node_modules/es-errors/uri.js":module=>{"use strict";module.exports=URIError},"./node_modules/escodegen/escodegen.js":(__unused_webpack_module,exports,__webpack_require__)=>{!function(){"use strict";var Syntax,Precedence,BinaryPrecedence,SourceNode,estraverse,esutils,base,indent,json,renumber,hexadecimal,quotes,escapeless,newline,space,parentheses,semicolons,safeConcatenation,directive,extra,parse,sourceMap,sourceCode,preserveBlankLines,FORMAT_MINIFY,FORMAT_DEFAULTS;function isStatement(node){return CodeGenerator.Statement.hasOwnProperty(node.type)}estraverse=__webpack_require__("./node_modules/estraverse/estraverse.js"),esutils=__webpack_require__("./node_modules/esutils/lib/utils.js"),Syntax=estraverse.Syntax,BinaryPrecedence={"??":(Precedence={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22}).Coalesce,"||":Precedence.LogicalOR,"&&":Precedence.LogicalAND,"|":Precedence.BitwiseOR,"^":Precedence.BitwiseXOR,"&":Precedence.BitwiseAND,"==":Precedence.Equality,"!=":Precedence.Equality,"===":Precedence.Equality,"!==":Precedence.Equality,is:Precedence.Equality,isnt:Precedence.Equality,"<":Precedence.Relational,">":Precedence.Relational,"<=":Precedence.Relational,">=":Precedence.Relational,in:Precedence.Relational,instanceof:Precedence.Relational,"<<":Precedence.BitwiseSHIFT,">>":Precedence.BitwiseSHIFT,">>>":Precedence.BitwiseSHIFT,"+":Precedence.Additive,"-":Precedence.Additive,"*":Precedence.Multiplicative,"%":Precedence.Multiplicative,"/":Precedence.Multiplicative,"**":Precedence.Exponentiation};var E_TTT=7,S_TFFF=1;function stringRepeat(str,num){var result="";for(num|=0;num>0;num>>>=1,str+=str)1&num&&(result+=str);return result}function endsWithLineTerminator(str){var len=str.length;return len&&esutils.code.isLineTerminator(str.charCodeAt(len-1))}function merge(target,override){var key;for(key in override)override.hasOwnProperty(key)&&(target[key]=override[key]);return target}function updateDeeply(target,override){var key,val;function isHashObject(target){return"object"==typeof target&&target instanceof Object&&!(target instanceof RegExp)}for(key in override)override.hasOwnProperty(key)&&(isHashObject(val=override[key])?isHashObject(target[key])?updateDeeply(target[key],val):target[key]=updateDeeply({},val):target[key]=val);return target}function escapeRegExpCharacter(ch,previousIsBackslash){return 8232==(-2&ch)?(previousIsBackslash?"u":"\\u")+(8232===ch?"2028":"2029"):10===ch||13===ch?(previousIsBackslash?"":"\\")+(10===ch?"n":"r"):String.fromCharCode(ch)}function escapeAllowedCharacter(code,next){var hex;return 8===code?"\\b":12===code?"\\f":9===code?"\\t":(hex=code.toString(16).toUpperCase(),json||code>255?"\\u"+"0000".slice(hex.length)+hex:0!==code||esutils.code.isDecimalDigit(next)?11===code?"\\x0B":"\\x"+"00".slice(hex.length)+hex:"\\0")}function escapeDisallowedCharacter(code){if(92===code)return"\\\\";if(10===code)return"\\n";if(13===code)return"\\r";if(8232===code)return"\\u2028";if(8233===code)return"\\u2029";throw new Error("Incorrectly classified character")}function flattenToString(arr){var i,iz,elem,result="";for(i=0,iz=arr.length;ij&&(spaces=j)}for(void 0!==specialBase?(previousBase=base,"*"===array[1][spaces]&&(specialBase+=" "),base=specialBase):(1&spaces&&--spaces,previousBase=base),i=1,len=array.length;i0){if(save=result,preserveBlankLines){for(result=[],extRange=(comment=stmt.leadingComments[0]).extendedRange,range=comment.range,(count=((prefix=sourceCode.substring(extRange[0],range[0])).match(/\n/g)||[]).length)>0?(result.push(stringRepeat("\n",count)),result.push(addIndent(generateComment(comment)))):(result.push(prefix),result.push(generateComment(comment))),prevRange=range,i=1,len=stmt.leadingComments.length;i0?(result.push(stringRepeat("\n",count)),result.push(addIndent(generateComment(comment)))):(result.push(prefix),result.push(generateComment(comment)));else for(tailingToStatement=!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString()),specialBase=stringRepeat(" ",function calculateSpaces(str){var i;for(i=str.length-1;i>=0&&!esutils.code.isLineTerminator(str.charCodeAt(i));--i);return str.length-1-i}(toSourceNodeWhenNeeded([base,result,indent]).toString())),i=0,len=stmt.trailingComments.length;i")),node.expression?(result.push(space),"{"===(expr=this.generateExpression(node.body,Precedence.Assignment,E_TTT)).toString().charAt(0)&&(expr=["(",expr,")"]),result.push(expr)):result.push(this.maybeBlock(node.body,9)),result},CodeGenerator.prototype.generateIterationForStatement=function(operator,stmt,flags){var result=["for"+(stmt.await?noEmptySpace()+"await":"")+space+"("],that=this;return withIndent((function(){stmt.left.type===Syntax.VariableDeclaration?withIndent((function(){result.push(stmt.left.kind+noEmptySpace()),result.push(that.generateStatement(stmt.left.declarations[0],0))})):result.push(that.generateExpression(stmt.left,Precedence.Call,E_TTT)),result=join(result,operator),result=[join(result,that.generateExpression(stmt.right,Precedence.Assignment,E_TTT)),")"]})),result.push(this.maybeBlock(stmt.body,flags)),result},CodeGenerator.prototype.generatePropertyKey=function(expr,computed){var result=[];return computed&&result.push("["),result.push(this.generateExpression(expr,Precedence.Assignment,E_TTT)),computed&&result.push("]"),result},CodeGenerator.prototype.generateAssignment=function(left,right,operator,precedence,flags){return Precedence.Assignment2&&("\n"===(content=sourceCode.substring(range[0]+1,range[1]-1))[0]&&(result=["{"]),result.push(content)),bodyFlags=S_TFFF,8&flags&&(bodyFlags|=16),i=0,iz=stmt.body.length;i0&&(stmt.body[i-1].trailingComments||stmt.body[i].leadingComments||generateBlankLines(stmt.body[i-1].range[1],stmt.body[i].range[0],result))),i===iz-1&&(bodyFlags|=32),fragment=stmt.body[i].leadingComments&&preserveBlankLines?that.generateStatement(stmt.body[i],bodyFlags):addIndent(that.generateStatement(stmt.body[i],bodyFlags)),result.push(fragment),endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())||preserveBlankLines&&i1?withIndent(block):block(),result.push(this.semicolon(flags)),result},ThrowStatement:function(stmt,flags){return[join("throw",this.generateExpression(stmt.argument,Precedence.Sequence,E_TTT)),this.semicolon(flags)]},TryStatement:function(stmt,flags){var result,i,iz,guardedHandlers;if(result=["try",this.maybeBlock(stmt.block,S_TFFF)],result=this.maybeBlockSuffix(stmt.block,result),stmt.handlers)for(i=0,iz=stmt.handlers.length;i0?"\n":""],bodyFlags=17,i=0;i0&&(stmt.body[i-1].trailingComments||stmt.body[i].leadingComments||generateBlankLines(stmt.body[i-1].range[1],stmt.body[i].range[0],result))),fragment=addIndent(this.generateStatement(stmt.body[i],bodyFlags)),result.push(fragment),i+10){for(result.push("("),i=0,iz=length;i=2&&48===fragment.charCodeAt(0))&&result.push(" "),result.push(expr.optional?"?.":"."),result.push(generateIdentifier(expr.property))),parenthesize(result,Precedence.Member,precedence)},MetaProperty:function(expr,precedence,flags){var result;return(result=[]).push("string"==typeof expr.meta?expr.meta:generateIdentifier(expr.meta)),result.push("."),result.push("string"==typeof expr.property?expr.property:generateIdentifier(expr.property)),parenthesize(result,Precedence.Member,precedence)},UnaryExpression:function(expr,precedence,flags){var result,fragment,rightCharCode,leftSource,leftCharCode;return fragment=this.generateExpression(expr.argument,Precedence.Unary,E_TTT),""===space?result=join(expr.operator,fragment):(result=[expr.operator],expr.operator.length>2?result=join(result,fragment):(leftCharCode=(leftSource=toSourceNodeWhenNeeded(result).toString()).charCodeAt(leftSource.length-1),rightCharCode=fragment.toString().charCodeAt(0),(43===leftCharCode||45===leftCharCode)&&leftCharCode===rightCharCode||esutils.code.isIdentifierPartES5(leftCharCode)&&esutils.code.isIdentifierPartES5(rightCharCode)?(result.push(noEmptySpace()),result.push(fragment)):result.push(fragment))),parenthesize(result,Precedence.Unary,precedence)},YieldExpression:function(expr,precedence,flags){var result;return result=expr.delegate?"yield*":"yield",expr.argument&&(result=join(result,this.generateExpression(expr.argument,Precedence.Yield,E_TTT))),parenthesize(result,Precedence.Yield,precedence)},AwaitExpression:function(expr,precedence,flags){return parenthesize(join(expr.all?"await*":"await",this.generateExpression(expr.argument,Precedence.Await,E_TTT)),Precedence.Await,precedence)},UpdateExpression:function(expr,precedence,flags){return expr.prefix?parenthesize([expr.operator,this.generateExpression(expr.argument,Precedence.Unary,E_TTT)],Precedence.Unary,precedence):parenthesize([this.generateExpression(expr.argument,Precedence.Postfix,E_TTT),expr.operator],Precedence.Postfix,precedence)},FunctionExpression:function(expr,precedence,flags){var result=[generateAsyncPrefix(expr,!0),"function"];return expr.id?(result.push(generateStarSuffix(expr)||noEmptySpace()),result.push(generateIdentifier(expr.id))):result.push(generateStarSuffix(expr)||space),result.push(this.generateFunctionBody(expr)),result},ArrayPattern:function(expr,precedence,flags){return this.ArrayExpression(expr,precedence,flags,!0)},ArrayExpression:function(expr,precedence,flags,isPattern){var result,multiline,that=this;return expr.elements.length?(multiline=!isPattern&&expr.elements.length>1,result=["[",multiline?newline:""],withIndent((function(indent){var i,iz;for(i=0,iz=expr.elements.length;i1,withIndent((function(){fragment=that.generateExpression(expr.properties[0],Precedence.Sequence,E_TTT)})),multiline||function hasLineTerminator(str){return/[\r\n]/g.test(str)}(toSourceNodeWhenNeeded(fragment).toString())?(withIndent((function(indent){var i,iz;if(result=["{",newline,indent,fragment],multiline)for(result.push(","+newline),i=1,iz=expr.properties.length;i126))){result+=escapeAllowedCharacter(code,str.charCodeAt(i+1));continue}}result+=String.fromCharCode(code)}if(quote=(single=!("double"===quotes||"auto"===quotes&&doubleQuotes0&&(exponent=+temp.slice(pos+1),temp=temp.slice(0,pos)),point>=0&&(exponent-=temp.length-point-1,temp=+(temp.slice(0,point)+temp.slice(point+1))+""),pos=0;48===temp.charCodeAt(temp.length+pos-1);)--pos;return 0!==pos&&(exponent-=pos,temp=temp.slice(0,pos)),0!==exponent&&(temp+="e"+exponent),(temp.length1e12&&Math.floor(value)===value&&(temp="0x"+value.toString(16)).length0||extra.moz.comprehensionExpressionStartsWithAssignment?result=join(result,fragment):result.push(fragment)})),expr.filter&&(result=join(result,"if"+space),fragment=this.generateExpression(expr.filter,Precedence.Sequence,E_TTT),result=join(result,["(",fragment,")"])),extra.moz.comprehensionExpressionStartsWithAssignment||(fragment=this.generateExpression(expr.body,Precedence.Assignment,E_TTT),result=join(result,fragment)),result.push(expr.type===Syntax.GeneratorExpression?")":"]"),result},ComprehensionBlock:function(expr,precedence,flags){var fragment;return fragment=join(fragment=expr.left.type===Syntax.VariableDeclaration?[expr.left.kind,noEmptySpace(),this.generateStatement(expr.left.declarations[0],0)]:this.generateExpression(expr.left,Precedence.Call,E_TTT),expr.of?"of":"in"),fragment=join(fragment,this.generateExpression(expr.right,Precedence.Sequence,E_TTT)),["for"+space+"(",fragment,")"]},SpreadElement:function(expr,precedence,flags){return["...",this.generateExpression(expr.argument,Precedence.Assignment,E_TTT)]},TaggedTemplateExpression:function(expr,precedence,flags){var itemFlags=3;return 2&flags||(itemFlags=1),parenthesize([this.generateExpression(expr.tag,Precedence.Call,itemFlags),this.generateExpression(expr.quasi,Precedence.Primary,4)],Precedence.TaggedTemplate,precedence)},TemplateElement:function(expr,precedence,flags){return expr.value.raw},TemplateLiteral:function(expr,precedence,flags){var result,i,iz;for(result=["`"],i=0,iz=expr.quasis.length;i{!function clone(exports){"use strict";var Syntax,VisitorOption,VisitorKeys,BREAK,SKIP,REMOVE;function deepCopy(obj){var key,val,ret={};for(key in obj)obj.hasOwnProperty(key)&&(val=obj[key],ret[key]="object"==typeof val&&null!==val?deepCopy(val):val);return ret}function Reference(parent,key){this.parent=parent,this.key=key}function Element(node,path,wrap,ref){this.node=node,this.path=path,this.wrap=wrap,this.ref=ref}function Controller(){}function isNode(node){return null!=node&&("object"==typeof node&&"string"==typeof node.type)}function isProperty(nodeType,key){return(nodeType===Syntax.ObjectExpression||nodeType===Syntax.ObjectPattern)&&"properties"===key}function candidateExistsInLeaveList(leavelist,candidate){for(var i=leavelist.length-1;i>=0;--i)if(leavelist[i].node===candidate)return!0;return!1}function traverse(root,visitor){return(new Controller).traverse(root,visitor)}function extendCommentRange(comment,tokens){var target;return target=function upperBound(array,func){var diff,len,i,current;for(len=array.length,i=0;len;)func(array[current=i+(diff=len>>>1)])?len=diff:(i=current+1,len-=diff+1);return i}(tokens,(function search(token){return token.range[0]>comment.range[0]})),comment.extendedRange=[comment.range[0],comment.range[1]],target!==tokens.length&&(comment.extendedRange[1]=tokens[target].range[0]),(target-=1)>=0&&(comment.extendedRange[0]=tokens[target].range[1]),comment}return Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},VisitorKeys={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},VisitorOption={Break:BREAK={},Skip:SKIP={},Remove:REMOVE={}},Reference.prototype.replace=function replace(node){this.parent[this.key]=node},Reference.prototype.remove=function remove(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},Controller.prototype.path=function path(){var i,iz,j,jz,result;function addToPath(result,path){if(Array.isArray(path))for(j=0,jz=path.length;j=0;)if(candidate=node[key=candidates[current]])if(Array.isArray(candidate)){for(current2=candidate.length;(current2-=1)>=0;)if(candidate[current2]&&!candidateExistsInLeaveList(leavelist,candidate[current2])){if(isProperty(nodeType,candidates[current]))element=new Element(candidate[current2],[key,current2],"Property",null);else{if(!isNode(candidate[current2]))continue;element=new Element(candidate[current2],[key,current2],null,null)}worklist.push(element)}}else if(isNode(candidate)){if(candidateExistsInLeaveList(leavelist,candidate))continue;worklist.push(new Element(candidate,key,null,null))}}}else if(element=leavelist.pop(),ret=this.__execute(visitor.leave,element),this.__state===BREAK||ret===BREAK)return},Controller.prototype.replace=function replace(root,visitor){var worklist,leavelist,node,nodeType,target,element,current,current2,candidates,candidate,sentinel,outer,key;function removeElem(element){var i,key,nextElem,parent;if(element.ref.remove())for(key=element.ref.key,parent=element.ref.parent,i=worklist.length;i--;)if((nextElem=worklist[i]).ref&&nextElem.ref.parent===parent){if(nextElem.ref.key=0;)if(candidate=node[key=candidates[current]])if(Array.isArray(candidate)){for(current2=candidate.length;(current2-=1)>=0;)if(candidate[current2]){if(isProperty(nodeType,candidates[current]))element=new Element(candidate[current2],[key,current2],"Property",new Reference(candidate,current2));else{if(!isNode(candidate[current2]))continue;element=new Element(candidate[current2],[key,current2],null,new Reference(candidate,current2))}worklist.push(element)}}else isNode(candidate)&&worklist.push(new Element(candidate,key,null,new Reference(node,key)))}}else if(element=leavelist.pop(),void 0!==(target=this.__execute(visitor.leave,element))&&target!==BREAK&&target!==SKIP&&target!==REMOVE&&element.ref.replace(target),this.__state!==REMOVE&&target!==REMOVE||removeElem(element),this.__state===BREAK||target===BREAK)return outer.root;return outer.root},exports.Syntax=Syntax,exports.traverse=traverse,exports.replace=function replace(root,visitor){return(new Controller).replace(root,visitor)},exports.attachComments=function attachComments(tree,providedComments,tokens){var comment,len,i,cursor,comments=[];if(!tree.range)throw new Error("attachComments needs range information");if(!tokens.length){if(providedComments.length){for(i=0,len=providedComments.length;inode.range[0]);)comment.extendedRange[1]===node.range[0]?(node.leadingComments||(node.leadingComments=[]),node.leadingComments.push(comment),comments.splice(cursor,1)):cursor+=1;return cursor===comments.length?VisitorOption.Break:comments[cursor].extendedRange[0]>node.range[1]?VisitorOption.Skip:void 0}}),cursor=0,traverse(tree,{leave:function(node){for(var comment;cursornode.range[1]?VisitorOption.Skip:void 0}}),tree},exports.VisitorKeys=VisitorKeys,exports.VisitorOption=VisitorOption,exports.Controller=Controller,exports.cloneEnvironment=function(){return clone({})},exports}(exports)},"./node_modules/esutils/lib/ast.js":module=>{!function(){"use strict";function isStatement(node){if(null==node)return!1;switch(node.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function trailingStatement(node){switch(node.type){case"IfStatement":return null!=node.alternate?node.alternate:node.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return node.body}return null}module.exports={isExpression:function isExpression(node){if(null==node)return!1;switch(node.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement,isIterationStatement:function isIterationStatement(node){if(null==node)return!1;switch(node.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function isSourceElement(node){return isStatement(node)||null!=node&&"FunctionDeclaration"===node.type},isProblematicIfStatement:function isProblematicIfStatement(node){var current;if("IfStatement"!==node.type)return!1;if(null==node.alternate)return!1;current=node.consequent;do{if("IfStatement"===current.type&&null==current.alternate)return!0;current=trailingStatement(current)}while(current);return!1},trailingStatement}}()},"./node_modules/esutils/lib/code.js":module=>{!function(){"use strict";var ES6Regex,ES5Regex,NON_ASCII_WHITESPACES,IDENTIFIER_START,IDENTIFIER_PART,ch;function fromCodePoint(cp){return cp<=65535?String.fromCharCode(cp):String.fromCharCode(Math.floor((cp-65536)/1024)+55296)+String.fromCharCode((cp-65536)%1024+56320)}for(ES5Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},ES6Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},NON_ASCII_WHITESPACES=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],IDENTIFIER_START=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_START[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||36===ch||95===ch;for(IDENTIFIER_PART=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_PART[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||ch>=48&&ch<=57||36===ch||95===ch;module.exports={isDecimalDigit:function isDecimalDigit(ch){return 48<=ch&&ch<=57},isHexDigit:function isHexDigit(ch){return 48<=ch&&ch<=57||97<=ch&&ch<=102||65<=ch&&ch<=70},isOctalDigit:function isOctalDigit(ch){return ch>=48&&ch<=55},isWhiteSpace:function isWhiteSpace(ch){return 32===ch||9===ch||11===ch||12===ch||160===ch||ch>=5760&&NON_ASCII_WHITESPACES.indexOf(ch)>=0},isLineTerminator:function isLineTerminator(ch){return 10===ch||13===ch||8232===ch||8233===ch},isIdentifierStartES5:function isIdentifierStartES5(ch){return ch<128?IDENTIFIER_START[ch]:ES5Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES5:function isIdentifierPartES5(ch){return ch<128?IDENTIFIER_PART[ch]:ES5Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))},isIdentifierStartES6:function isIdentifierStartES6(ch){return ch<128?IDENTIFIER_START[ch]:ES6Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES6:function isIdentifierPartES6(ch){return ch<128?IDENTIFIER_PART[ch]:ES6Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))}}}()},"./node_modules/esutils/lib/keyword.js":(module,__unused_webpack_exports,__webpack_require__)=>{!function(){"use strict";var code=__webpack_require__("./node_modules/esutils/lib/code.js");function isKeywordES5(id,strict){return!(!strict&&"yield"===id)&&isKeywordES6(id,strict)}function isKeywordES6(id,strict){if(strict&&function isStrictModeReservedWordES6(id){switch(id){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(id))return!0;switch(id.length){case 2:return"if"===id||"in"===id||"do"===id;case 3:return"var"===id||"for"===id||"new"===id||"try"===id;case 4:return"this"===id||"else"===id||"case"===id||"void"===id||"with"===id||"enum"===id;case 5:return"while"===id||"break"===id||"catch"===id||"throw"===id||"const"===id||"yield"===id||"class"===id||"super"===id;case 6:return"return"===id||"typeof"===id||"delete"===id||"switch"===id||"export"===id||"import"===id;case 7:return"default"===id||"finally"===id||"extends"===id;case 8:return"function"===id||"continue"===id||"debugger"===id;case 10:return"instanceof"===id;default:return!1}}function isReservedWordES5(id,strict){return"null"===id||"true"===id||"false"===id||isKeywordES5(id,strict)}function isReservedWordES6(id,strict){return"null"===id||"true"===id||"false"===id||isKeywordES6(id,strict)}function isIdentifierNameES5(id){var i,iz,ch;if(0===id.length)return!1;if(ch=id.charCodeAt(0),!code.isIdentifierStartES5(ch))return!1;for(i=1,iz=id.length;i=iz)return!1;if(!(56320<=(lowCh=id.charCodeAt(i))&&lowCh<=57343))return!1;ch=1024*(ch-55296)+(lowCh-56320)+65536}if(!check(ch))return!1;check=code.isIdentifierPartES6}return!0}module.exports={isKeywordES5,isKeywordES6,isReservedWordES5,isReservedWordES6,isRestrictedWord:function isRestrictedWord(id){return"eval"===id||"arguments"===id},isIdentifierNameES5,isIdentifierNameES6,isIdentifierES5:function isIdentifierES5(id,strict){return isIdentifierNameES5(id)&&!isReservedWordES5(id,strict)},isIdentifierES6:function isIdentifierES6(id,strict){return isIdentifierNameES6(id)&&!isReservedWordES6(id,strict)}}}()},"./node_modules/esutils/lib/utils.js":(__unused_webpack_module,exports,__webpack_require__)=>{!function(){"use strict";exports.ast=__webpack_require__("./node_modules/esutils/lib/ast.js"),exports.code=__webpack_require__("./node_modules/esutils/lib/code.js"),exports.keyword=__webpack_require__("./node_modules/esutils/lib/keyword.js")}()},"./node_modules/for-each/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isCallable=__webpack_require__("./node_modules/is-callable/index.js"),toStr=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function forEach(list,iterator,thisArg){if(!isCallable(iterator))throw new TypeError("iterator must be a function");var receiver;arguments.length>=3&&(receiver=thisArg),"[object Array]"===toStr.call(list)?function forEachArray(array,iterator,receiver){for(var i=0,len=array.length;i{"use strict";var toStr=Object.prototype.toString,max=Math.max,concatty=function concatty(a,b){for(var arr=[],i=0;i{"use strict";var implementation=__webpack_require__("./node_modules/function-bind/implementation.js");module.exports=Function.prototype.bind||implementation},"./node_modules/get-intrinsic/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $Error=__webpack_require__("./node_modules/es-errors/index.js"),$EvalError=__webpack_require__("./node_modules/es-errors/eval.js"),$RangeError=__webpack_require__("./node_modules/es-errors/range.js"),$ReferenceError=__webpack_require__("./node_modules/es-errors/ref.js"),$SyntaxError=__webpack_require__("./node_modules/es-errors/syntax.js"),$TypeError=__webpack_require__("./node_modules/es-errors/type.js"),$URIError=__webpack_require__("./node_modules/es-errors/uri.js"),$Function=Function,getEvalledConstructor=function(expressionSyntax){try{return $Function('"use strict"; return ('+expressionSyntax+").constructor;")()}catch(e){}},$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch(e){$gOPD=null}var throwTypeError=function(){throw new $TypeError},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(calleeThrows){try{return $gOPD(arguments,"callee").get}catch(gOPDthrows){return throwTypeError}}}():throwTypeError,hasSymbols=__webpack_require__("./node_modules/has-symbols/index.js")(),hasProto=__webpack_require__("./node_modules/has-proto/index.js")(),getProto=Object.getPrototypeOf||(hasProto?function(x){return x.__proto__}:null),needsEval={},TypedArray="undefined"!=typeof Uint8Array&&getProto?getProto(Uint8Array):undefined,INTRINSICS={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":"undefined"==typeof Atomics?undefined:Atomics,"%BigInt%":"undefined"==typeof BigInt?undefined:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?undefined:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?undefined:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":"undefined"==typeof Float32Array?undefined:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?undefined:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":"undefined"==typeof Int8Array?undefined:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?undefined:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":"undefined"==typeof Map?undefined:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols&&getProto?getProto((new Map)[Symbol.iterator]()):undefined,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?undefined:Promise,"%Proxy%":"undefined"==typeof Proxy?undefined:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":"undefined"==typeof Reflect?undefined:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?undefined:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols&&getProto?getProto((new Set)[Symbol.iterator]()):undefined,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":"undefined"==typeof Uint8Array?undefined:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?undefined:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?undefined:Uint32Array,"%URIError%":$URIError,"%WeakMap%":"undefined"==typeof WeakMap?undefined:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?undefined:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?undefined:WeakSet};if(getProto)try{null.error}catch(e){var errorProto=getProto(getProto(e));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function doEval(name){var value;if("%AsyncFunction%"===name)value=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===name)value=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===name)value=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===name){var fn=doEval("%AsyncGeneratorFunction%");fn&&(value=fn.prototype)}else if("%AsyncIteratorPrototype%"===name){var gen=doEval("%AsyncGenerator%");gen&&getProto&&(value=getProto(gen.prototype))}return INTRINSICS[name]=value,value},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=__webpack_require__("./node_modules/function-bind/index.js"),hasOwn=__webpack_require__("./node_modules/hasown/index.js"),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,getBaseIntrinsic=function getBaseIntrinsic(name,allowMissing){var alias,intrinsicName=name;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(intrinsicName="%"+(alias=LEGACY_ALIASES[intrinsicName])[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),void 0===value&&!allowMissing)throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return{alias,name:intrinsicName,value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module.exports=function GetIntrinsic(name,allowMissing){if("string"!=typeof name||0===name.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,name))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var parts=function stringToPath(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result=[];return $replace(string,rePropName,(function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match})),result}(name),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);value=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value[part]}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value)}}return value}},"./node_modules/gopd/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $gOPD=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch(e){$gOPD=null}module.exports=$gOPD},"./node_modules/has-property-descriptors/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $defineProperty=__webpack_require__("./node_modules/es-define-property/index.js"),hasPropertyDescriptors=function hasPropertyDescriptors(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!$defineProperty)return null;try{return 1!==$defineProperty([],"length",{value:1}).length}catch(e){return!0}},module.exports=hasPropertyDescriptors},"./node_modules/has-proto/index.js":module=>{"use strict";var test={__proto__:null,foo:{}},$Object=Object;module.exports=function hasProto(){return{__proto__:test}.foo===test.foo&&!(test instanceof $Object)}},"./node_modules/has-symbols/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var origSymbol="undefined"!=typeof Symbol&&Symbol,hasSymbolSham=__webpack_require__("./node_modules/has-symbols/shams.js");module.exports=function hasNativeSymbols(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"==typeof origSymbol("foo")&&("symbol"==typeof Symbol("bar")&&hasSymbolSham())))}},"./node_modules/has-symbols/shams.js":module=>{"use strict";module.exports=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var obj={},sym=Symbol("test"),symObj=Object(sym);if("string"==typeof sym)return!1;if("[object Symbol]"!==Object.prototype.toString.call(sym))return!1;if("[object Symbol]"!==Object.prototype.toString.call(symObj))return!1;for(sym in obj[sym]=42,obj)return!1;if("function"==typeof Object.keys&&0!==Object.keys(obj).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(obj).length)return!1;var syms=Object.getOwnPropertySymbols(obj);if(1!==syms.length||syms[0]!==sym)return!1;if(!Object.prototype.propertyIsEnumerable.call(obj,sym))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(42!==descriptor.value||!0!==descriptor.enumerable)return!1}return!0}},"./node_modules/has-tostringtag/shams.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasSymbols=__webpack_require__("./node_modules/has-symbols/shams.js");module.exports=function hasToStringTagShams(){return hasSymbols()&&!!Symbol.toStringTag}},"./node_modules/hasown/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var call=Function.prototype.call,$hasOwn=Object.prototype.hasOwnProperty,bind=__webpack_require__("./node_modules/function-bind/index.js");module.exports=bind.call(call,$hasOwn)},"./node_modules/html-tags/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/html-tags/html-tags.json")},"./node_modules/inherits/inherits_browser.js":module=>{"function"==typeof Object.create?module.exports=function inherits(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module.exports=function inherits(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}},"./node_modules/is-arguments/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasToStringTag=__webpack_require__("./node_modules/has-tostringtag/shams.js")(),$toString=__webpack_require__("./node_modules/call-bind/callBound.js")("Object.prototype.toString"),isStandardArguments=function isArguments(value){return!(hasToStringTag&&value&&"object"==typeof value&&Symbol.toStringTag in value)&&"[object Arguments]"===$toString(value)},isLegacyArguments=function isArguments(value){return!!isStandardArguments(value)||null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Array]"!==$toString(value)&&"[object Function]"===$toString(value.callee)},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments},"./node_modules/is-callable/index.js":module=>{"use strict";var badArrayLike,isCallableMarker,fnToStr=Function.prototype.toString,reflectApply="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof reflectApply&&"function"==typeof Object.defineProperty)try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply((function(){throw 42}),null,badArrayLike)}catch(_){_!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function isES6ClassFunction(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch(e){return!1}},tryFunctionObject=function tryFunctionToStr(value){try{return!isES6ClassFn(value)&&(fnToStr.call(value),!0)}catch(e){return!1}},toStr=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function isDocumentDotAll(){return!1};if("object"==typeof document){var all=document.all;toStr.call(all)===toStr.call(document.all)&&(isDDA=function isDocumentDotAll(value){if((isIE68||!value)&&(void 0===value||"object"==typeof value))try{var str=toStr.call(value);return("[object HTMLAllCollection]"===str||"[object HTML document.all class]"===str||"[object HTMLCollection]"===str||"[object Object]"===str)&&null==value("")}catch(e){}return!1})}module.exports=reflectApply?function isCallable(value){if(isDDA(value))return!0;if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;try{reflectApply(value,null,badArrayLike)}catch(e){if(e!==isCallableMarker)return!1}return!isES6ClassFn(value)&&tryFunctionObject(value)}:function isCallable(value){if(isDDA(value))return!0;if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=toStr.call(value);return!("[object Function]"!==strClass&&"[object GeneratorFunction]"!==strClass&&!/^\[object HTML/.test(strClass))&&tryFunctionObject(value)}},"./node_modules/is-generator-function/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GeneratorFunction,toStr=Object.prototype.toString,fnToStr=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag=__webpack_require__("./node_modules/has-tostringtag/shams.js")(),getProto=Object.getPrototypeOf;module.exports=function isGeneratorFunction(fn){if("function"!=typeof fn)return!1;if(isFnRegex.test(fnToStr.call(fn)))return!0;if(!hasToStringTag)return"[object GeneratorFunction]"===toStr.call(fn);if(!getProto)return!1;if(void 0===GeneratorFunction){var generatorFunc=function(){if(!hasToStringTag)return!1;try{return Function("return function*() {}")()}catch(e){}}();GeneratorFunction=!!generatorFunc&&getProto(generatorFunc)}return getProto(fn)===GeneratorFunction}},"./node_modules/is-nan/implementation.js":module=>{"use strict";module.exports=function isNaN(value){return value!=value}},"./node_modules/is-nan/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callBind=__webpack_require__("./node_modules/call-bind/index.js"),define=__webpack_require__("./node_modules/define-properties/index.js"),implementation=__webpack_require__("./node_modules/is-nan/implementation.js"),getPolyfill=__webpack_require__("./node_modules/is-nan/polyfill.js"),shim=__webpack_require__("./node_modules/is-nan/shim.js"),polyfill=callBind(getPolyfill(),Number);define(polyfill,{getPolyfill,implementation,shim}),module.exports=polyfill},"./node_modules/is-nan/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/is-nan/implementation.js");module.exports=function getPolyfill(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:implementation}},"./node_modules/is-nan/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),getPolyfill=__webpack_require__("./node_modules/is-nan/polyfill.js");module.exports=function shimNumberIsNaN(){var polyfill=getPolyfill();return define(Number,{isNaN:polyfill},{isNaN:function testIsNaN(){return Number.isNaN!==polyfill}}),polyfill}},"./node_modules/is-plain-object/dist/is-plain-object.js":(__unused_webpack_module,exports)=>{"use strict";function isObject(o){return"[object Object]"===Object.prototype.toString.call(o)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.isPlainObject=function isPlainObject(o){var ctor,prot;return!1!==isObject(o)&&(void 0===(ctor=o.constructor)||!1!==isObject(prot=ctor.prototype)&&!1!==prot.hasOwnProperty("isPrototypeOf"))}},"./node_modules/is-typed-array/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var whichTypedArray=__webpack_require__("./node_modules/which-typed-array/index.js");module.exports=function isTypedArray(value){return!!whichTypedArray(value)}},"./node_modules/lodash/_DataView.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DataView=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"DataView");module.exports=DataView},"./node_modules/lodash/_Hash.js":(module,__unused_webpack_exports,__webpack_require__)=>{var hashClear=__webpack_require__("./node_modules/lodash/_hashClear.js"),hashDelete=__webpack_require__("./node_modules/lodash/_hashDelete.js"),hashGet=__webpack_require__("./node_modules/lodash/_hashGet.js"),hashHas=__webpack_require__("./node_modules/lodash/_hashHas.js"),hashSet=__webpack_require__("./node_modules/lodash/_hashSet.js");function Hash(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var listCacheClear=__webpack_require__("./node_modules/lodash/_listCacheClear.js"),listCacheDelete=__webpack_require__("./node_modules/lodash/_listCacheDelete.js"),listCacheGet=__webpack_require__("./node_modules/lodash/_listCacheGet.js"),listCacheHas=__webpack_require__("./node_modules/lodash/_listCacheHas.js"),listCacheSet=__webpack_require__("./node_modules/lodash/_listCacheSet.js");function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var Map=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Map");module.exports=Map},"./node_modules/lodash/_MapCache.js":(module,__unused_webpack_exports,__webpack_require__)=>{var mapCacheClear=__webpack_require__("./node_modules/lodash/_mapCacheClear.js"),mapCacheDelete=__webpack_require__("./node_modules/lodash/_mapCacheDelete.js"),mapCacheGet=__webpack_require__("./node_modules/lodash/_mapCacheGet.js"),mapCacheHas=__webpack_require__("./node_modules/lodash/_mapCacheHas.js"),mapCacheSet=__webpack_require__("./node_modules/lodash/_mapCacheSet.js");function MapCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var Promise=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Promise");module.exports=Promise},"./node_modules/lodash/_Set.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Set=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Set");module.exports=Set},"./node_modules/lodash/_SetCache.js":(module,__unused_webpack_exports,__webpack_require__)=>{var MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js"),setCacheAdd=__webpack_require__("./node_modules/lodash/_setCacheAdd.js"),setCacheHas=__webpack_require__("./node_modules/lodash/_setCacheHas.js");function SetCache(values){var index=-1,length=null==values?0:values.length;for(this.__data__=new MapCache;++index{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),stackClear=__webpack_require__("./node_modules/lodash/_stackClear.js"),stackDelete=__webpack_require__("./node_modules/lodash/_stackDelete.js"),stackGet=__webpack_require__("./node_modules/lodash/_stackGet.js"),stackHas=__webpack_require__("./node_modules/lodash/_stackHas.js"),stackSet=__webpack_require__("./node_modules/lodash/_stackSet.js");function Stack(entries){var data=this.__data__=new ListCache(entries);this.size=data.size}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet,module.exports=Stack},"./node_modules/lodash/_Symbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_root.js").Symbol;module.exports=Symbol},"./node_modules/lodash/_Uint8Array.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Uint8Array=__webpack_require__("./node_modules/lodash/_root.js").Uint8Array;module.exports=Uint8Array},"./node_modules/lodash/_WeakMap.js":(module,__unused_webpack_exports,__webpack_require__)=>{var WeakMap=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"WeakMap");module.exports=WeakMap},"./node_modules/lodash/_arrayFilter.js":module=>{module.exports=function arrayFilter(array,predicate){for(var index=-1,length=null==array?0:array.length,resIndex=0,result=[];++index{var baseTimes=__webpack_require__("./node_modules/lodash/_baseTimes.js"),isArguments=__webpack_require__("./node_modules/lodash/isArguments.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("./node_modules/lodash/isBuffer.js"),isIndex=__webpack_require__("./node_modules/lodash/_isIndex.js"),isTypedArray=__webpack_require__("./node_modules/lodash/isTypedArray.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length))||result.push(key);return result}},"./node_modules/lodash/_arrayMap.js":module=>{module.exports=function arrayMap(array,iteratee){for(var index=-1,length=null==array?0:array.length,result=Array(length);++index{module.exports=function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index{module.exports=function arraySome(array,predicate){for(var index=-1,length=null==array?0:array.length;++index{var eq=__webpack_require__("./node_modules/lodash/eq.js");module.exports=function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq(array[length][0],key))return length;return-1}},"./node_modules/lodash/_baseAssignValue.js":(module,__unused_webpack_exports,__webpack_require__)=>{var defineProperty=__webpack_require__("./node_modules/lodash/_defineProperty.js");module.exports=function baseAssignValue(object,key,value){"__proto__"==key&&defineProperty?defineProperty(object,key,{configurable:!0,enumerable:!0,value,writable:!0}):object[key]=value}},"./node_modules/lodash/_baseFor.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseFor=__webpack_require__("./node_modules/lodash/_createBaseFor.js")();module.exports=baseFor},"./node_modules/lodash/_baseForOwn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseFor=__webpack_require__("./node_modules/lodash/_baseFor.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}},"./node_modules/lodash/_baseGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var castPath=__webpack_require__("./node_modules/lodash/_castPath.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function baseGet(object,path){for(var index=0,length=(path=castPath(path,object)).length;null!=object&&index{var arrayPush=__webpack_require__("./node_modules/lodash/_arrayPush.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js");module.exports=function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object))}},"./node_modules/lodash/_baseGetTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),getRawTag=__webpack_require__("./node_modules/lodash/_getRawTag.js"),objectToString=__webpack_require__("./node_modules/lodash/_objectToString.js"),symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function baseGetTag(value){return null==value?void 0===value?"[object Undefined]":"[object Null]":symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}},"./node_modules/lodash/_baseHasIn.js":module=>{module.exports=function baseHasIn(object,key){return null!=object&&key in Object(object)}},"./node_modules/lodash/_baseIsArguments.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsArguments(value){return isObjectLike(value)&&"[object Arguments]"==baseGetTag(value)}},"./node_modules/lodash/_baseIsEqual.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqualDeep=__webpack_require__("./node_modules/lodash/_baseIsEqualDeep.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsEqual(value,other,bitmask,customizer,stack){return value===other||(null==value||null==other||!isObjectLike(value)&&!isObjectLike(other)?value!=value&&other!=other:baseIsEqualDeep(value,other,bitmask,customizer,baseIsEqual,stack))}},"./node_modules/lodash/_baseIsEqualDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("./node_modules/lodash/_Stack.js"),equalArrays=__webpack_require__("./node_modules/lodash/_equalArrays.js"),equalByTag=__webpack_require__("./node_modules/lodash/_equalByTag.js"),equalObjects=__webpack_require__("./node_modules/lodash/_equalObjects.js"),getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("./node_modules/lodash/isBuffer.js"),isTypedArray=__webpack_require__("./node_modules/lodash/isTypedArray.js"),objectTag="[object Object]",hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=objIsArr?"[object Array]":getTag(object),othTag=othIsArr?"[object Array]":getTag(other),objIsObj=(objTag="[object Arguments]"==objTag?objectTag:objTag)==objectTag,othIsObj=(othTag="[object Arguments]"==othTag?objectTag:othTag)==objectTag,isSameTag=objTag==othTag;if(isSameTag&&isBuffer(object)){if(!isBuffer(other))return!1;objIsArr=!0,objIsObj=!1}if(isSameTag&&!objIsObj)return stack||(stack=new Stack),objIsArr||isTypedArray(object)?equalArrays(object,other,bitmask,customizer,equalFunc,stack):equalByTag(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(1&bitmask)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack),equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}return!!isSameTag&&(stack||(stack=new Stack),equalObjects(object,other,bitmask,customizer,equalFunc,stack))}},"./node_modules/lodash/_baseIsMatch.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("./node_modules/lodash/_Stack.js"),baseIsEqual=__webpack_require__("./node_modules/lodash/_baseIsEqual.js");module.exports=function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(null==object)return!length;for(object=Object(object);index--;){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return!1}for(;++index{var isFunction=__webpack_require__("./node_modules/lodash/isFunction.js"),isMasked=__webpack_require__("./node_modules/lodash/_isMasked.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),toSource=__webpack_require__("./node_modules/lodash/_toSource.js"),reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");module.exports=function baseIsNative(value){return!(!isObject(value)||isMasked(value))&&(isFunction(value)?reIsNative:reIsHostCtor).test(toSource(value))}},"./node_modules/lodash/_baseIsTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js"),typedArrayTags={};typedArrayTags["[object Float32Array]"]=typedArrayTags["[object Float64Array]"]=typedArrayTags["[object Int8Array]"]=typedArrayTags["[object Int16Array]"]=typedArrayTags["[object Int32Array]"]=typedArrayTags["[object Uint8Array]"]=typedArrayTags["[object Uint8ClampedArray]"]=typedArrayTags["[object Uint16Array]"]=typedArrayTags["[object Uint32Array]"]=!0,typedArrayTags["[object Arguments]"]=typedArrayTags["[object Array]"]=typedArrayTags["[object ArrayBuffer]"]=typedArrayTags["[object Boolean]"]=typedArrayTags["[object DataView]"]=typedArrayTags["[object Date]"]=typedArrayTags["[object Error]"]=typedArrayTags["[object Function]"]=typedArrayTags["[object Map]"]=typedArrayTags["[object Number]"]=typedArrayTags["[object Object]"]=typedArrayTags["[object RegExp]"]=typedArrayTags["[object Set]"]=typedArrayTags["[object String]"]=typedArrayTags["[object WeakMap]"]=!1,module.exports=function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}},"./node_modules/lodash/_baseIteratee.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseMatches=__webpack_require__("./node_modules/lodash/_baseMatches.js"),baseMatchesProperty=__webpack_require__("./node_modules/lodash/_baseMatchesProperty.js"),identity=__webpack_require__("./node_modules/lodash/identity.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),property=__webpack_require__("./node_modules/lodash/property.js");module.exports=function baseIteratee(value){return"function"==typeof value?value:null==value?identity:"object"==typeof value?isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value):property(value)}},"./node_modules/lodash/_baseKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isPrototype=__webpack_require__("./node_modules/lodash/_isPrototype.js"),nativeKeys=__webpack_require__("./node_modules/lodash/_nativeKeys.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}},"./node_modules/lodash/_baseMatches.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsMatch=__webpack_require__("./node_modules/lodash/_baseIsMatch.js"),getMatchData=__webpack_require__("./node_modules/lodash/_getMatchData.js"),matchesStrictComparable=__webpack_require__("./node_modules/lodash/_matchesStrictComparable.js");module.exports=function baseMatches(source){var matchData=getMatchData(source);return 1==matchData.length&&matchData[0][2]?matchesStrictComparable(matchData[0][0],matchData[0][1]):function(object){return object===source||baseIsMatch(object,source,matchData)}}},"./node_modules/lodash/_baseMatchesProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqual=__webpack_require__("./node_modules/lodash/_baseIsEqual.js"),get=__webpack_require__("./node_modules/lodash/get.js"),hasIn=__webpack_require__("./node_modules/lodash/hasIn.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),isStrictComparable=__webpack_require__("./node_modules/lodash/_isStrictComparable.js"),matchesStrictComparable=__webpack_require__("./node_modules/lodash/_matchesStrictComparable.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function baseMatchesProperty(path,srcValue){return isKey(path)&&isStrictComparable(srcValue)?matchesStrictComparable(toKey(path),srcValue):function(object){var objValue=get(object,path);return void 0===objValue&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,3)}}},"./node_modules/lodash/_baseProperty.js":module=>{module.exports=function baseProperty(key){return function(object){return null==object?void 0:object[key]}}},"./node_modules/lodash/_basePropertyDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("./node_modules/lodash/_baseGet.js");module.exports=function basePropertyDeep(path){return function(object){return baseGet(object,path)}}},"./node_modules/lodash/_baseTimes.js":module=>{module.exports=function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),arrayMap=__webpack_require__("./node_modules/lodash/_arrayMap.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;module.exports=function baseToString(value){if("string"==typeof value)return value;if(isArray(value))return arrayMap(value,baseToString)+"";if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-Infinity?"-0":result}},"./node_modules/lodash/_baseUnary.js":module=>{module.exports=function baseUnary(func){return function(value){return func(value)}}},"./node_modules/lodash/_cacheHas.js":module=>{module.exports=function cacheHas(cache,key){return cache.has(key)}},"./node_modules/lodash/_castPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),stringToPath=__webpack_require__("./node_modules/lodash/_stringToPath.js"),toString=__webpack_require__("./node_modules/lodash/toString.js");module.exports=function castPath(value,object){return isArray(value)?value:isKey(value,object)?[value]:stringToPath(toString(value))}},"./node_modules/lodash/_coreJsData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var coreJsData=__webpack_require__("./node_modules/lodash/_root.js")["__core-js_shared__"];module.exports=coreJsData},"./node_modules/lodash/_createBaseFor.js":module=>{module.exports=function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;length--;){var key=props[fromRight?length:++index];if(!1===iteratee(iterable[key],key,iterable))break}return object}}},"./node_modules/lodash/_defineProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getNative=__webpack_require__("./node_modules/lodash/_getNative.js"),defineProperty=function(){try{var func=getNative(Object,"defineProperty");return func({},"",{}),func}catch(e){}}();module.exports=defineProperty},"./node_modules/lodash/_equalArrays.js":(module,__unused_webpack_exports,__webpack_require__)=>{var SetCache=__webpack_require__("./node_modules/lodash/_SetCache.js"),arraySome=__webpack_require__("./node_modules/lodash/_arraySome.js"),cacheHas=__webpack_require__("./node_modules/lodash/_cacheHas.js");module.exports=function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=2&bitmask?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),Uint8Array=__webpack_require__("./node_modules/lodash/_Uint8Array.js"),eq=__webpack_require__("./node_modules/lodash/eq.js"),equalArrays=__webpack_require__("./node_modules/lodash/_equalArrays.js"),mapToArray=__webpack_require__("./node_modules/lodash/_mapToArray.js"),setToArray=__webpack_require__("./node_modules/lodash/_setToArray.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;module.exports=function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case"[object DataView]":if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case"[object ArrayBuffer]":return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array(object),new Uint8Array(other)));case"[object Boolean]":case"[object Date]":case"[object Number]":return eq(+object,+other);case"[object Error]":return object.name==other.name&&object.message==other.message;case"[object RegExp]":case"[object String]":return object==other+"";case"[object Map]":var convert=mapToArray;case"[object Set]":var isPartial=1&bitmask;if(convert||(convert=setToArray),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=2,stack.set(object,other);var result=equalArrays(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),result;case"[object Symbol]":if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}},"./node_modules/lodash/_equalObjects.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getAllKeys=__webpack_require__("./node_modules/lodash/_getAllKeys.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,objProps=getAllKeys(object),objLength=objProps.length;if(objLength!=getAllKeys(other).length&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index{var freeGlobal="object"==typeof __webpack_require__.g&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g;module.exports=freeGlobal},"./node_modules/lodash/_getAllKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetAllKeys=__webpack_require__("./node_modules/lodash/_baseGetAllKeys.js"),getSymbols=__webpack_require__("./node_modules/lodash/_getSymbols.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols)}},"./node_modules/lodash/_getMapData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isKeyable=__webpack_require__("./node_modules/lodash/_isKeyable.js");module.exports=function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}},"./node_modules/lodash/_getMatchData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isStrictComparable=__webpack_require__("./node_modules/lodash/_isStrictComparable.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function getMatchData(object){for(var result=keys(object),length=result.length;length--;){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}},"./node_modules/lodash/_getNative.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsNative=__webpack_require__("./node_modules/lodash/_baseIsNative.js"),getValue=__webpack_require__("./node_modules/lodash/_getValue.js");module.exports=function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}},"./node_modules/lodash/_getPrototype.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getPrototype=__webpack_require__("./node_modules/lodash/_overArg.js")(Object.getPrototypeOf,Object);module.exports=getPrototype},"./node_modules/lodash/_getRawTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch(e){}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}},"./node_modules/lodash/_getSymbols.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayFilter=__webpack_require__("./node_modules/lodash/_arrayFilter.js"),stubArray=__webpack_require__("./node_modules/lodash/stubArray.js"),propertyIsEnumerable=Object.prototype.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(object){return null==object?[]:(object=Object(object),arrayFilter(nativeGetSymbols(object),(function(symbol){return propertyIsEnumerable.call(object,symbol)})))}:stubArray;module.exports=getSymbols},"./node_modules/lodash/_getTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DataView=__webpack_require__("./node_modules/lodash/_DataView.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js"),Promise=__webpack_require__("./node_modules/lodash/_Promise.js"),Set=__webpack_require__("./node_modules/lodash/_Set.js"),WeakMap=__webpack_require__("./node_modules/lodash/_WeakMap.js"),baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),toSource=__webpack_require__("./node_modules/lodash/_toSource.js"),dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap),getTag=baseGetTag;(DataView&&"[object DataView]"!=getTag(new DataView(new ArrayBuffer(1)))||Map&&"[object Map]"!=getTag(new Map)||Promise&&"[object Promise]"!=getTag(Promise.resolve())||Set&&"[object Set]"!=getTag(new Set)||WeakMap&&"[object WeakMap]"!=getTag(new WeakMap))&&(getTag=function(value){var result=baseGetTag(value),Ctor="[object Object]"==result?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return"[object DataView]";case mapCtorString:return"[object Map]";case promiseCtorString:return"[object Promise]";case setCtorString:return"[object Set]";case weakMapCtorString:return"[object WeakMap]"}return result}),module.exports=getTag},"./node_modules/lodash/_getValue.js":module=>{module.exports=function getValue(object,key){return null==object?void 0:object[key]}},"./node_modules/lodash/_hasPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var castPath=__webpack_require__("./node_modules/lodash/_castPath.js"),isArguments=__webpack_require__("./node_modules/lodash/isArguments.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isIndex=__webpack_require__("./node_modules/lodash/_isIndex.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function hasPath(object,path,hasFunc){for(var index=-1,length=(path=castPath(path,object)).length,result=!1;++index{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js");module.exports=function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}},"./node_modules/lodash/_hashDelete.js":module=>{module.exports=function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}},"./node_modules/lodash/_hashGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return"__lodash_hash_undefined__"===result?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}},"./node_modules/lodash/_hashHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}},"./node_modules/lodash/_hashSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js");module.exports=function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate&&void 0===value?"__lodash_hash_undefined__":value,this}},"./node_modules/lodash/_isIndex.js":module=>{var reIsUint=/^(?:0|[1-9]\d*)$/;module.exports=function isIndex(value,length){var type=typeof value;return!!(length=null==length?9007199254740991:length)&&("number"==type||"symbol"!=type&&reIsUint.test(value))&&value>-1&&value%1==0&&value{var isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;module.exports=function isKey(value,object){if(isArray(value))return!1;var type=typeof value;return!("number"!=type&&"symbol"!=type&&"boolean"!=type&&null!=value&&!isSymbol(value))||(reIsPlainProp.test(value)||!reIsDeepProp.test(value)||null!=object&&value in Object(object))}},"./node_modules/lodash/_isKeyable.js":module=>{module.exports=function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}},"./node_modules/lodash/_isMasked.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uid,coreJsData=__webpack_require__("./node_modules/lodash/_coreJsData.js"),maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""))?"Symbol(src)_1."+uid:"";module.exports=function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}},"./node_modules/lodash/_isPrototype.js":module=>{var objectProto=Object.prototype;module.exports=function isPrototype(value){var Ctor=value&&value.constructor;return value===("function"==typeof Ctor&&Ctor.prototype||objectProto)}},"./node_modules/lodash/_isStrictComparable.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function isStrictComparable(value){return value==value&&!isObject(value)}},"./node_modules/lodash/_listCacheClear.js":module=>{module.exports=function listCacheClear(){this.__data__=[],this.size=0}},"./node_modules/lodash/_listCacheDelete.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js"),splice=Array.prototype.splice;module.exports=function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);return!(index<0)&&(index==data.length-1?data.pop():splice.call(data,index,1),--this.size,!0)}},"./node_modules/lodash/_listCacheGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}},"./node_modules/lodash/_listCacheHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}},"./node_modules/lodash/_listCacheSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}},"./node_modules/lodash/_mapCacheClear.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Hash=__webpack_require__("./node_modules/lodash/_Hash.js"),ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js");module.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}},"./node_modules/lodash/_mapCacheDelete.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheDelete(key){var result=getMapData(this,key).delete(key);return this.size-=result?1:0,result}},"./node_modules/lodash/_mapCacheGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheGet(key){return getMapData(this,key).get(key)}},"./node_modules/lodash/_mapCacheHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheHas(key){return getMapData(this,key).has(key)}},"./node_modules/lodash/_mapCacheSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}},"./node_modules/lodash/_mapToArray.js":module=>{module.exports=function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach((function(value,key){result[++index]=[key,value]})),result}},"./node_modules/lodash/_matchesStrictComparable.js":module=>{module.exports=function matchesStrictComparable(key,srcValue){return function(object){return null!=object&&(object[key]===srcValue&&(void 0!==srcValue||key in Object(object)))}}},"./node_modules/lodash/_memoizeCapped.js":(module,__unused_webpack_exports,__webpack_require__)=>{var memoize=__webpack_require__("./node_modules/lodash/memoize.js");module.exports=function memoizeCapped(func){var result=memoize(func,(function(key){return 500===cache.size&&cache.clear(),key})),cache=result.cache;return result}},"./node_modules/lodash/_nativeCreate.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_getNative.js")(Object,"create");module.exports=nativeCreate},"./node_modules/lodash/_nativeKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeKeys=__webpack_require__("./node_modules/lodash/_overArg.js")(Object.keys,Object);module.exports=nativeKeys},"./node_modules/lodash/_nodeUtil.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var freeGlobal=__webpack_require__("./node_modules/lodash/_freeGlobal.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,freeProcess=freeModule&&freeModule.exports===freeExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=nodeUtil},"./node_modules/lodash/_objectToString.js":module=>{var nativeObjectToString=Object.prototype.toString;module.exports=function objectToString(value){return nativeObjectToString.call(value)}},"./node_modules/lodash/_overArg.js":module=>{module.exports=function overArg(func,transform){return function(arg){return func(transform(arg))}}},"./node_modules/lodash/_root.js":(module,__unused_webpack_exports,__webpack_require__)=>{var freeGlobal=__webpack_require__("./node_modules/lodash/_freeGlobal.js"),freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();module.exports=root},"./node_modules/lodash/_setCacheAdd.js":module=>{module.exports=function setCacheAdd(value){return this.__data__.set(value,"__lodash_hash_undefined__"),this}},"./node_modules/lodash/_setCacheHas.js":module=>{module.exports=function setCacheHas(value){return this.__data__.has(value)}},"./node_modules/lodash/_setToArray.js":module=>{module.exports=function setToArray(set){var index=-1,result=Array(set.size);return set.forEach((function(value){result[++index]=value})),result}},"./node_modules/lodash/_stackClear.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js");module.exports=function stackClear(){this.__data__=new ListCache,this.size=0}},"./node_modules/lodash/_stackDelete.js":module=>{module.exports=function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result}},"./node_modules/lodash/_stackGet.js":module=>{module.exports=function stackGet(key){return this.__data__.get(key)}},"./node_modules/lodash/_stackHas.js":module=>{module.exports=function stackHas(key){return this.__data__.has(key)}},"./node_modules/lodash/_stackSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js"),MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js");module.exports=function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<199)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache(pairs)}return data.set(key,value),this.size=data.size,this}},"./node_modules/lodash/_stringToPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var memoizeCapped=__webpack_require__("./node_modules/lodash/_memoizeCapped.js"),rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped((function(string){var result=[];return 46===string.charCodeAt(0)&&result.push(""),string.replace(rePropName,(function(match,number,quote,subString){result.push(quote?subString.replace(reEscapeChar,"$1"):number||match)})),result}));module.exports=stringToPath},"./node_modules/lodash/_toKey.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js");module.exports=function toKey(value){if("string"==typeof value||isSymbol(value))return value;var result=value+"";return"0"==result&&1/value==-Infinity?"-0":result}},"./node_modules/lodash/_toSource.js":module=>{var funcToString=Function.prototype.toString;module.exports=function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}},"./node_modules/lodash/eq.js":module=>{module.exports=function eq(value,other){return value===other||value!=value&&other!=other}},"./node_modules/lodash/get.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("./node_modules/lodash/_baseGet.js");module.exports=function get(object,path,defaultValue){var result=null==object?void 0:baseGet(object,path);return void 0===result?defaultValue:result}},"./node_modules/lodash/hasIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseHasIn=__webpack_require__("./node_modules/lodash/_baseHasIn.js"),hasPath=__webpack_require__("./node_modules/lodash/_hasPath.js");module.exports=function hasIn(object,path){return null!=object&&hasPath(object,path,baseHasIn)}},"./node_modules/lodash/identity.js":module=>{module.exports=function identity(value){return value}},"./node_modules/lodash/isArguments.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsArguments=__webpack_require__("./node_modules/lodash/_baseIsArguments.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js"),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,propertyIsEnumerable=objectProto.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};module.exports=isArguments},"./node_modules/lodash/isArray.js":module=>{var isArray=Array.isArray;module.exports=isArray},"./node_modules/lodash/isArrayLike.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isFunction=__webpack_require__("./node_modules/lodash/isFunction.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js");module.exports=function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}},"./node_modules/lodash/isBuffer.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var root=__webpack_require__("./node_modules/lodash/_root.js"),stubFalse=__webpack_require__("./node_modules/lodash/stubFalse.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,Buffer=freeModule&&freeModule.exports===freeExports?root.Buffer:void 0,isBuffer=(Buffer?Buffer.isBuffer:void 0)||stubFalse;module.exports=isBuffer},"./node_modules/lodash/isFunction.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function isFunction(value){if(!isObject(value))return!1;var tag=baseGetTag(value);return"[object Function]"==tag||"[object GeneratorFunction]"==tag||"[object AsyncFunction]"==tag||"[object Proxy]"==tag}},"./node_modules/lodash/isLength.js":module=>{module.exports=function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=9007199254740991}},"./node_modules/lodash/isObject.js":module=>{module.exports=function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}},"./node_modules/lodash/isObjectLike.js":module=>{module.exports=function isObjectLike(value){return null!=value&&"object"==typeof value}},"./node_modules/lodash/isPlainObject.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),getPrototype=__webpack_require__("./node_modules/lodash/_getPrototype.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js"),funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,objectCtorString=funcToString.call(Object);module.exports=function isPlainObject(value){if(!isObjectLike(value)||"[object Object]"!=baseGetTag(value))return!1;var proto=getPrototype(value);if(null===proto)return!0;var Ctor=hasOwnProperty.call(proto,"constructor")&&proto.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString}},"./node_modules/lodash/isString.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function isString(value){return"string"==typeof value||!isArray(value)&&isObjectLike(value)&&"[object String]"==baseGetTag(value)}},"./node_modules/lodash/isSymbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&"[object Symbol]"==baseGetTag(value)}},"./node_modules/lodash/isTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsTypedArray=__webpack_require__("./node_modules/lodash/_baseIsTypedArray.js"),baseUnary=__webpack_require__("./node_modules/lodash/_baseUnary.js"),nodeUtil=__webpack_require__("./node_modules/lodash/_nodeUtil.js"),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module.exports=isTypedArray},"./node_modules/lodash/keys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayLikeKeys=__webpack_require__("./node_modules/lodash/_arrayLikeKeys.js"),baseKeys=__webpack_require__("./node_modules/lodash/_baseKeys.js"),isArrayLike=__webpack_require__("./node_modules/lodash/isArrayLike.js");module.exports=function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}},"./node_modules/lodash/mapValues.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseAssignValue=__webpack_require__("./node_modules/lodash/_baseAssignValue.js"),baseForOwn=__webpack_require__("./node_modules/lodash/_baseForOwn.js"),baseIteratee=__webpack_require__("./node_modules/lodash/_baseIteratee.js");module.exports=function mapValues(object,iteratee){var result={};return iteratee=baseIteratee(iteratee,3),baseForOwn(object,(function(value,key,object){baseAssignValue(result,key,iteratee(value,key,object))})),result}},"./node_modules/lodash/memoize.js":(module,__unused_webpack_exports,__webpack_require__)=>{var MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js");function memoize(func,resolver){if("function"!=typeof func||null!=resolver&&"function"!=typeof resolver)throw new TypeError("Expected a function");var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result)||cache,result};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache,module.exports=memoize},"./node_modules/lodash/property.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseProperty=__webpack_require__("./node_modules/lodash/_baseProperty.js"),basePropertyDeep=__webpack_require__("./node_modules/lodash/_basePropertyDeep.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}},"./node_modules/lodash/stubArray.js":module=>{module.exports=function stubArray(){return[]}},"./node_modules/lodash/stubFalse.js":module=>{module.exports=function stubFalse(){return!1}},"./node_modules/lodash/toString.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseToString=__webpack_require__("./node_modules/lodash/_baseToString.js");module.exports=function toString(value){return null==value?"":baseToString(value)}},"./node_modules/object-is/implementation.js":module=>{"use strict";var numberIsNaN=function(value){return value!=value};module.exports=function is(a,b){return 0===a&&0===b?1/a==1/b:a===b||!(!numberIsNaN(a)||!numberIsNaN(b))}},"./node_modules/object-is/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),callBind=__webpack_require__("./node_modules/call-bind/index.js"),implementation=__webpack_require__("./node_modules/object-is/implementation.js"),getPolyfill=__webpack_require__("./node_modules/object-is/polyfill.js"),shim=__webpack_require__("./node_modules/object-is/shim.js"),polyfill=callBind(getPolyfill(),Object);define(polyfill,{getPolyfill,implementation,shim}),module.exports=polyfill},"./node_modules/object-is/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/object-is/implementation.js");module.exports=function getPolyfill(){return"function"==typeof Object.is?Object.is:implementation}},"./node_modules/object-is/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getPolyfill=__webpack_require__("./node_modules/object-is/polyfill.js"),define=__webpack_require__("./node_modules/define-properties/index.js");module.exports=function shimObjectIs(){var polyfill=getPolyfill();return define(Object,{is:polyfill},{is:function testObjectIs(){return Object.is!==polyfill}}),polyfill}},"./node_modules/object-keys/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keysShim;if(!Object.keys){var has=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,isArgs=__webpack_require__("./node_modules/object-keys/isArguments.js"),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},"toString"),hasProtoEnumBug=isEnumerable.call((function(){}),"prototype"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if("undefined"==typeof window)return!1;for(var k in window)try{if(!excludedKeys["$"+k]&&has.call(window,k)&&null!==window[k]&&"object"==typeof window[k])try{equalsConstructorPrototype(window[k])}catch(e){return!0}}catch(e){return!0}return!1}();keysShim=function keys(object){var isObject=null!==object&&"object"==typeof object,isFunction="[object Function]"===toStr.call(object),isArguments=isArgs(object),isString=isObject&&"[object String]"===toStr.call(object),theKeys=[];if(!isObject&&!isFunction&&!isArguments)throw new TypeError("Object.keys called on a non-object");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i0)for(var j=0;j{"use strict";var slice=Array.prototype.slice,isArgs=__webpack_require__("./node_modules/object-keys/isArguments.js"),origKeys=Object.keys,keysShim=origKeys?function keys(o){return origKeys(o)}:__webpack_require__("./node_modules/object-keys/implementation.js"),originalKeys=Object.keys;keysShim.shim=function shimObjectKeys(){if(Object.keys){var keysWorksWithArguments=function(){var args=Object.keys(arguments);return args&&args.length===arguments.length}(1,2);keysWorksWithArguments||(Object.keys=function keys(object){return isArgs(object)?originalKeys(slice.call(object)):originalKeys(object)})}else Object.keys=keysShim;return Object.keys||keysShim},module.exports=keysShim},"./node_modules/object-keys/isArguments.js":module=>{"use strict";var toStr=Object.prototype.toString;module.exports=function isArguments(value){var str=toStr.call(value),isArgs="[object Arguments]"===str;return isArgs||(isArgs="[object Array]"!==str&&null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Function]"===toStr.call(value.callee)),isArgs}},"./node_modules/object.assign/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var objectKeys=__webpack_require__("./node_modules/object-keys/index.js"),hasSymbols=__webpack_require__("./node_modules/has-symbols/shams.js")(),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),toObject=Object,$push=callBound("Array.prototype.push"),$propIsEnumerable=callBound("Object.prototype.propertyIsEnumerable"),originalGetSymbols=hasSymbols?Object.getOwnPropertySymbols:null;module.exports=function assign(target,source1){if(null==target)throw new TypeError("target must be an object");var to=toObject(target);if(1===arguments.length)return to;for(var s=1;s{"use strict";var implementation=__webpack_require__("./node_modules/object.assign/implementation.js");module.exports=function getPolyfill(){return Object.assign?function(){if(!Object.assign)return!1;for(var str="abcdefghijklmnopqrst",letters=str.split(""),map={},i=0;i{"use strict";module.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},"./node_modules/process/browser.js":module=>{var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;function cleanUpNextTick(){draining&¤tQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex1)for(var i=1;i{"use strict";var ReactPropTypesSecret=__webpack_require__("./node_modules/prop-types/lib/ReactPropTypesSecret.js");function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret!==ReactPropTypesSecret){var err=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw err.name="Invariant Violation",err}}function getShim(){return shim}shim.isRequired=shim;var ReactPropTypes={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return ReactPropTypes.PropTypes=ReactPropTypes,ReactPropTypes}},"./node_modules/prop-types/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=__webpack_require__("./node_modules/prop-types/factoryWithThrowingShims.js")()},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":module=>{"use strict";module.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/react-dom/cjs/react-dom.production.min.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var aa=__webpack_require__("./node_modules/react/index.js"),ca=__webpack_require__("./node_modules/scheduler/index.js");function p(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c

The component failed to render properly, likely due to a configuration issue in Storybook. Here are some common causes and how you can address them:

  1. Missing Context/Providers: You can use decorators to supply specific contexts or providers, which are sometimes necessary for components to render correctly. For detailed instructions on using decorators, please visit the Decorators documentation.
  2. Misconfigured Webpack or Vite: Verify that Storybook picks up all necessary settings for loaders, plugins, and other relevant parameters. You can find step-by-step guides for configuring Webpack or Vite with Storybook.
  3. Missing Environment Variables: Your Storybook may require specific environment variables to function as intended. You can set up custom environment variables as outlined in the Environment Variables documentation.