From 97be69ebcb16557f0e481f6359baed3d232e7de9 Mon Sep 17 00:00:00 2001 From: GH Pages Bot Date: Wed, 25 Sep 2024 02:23:48 +0000 Subject: [PATCH] Deploy Storybook to GitHub Pages --- 1384.c635ca42.iframe.bundle.js | 1 + 1613.3e9cbe84.iframe.bundle.js | 1 + 1729.1f816cdd.iframe.bundle.js | 1 + 238.88a948f5.iframe.bundle.js | 1 + 3241.b56d6c44.iframe.bundle.js | 134 ++++++ 3241.b56d6c44.iframe.bundle.js.LICENSE.txt | 29 ++ 3241.b56d6c44.iframe.bundle.js.map | 1 + 3622.01dca383.iframe.bundle.js | 1 + 4379.4aee354a.iframe.bundle.js | 1 + 4760.ad2ee903.iframe.bundle.js | 1 + 4972.99cb7287.iframe.bundle.js | 1 + 5168.aaedff53.iframe.bundle.js | 2 + 5168.aaedff53.iframe.bundle.js.LICENSE.txt | 5 + 5253.14f95076.iframe.bundle.js | 1 + 5434.b232e5f5.iframe.bundle.js | 1 + 5699.acd262b0.iframe.bundle.js | 1 + 5722.85cbbac2.iframe.bundle.js | 1 + 652.dda5cdb9.iframe.bundle.js | 1 + 6615.6808f3e1.iframe.bundle.js | 1 + 6966.0403a322.iframe.bundle.js | 1 + 6983.6b70b65e.iframe.bundle.js | 1 + 7184.59e23cc1.iframe.bundle.js | 1 + 7355.16fb6545.iframe.bundle.js | 1 + 8077.6ecfe7d8.iframe.bundle.js | 44 ++ 8077.6ecfe7d8.iframe.bundle.js.map | 1 + 8240.18535a6b.iframe.bundle.js | 405 ++++++++++++++++ 8240.18535a6b.iframe.bundle.js.LICENSE.txt | 24 + 8240.18535a6b.iframe.bundle.js.map | 1 + 855.74359ae8.iframe.bundle.js | 1 + 8693.3284e210.iframe.bundle.js | 1 + 9115.3d7b0f2e.iframe.bundle.js | 2 + 9115.3d7b0f2e.iframe.bundle.js.LICENSE.txt | 11 + 9213.8dfc9273.iframe.bundle.js | 1 + 9433.165c989d.iframe.bundle.js | 1 + 9717.64a63b25.iframe.bundle.js | 2 + 9717.64a63b25.iframe.bundle.js.LICENSE.txt | 5 + 9744.82dcbc8d.iframe.bundle.js | 1 + 9814.be82ef2b.iframe.bundle.js | 1 + favicon.ico | Bin 0 -> 1150 bytes favicon.svg | 7 + iframe.html | 355 ++++++++++++++ index.html | 142 ++++++ index.json | 1 + main.bfa1e69f.iframe.bundle.js | 1 + project.json | 1 + runtime~main.d10158d6.iframe.bundle.js | 1 + sb-addons/a11y-8/manager-bundle.js | 4 + sb-addons/a11y-8/manager-bundle.js.LEGAL.txt | 0 sb-addons/a11y-8/manager-bundle.js.map | 7 + .../essentials-actions-2/manager-bundle.js | 4 + .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js.map | 7 + .../manager-bundle.js | 13 + .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js.map | 7 + .../essentials-controls-1/manager-bundle.js | 117 +++++ .../manager-bundle.js.LEGAL.txt | 18 + .../manager-bundle.js.map | 7 + .../essentials-measure-6/manager-bundle.js | 4 + .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js.map | 7 + .../essentials-outline-7/manager-bundle.js | 4 + .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js.map | 7 + .../essentials-toolbars-5/manager-bundle.js | 4 + .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js.map | 7 + .../essentials-viewport-4/manager-bundle.js | 4 + .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js.map | 7 + sb-addons/interactions-9/manager-bundle.js | 28 ++ .../manager-bundle.js.LEGAL.txt | 0 .../interactions-9/manager-bundle.js.map | 7 + sb-addons/links-0/manager-bundle.js | 4 + sb-addons/links-0/manager-bundle.js.LEGAL.txt | 0 sb-addons/links-0/manager-bundle.js.map | 7 + sb-addons/storybook-10/manager-bundle.js | 4 + .../storybook-10/manager-bundle.js.LEGAL.txt | 0 sb-addons/storybook-10/manager-bundle.js.map | 7 + 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/CRUD-I5EZL2FS-LBZVDZXV.js | 1 + sb-manager/Communicate-7JXCND2Z-6SIVXWT4.js | 1 + sb-manager/Devices-SUYACUPO-DMGV6ENX.js | 1 + sb-manager/Documents-SGWAY3KW-XZRZ6I6S.js | 1 + sb-manager/Editing-7QFB6ZMG-J5U6QGB6.js | 1 + sb-manager/Git-DZ2D5ZUL-VKBWYJHE.js | 1 + ...lobalScrollAreaStyles-4LLX2B3H-DOBSPBNW.js | 7 + sb-manager/Images-S2WTXNGG-NXAYS4VP.js | 1 + sb-manager/Logos-SJTNNI74-F3IVL4UV.js | 1 + sb-manager/OS-YZ2Y4VYS-KGSGCOHC.js | 1 + .../OverlayScrollbars-OL4C4TVX-FNYA4OIC.js | 1 + sb-manager/People-OD4EV7WZ-DBPUNUXW.js | 1 + sb-manager/Wayfinding-BB4H7CHP-N2QAVLVA.js | 1 + sb-manager/WithTooltip-YBG737T3-GLWUADFI.js | 1 + sb-manager/chunk-6KNXZZZ5.js | 207 ++++++++ sb-manager/chunk-DP4DR4LA.js | 15 + sb-manager/chunk-GBCXFRBK.js | 1 + sb-manager/chunk-IFNK3PLJ.js | 1 + sb-manager/chunk-JMPBYCHU.js | 1 + sb-manager/chunk-JSPL73I3.js | 1 + sb-manager/chunk-SJD7EFYL.js | 136 ++++++ sb-manager/chunk-UBXIQABM.js | 447 ++++++++++++++++++ sb-manager/chunk-V7GYLJLR.js | 7 + sb-manager/chunk-Z4NRYNHR.js | 1 + sb-manager/formatter-6736J7QO-TGL2ZGQC.js | 156 ++++++ sb-manager/globals.js | 1 + sb-manager/index.js | 1 + sb-manager/runtime.js | 1 + .../syntaxhighlighter-4OVWVELQ-5IZ45DZY.js | 1 + sb-preview/globals.js | 1 + sb-preview/runtime.js | 105 ++++ static/media/code-brackets.2e1112d7.svg | 1 + static/media/colors.a4bd0486.svg | 1 + static/media/comments.a3859089.svg | 1 + static/media/direction.b770f9af.svg | 1 + static/media/example-image.9a21c88a.svg | 132 ++++++ static/media/example-image2.2182f572.svg | 334 +++++++++++++ static/media/flow.edad2ac1.svg | 1 + static/media/plugin.d494b228.svg | 1 + static/media/repo.6d496322.svg | 1 + static/media/stackalt.dba9fbb3.svg | 1 + ...tion-stories-mdx.f0bdfc8f.iframe.bundle.js | 2 + ...-mdx.f0bdfc8f.iframe.bundle.js.LICENSE.txt | 9 + ...etup-stories-mdx.ebf9ff56.iframe.bundle.js | 2 + ...-mdx.ebf9ff56.iframe.bundle.js.LICENSE.txt | 9 + ...yles-stories-mdx.cb7ebe6b.iframe.bundle.js | 2 + ...-mdx.cb7ebe6b.iframe.bundle.js.LICENSE.txt | 9 + ...ccordion-stories.2ff5a021.iframe.bundle.js | 2 + ...ries.2ff5a021.iframe.bundle.js.LICENSE.txt | 5 + ...onbutton-stories.0709e252.iframe.bundle.js | 2 + ...ries.0709e252.iframe.bundle.js.LICENSE.txt | 5 + ...buttonV2-stories.3e47f72f.iframe.bundle.js | 2 + ...ries.3e47f72f.iframe.bundle.js.LICENSE.txt | 5 + ...es-alert-stories.049d610b.iframe.bundle.js | 1 + ...iclecard-stories.a885451f.iframe.bundle.js | 1 + ...es-badge-stories.9cbcbf4e.iframe.bundle.js | 2 + ...ries.9cbcbf4e.iframe.bundle.js.LICENSE.txt | 5 + ...eadcrumb-stories.e79ced6c.iframe.bundle.js | 2 + ...ries.e79ced6c.iframe.bundle.js.LICENSE.txt | 5 + ...s-button-stories.5e18aa52.iframe.bundle.js | 1 + ...tongroup-stories.b04cabf0.iframe.bundle.js | 2 + ...ries.b04cabf0.iframe.bundle.js.LICENSE.txt | 5 + ...calendar-stories.316451d8.iframe.bundle.js | 1 + ...ies-card-stories.7065448a.iframe.bundle.js | 2 + ...ries.7065448a.iframe.bundle.js.LICENSE.txt | 5 + ...carousel-stories.241dfa95.iframe.bundle.js | 2 + ...ries.241dfa95.iframe.bundle.js.LICENSE.txt | 5 + ...ontainer-stories.71f124aa.iframe.bundle.js | 1 + ...ountdown-stories.b5684ba0.iframe.bundle.js | 1 + ...dropdown-stories.62b9d2fc.iframe.bundle.js | 1 + ...ies-form-stories.ff61fdf3.iframe.bundle.js | 1 + ...ormcheck-stories.6a237d0b.iframe.bundle.js | 1 + ...eckgroup-stories.0b6a2fe9.iframe.bundle.js | 2 + ...ries.0b6a2fe9.iframe.bundle.js.LICENSE.txt | 5 + ...mcontrol-stories.043536ca.iframe.bundle.js | 1 + ...ormlabel-stories.f7b96fee.iframe.bundle.js | 1 + ...rmselect-stories.7f715075.iframe.bundle.js | 1 + ...geocoder-stories.e29517d7.iframe.bundle.js | 2 + ...ries.e29517d7.iframe.bundle.js.LICENSE.txt | 5 + ...ies-icon-stories.b12b1e4f.iframe.bundle.js | 1 + ...es-image-stories.bc24697c.iframe.bundle.js | 1 + ...mgslider-stories.42bfef0d.iframe.bundle.js | 2 + ...ries.42bfef0d.iframe.bundle.js.LICENSE.txt | 5 + ...fobutton-stories.41dbdd5b.iframe.bundle.js | 2 + ...ries.41dbdd5b.iframe.bundle.js.LICENSE.txt | 5 + ...cybutton-stories.6cb364f3.iframe.bundle.js | 2 + ...ries.6cb364f3.iframe.bundle.js.LICENSE.txt | 5 + ...gacyicon-stories.a1953a92.iframe.bundle.js | 2 + ...ries.a1953a92.iframe.bundle.js.LICENSE.txt | 5 + ...istgroup-stories.f6caf7bb.iframe.bundle.js | 2 + ...ries.f6caf7bb.iframe.bundle.js.LICENSE.txt | 5 + ...s-loader-stories.5fb2fffd.iframe.bundle.js | 1 + stories-map-stories.6016c00c.iframe.bundle.js | 1 + ...es-modal-stories.4e26dab5.iframe.bundle.js | 2 + ...ries.4e26dab5.iframe.bundle.js.LICENSE.txt | 5 + stories-nav-stories.23fe1554.iframe.bundle.js | 2 + ...ries.23fe1554.iframe.bundle.js.LICENSE.txt | 5 + ...s-navbar-stories.547a7aa5.iframe.bundle.js | 1 + ...ffcanvas-stories.844bafc2.iframe.bundle.js | 2 + ...ries.844bafc2.iframe.bundle.js.LICENSE.txt | 5 + ...gination-stories.5f74c685.iframe.bundle.js | 2 + ...ries.5f74c685.iframe.bundle.js.LICENSE.txt | 5 + ...progress-stories.bee6bac9.iframe.bundle.js | 1 + ...es-range-stories.1f6fc50c.iframe.bundle.js | 1 + ...-spinner-stories.7d28f154.iframe.bundle.js | 1 + ...es-table-stories.32999c72.iframe.bundle.js | 2 + ...ries.32999c72.iframe.bundle.js.LICENSE.txt | 5 + ...table-v2-stories.45976533.iframe.bundle.js | 2 + ...ries.45976533.iframe.bundle.js.LICENSE.txt | 5 + ...eoplayer-stories.8f68e68d.iframe.bundle.js | 1 + stories.json | 1 + 195 files changed, 3293 insertions(+) create mode 100644 1384.c635ca42.iframe.bundle.js create mode 100644 1613.3e9cbe84.iframe.bundle.js create mode 100644 1729.1f816cdd.iframe.bundle.js create mode 100644 238.88a948f5.iframe.bundle.js create mode 100644 3241.b56d6c44.iframe.bundle.js create mode 100644 3241.b56d6c44.iframe.bundle.js.LICENSE.txt create mode 100644 3241.b56d6c44.iframe.bundle.js.map create mode 100644 3622.01dca383.iframe.bundle.js create mode 100644 4379.4aee354a.iframe.bundle.js create mode 100644 4760.ad2ee903.iframe.bundle.js create mode 100644 4972.99cb7287.iframe.bundle.js create mode 100644 5168.aaedff53.iframe.bundle.js create mode 100644 5168.aaedff53.iframe.bundle.js.LICENSE.txt create mode 100644 5253.14f95076.iframe.bundle.js create mode 100644 5434.b232e5f5.iframe.bundle.js create mode 100644 5699.acd262b0.iframe.bundle.js create mode 100644 5722.85cbbac2.iframe.bundle.js create mode 100644 652.dda5cdb9.iframe.bundle.js create mode 100644 6615.6808f3e1.iframe.bundle.js create mode 100644 6966.0403a322.iframe.bundle.js create mode 100644 6983.6b70b65e.iframe.bundle.js create mode 100644 7184.59e23cc1.iframe.bundle.js create mode 100644 7355.16fb6545.iframe.bundle.js create mode 100644 8077.6ecfe7d8.iframe.bundle.js create mode 100644 8077.6ecfe7d8.iframe.bundle.js.map create mode 100644 8240.18535a6b.iframe.bundle.js create mode 100644 8240.18535a6b.iframe.bundle.js.LICENSE.txt create mode 100644 8240.18535a6b.iframe.bundle.js.map create mode 100644 855.74359ae8.iframe.bundle.js create mode 100644 8693.3284e210.iframe.bundle.js create mode 100644 9115.3d7b0f2e.iframe.bundle.js create mode 100644 9115.3d7b0f2e.iframe.bundle.js.LICENSE.txt create mode 100644 9213.8dfc9273.iframe.bundle.js create mode 100644 9433.165c989d.iframe.bundle.js create mode 100644 9717.64a63b25.iframe.bundle.js create mode 100644 9717.64a63b25.iframe.bundle.js.LICENSE.txt create mode 100644 9744.82dcbc8d.iframe.bundle.js create mode 100644 9814.be82ef2b.iframe.bundle.js create mode 100644 favicon.ico create mode 100644 favicon.svg create mode 100644 iframe.html create mode 100644 index.html create mode 100644 index.json create mode 100644 main.bfa1e69f.iframe.bundle.js create mode 100644 project.json create mode 100644 runtime~main.d10158d6.iframe.bundle.js create mode 100644 sb-addons/a11y-8/manager-bundle.js create mode 100644 sb-addons/a11y-8/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/a11y-8/manager-bundle.js.map 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-actions-2/manager-bundle.js.map 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-backgrounds-3/manager-bundle.js.map 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-controls-1/manager-bundle.js.map 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-measure-6/manager-bundle.js.map 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-outline-7/manager-bundle.js.map 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-toolbars-5/manager-bundle.js.map 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/essentials-viewport-4/manager-bundle.js.map create mode 100644 sb-addons/interactions-9/manager-bundle.js create mode 100644 sb-addons/interactions-9/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/interactions-9/manager-bundle.js.map create mode 100644 sb-addons/links-0/manager-bundle.js create mode 100644 sb-addons/links-0/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/links-0/manager-bundle.js.map create mode 100644 sb-addons/storybook-10/manager-bundle.js create mode 100644 sb-addons/storybook-10/manager-bundle.js.LEGAL.txt create mode 100644 sb-addons/storybook-10/manager-bundle.js.map 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/CRUD-I5EZL2FS-LBZVDZXV.js create mode 100644 sb-manager/Communicate-7JXCND2Z-6SIVXWT4.js create mode 100644 sb-manager/Devices-SUYACUPO-DMGV6ENX.js create mode 100644 sb-manager/Documents-SGWAY3KW-XZRZ6I6S.js create mode 100644 sb-manager/Editing-7QFB6ZMG-J5U6QGB6.js create mode 100644 sb-manager/Git-DZ2D5ZUL-VKBWYJHE.js create mode 100644 sb-manager/GlobalScrollAreaStyles-4LLX2B3H-DOBSPBNW.js create mode 100644 sb-manager/Images-S2WTXNGG-NXAYS4VP.js create mode 100644 sb-manager/Logos-SJTNNI74-F3IVL4UV.js create mode 100644 sb-manager/OS-YZ2Y4VYS-KGSGCOHC.js create mode 100644 sb-manager/OverlayScrollbars-OL4C4TVX-FNYA4OIC.js create mode 100644 sb-manager/People-OD4EV7WZ-DBPUNUXW.js create mode 100644 sb-manager/Wayfinding-BB4H7CHP-N2QAVLVA.js create mode 100644 sb-manager/WithTooltip-YBG737T3-GLWUADFI.js create mode 100644 sb-manager/chunk-6KNXZZZ5.js create mode 100644 sb-manager/chunk-DP4DR4LA.js create mode 100644 sb-manager/chunk-GBCXFRBK.js create mode 100644 sb-manager/chunk-IFNK3PLJ.js create mode 100644 sb-manager/chunk-JMPBYCHU.js create mode 100644 sb-manager/chunk-JSPL73I3.js create mode 100644 sb-manager/chunk-SJD7EFYL.js create mode 100644 sb-manager/chunk-UBXIQABM.js create mode 100644 sb-manager/chunk-V7GYLJLR.js create mode 100644 sb-manager/chunk-Z4NRYNHR.js create mode 100644 sb-manager/formatter-6736J7QO-TGL2ZGQC.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-4OVWVELQ-5IZ45DZY.js create mode 100644 sb-preview/globals.js create mode 100644 sb-preview/runtime.js create mode 100644 static/media/code-brackets.2e1112d7.svg create mode 100644 static/media/colors.a4bd0486.svg create mode 100644 static/media/comments.a3859089.svg create mode 100644 static/media/direction.b770f9af.svg create mode 100644 static/media/example-image.9a21c88a.svg create mode 100644 static/media/example-image2.2182f572.svg create mode 100644 static/media/flow.edad2ac1.svg create mode 100644 static/media/plugin.d494b228.svg create mode 100644 static/media/repo.6d496322.svg create mode 100644 static/media/stackalt.dba9fbb3.svg create mode 100644 stories-Introduction-stories-mdx.f0bdfc8f.iframe.bundle.js create mode 100644 stories-Introduction-stories-mdx.f0bdfc8f.iframe.bundle.js.LICENSE.txt create mode 100644 stories-Setup-stories-mdx.ebf9ff56.iframe.bundle.js create mode 100644 stories-Setup-stories-mdx.ebf9ff56.iframe.bundle.js.LICENSE.txt create mode 100644 stories-Styles-stories-mdx.cb7ebe6b.iframe.bundle.js create mode 100644 stories-Styles-stories-mdx.cb7ebe6b.iframe.bundle.js.LICENSE.txt create mode 100644 stories-accordion-stories.2ff5a021.iframe.bundle.js create mode 100644 stories-accordion-stories.2ff5a021.iframe.bundle.js.LICENSE.txt create mode 100644 stories-actionbutton-stories.0709e252.iframe.bundle.js create mode 100644 stories-actionbutton-stories.0709e252.iframe.bundle.js.LICENSE.txt create mode 100644 stories-actionbuttonV2-stories.3e47f72f.iframe.bundle.js create mode 100644 stories-actionbuttonV2-stories.3e47f72f.iframe.bundle.js.LICENSE.txt create mode 100644 stories-alert-stories.049d610b.iframe.bundle.js create mode 100644 stories-articlecard-stories.a885451f.iframe.bundle.js create mode 100644 stories-badge-stories.9cbcbf4e.iframe.bundle.js create mode 100644 stories-badge-stories.9cbcbf4e.iframe.bundle.js.LICENSE.txt create mode 100644 stories-breadcrumb-stories.e79ced6c.iframe.bundle.js create mode 100644 stories-breadcrumb-stories.e79ced6c.iframe.bundle.js.LICENSE.txt create mode 100644 stories-button-stories.5e18aa52.iframe.bundle.js create mode 100644 stories-buttongroup-stories.b04cabf0.iframe.bundle.js create mode 100644 stories-buttongroup-stories.b04cabf0.iframe.bundle.js.LICENSE.txt create mode 100644 stories-calendar-stories.316451d8.iframe.bundle.js create mode 100644 stories-card-stories.7065448a.iframe.bundle.js create mode 100644 stories-card-stories.7065448a.iframe.bundle.js.LICENSE.txt create mode 100644 stories-carousel-stories.241dfa95.iframe.bundle.js create mode 100644 stories-carousel-stories.241dfa95.iframe.bundle.js.LICENSE.txt create mode 100644 stories-container-stories.71f124aa.iframe.bundle.js create mode 100644 stories-countdown-stories.b5684ba0.iframe.bundle.js create mode 100644 stories-dropdown-stories.62b9d2fc.iframe.bundle.js create mode 100644 stories-form-stories.ff61fdf3.iframe.bundle.js create mode 100644 stories-formcheck-stories.6a237d0b.iframe.bundle.js create mode 100644 stories-formcheckgroup-stories.0b6a2fe9.iframe.bundle.js create mode 100644 stories-formcheckgroup-stories.0b6a2fe9.iframe.bundle.js.LICENSE.txt create mode 100644 stories-formcontrol-stories.043536ca.iframe.bundle.js create mode 100644 stories-formlabel-stories.f7b96fee.iframe.bundle.js create mode 100644 stories-formselect-stories.7f715075.iframe.bundle.js create mode 100644 stories-geocoder-stories.e29517d7.iframe.bundle.js create mode 100644 stories-geocoder-stories.e29517d7.iframe.bundle.js.LICENSE.txt create mode 100644 stories-icon-stories.b12b1e4f.iframe.bundle.js create mode 100644 stories-image-stories.bc24697c.iframe.bundle.js create mode 100644 stories-imgslider-stories.42bfef0d.iframe.bundle.js create mode 100644 stories-imgslider-stories.42bfef0d.iframe.bundle.js.LICENSE.txt create mode 100644 stories-infobutton-stories.41dbdd5b.iframe.bundle.js create mode 100644 stories-infobutton-stories.41dbdd5b.iframe.bundle.js.LICENSE.txt create mode 100644 stories-legacybutton-stories.6cb364f3.iframe.bundle.js create mode 100644 stories-legacybutton-stories.6cb364f3.iframe.bundle.js.LICENSE.txt create mode 100644 stories-legacyicon-stories.a1953a92.iframe.bundle.js create mode 100644 stories-legacyicon-stories.a1953a92.iframe.bundle.js.LICENSE.txt create mode 100644 stories-listgroup-stories.f6caf7bb.iframe.bundle.js create mode 100644 stories-listgroup-stories.f6caf7bb.iframe.bundle.js.LICENSE.txt create mode 100644 stories-loader-stories.5fb2fffd.iframe.bundle.js create mode 100644 stories-map-stories.6016c00c.iframe.bundle.js create mode 100644 stories-modal-stories.4e26dab5.iframe.bundle.js create mode 100644 stories-modal-stories.4e26dab5.iframe.bundle.js.LICENSE.txt create mode 100644 stories-nav-stories.23fe1554.iframe.bundle.js create mode 100644 stories-nav-stories.23fe1554.iframe.bundle.js.LICENSE.txt create mode 100644 stories-navbar-stories.547a7aa5.iframe.bundle.js create mode 100644 stories-offcanvas-stories.844bafc2.iframe.bundle.js create mode 100644 stories-offcanvas-stories.844bafc2.iframe.bundle.js.LICENSE.txt create mode 100644 stories-pagination-stories.5f74c685.iframe.bundle.js create mode 100644 stories-pagination-stories.5f74c685.iframe.bundle.js.LICENSE.txt create mode 100644 stories-progress-stories.bee6bac9.iframe.bundle.js create mode 100644 stories-range-stories.1f6fc50c.iframe.bundle.js create mode 100644 stories-spinner-stories.7d28f154.iframe.bundle.js create mode 100644 stories-table-stories.32999c72.iframe.bundle.js create mode 100644 stories-table-stories.32999c72.iframe.bundle.js.LICENSE.txt create mode 100644 stories-table-v2-stories.45976533.iframe.bundle.js create mode 100644 stories-table-v2-stories.45976533.iframe.bundle.js.LICENSE.txt create mode 100644 stories-videoplayer-stories.8f68e68d.iframe.bundle.js create mode 100644 stories.json diff --git a/1384.c635ca42.iframe.bundle.js b/1384.c635ca42.iframe.bundle.js new file mode 100644 index 00000000..c02b8e4a --- /dev/null +++ b/1384.c635ca42.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcod_design_system=self.webpackChunkcod_design_system||[]).push([[1384],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _toPropertyKey(arg){var key=function _toPrimitive(input,hint){if("object"!==_typeof(input)||null===input)return input;var prim=input[Symbol.toPrimitive];if(void 0!==prim){var res=prim.call(input,hint||"default");if("object"!==_typeof(res))return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===hint?String:Number)(input)}(arg,"string");return"symbol"===_typeof(key)?key:String(key)}function _defineProperty(obj,key,value){return(key=_toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{Z:function(){return _defineProperty}})},"./node_modules/@fullcalendar/core/index.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{f:function(){return Calendar},rx:function(){return createPlugin}});var _internal_common_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@fullcalendar/core/internal-common.js"),preact__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/preact/dist/preact.module.js");__webpack_require__("./node_modules/preact/compat/dist/compat.module.js");const globalLocales=[],MINIMAL_RAW_EN_LOCALE={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},RAW_EN_LOCALE=Object.assign(Object.assign({},MINIMAL_RAW_EN_LOCALE),{buttonHints:{prev:"Previous $0",next:"Next $0",today(buttonText,unit){return"day"===unit?"Today":`This ${buttonText}`}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(eventCnt){return`Show ${eventCnt} more event${1===eventCnt?"":"s"}`}});function organizeRawLocales(explicitRawLocales){let defaultCode=explicitRawLocales.length>0?explicitRawLocales[0].code:"en",allRawLocales=globalLocales.concat(explicitRawLocales),rawLocaleMap={en:RAW_EN_LOCALE};for(let rawLocale of allRawLocales)rawLocaleMap[rawLocale.code]=rawLocale;return{map:rawLocaleMap,defaultCode:defaultCode}}function buildLocale(inputSingular,available){return"object"!=typeof inputSingular||Array.isArray(inputSingular)?function queryLocale(codeArg,available){let codes=[].concat(codeArg||[]),raw=function queryRawLocale(codes,available){for(let i=0;i0;j-=1){let simpleId=parts.slice(0,j).join("-");if(available[simpleId])return available[simpleId]}}return null}(codes,available)||RAW_EN_LOCALE;return parseLocale(codeArg,codes,raw)}(inputSingular,available):parseLocale(inputSingular.code,[inputSingular.code],inputSingular)}function parseLocale(codeArg,codes,raw){let merged=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.m)([MINIMAL_RAW_EN_LOCALE,raw],["buttonText"]);delete merged.code;let{week:week}=merged;return delete merged.week,{codeArg:codeArg,codes:codes,week:week,simpleNumberFormat:new Intl.NumberFormat(codeArg),options:merged}}function createPlugin(input){return{id:(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.g)(),name:input.name,premiumReleaseDate:input.premiumReleaseDate?new Date(input.premiumReleaseDate):void 0,deps:input.deps||[],reducers:input.reducers||[],isLoadingFuncs:input.isLoadingFuncs||[],contextInit:[].concat(input.contextInit||[]),eventRefiners:input.eventRefiners||{},eventDefMemberAdders:input.eventDefMemberAdders||[],eventSourceRefiners:input.eventSourceRefiners||{},isDraggableTransformers:input.isDraggableTransformers||[],eventDragMutationMassagers:input.eventDragMutationMassagers||[],eventDefMutationAppliers:input.eventDefMutationAppliers||[],dateSelectionTransformers:input.dateSelectionTransformers||[],datePointTransforms:input.datePointTransforms||[],dateSpanTransforms:input.dateSpanTransforms||[],views:input.views||{},viewPropsTransformers:input.viewPropsTransformers||[],isPropsValid:input.isPropsValid||null,externalDefTransforms:input.externalDefTransforms||[],viewContainerAppends:input.viewContainerAppends||[],eventDropTransformers:input.eventDropTransformers||[],componentInteractions:input.componentInteractions||[],calendarInteractions:input.calendarInteractions||[],themeClasses:input.themeClasses||{},eventSourceDefs:input.eventSourceDefs||[],cmdFormatter:input.cmdFormatter,recurringTypes:input.recurringTypes||[],namedTimeZonedImpl:input.namedTimeZonedImpl,initialView:input.initialView||"",elementDraggingImpl:input.elementDraggingImpl,optionChangeHandlers:input.optionChangeHandlers||{},scrollGridImpl:input.scrollGridImpl||null,listenerRefiners:input.listenerRefiners||{},optionRefiners:input.optionRefiners||{},propSetHandlers:input.propSetHandlers||{}}}function buildBuildPluginHooks(){let currentHooks,currentOverrideDefs=[],currentGlobalDefs=[];return(overrideDefs,globalDefs)=>(currentHooks&&(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.i)(overrideDefs,currentOverrideDefs)&&(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.i)(globalDefs,currentGlobalDefs)||(currentHooks=function buildPluginHooks(pluginDefs,globalDefs){let currentPluginIds={},hooks={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function addDefs(defs){for(let def of defs){const pluginName=def.name,currentId=currentPluginIds[pluginName];void 0===currentId?(currentPluginIds[pluginName]=def.id,addDefs(def.deps),hooks1=def,hooks={premiumReleaseDate:compareOptionalDates((hooks0=hooks).premiumReleaseDate,hooks1.premiumReleaseDate),reducers:hooks0.reducers.concat(hooks1.reducers),isLoadingFuncs:hooks0.isLoadingFuncs.concat(hooks1.isLoadingFuncs),contextInit:hooks0.contextInit.concat(hooks1.contextInit),eventRefiners:Object.assign(Object.assign({},hooks0.eventRefiners),hooks1.eventRefiners),eventDefMemberAdders:hooks0.eventDefMemberAdders.concat(hooks1.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},hooks0.eventSourceRefiners),hooks1.eventSourceRefiners),isDraggableTransformers:hooks0.isDraggableTransformers.concat(hooks1.isDraggableTransformers),eventDragMutationMassagers:hooks0.eventDragMutationMassagers.concat(hooks1.eventDragMutationMassagers),eventDefMutationAppliers:hooks0.eventDefMutationAppliers.concat(hooks1.eventDefMutationAppliers),dateSelectionTransformers:hooks0.dateSelectionTransformers.concat(hooks1.dateSelectionTransformers),datePointTransforms:hooks0.datePointTransforms.concat(hooks1.datePointTransforms),dateSpanTransforms:hooks0.dateSpanTransforms.concat(hooks1.dateSpanTransforms),views:Object.assign(Object.assign({},hooks0.views),hooks1.views),viewPropsTransformers:hooks0.viewPropsTransformers.concat(hooks1.viewPropsTransformers),isPropsValid:hooks1.isPropsValid||hooks0.isPropsValid,externalDefTransforms:hooks0.externalDefTransforms.concat(hooks1.externalDefTransforms),viewContainerAppends:hooks0.viewContainerAppends.concat(hooks1.viewContainerAppends),eventDropTransformers:hooks0.eventDropTransformers.concat(hooks1.eventDropTransformers),calendarInteractions:hooks0.calendarInteractions.concat(hooks1.calendarInteractions),componentInteractions:hooks0.componentInteractions.concat(hooks1.componentInteractions),themeClasses:Object.assign(Object.assign({},hooks0.themeClasses),hooks1.themeClasses),eventSourceDefs:hooks0.eventSourceDefs.concat(hooks1.eventSourceDefs),cmdFormatter:hooks1.cmdFormatter||hooks0.cmdFormatter,recurringTypes:hooks0.recurringTypes.concat(hooks1.recurringTypes),namedTimeZonedImpl:hooks1.namedTimeZonedImpl||hooks0.namedTimeZonedImpl,initialView:hooks0.initialView||hooks1.initialView,elementDraggingImpl:hooks0.elementDraggingImpl||hooks1.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},hooks0.optionChangeHandlers),hooks1.optionChangeHandlers),scrollGridImpl:hooks1.scrollGridImpl||hooks0.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},hooks0.listenerRefiners),hooks1.listenerRefiners),optionRefiners:Object.assign(Object.assign({},hooks0.optionRefiners),hooks1.optionRefiners),propSetHandlers:Object.assign(Object.assign({},hooks0.propSetHandlers),hooks1.propSetHandlers)}):currentId!==def.id&&console.warn(`Duplicate plugin '${pluginName}'`)}var hooks0,hooks1}return pluginDefs&&addDefs(pluginDefs),addDefs(globalDefs),hooks}(overrideDefs,globalDefs)),currentOverrideDefs=overrideDefs,currentGlobalDefs=globalDefs,currentHooks)}function compareOptionalDates(date0,date1){return void 0===date0?date1:void 0===date1?date0:new Date(Math.max(date0.valueOf(),date1.valueOf()))}class StandardTheme extends _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.T{}function ensureViewDef(viewType,hash,defaultConfigs,overrideConfigs){if(hash[viewType])return hash[viewType];let viewDef=function buildViewDef(viewType,hash,defaultConfigs,overrideConfigs){let defaultConfig=defaultConfigs[viewType],overrideConfig=overrideConfigs[viewType],queryProp=name=>defaultConfig&&null!==defaultConfig[name]?defaultConfig[name]:overrideConfig&&null!==overrideConfig[name]?overrideConfig[name]:null,theComponent=queryProp("component"),superType=queryProp("superType"),superDef=null;if(superType){if(superType===viewType)throw new Error("Can't have a custom view type that references itself");superDef=ensureViewDef(superType,hash,defaultConfigs,overrideConfigs)}!theComponent&&superDef&&(theComponent=superDef.component);if(!theComponent)return null;return{type:viewType,component:theComponent,defaults:Object.assign(Object.assign({},superDef?superDef.defaults:{}),defaultConfig?defaultConfig.rawOptions:{}),overrides:Object.assign(Object.assign({},superDef?superDef.overrides:{}),overrideConfig?overrideConfig.rawOptions:{})}}(viewType,hash,defaultConfigs,overrideConfigs);return viewDef&&(hash[viewType]=viewDef),viewDef}function parseViewConfigs(inputs){return(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a)(inputs,parseViewConfig)}function parseViewConfig(input){let rawOptions="function"==typeof input?{component:input}:input,{component:component}=rawOptions;return rawOptions.content?component=createViewHookComponent(rawOptions):!component||component.prototype instanceof _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.B||(component=createViewHookComponent(Object.assign(Object.assign({},rawOptions),{content:component}))),{superType:rawOptions.type,component:component,rawOptions:rawOptions}}function createViewHookComponent(options){return viewProps=>(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.V.Consumer,null,(context=>(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.C,{elTag:"div",elClasses:(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.b)(context.viewSpec),renderProps:Object.assign(Object.assign({},viewProps),{nextDayThreshold:context.options.nextDayThreshold}),generatorName:void 0,customGenerator:options.content,classNameGenerator:options.classNames,didMount:options.didMount,willUnmount:options.willUnmount})))}function buildViewSpecs(defaultInputs,optionOverrides,dynamicOptionOverrides,localeDefaults){let defaultConfigs=parseViewConfigs(defaultInputs),overrideConfigs=parseViewConfigs(optionOverrides.views),viewDefs=function compileViewDefs(defaultConfigs,overrideConfigs){let viewType,hash={};for(viewType in defaultConfigs)ensureViewDef(viewType,hash,defaultConfigs,overrideConfigs);for(viewType in overrideConfigs)ensureViewDef(viewType,hash,defaultConfigs,overrideConfigs);return hash}(defaultConfigs,overrideConfigs);return(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a)(viewDefs,(viewDef=>function buildViewSpec(viewDef,overrideConfigs,optionOverrides,dynamicOptionOverrides,localeDefaults){let durationInput=viewDef.overrides.duration||viewDef.defaults.duration||dynamicOptionOverrides.duration||optionOverrides.duration,duration=null,durationUnit="",singleUnit="",singleUnitOverrides={};if(durationInput&&(duration=function createDurationCached(durationInput){let json=JSON.stringify(durationInput),res=durationInputMap[json];void 0===res&&(res=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.d)(durationInput),durationInputMap[json]=res);return res}(durationInput),duration)){let denom=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.c)(duration);durationUnit=denom.unit,1===denom.value&&(singleUnit=durationUnit,singleUnitOverrides=overrideConfigs[durationUnit]?overrideConfigs[durationUnit].rawOptions:{})}let queryButtonText=optionsSubset=>{let buttonTextMap=optionsSubset.buttonText||{},buttonTextKey=viewDef.defaults.buttonTextKey;return null!=buttonTextKey&&null!=buttonTextMap[buttonTextKey]?buttonTextMap[buttonTextKey]:null!=buttonTextMap[viewDef.type]?buttonTextMap[viewDef.type]:null!=buttonTextMap[singleUnit]?buttonTextMap[singleUnit]:null},queryButtonTitle=optionsSubset=>{let buttonHints=optionsSubset.buttonHints||{},buttonKey=viewDef.defaults.buttonTextKey;return null!=buttonKey&&null!=buttonHints[buttonKey]?buttonHints[buttonKey]:null!=buttonHints[viewDef.type]?buttonHints[viewDef.type]:null!=buttonHints[singleUnit]?buttonHints[singleUnit]:null};return{type:viewDef.type,component:viewDef.component,duration:duration,durationUnit:durationUnit,singleUnit:singleUnit,optionDefaults:viewDef.defaults,optionOverrides:Object.assign(Object.assign({},singleUnitOverrides),viewDef.overrides),buttonTextOverride:queryButtonText(dynamicOptionOverrides)||queryButtonText(optionOverrides)||viewDef.overrides.buttonText,buttonTextDefault:queryButtonText(localeDefaults)||viewDef.defaults.buttonText||queryButtonText(_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.e)||viewDef.type,buttonTitleOverride:queryButtonTitle(dynamicOptionOverrides)||queryButtonTitle(optionOverrides)||viewDef.overrides.buttonHint,buttonTitleDefault:queryButtonTitle(localeDefaults)||viewDef.defaults.buttonHint||queryButtonTitle(_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.e)}}(viewDef,overrideConfigs,optionOverrides,dynamicOptionOverrides,localeDefaults)))}StandardTheme.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},StandardTheme.prototype.baseIconClass="fc-icon",StandardTheme.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},StandardTheme.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},StandardTheme.prototype.iconOverrideOption="buttonIcons",StandardTheme.prototype.iconOverrideCustomButtonOption="icon",StandardTheme.prototype.iconOverridePrefix="fc-icon-";let durationInputMap={};function initEventSources(calendarOptions,dateProfile,context){let activeRange=dateProfile?dateProfile.activeRange:null;return addSources({},function parseInitialSources(rawOptions,context){let refiners=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.j)(context),rawSources=[].concat(rawOptions.eventSources||[]),sources=[];rawOptions.initialEvents&&rawSources.unshift(rawOptions.initialEvents);rawOptions.events&&rawSources.unshift(rawOptions.events);for(let rawSource of rawSources){let source=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.p)(rawSource,context,refiners);source&&sources.push(source)}return sources}(calendarOptions,context),activeRange,context)}function reduceEventSources(eventSources,action,dateProfile,context){let activeRange=dateProfile?dateProfile.activeRange:null;switch(action.type){case"ADD_EVENT_SOURCES":return addSources(eventSources,action.sources,activeRange,context);case"REMOVE_EVENT_SOURCE":return function removeSource(eventSourceHash,sourceId){return(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.h)(eventSourceHash,(eventSource=>eventSource.sourceId!==sourceId))}(eventSources,action.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return dateProfile?fetchDirtySources(eventSources,activeRange,context):eventSources;case"FETCH_EVENT_SOURCES":return fetchSourcesByIds(eventSources,action.sourceIds?(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.f)(action.sourceIds):excludeStaticSources(eventSources,context),activeRange,action.isRefetch||!1,context);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function receiveResponse(sourceHash,sourceId,fetchId,fetchRange){let eventSource=sourceHash[sourceId];if(eventSource&&fetchId===eventSource.latestFetchId)return Object.assign(Object.assign({},sourceHash),{[sourceId]:Object.assign(Object.assign({},eventSource),{isFetching:!1,fetchRange:fetchRange})});return sourceHash}(eventSources,action.sourceId,action.fetchId,action.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return eventSources}}function computeEventSourcesLoading(eventSources){for(let sourceId in eventSources)if(eventSources[sourceId].isFetching)return!0;return!1}function addSources(eventSourceHash,sources,fetchRange,context){let hash={};for(let source of sources)hash[source.sourceId]=source;return fetchRange&&(hash=fetchDirtySources(hash,fetchRange,context)),Object.assign(Object.assign({},eventSourceHash),hash)}function fetchDirtySources(sourceHash,fetchRange,context){return fetchSourcesByIds(sourceHash,(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.h)(sourceHash,(eventSource=>function isSourceDirty(eventSource,fetchRange,context){if(!doesSourceNeedRange(eventSource,context))return!eventSource.latestFetchId;return!context.options.lazyFetching||!eventSource.fetchRange||eventSource.isFetching||fetchRange.starteventSource.fetchRange.end}(eventSource,fetchRange,context))),fetchRange,!1,context)}function fetchSourcesByIds(prevSources,sourceIdHash,fetchRange,isRefetch,context){let nextSources={};for(let sourceId in prevSources){let source=prevSources[sourceId];sourceIdHash[sourceId]?nextSources[sourceId]=fetchSource(source,fetchRange,isRefetch,context):nextSources[sourceId]=source}return nextSources}function fetchSource(eventSource,fetchRange,isRefetch,context){let{options:options,calendarApi:calendarApi}=context,sourceDef=context.pluginHooks.eventSourceDefs[eventSource.sourceDefId],fetchId=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.g)();return sourceDef.fetch({eventSource:eventSource,range:fetchRange,isRefetch:isRefetch,context:context},(res=>{let{rawEvents:rawEvents}=res;options.eventSourceSuccess&&(rawEvents=options.eventSourceSuccess.call(calendarApi,rawEvents,res.response)||rawEvents),eventSource.success&&(rawEvents=eventSource.success.call(calendarApi,rawEvents,res.response)||rawEvents),context.dispatch({type:"RECEIVE_EVENTS",sourceId:eventSource.sourceId,fetchId:fetchId,fetchRange:fetchRange,rawEvents:rawEvents})}),(error=>{let errorHandled=!1;options.eventSourceFailure&&(options.eventSourceFailure.call(calendarApi,error),errorHandled=!0),eventSource.failure&&(eventSource.failure(error),errorHandled=!0),errorHandled||console.warn(error.message,error),context.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:eventSource.sourceId,fetchId:fetchId,fetchRange:fetchRange,error:error})})),Object.assign(Object.assign({},eventSource),{isFetching:!0,latestFetchId:fetchId})}function excludeStaticSources(eventSources,context){return(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.h)(eventSources,(eventSource=>doesSourceNeedRange(eventSource,context)))}function doesSourceNeedRange(eventSource,context){return!context.pluginHooks.eventSourceDefs[eventSource.sourceDefId].ignoreRange}function reduceDateSelection(currentSelection,action){switch(action.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return action.selection;default:return currentSelection}}function reduceSelectedEvent(currentInstanceId,action){switch(action.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return action.eventInstanceId;default:return currentInstanceId}}function reduceEventDrag(currentDrag,action){let newDrag;switch(action.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return newDrag=action.state,{affectedEvents:newDrag.affectedEvents,mutatedEvents:newDrag.mutatedEvents,isEvent:newDrag.isEvent};default:return currentDrag}}function reduceEventResize(currentResize,action){let newResize;switch(action.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return newResize=action.state,{affectedEvents:newResize.affectedEvents,mutatedEvents:newResize.mutatedEvents,isEvent:newResize.isEvent};default:return currentResize}}function parseToolbars(calendarOptions,calendarOptionOverrides,theme,viewSpecs,calendarApi){return{header:calendarOptions.headerToolbar?parseToolbar(calendarOptions.headerToolbar,calendarOptions,calendarOptionOverrides,theme,viewSpecs,calendarApi):null,footer:calendarOptions.footerToolbar?parseToolbar(calendarOptions.footerToolbar,calendarOptions,calendarOptionOverrides,theme,viewSpecs,calendarApi):null}}function parseToolbar(sectionStrHash,calendarOptions,calendarOptionOverrides,theme,viewSpecs,calendarApi){let sectionWidgets={},viewsWithButtons=[],hasTitle=!1;for(let sectionName in sectionStrHash){let sectionRes=parseSection(sectionStrHash[sectionName],calendarOptions,calendarOptionOverrides,theme,viewSpecs,calendarApi);sectionWidgets[sectionName]=sectionRes.widgets,viewsWithButtons.push(...sectionRes.viewsWithButtons),hasTitle=hasTitle||sectionRes.hasTitle}return{sectionWidgets:sectionWidgets,viewsWithButtons:viewsWithButtons,hasTitle:hasTitle}}function parseSection(sectionStr,calendarOptions,calendarOptionOverrides,theme,viewSpecs,calendarApi){let isRtl="rtl"===calendarOptions.direction,calendarCustomButtons=calendarOptions.customButtons||{},calendarButtonTextOverrides=calendarOptionOverrides.buttonText||{},calendarButtonText=calendarOptions.buttonText||{},calendarButtonHintOverrides=calendarOptionOverrides.buttonHints||{},calendarButtonHints=calendarOptions.buttonHints||{},sectionSubstrs=sectionStr?sectionStr.split(" "):[],viewsWithButtons=[],hasTitle=!1;return{widgets:sectionSubstrs.map((buttonGroupStr=>buttonGroupStr.split(",").map((buttonName=>{if("title"===buttonName)return hasTitle=!0,{buttonName:buttonName};let customButtonProps,viewSpec,buttonClick,buttonIcon,buttonText,buttonHint;if(customButtonProps=calendarCustomButtons[buttonName])buttonClick=ev=>{customButtonProps.click&&customButtonProps.click.call(ev.target,ev,ev.target)},(buttonIcon=theme.getCustomButtonIconClass(customButtonProps))||(buttonIcon=theme.getIconClass(buttonName,isRtl))||(buttonText=customButtonProps.text),buttonHint=customButtonProps.hint||customButtonProps.text;else if(viewSpec=viewSpecs[buttonName]){viewsWithButtons.push(buttonName),buttonClick=()=>{calendarApi.changeView(buttonName)},(buttonText=viewSpec.buttonTextOverride)||(buttonIcon=theme.getIconClass(buttonName,isRtl))||(buttonText=viewSpec.buttonTextDefault);let textFallback=viewSpec.buttonTextOverride||viewSpec.buttonTextDefault;buttonHint=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.k)(viewSpec.buttonTitleOverride||viewSpec.buttonTitleDefault||calendarOptions.viewHint,[textFallback,buttonName],textFallback)}else if(calendarApi[buttonName])if(buttonClick=()=>{calendarApi[buttonName]()},(buttonText=calendarButtonTextOverrides[buttonName])||(buttonIcon=theme.getIconClass(buttonName,isRtl))||(buttonText=calendarButtonText[buttonName]),"prevYear"===buttonName||"nextYear"===buttonName){let prevOrNext="prevYear"===buttonName?"prev":"next";buttonHint=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.k)(calendarButtonHintOverrides[prevOrNext]||calendarButtonHints[prevOrNext],[calendarButtonText.year||"year","year"],calendarButtonText[buttonName])}else buttonHint=navUnit=>(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.k)(calendarButtonHintOverrides[buttonName]||calendarButtonHints[buttonName],[calendarButtonText[navUnit]||navUnit,navUnit],calendarButtonText[buttonName]);return{buttonName:buttonName,buttonClick:buttonClick,buttonIcon:buttonIcon,buttonText:buttonText,buttonHint:buttonHint}})))),viewsWithButtons:viewsWithButtons,hasTitle:hasTitle}}class ViewImpl{constructor(type,getCurrentData,dateEnv){this.type=type,this.getCurrentData=getCurrentData,this.dateEnv=dateEnv}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(name){return this.getCurrentData().options[name]}}function handleEventSources(inputs,context){let unfoundSources=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.v)(context.getCurrentData().eventSources);if(1===unfoundSources.length&&1===inputs.length&&Array.isArray(unfoundSources[0]._raw)&&Array.isArray(inputs[0]))return void context.dispatch({type:"RESET_RAW_EVENTS",sourceId:unfoundSources[0].sourceId,rawEvents:inputs[0]});let newInputs=[];for(let input of inputs){let inputFound=!1;for(let i=0;isuccessCallback({rawEvents:rawEvents})),errorCallback)}}]}),createPlugin({name:"json-event-source",eventSourceRefiners:{method:String,extraParams:_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.n,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta(refined){return!refined.url||"json"!==refined.format&&refined.format?null:{url:refined.url,format:"json",method:(refined.method||"GET").toUpperCase(),extraParams:refined.extraParams,startParam:refined.startParam,endParam:refined.endParam,timeZoneParam:refined.timeZoneParam}},fetch(arg,successCallback,errorCallback){const{meta:meta}=arg.eventSource,requestParams=function buildRequestParams(meta,range,context){let startParam,endParam,timeZoneParam,customRequestParams,{dateEnv:dateEnv,options:options}=context,params={};startParam=meta.startParam,null==startParam&&(startParam=options.startParam);endParam=meta.endParam,null==endParam&&(endParam=options.endParam);timeZoneParam=meta.timeZoneParam,null==timeZoneParam&&(timeZoneParam=options.timeZoneParam);customRequestParams="function"==typeof meta.extraParams?meta.extraParams():meta.extraParams||{};Object.assign(params,customRequestParams),params[startParam]=dateEnv.formatIso(range.start),params[endParam]=dateEnv.formatIso(range.end),"local"!==dateEnv.timeZone&&(params[timeZoneParam]=dateEnv.timeZone);return params}(meta,arg.range,arg.context);(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.r)(meta.method,meta.url,requestParams).then((([rawEvents,response])=>{successCallback({rawEvents:rawEvents,response:response})}),errorCallback)}}]}),createPlugin({name:"simple-recurring-event",recurringTypes:[{parse(refined,dateEnv){if(refined.daysOfWeek||refined.startTime||refined.endTime||refined.startRecur||refined.endRecur){let duration,recurringData={daysOfWeek:refined.daysOfWeek||null,startTime:refined.startTime||null,endTime:refined.endTime||null,startRecur:refined.startRecur?dateEnv.createMarker(refined.startRecur):null,endRecur:refined.endRecur?dateEnv.createMarker(refined.endRecur):null};return refined.duration&&(duration=refined.duration),!duration&&refined.startTime&&refined.endTime&&(duration=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.s)(refined.endTime,refined.startTime)),{allDayGuess:Boolean(!refined.startTime&&!refined.endTime),duration:duration,typeData:recurringData}}return null},expand(typeData,framingRange,dateEnv){let clippedFramingRange=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.o)(framingRange,{start:typeData.startRecur,end:typeData.endRecur});return clippedFramingRange?function expandRanges(daysOfWeek,startTime,framingRange,dateEnv){let dowHash=daysOfWeek?(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.f)(daysOfWeek):null,dayMarker=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.q)(framingRange.start),endMarker=framingRange.end,instanceStarts=[];for(;dayMarkercomputeEventSourcesLoading(state.eventSources)],propSetHandlers:{dateProfile:function handleDateProfile(dateProfile,context){context.emitter.trigger("datesSet",Object.assign(Object.assign({},(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.l)(dateProfile.activeRange,context.dateEnv)),{view:context.viewApi}))},eventStore:function handleEventStore(eventStore,context){let{emitter:emitter}=context;emitter.hasHandlers("eventsSet")&&emitter.trigger("eventsSet",(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.w)(eventStore,context))}}})];class TaskRunner{constructor(runTaskOption,drainedOption){this.runTaskOption=runTaskOption,this.drainedOption=drainedOption,this.queue=[],this.delayedRunner=new _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.D(this.drain.bind(this))}request(task,delay){this.queue.push(task),this.delayedRunner.request(delay)}pause(scope){this.delayedRunner.pause(scope)}resume(scope,force){this.delayedRunner.resume(scope,force)}drain(){let{queue:queue}=this;for(;queue.length;){let task,completedTasks=[];for(;task=queue.shift();)this.runTask(task),completedTasks.push(task);this.drained(completedTasks)}}runTask(task){this.runTaskOption&&this.runTaskOption(task)}drained(completedTasks){this.drainedOption&&this.drainedOption(completedTasks)}}function buildTitle(dateProfile,viewOptions,dateEnv){let range;return range=/^(year|month)$/.test(dateProfile.currentRangeUnit)?dateProfile.currentRange:dateProfile.activeRange,dateEnv.formatRange(range.start,range.end,(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.x)(viewOptions.titleFormat||function buildTitleFormat(dateProfile){let{currentRangeUnit:currentRangeUnit}=dateProfile;if("year"===currentRangeUnit)return{year:"numeric"};if("month"===currentRangeUnit)return{year:"numeric",month:"long"};let days=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.y)(dateProfile.currentRange.start,dateProfile.currentRange.end);if(null!==days&&days>1)return{year:"numeric",month:"short",day:"numeric"};return{year:"numeric",month:"long",day:"numeric"}}(dateProfile)),{isEndExclusive:dateProfile.isRangeAllDay,defaultSeparator:viewOptions.titleRangeSeparator})}class CalendarDataManager{constructor(props){this.computeCurrentViewData=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(this._computeCurrentViewData),this.organizeRawLocales=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(organizeRawLocales),this.buildLocale=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(buildLocale),this.buildPluginHooks=buildBuildPluginHooks(),this.buildDateEnv=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(buildDateEnv$1),this.buildTheme=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(buildTheme),this.parseToolbars=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(parseToolbars),this.buildViewSpecs=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(buildViewSpecs),this.buildDateProfileGenerator=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.A)(buildDateProfileGenerator),this.buildViewApi=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(buildViewApi),this.buildViewUiProps=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.A)(buildViewUiProps),this.buildEventUiBySource=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(buildEventUiBySource,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.E),this.buildEventUiBases=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(buildEventUiBases),this.parseContextBusinessHours=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.A)(parseContextBusinessHours),this.buildTitle=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(buildTitle),this.emitter=new _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.F,this.actionRunner=new TaskRunner(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=action=>{this.actionRunner.request(action)},this.props=props,this.actionRunner.pause();let dynamicOptionOverrides={},optionsData=this.computeOptionsData(props.optionOverrides,dynamicOptionOverrides,props.calendarApi),currentViewType=optionsData.calendarOptions.initialView||optionsData.pluginHooks.initialView,currentViewData=this.computeCurrentViewData(currentViewType,optionsData,props.optionOverrides,dynamicOptionOverrides);props.calendarApi.currentDataManager=this,this.emitter.setThisContext(props.calendarApi),this.emitter.setOptions(currentViewData.options);let currentDate=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.G)(optionsData.calendarOptions,optionsData.dateEnv),dateProfile=currentViewData.dateProfileGenerator.build(currentDate);(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.H)(dateProfile.activeRange,currentDate)||(currentDate=dateProfile.currentRange.start);let calendarContext={dateEnv:optionsData.dateEnv,options:optionsData.calendarOptions,pluginHooks:optionsData.pluginHooks,calendarApi:props.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData};for(let callback of optionsData.pluginHooks.contextInit)callback(calendarContext);let eventSources=initEventSources(optionsData.calendarOptions,dateProfile,calendarContext),initialState={dynamicOptionOverrides:dynamicOptionOverrides,currentViewType:currentViewType,currentDate:currentDate,dateProfile:dateProfile,businessHours:this.parseContextBusinessHours(calendarContext),eventSources:eventSources,eventUiBases:{},eventStore:(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.I)(),renderableEventStore:(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.I)(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(calendarContext).selectionConfig},contextAndState=Object.assign(Object.assign({},calendarContext),initialState);for(let reducer of optionsData.pluginHooks.reducers)Object.assign(initialState,reducer(null,null,contextAndState));computeIsLoading(initialState,calendarContext)&&this.emitter.trigger("loading",!0),this.state=initialState,this.updateData(),this.actionRunner.resume()}resetOptions(optionOverrides,changedOptionNames){let{props:props}=this;void 0===changedOptionNames?props.optionOverrides=optionOverrides:(props.optionOverrides=Object.assign(Object.assign({},props.optionOverrides||{}),optionOverrides),this.optionsForRefining.push(...changedOptionNames)),(void 0===changedOptionNames||changedOptionNames.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(action){let{props:props,state:state,emitter:emitter}=this,dynamicOptionOverrides=function reduceDynamicOptionOverrides(dynamicOptionOverrides,action){return"SET_OPTION"===action.type?Object.assign(Object.assign({},dynamicOptionOverrides),{[action.optionName]:action.rawOptionValue}):dynamicOptionOverrides}(state.dynamicOptionOverrides,action),optionsData=this.computeOptionsData(props.optionOverrides,dynamicOptionOverrides,props.calendarApi),currentViewType=function reduceViewType(viewType,action){"CHANGE_VIEW_TYPE"===action.type&&(viewType=action.viewType);return viewType}(state.currentViewType,action),currentViewData=this.computeCurrentViewData(currentViewType,optionsData,props.optionOverrides,dynamicOptionOverrides);props.calendarApi.currentDataManager=this,emitter.setThisContext(props.calendarApi),emitter.setOptions(currentViewData.options);let calendarContext={dateEnv:optionsData.dateEnv,options:optionsData.calendarOptions,pluginHooks:optionsData.pluginHooks,calendarApi:props.calendarApi,dispatch:this.dispatch,emitter:emitter,getCurrentData:this.getCurrentData},{currentDate:currentDate,dateProfile:dateProfile}=state;this.data&&this.data.dateProfileGenerator!==currentViewData.dateProfileGenerator&&(dateProfile=currentViewData.dateProfileGenerator.build(currentDate)),currentDate=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.J)(currentDate,action),dateProfile=function reduceDateProfile(currentDateProfile,action,currentDate,dateProfileGenerator){let dp;switch(action.type){case"CHANGE_VIEW_TYPE":return dateProfileGenerator.build(action.dateMarker||currentDate);case"CHANGE_DATE":return dateProfileGenerator.build(action.dateMarker);case"PREV":if(dp=dateProfileGenerator.buildPrev(currentDateProfile,currentDate),dp.isValid)return dp;break;case"NEXT":if(dp=dateProfileGenerator.buildNext(currentDateProfile,currentDate),dp.isValid)return dp}return currentDateProfile}(dateProfile,action,currentDate,currentViewData.dateProfileGenerator),"PREV"!==action.type&&"NEXT"!==action.type&&(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.H)(dateProfile.currentRange,currentDate)||(currentDate=dateProfile.currentRange.start);let eventSources=reduceEventSources(state.eventSources,action,dateProfile,calendarContext),eventStore=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.K)(state.eventStore,action,eventSources,dateProfile,calendarContext),renderableEventStore=computeEventSourcesLoading(eventSources)&&!currentViewData.options.progressiveEventRendering&&state.renderableEventStore||eventStore,{eventUiSingleBase:eventUiSingleBase,selectionConfig:selectionConfig}=this.buildViewUiProps(calendarContext),eventUiBySource=this.buildEventUiBySource(eventSources),newState={dynamicOptionOverrides:dynamicOptionOverrides,currentViewType:currentViewType,currentDate:currentDate,dateProfile:dateProfile,eventSources:eventSources,eventStore:eventStore,renderableEventStore:renderableEventStore,selectionConfig:selectionConfig,eventUiBases:this.buildEventUiBases(renderableEventStore.defs,eventUiSingleBase,eventUiBySource),businessHours:this.parseContextBusinessHours(calendarContext),dateSelection:reduceDateSelection(state.dateSelection,action),eventSelection:reduceSelectedEvent(state.eventSelection,action),eventDrag:reduceEventDrag(state.eventDrag,action),eventResize:reduceEventResize(state.eventResize,action)},contextAndState=Object.assign(Object.assign({},calendarContext),newState);for(let reducer of optionsData.pluginHooks.reducers)Object.assign(newState,reducer(state,action,contextAndState));let wasLoading=computeIsLoading(state,calendarContext),isLoading=computeIsLoading(newState,calendarContext);!wasLoading&&isLoading?emitter.trigger("loading",!0):wasLoading&&!isLoading&&emitter.trigger("loading",!1),this.state=newState,props.onAction&&props.onAction(action)}updateData(){let{props:props,state:state}=this,oldData=this.data,optionsData=this.computeOptionsData(props.optionOverrides,state.dynamicOptionOverrides,props.calendarApi),currentViewData=this.computeCurrentViewData(state.currentViewType,optionsData,props.optionOverrides,state.dynamicOptionOverrides),data=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(state.dateProfile,currentViewData.options,optionsData.dateEnv),calendarApi:props.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},optionsData),currentViewData),state),changeHandlers=optionsData.pluginHooks.optionChangeHandlers,oldCalendarOptions=oldData&&oldData.calendarOptions,newCalendarOptions=optionsData.calendarOptions;if(oldCalendarOptions&&oldCalendarOptions!==newCalendarOptions){oldCalendarOptions.timeZone!==newCalendarOptions.timeZone&&(state.eventSources=data.eventSources=function reduceEventSourcesNewTimeZone(eventSources,dateProfile,context){let activeRange=dateProfile?dateProfile.activeRange:null;return fetchSourcesByIds(eventSources,excludeStaticSources(eventSources,context),activeRange,!0,context)}(data.eventSources,state.dateProfile,data),state.eventStore=data.eventStore=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.L)(data.eventStore,oldData.dateEnv,data.dateEnv),state.renderableEventStore=data.renderableEventStore=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.L)(data.renderableEventStore,oldData.dateEnv,data.dateEnv));for(let optionName in changeHandlers)-1===this.optionsForHandling.indexOf(optionName)&&oldCalendarOptions[optionName]===newCalendarOptions[optionName]||changeHandlers[optionName](newCalendarOptions[optionName],data)}this.optionsForHandling=[],props.onData&&props.onData(data)}computeOptionsData(optionOverrides,dynamicOptionOverrides,calendarApi){if(!this.optionsForRefining.length&&optionOverrides===this.stableOptionOverrides&&dynamicOptionOverrides===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:refinedOptions,pluginHooks:pluginHooks,localeDefaults:localeDefaults,availableLocaleData:availableLocaleData,extra:extra}=this.processRawCalendarOptions(optionOverrides,dynamicOptionOverrides);warnUnknownOptions(extra);let dateEnv=this.buildDateEnv(refinedOptions.timeZone,refinedOptions.locale,refinedOptions.weekNumberCalculation,refinedOptions.firstDay,refinedOptions.weekText,pluginHooks,availableLocaleData,refinedOptions.defaultRangeSeparator),viewSpecs=this.buildViewSpecs(pluginHooks.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,localeDefaults),theme=this.buildTheme(refinedOptions,pluginHooks),toolbarConfig=this.parseToolbars(refinedOptions,this.stableOptionOverrides,theme,viewSpecs,calendarApi);return this.stableCalendarOptionsData={calendarOptions:refinedOptions,pluginHooks:pluginHooks,dateEnv:dateEnv,viewSpecs:viewSpecs,theme:theme,toolbarConfig:toolbarConfig,localeDefaults:localeDefaults,availableRawLocales:availableLocaleData.map}}processRawCalendarOptions(optionOverrides,dynamicOptionOverrides){let{locales:locales,locale:locale}=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.M)([_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.e,optionOverrides,dynamicOptionOverrides]),availableLocaleData=this.organizeRawLocales(locales),availableRawLocales=availableLocaleData.map,localeDefaults=this.buildLocale(locale||availableLocaleData.defaultCode,availableRawLocales).options,pluginHooks=this.buildPluginHooks(optionOverrides.plugins||[],globalPlugins),refiners=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.N),_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.O),_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.P),pluginHooks.listenerRefiners),pluginHooks.optionRefiners),extra={},raw=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.M)([_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.e,localeDefaults,optionOverrides,dynamicOptionOverrides]),refined={},currentRaw=this.currentCalendarOptionsInput,currentRefined=this.currentCalendarOptionsRefined,anyChanges=!1;for(let optionName in raw)-1===this.optionsForRefining.indexOf(optionName)&&(raw[optionName]===currentRaw[optionName]||_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.Q[optionName]&&optionName in currentRaw&&_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.Q[optionName](currentRaw[optionName],raw[optionName]))?refined[optionName]=currentRefined[optionName]:refiners[optionName]?(refined[optionName]=refiners[optionName](raw[optionName]),anyChanges=!0):extra[optionName]=currentRaw[optionName];return anyChanges&&(this.currentCalendarOptionsInput=raw,this.currentCalendarOptionsRefined=refined,this.stableOptionOverrides=optionOverrides,this.stableDynamicOptionOverrides=dynamicOptionOverrides),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:pluginHooks,availableLocaleData:availableLocaleData,localeDefaults:localeDefaults,extra:extra}}_computeCurrentViewData(viewType,optionsData,optionOverrides,dynamicOptionOverrides){let viewSpec=optionsData.viewSpecs[viewType];if(!viewSpec)throw new Error(`viewType "${viewType}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:refinedOptions,extra:extra}=this.processRawViewOptions(viewSpec,optionsData.pluginHooks,optionsData.localeDefaults,optionOverrides,dynamicOptionOverrides);return warnUnknownOptions(extra),{viewSpec:viewSpec,options:refinedOptions,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:viewSpec.optionDefaults.dateProfileGeneratorClass,duration:viewSpec.duration,durationUnit:viewSpec.durationUnit,usesMinMaxTime:viewSpec.optionDefaults.usesMinMaxTime,dateEnv:optionsData.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:refinedOptions.slotMinTime,slotMaxTime:refinedOptions.slotMaxTime,showNonCurrentDates:refinedOptions.showNonCurrentDates,dayCount:refinedOptions.dayCount,dateAlignment:refinedOptions.dateAlignment,dateIncrement:refinedOptions.dateIncrement,hiddenDays:refinedOptions.hiddenDays,weekends:refinedOptions.weekends,nowInput:refinedOptions.now,validRangeInput:refinedOptions.validRange,visibleRangeInput:refinedOptions.visibleRange,fixedWeekCount:refinedOptions.fixedWeekCount}),viewApi:this.buildViewApi(viewType,this.getCurrentData,optionsData.dateEnv)}}processRawViewOptions(viewSpec,pluginHooks,localeDefaults,optionOverrides,dynamicOptionOverrides){let raw=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.M)([_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.e,viewSpec.optionDefaults,localeDefaults,optionOverrides,viewSpec.optionOverrides,dynamicOptionOverrides]),refiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.N),_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.O),_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.P),_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.R),pluginHooks.listenerRefiners),pluginHooks.optionRefiners),refined={},currentRaw=this.currentViewOptionsInput,currentRefined=this.currentViewOptionsRefined,anyChanges=!1,extra={};for(let optionName in raw)raw[optionName]===currentRaw[optionName]||_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.Q[optionName]&&_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.Q[optionName](raw[optionName],currentRaw[optionName])?refined[optionName]=currentRefined[optionName]:(raw[optionName]===this.currentCalendarOptionsInput[optionName]||_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.Q[optionName]&&_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.Q[optionName](raw[optionName],this.currentCalendarOptionsInput[optionName])?optionName in this.currentCalendarOptionsRefined&&(refined[optionName]=this.currentCalendarOptionsRefined[optionName]):refiners[optionName]?refined[optionName]=refiners[optionName](raw[optionName]):extra[optionName]=raw[optionName],anyChanges=!0);return anyChanges&&(this.currentViewOptionsInput=raw,this.currentViewOptionsRefined=refined),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:extra}}}function buildDateEnv$1(timeZone,explicitLocale,weekNumberCalculation,firstDay,weekText,pluginHooks,availableLocaleData,defaultSeparator){let locale=buildLocale(explicitLocale||availableLocaleData.defaultCode,availableLocaleData.map);return new _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.S({calendarSystem:"gregory",timeZone:timeZone,namedTimeZoneImpl:pluginHooks.namedTimeZonedImpl,locale:locale,weekNumberCalculation:weekNumberCalculation,firstDay:firstDay,weekText:weekText,cmdFormatter:pluginHooks.cmdFormatter,defaultSeparator:defaultSeparator})}function buildTheme(options,pluginHooks){return new(pluginHooks.themeClasses[options.themeSystem]||StandardTheme)(options)}function buildDateProfileGenerator(props){return new(props.dateProfileGeneratorClass||_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.U)(props)}function buildViewApi(type,getCurrentData,dateEnv){return new ViewImpl(type,getCurrentData,dateEnv)}function buildEventUiBySource(eventSources){return(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a)(eventSources,(eventSource=>eventSource.ui))}function buildEventUiBases(eventDefs,eventUiSingleBase,eventUiBySource){let eventUiBases={"":eventUiSingleBase};for(let defId in eventDefs){let def=eventDefs[defId];def.sourceId&&eventUiBySource[def.sourceId]&&(eventUiBases[defId]=eventUiBySource[def.sourceId])}return eventUiBases}function buildViewUiProps(calendarContext){let{options:options}=calendarContext;return{eventUiSingleBase:(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.W)({display:options.eventDisplay,editable:options.editable,startEditable:options.eventStartEditable,durationEditable:options.eventDurationEditable,constraint:options.eventConstraint,overlap:"boolean"==typeof options.eventOverlap?options.eventOverlap:void 0,allow:options.eventAllow,backgroundColor:options.eventBackgroundColor,borderColor:options.eventBorderColor,textColor:options.eventTextColor,color:options.eventColor},calendarContext),selectionConfig:(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.W)({constraint:options.selectConstraint,overlap:"boolean"==typeof options.selectOverlap?options.selectOverlap:void 0,allow:options.selectAllow},calendarContext)}}function computeIsLoading(state,context){for(let isLoadingFunc of context.pluginHooks.isLoadingFuncs)if(isLoadingFunc(state))return!0;return!1}function parseContextBusinessHours(calendarContext){return(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.X)(calendarContext.options.businessHours,calendarContext)}function warnUnknownOptions(options,viewName){for(let optionName in options)console.warn(`Unknown option '${optionName}'`+(viewName?` for view '${viewName}'`:""))}class ToolbarSection extends _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.B{render(){let children=this.props.widgetGroups.map((widgetGroup=>this.renderWidgetGroup(widgetGroup)));return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:"fc-toolbar-chunk"},...children)}renderWidgetGroup(widgetGroup){let{props:props}=this,{theme:theme}=this.context,children=[],isOnlyButtons=!0;for(let widget of widgetGroup){let{buttonName:buttonName,buttonClick:buttonClick,buttonText:buttonText,buttonIcon:buttonIcon,buttonHint:buttonHint}=widget;if("title"===buttonName)isOnlyButtons=!1,children.push((0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("h2",{className:"fc-toolbar-title",id:props.titleId},props.title));else{let isPressed=buttonName===props.activeButton,isDisabled=!props.isTodayEnabled&&"today"===buttonName||!props.isPrevEnabled&&"prev"===buttonName||!props.isNextEnabled&&"next"===buttonName,buttonClasses=[`fc-${buttonName}-button`,theme.getClass("button")];isPressed&&buttonClasses.push(theme.getClass("buttonActive")),children.push((0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("button",{type:"button",title:"function"==typeof buttonHint?buttonHint(props.navUnit):buttonHint,disabled:isDisabled,"aria-pressed":isPressed,className:buttonClasses.join(" "),onClick:buttonClick},buttonText||(buttonIcon?(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("span",{className:buttonIcon,role:"img"}):"")))}}if(children.length>1){let groupClassName=isOnlyButtons&&theme.getClass("buttonGroup")||"";return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:groupClassName},...children)}return children[0]}}class Toolbar extends _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.B{render(){let startContent,endContent,{model:model,extraClassName:extraClassName}=this.props,forceLtr=!1,sectionWidgets=model.sectionWidgets,centerContent=sectionWidgets.center;sectionWidgets.left?(forceLtr=!0,startContent=sectionWidgets.left):startContent=sectionWidgets.start,sectionWidgets.right?(forceLtr=!0,endContent=sectionWidgets.right):endContent=sectionWidgets.end;let classNames=[extraClassName||"","fc-toolbar",forceLtr?"fc-toolbar-ltr":""];return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:classNames.join(" ")},this.renderSection("start",startContent||[]),this.renderSection("center",centerContent||[]),this.renderSection("end",endContent||[]))}renderSection(key,widgetGroups){let{props:props}=this;return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ToolbarSection,{key:key,widgetGroups:widgetGroups,title:props.title,navUnit:props.navUnit,activeButton:props.activeButton,isTodayEnabled:props.isTodayEnabled,isPrevEnabled:props.isPrevEnabled,isNextEnabled:props.isNextEnabled,titleId:props.titleId})}}class ViewHarness extends _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.B{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=el=>{this.el=el,(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.Y)(this.props.elRef,el),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:props,state:state}=this,{aspectRatio:aspectRatio}=props,classNames=["fc-view-harness",aspectRatio||props.liquid||props.height?"fc-view-harness-active":"fc-view-harness-passive"],height="",paddingBottom="";return aspectRatio?null!==state.availableWidth?height=state.availableWidth/aspectRatio:paddingBottom=1/aspectRatio*100+"%":height=props.height||"",(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{"aria-labelledby":props.labeledById,ref:this.handleEl,className:classNames.join(" "),style:{height:height,paddingBottom:paddingBottom}},props.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class EventClicking extends _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.Z{constructor(settings){super(settings),this.handleSegClick=(ev,segEl)=>{let{component:component}=this,{context:context}=component,seg=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__._)(segEl);if(seg&&component.isValidSegDownEl(ev.target)){let hasUrlContainer=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.$)(ev.target,".fc-event-forced-url"),url=hasUrlContainer?hasUrlContainer.querySelector("a[href]").href:"";context.emitter.trigger("eventClick",{el:segEl,event:new _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a0(component.context,seg.eventRange.def,seg.eventRange.instance),jsEvent:ev,view:context.viewApi}),url&&!ev.defaultPrevented&&(window.location.href=url)}},this.destroy=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a1)(settings.el,"click",".fc-event",this.handleSegClick)}}class EventHovering extends _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.Z{constructor(settings){super(settings),this.handleEventElRemove=el=>{el===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(ev,segEl)=>{(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__._)(segEl)&&(this.currentSegEl=segEl,this.triggerEvent("eventMouseEnter",ev,segEl))},this.handleSegLeave=(ev,segEl)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",ev,segEl))},this.removeHoverListeners=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a2)(settings.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(publicEvName,ev,segEl){let{component:component}=this,{context:context}=component,seg=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__._)(segEl);ev&&!component.isValidSegDownEl(ev.target)||context.emitter.trigger(publicEvName,{el:segEl,event:new _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a0(context,seg.eventRange.def,seg.eventRange.instance),jsEvent:ev,view:context.viewApi})}}class CalendarContent extends _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a3{constructor(){super(...arguments),this.buildViewContext=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a4),this.buildViewPropTransformers=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(buildViewPropTransformers),this.buildToolbarProps=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.z)(buildToolbarProps),this.headerRef=(0,preact__WEBPACK_IMPORTED_MODULE_0__.Vf)(),this.footerRef=(0,preact__WEBPACK_IMPORTED_MODULE_0__.Vf)(),this.interactionsStore={},this.state={viewLabelId:(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a5)()},this.registerInteractiveComponent=(component,settingsInput)=>{let settings=(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a6)(component,settingsInput),interactions=[EventClicking,EventHovering].concat(this.props.pluginHooks.componentInteractions).map((TheInteractionClass=>new TheInteractionClass(settings)));this.interactionsStore[component.uid]=interactions,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a7[component.uid]=settings},this.unregisterInteractiveComponent=component=>{let listeners=this.interactionsStore[component.uid];if(listeners){for(let listener of listeners)listener.destroy();delete this.interactionsStore[component.uid]}delete _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a7[component.uid]},this.resizeRunner=new _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.D((()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})})),this.handleWindowResize=ev=>{let{options:options}=this.props;options.handleWindowResize&&ev.target===window&&this.resizeRunner.request(options.windowResizeDelay)}}render(){let viewAspectRatio,{props:props}=this,{toolbarConfig:toolbarConfig,options:options}=props,toolbarProps=this.buildToolbarProps(props.viewSpec,props.dateProfile,props.dateProfileGenerator,props.currentDate,(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a8)(props.options.now,props.dateEnv),props.viewTitle),viewVGrow=!1,viewHeight="";props.isHeightAuto||props.forPrint?viewHeight="":null!=options.height?viewVGrow=!0:null!=options.contentHeight?viewHeight=options.contentHeight:viewAspectRatio=Math.max(options.aspectRatio,.5);let viewContext=this.buildViewContext(props.viewSpec,props.viewApi,props.options,props.dateProfileGenerator,props.dateEnv,props.theme,props.pluginHooks,props.dispatch,props.getCurrentData,props.emitter,props.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),viewLabelId=toolbarConfig.header&&toolbarConfig.header.hasTitle?this.state.viewLabelId:void 0;return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.V.Provider,{value:viewContext},toolbarConfig.header&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(Toolbar,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:toolbarConfig.header,titleId:viewLabelId},toolbarProps)),(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ViewHarness,{liquid:viewVGrow,height:viewHeight,aspectRatio:viewAspectRatio,labeledById:viewLabelId},this.renderView(props),this.buildAppendContent()),toolbarConfig.footer&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(Toolbar,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:toolbarConfig.footer,titleId:""},toolbarProps)))}componentDidMount(){let{props:props}=this;this.calendarInteractions=props.pluginHooks.calendarInteractions.map((CalendarInteractionClass=>new CalendarInteractionClass(props))),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:propSetHandlers}=props.pluginHooks;for(let propName in propSetHandlers)propSetHandlers[propName](props[propName],props)}componentDidUpdate(prevProps){let{props:props}=this,{propSetHandlers:propSetHandlers}=props.pluginHooks;for(let propName in propSetHandlers)props[propName]!==prevProps[propName]&&propSetHandlers[propName](props[propName],props)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(let interaction of this.calendarInteractions)interaction.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:props}=this,children=props.pluginHooks.viewContainerAppends.map((buildAppendContent=>buildAppendContent(props)));return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(preact__WEBPACK_IMPORTED_MODULE_0__.HY,{},...children)}renderView(props){let{pluginHooks:pluginHooks}=props,{viewSpec:viewSpec}=props,viewProps={dateProfile:props.dateProfile,businessHours:props.businessHours,eventStore:props.renderableEventStore,eventUiBases:props.eventUiBases,dateSelection:props.dateSelection,eventSelection:props.eventSelection,eventDrag:props.eventDrag,eventResize:props.eventResize,isHeightAuto:props.isHeightAuto,forPrint:props.forPrint},transformers=this.buildViewPropTransformers(pluginHooks.viewPropsTransformers);for(let transformer of transformers)Object.assign(viewProps,transformer.transform(viewProps,props));let ViewComponent=viewSpec.component;return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ViewComponent,Object.assign({},viewProps))}}function buildToolbarProps(viewSpec,dateProfile,dateProfileGenerator,currentDate,now,title){let todayInfo=dateProfileGenerator.build(now,void 0,!1),prevInfo=dateProfileGenerator.buildPrev(dateProfile,currentDate,!1),nextInfo=dateProfileGenerator.buildNext(dateProfile,currentDate,!1);return{title:title,activeButton:viewSpec.type,navUnit:viewSpec.singleUnit,isTodayEnabled:todayInfo.isValid&&!(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.H)(dateProfile.currentRange,now),isPrevEnabled:prevInfo.isValid,isNextEnabled:nextInfo.isValid}}function buildViewPropTransformers(theClasses){return theClasses.map((TheClass=>new TheClass))}class Calendar extends _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.a9{constructor(el,optionOverrides={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=action=>{switch(action.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=data=>{this.currentData=data,this.renderRunner.request(data.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:currentData}=this;(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.aa)((()=>{(0,preact__WEBPACK_IMPORTED_MODULE_0__.sY)((0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.ab,{options:currentData.calendarOptions,theme:currentData.theme,emitter:currentData.emitter},((classNames,height,isHeightAuto,forPrint)=>(this.setClassNames(classNames),this.setHeight(height),(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.ac.Provider,{value:this.customContentRenderId},(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(CalendarContent,Object.assign({isHeightAuto:isHeightAuto,forPrint:forPrint},currentData)))))),this.el)}))}else this.isRendered&&(this.isRendered=!1,(0,preact__WEBPACK_IMPORTED_MODULE_0__.sY)(null,this.el),this.setClassNames([]),this.setHeight(""))},(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.ad)(el),this.el=el,this.renderRunner=new _internal_common_js__WEBPACK_IMPORTED_MODULE_2__.D(this.handleRenderRequest),new CalendarDataManager({optionOverrides:optionOverrides,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let wasRendering=this.isRendering;wasRendering?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),wasRendering&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.aa)((()=>{super.updateSize()}))}batchRendering(func){this.renderRunner.pause("batchRendering"),func(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(optionOverrides,changedOptionNames){this.currentDataManager.resetOptions(optionOverrides,changedOptionNames)}setClassNames(classNames){if(!(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.i)(classNames,this.currentClassNames)){let{classList:classList}=this.el;for(let className of this.currentClassNames)classList.remove(className);for(let className of classNames)classList.add(className);this.currentClassNames=classNames}}setHeight(height){(0,_internal_common_js__WEBPACK_IMPORTED_MODULE_2__.ae)(this.el,"height",height)}}},"./node_modules/@fullcalendar/core/internal-common.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{$:function(){return elementClosest},A:function(){return memoizeObjArg},B:function(){return BaseComponent},C:function(){return ContentContainer},D:function(){return DelayedRunner},E:function(){return isPropsEqual},F:function(){return Emitter},G:function(){return getInitialDate},H:function(){return rangeContainsMarker},I:function(){return createEmptyEventStore},J:function(){return reduceCurrentDate},K:function(){return reduceEventStore},L:function(){return rezoneEventStoreDates},M:function(){return mergeRawOptions},N:function(){return BASE_OPTION_REFINERS},O:function(){return CALENDAR_LISTENER_REFINERS},P:function(){return CALENDAR_OPTION_REFINERS},Q:function(){return COMPLEX_OPTION_COMPARATORS},R:function(){return VIEW_OPTION_REFINERS},S:function(){return DateEnv},T:function(){return Theme},U:function(){return DateProfileGenerator},V:function(){return ViewContextType},W:function(){return createEventUi},X:function(){return parseBusinessHours},Y:function(){return setRef},Z:function(){return Interaction},_:function(){return getElSeg},a:function(){return mapHash},a0:function(){return EventImpl},a1:function(){return listenBySelector},a2:function(){return listenToHoverBySelector},a3:function(){return PureComponent},a4:function(){return buildViewContext},a5:function(){return getUniqueDomId},a6:function(){return parseInteractionSettings},a7:function(){return interactionSettingsStore},a8:function(){return getNow},a9:function(){return CalendarImpl},aa:function(){return flushSync},ab:function(){return CalendarRoot},ac:function(){return RenderId},ad:function(){return ensureElHasStyles},ae:function(){return applyStyleProp},b:function(){return buildViewClassNames},b$:function(){return SimpleScrollGrid},b0:function(){return buildNavLinkAttrs},bA:function(){return SegHierarchy},bB:function(){return buildEntryKey},bF:function(){return intersectSpans},bK:function(){return DayHeader},bO:function(){return DaySeriesModel},bQ:function(){return buildSegTimeText},bR:function(){return sortEventSegs},bS:function(){return getSegMeta},bT:function(){return buildEventRangeKey},bU:function(){return getSegAnchorAttrs},bV:function(){return DayTableModel},bW:function(){return Slicer},ba:function(){return PositionCache},be:function(){return DateComponent},bg:function(){return addMs},bh:function(){return addWeeks},bi:function(){return diffWeeks},bv:function(){return formatDayString},bx:function(){return formatIsoMonthStr},c:function(){return greatestDurationDenominator},ca:function(){return renderScrollShim},cb:function(){return getStickyFooterScrollbar},cc:function(){return getStickyHeaderDates},cf:function(){return RefMap},ch:function(){return NowTimer},cj:function(){return StandardEvent},cl:function(){return DayCellContainer},cm:function(){return hasCustomDayCellContent},cn:function(){return EventContainer},co:function(){return renderFill},cp:function(){return BgEvent},cq:function(){return WeekNumberContainer},cr:function(){return MoreLinkContainer},ct:function(){return ViewContainer},cw:function(){return injectStyles},d:function(){return createDuration},e:function(){return BASE_OPTION_DEFAULTS},f:function(){return arrayToHash},g:function(){return guid},h:function(){return filterHash},i:function(){return isArraysEqual},j:function(){return buildEventSourceRefiners},k:function(){return formatWithOrdinals},l:function(){return buildRangeApiWithTimeZone},m:function(){return mergeProps},n:function(){return identity},o:function(){return intersectRanges},p:function(){return parseEventSource},q:function(){return startOfDay},r:function(){return requestJson},s:function(){return subtractDurations},t:function(){return addDays},u:function(){return unpromisify},v:function(){return hashValuesToArray},w:function(){return buildEventApis},x:function(){return createFormatter},y:function(){return diffWholeDays},z:function(){return memoize}});var preact__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/preact/dist/preact.module.js"),preact_compat__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/preact/compat/dist/compat.module.js");const styleTexts=[],styleEls=new Map;function injectStyles(styleText){styleTexts.push(styleText),styleEls.forEach((styleEl=>{appendStylesTo(styleEl,styleText)}))}function ensureElHasStyles(el){el.isConnected&&el.getRootNode&®isterStylesRoot(el.getRootNode())}function registerStylesRoot(rootNode){let styleEl=styleEls.get(rootNode);if(!styleEl||!styleEl.isConnected){if(styleEl=rootNode.querySelector("style[data-fullcalendar]"),!styleEl){styleEl=document.createElement("style"),styleEl.setAttribute("data-fullcalendar","");const nonce=function getNonceValue(){void 0===queriedNonceValue&&(queriedNonceValue=function queryNonceValue(){const metaWithNonce=document.querySelector('meta[name="csp-nonce"]');if(metaWithNonce&&metaWithNonce.hasAttribute("content"))return metaWithNonce.getAttribute("content");const elWithNonce=document.querySelector("script[nonce]");if(elWithNonce)return elWithNonce.nonce||"";return""}());return queriedNonceValue}();nonce&&(styleEl.nonce=nonce);const parentEl=rootNode===document?document.head:rootNode,insertBefore=rootNode===document?parentEl.querySelector("script,link[rel=stylesheet],link[as=style],style"):parentEl.firstChild;parentEl.insertBefore(styleEl,insertBefore)}styleEls.set(rootNode,styleEl),function hydrateStylesRoot(styleEl){for(const styleText of styleTexts)appendStylesTo(styleEl,styleText)}(styleEl)}}function appendStylesTo(styleEl,styleText){const{sheet:sheet}=styleEl,ruleCnt=sheet.cssRules.length;styleText.split("}").forEach(((styleStr,i)=>{(styleStr=styleStr.trim())&&sheet.insertRule(styleStr+"}",ruleCnt+i)}))}let queriedNonceValue;"undefined"!=typeof document&®isterStylesRoot(document);injectStyles(':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}');class DelayedRunner{constructor(drainedOption){this.drainedOption=drainedOption,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(delay){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==delay?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),delay))}pause(scope=""){let{pauseDepths:pauseDepths}=this;pauseDepths[scope]=(pauseDepths[scope]||0)+1,this.clearTimeout()}resume(scope="",force){let{pauseDepths:pauseDepths}=this;if(scope in pauseDepths){if(force)delete pauseDepths[scope];else{pauseDepths[scope]-=1,pauseDepths[scope]<=0&&delete pauseDepths[scope]}this.tryDrain()}}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}}function removeElement(el){el.parentNode&&el.parentNode.removeChild(el)}function elementClosest(el,selector){if(el.closest)return el.closest(selector);if(!document.documentElement.contains(el))return null;do{if(elementMatches(el,selector))return el;el=el.parentElement||el.parentNode}while(null!==el&&1===el.nodeType);return null}function elementMatches(el,selector){return(el.matches||el.matchesSelector||el.msMatchesSelector).call(el,selector)}const PIXEL_PROP_RE=/(top|left|right|bottom|width|height)$/i;function applyStyle(el,props){for(let propName in props)applyStyleProp(el,propName,props[propName])}function applyStyleProp(el,name,val){null==val?el.style[name]="":"number"==typeof val&&PIXEL_PROP_RE.test(name)?el.style[name]=`${val}px`:el.style[name]=val}let guid$1=0;function getUniqueDomId(){return guid$1+=1,"fc-dom-"+guid$1}function listenBySelector(container,eventType,selector,handler){let attachedHandler=function buildDelegationHandler(selector,handler){return ev=>{let matchedChild=elementClosest(ev.target,selector);matchedChild&&handler.call(matchedChild,ev,matchedChild)}}(selector,handler);return container.addEventListener(eventType,attachedHandler),()=>{container.removeEventListener(eventType,attachedHandler)}}function listenToHoverBySelector(container,selector,onMouseEnter,onMouseLeave){let currentMatchedChild;return listenBySelector(container,"mouseover",selector,((mouseOverEv,matchedChild)=>{if(matchedChild!==currentMatchedChild){currentMatchedChild=matchedChild,onMouseEnter(mouseOverEv,matchedChild);let realOnMouseLeave=mouseLeaveEv=>{currentMatchedChild=null,onMouseLeave(mouseLeaveEv,matchedChild),matchedChild.removeEventListener("mouseleave",realOnMouseLeave)};matchedChild.addEventListener("mouseleave",realOnMouseLeave)}}))}function createAriaClickAttrs(handler){return Object.assign({onClick:handler},createAriaKeyboardAttrs(handler))}function createAriaKeyboardAttrs(handler){return{tabIndex:0,onKeyDown(ev){"Enter"!==ev.key&&" "!==ev.key||(handler(ev),ev.preventDefault())}}}let guidNumber=0;function guid(){return guidNumber+=1,String(guidNumber)}function compareByFieldSpec(obj0,obj1,fieldSpec){return fieldSpec.func?fieldSpec.func(obj0,obj1):function flexibleCompare(a,b){if(!a&&!b)return 0;if(null==b)return-1;if(null==a)return 1;if("string"==typeof a||"string"==typeof b)return String(a).localeCompare(String(b));return a-b}(obj0[fieldSpec.field],obj1[fieldSpec.field])*(fieldSpec.order||1)}function padStart(val,len){let s=String(val);return"000".substr(0,len-s.length)+s}function formatWithOrdinals(formatter,args,fallbackText){return"function"==typeof formatter?formatter(...args):"string"==typeof formatter?args.reduce(((str,arg,index)=>str.replace("$"+index,arg||"")),formatter):fallbackText}function isInt(n){return n%1==0}function computeSmallestCellWidth(cellEl){let allWidthEl=cellEl.querySelector(".fc-scrollgrid-shrink-frame"),contentWidthEl=cellEl.querySelector(".fc-scrollgrid-shrink-cushion");if(!allWidthEl)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!contentWidthEl)throw new Error("needs fc-scrollgrid-shrink-cushion className");return cellEl.getBoundingClientRect().width-allWidthEl.getBoundingClientRect().width+contentWidthEl.getBoundingClientRect().width}const PARSE_RE=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function createDuration(input,unit){return"string"==typeof input?function parseString(s){let m=PARSE_RE.exec(s);if(m){let sign=m[1]?-1:1;return{years:0,months:0,days:sign*(m[2]?parseInt(m[2],10):0),milliseconds:sign*(60*(m[3]?parseInt(m[3],10):0)*60*1e3+60*(m[4]?parseInt(m[4],10):0)*1e3+1e3*(m[5]?parseInt(m[5],10):0)+(m[6]?parseInt(m[6],10):0))}}return null}(input):"object"==typeof input&&input?parseObject(input):"number"==typeof input?parseObject({[unit||"milliseconds"]:input}):null}function parseObject(obj){let duration={years:obj.years||obj.year||0,months:obj.months||obj.month||0,days:obj.days||obj.day||0,milliseconds:60*(obj.hours||obj.hour||0)*60*1e3+60*(obj.minutes||obj.minute||0)*1e3+1e3*(obj.seconds||obj.second||0)+(obj.milliseconds||obj.millisecond||obj.ms||0)},weeks=obj.weeks||obj.week;return weeks&&(duration.days+=7*weeks,duration.specifiedWeeks=!0),duration}function subtractDurations(d1,d0){return{years:d1.years-d0.years,months:d1.months-d0.months,days:d1.days-d0.days,milliseconds:d1.milliseconds-d0.milliseconds}}function asRoughDays(dur){return asRoughMs(dur)/864e5}function asRoughMs(dur){return 31536e6*dur.years+2592e6*dur.months+864e5*dur.days+dur.milliseconds}function greatestDurationDenominator(dur){let ms=dur.milliseconds;if(ms){if(ms%1e3!=0)return{unit:"millisecond",value:ms};if(ms%6e4!=0)return{unit:"second",value:ms/1e3};if(ms%36e5!=0)return{unit:"minute",value:ms/6e4};if(ms)return{unit:"hour",value:ms/36e5}}return dur.days?dur.specifiedWeeks&&dur.days%7==0?{unit:"week",value:dur.days/7}:{unit:"day",value:dur.days}:dur.months?{unit:"month",value:dur.months}:dur.years?{unit:"year",value:dur.years}:{unit:"millisecond",value:0}}function isArraysEqual(a0,a1,equalityFunc){if(a0===a1)return!0;let i,len=a0.length;if(len!==a1.length)return!1;for(i=0;i{if(currentArg){if(!isPropsEqual(currentArg,newArg)){teardownFunc&&teardownFunc(currentRes);let res=workerFunc.call(this,newArg);resEquality&&resEquality(res,currentRes)||(currentRes=res)}}else currentRes=workerFunc.call(this,newArg);return currentArg=newArg,currentRes}}const EXTENDED_SETTINGS_AND_SEVERITIES={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},STANDARD_DATE_PROP_SEVERITIES={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},MERIDIEM_RE=/\s*([ap])\.?m\.?/i,COMMA_RE=/,/g,MULTI_SPACE_RE=/\s+/g,LTR_RE=/\u200e/g,UTC_RE=/UTC|GMT/;class NativeFormatter{constructor(formatSettings){let standardDateProps={},extendedSettings={},severity=0;for(let name in formatSettings)name in EXTENDED_SETTINGS_AND_SEVERITIES?(extendedSettings[name]=formatSettings[name],severity=Math.max(EXTENDED_SETTINGS_AND_SEVERITIES[name],severity)):(standardDateProps[name]=formatSettings[name],name in STANDARD_DATE_PROP_SEVERITIES&&(severity=Math.max(STANDARD_DATE_PROP_SEVERITIES[name],severity)));this.standardDateProps=standardDateProps,this.extendedSettings=extendedSettings,this.severity=severity,this.buildFormattingFunc=memoize(buildFormattingFunc)}format(date,context){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,context)(date)}formatRange(start,end,context,betterDefaultSeparator){let{standardDateProps:standardDateProps,extendedSettings:extendedSettings}=this,diffSeverity=function computeMarkerDiffSeverity(d0,d1,ca){if(ca.getMarkerYear(d0)!==ca.getMarkerYear(d1))return 5;if(ca.getMarkerMonth(d0)!==ca.getMarkerMonth(d1))return 4;if(ca.getMarkerDay(d0)!==ca.getMarkerDay(d1))return 2;if(timeAsMs(d0)!==timeAsMs(d1))return 1;return 0}(start.marker,end.marker,context.calendarSystem);if(!diffSeverity)return this.format(start,context);let biggestUnitForPartial=diffSeverity;!(biggestUnitForPartial>1)||"numeric"!==standardDateProps.year&&"2-digit"!==standardDateProps.year||"numeric"!==standardDateProps.month&&"2-digit"!==standardDateProps.month||"numeric"!==standardDateProps.day&&"2-digit"!==standardDateProps.day||(biggestUnitForPartial=1);let full0=this.format(start,context),full1=this.format(end,context);if(full0===full1)return full0;let partialFormattingFunc=buildFormattingFunc(function computePartialFormattingOptions(options,biggestUnit){let partialOptions={};for(let name in options)(!(name in STANDARD_DATE_PROP_SEVERITIES)||STANDARD_DATE_PROP_SEVERITIES[name]<=biggestUnit)&&(partialOptions[name]=options[name]);return partialOptions}(standardDateProps,biggestUnitForPartial),extendedSettings,context),partial0=partialFormattingFunc(start),partial1=partialFormattingFunc(end),insertion=function findCommonInsertion(full0,partial0,full1,partial1){let i0=0;for(;i0formatTimeZoneOffset(date.timeZoneOffset):0===standardDatePropCnt&&extendedSettings.week?date=>function formatWeekNumber(num,weekText,weekTextLong,locale,display){let parts=[];"long"===display?parts.push(weekTextLong):"short"!==display&&"narrow"!==display||parts.push(weekText);"long"!==display&&"short"!==display||parts.push(" ");parts.push(locale.simpleNumberFormat.format(num)),"rtl"===locale.options.direction&&parts.reverse();return parts.join("")}(context.computeWeekNumber(date.marker),context.weekText,context.weekTextLong,context.locale,extendedSettings.week):function buildNativeFormattingFunc(standardDateProps,extendedSettings,context){standardDateProps=Object.assign({},standardDateProps),extendedSettings=Object.assign({},extendedSettings),function sanitizeSettings(standardDateProps,extendedSettings){standardDateProps.timeZoneName&&(standardDateProps.hour||(standardDateProps.hour="2-digit"),standardDateProps.minute||(standardDateProps.minute="2-digit"));"long"===standardDateProps.timeZoneName&&(standardDateProps.timeZoneName="short");extendedSettings.omitZeroMinute&&(standardDateProps.second||standardDateProps.millisecond)&&delete extendedSettings.omitZeroMinute}(standardDateProps,extendedSettings),standardDateProps.timeZone="UTC";let zeroFormat,normalFormat=new Intl.DateTimeFormat(context.locale.codes,standardDateProps);if(extendedSettings.omitZeroMinute){let zeroProps=Object.assign({},standardDateProps);delete zeroProps.minute,zeroFormat=new Intl.DateTimeFormat(context.locale.codes,zeroProps)}return date=>{let format,{marker:marker}=date;return format=zeroFormat&&!marker.getUTCMinutes()?zeroFormat:normalFormat,function postProcess(s,date,standardDateProps,extendedSettings,context){s=s.replace(LTR_RE,""),"short"===standardDateProps.timeZoneName&&(s=function injectTzoStr(s,tzoStr){let replaced=!1;s=s.replace(UTC_RE,(()=>(replaced=!0,tzoStr))),replaced||(s+=` ${tzoStr}`);return s}(s,"UTC"===context.timeZone||null==date.timeZoneOffset?"UTC":formatTimeZoneOffset(date.timeZoneOffset)));extendedSettings.omitCommas&&(s=s.replace(COMMA_RE,"").trim());extendedSettings.omitZeroMinute&&(s=s.replace(":00",""));!1===extendedSettings.meridiem?s=s.replace(MERIDIEM_RE,"").trim():"narrow"===extendedSettings.meridiem?s=s.replace(MERIDIEM_RE,((m0,m1)=>m1.toLocaleLowerCase())):"short"===extendedSettings.meridiem?s=s.replace(MERIDIEM_RE,((m0,m1)=>`${m1.toLocaleLowerCase()}m`)):"lowercase"===extendedSettings.meridiem&&(s=s.replace(MERIDIEM_RE,(m0=>m0.toLocaleLowerCase())));return s=s.replace(MULTI_SPACE_RE," "),s=s.trim(),s}(format.format(marker),date,standardDateProps,extendedSettings,context)}}(standardDateProps,extendedSettings,context)}function expandZonedMarker(dateInfo,calendarSystem){let a=calendarSystem.markerToArray(dateInfo.marker);return{marker:dateInfo.marker,timeZoneOffset:dateInfo.timeZoneOffset,array:a,year:a[0],month:a[1],day:a[2],hour:a[3],minute:a[4],second:a[5],millisecond:a[6]}}function createVerboseFormattingArg(start,end,context,betterDefaultSeparator){let startInfo=expandZonedMarker(start,context.calendarSystem);return{date:startInfo,start:startInfo,end:end?expandZonedMarker(end,context.calendarSystem):null,timeZone:context.timeZone,localeCodes:context.locale.codes,defaultSeparator:betterDefaultSeparator||context.defaultSeparator}}class CmdFormatter{constructor(cmdStr){this.cmdStr=cmdStr}format(date,context,betterDefaultSeparator){return context.cmdFormatter(this.cmdStr,createVerboseFormattingArg(date,null,context,betterDefaultSeparator))}formatRange(start,end,context,betterDefaultSeparator){return context.cmdFormatter(this.cmdStr,createVerboseFormattingArg(start,end,context,betterDefaultSeparator))}}class FuncFormatter{constructor(func){this.func=func}format(date,context,betterDefaultSeparator){return this.func(createVerboseFormattingArg(date,null,context,betterDefaultSeparator))}formatRange(start,end,context,betterDefaultSeparator){return this.func(createVerboseFormattingArg(start,end,context,betterDefaultSeparator))}}function createFormatter(input){return"object"==typeof input&&input?new NativeFormatter(input):"string"==typeof input?new CmdFormatter(input):"function"==typeof input?new FuncFormatter(input):null}const BASE_OPTION_REFINERS={navLinkDayClick:identity,navLinkWeekClick:identity,duration:createDuration,bootstrapFontAwesome:identity,buttonIcons:identity,customButtons:identity,defaultAllDayEventDuration:createDuration,defaultTimedEventDuration:createDuration,nextDayThreshold:createDuration,scrollTime:createDuration,scrollTimeReset:Boolean,slotMinTime:createDuration,slotMaxTime:createDuration,dayPopoverFormat:createFormatter,slotDuration:createDuration,snapDuration:createDuration,headerToolbar:identity,footerToolbar:identity,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:createFormatter,dayHeaderClassNames:identity,dayHeaderContent:identity,dayHeaderDidMount:identity,dayHeaderWillUnmount:identity,dayCellClassNames:identity,dayCellContent:identity,dayCellDidMount:identity,dayCellWillUnmount:identity,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:identity,weekNumbers:Boolean,weekNumberClassNames:identity,weekNumberContent:identity,weekNumberDidMount:identity,weekNumberWillUnmount:identity,editable:Boolean,viewClassNames:identity,viewDidMount:identity,viewWillUnmount:identity,nowIndicator:Boolean,nowIndicatorClassNames:identity,nowIndicatorContent:identity,nowIndicatorDidMount:identity,nowIndicatorWillUnmount:identity,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:identity,locale:identity,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:identity,eventOrder:function parseFieldSpecs(input){let i,token,specs=[],tokens=[];for("string"==typeof input?tokens=input.split(/\s*,\s*/):"function"==typeof input?tokens=[input]:Array.isArray(input)&&(tokens=input),i=0;i=0;i-=1){let val=propObjs[i][name];if("object"==typeof val&&val)complexObjs.unshift(val);else if(void 0!==val){dest[name]=val;break}}complexObjs.length&&(dest[name]=mergeProps(complexObjs))}for(let i=propObjs.length-1;i>=0;i-=1){let props=propObjs[i];for(let name in props)name in dest||(dest[name]=props[name])}return dest}function filterHash(hash,func){let filtered={};for(let key in hash)func(hash[key],key)&&(filtered[key]=hash[key]);return filtered}function mapHash(hash,func){let newHash={};for(let key in hash)newHash[key]=func(hash[key],key);return newHash}function arrayToHash(a){let hash={};for(let item of a)hash[item]=!0;return hash}function hashValuesToArray(obj){let a=[];for(let key in obj)a.push(obj[key]);return a}function isPropsEqual(obj0,obj1){if(obj0===obj1)return!0;for(let key in obj0)if(hasOwnProperty.call(obj0,key)&&!(key in obj1))return!1;for(let key in obj1)if(hasOwnProperty.call(obj1,key)&&obj0[key]!==obj1[key])return!1;return!0}const HANDLER_RE=/^on[A-Z]/;function getUnequalProps(obj0,obj1){let keys=[];for(let key in obj0)hasOwnProperty.call(obj0,key)&&(key in obj1||keys.push(key));for(let key in obj1)hasOwnProperty.call(obj1,key)&&obj0[key]!==obj1[key]&&keys.push(key);return keys}function compareObjs(oldProps,newProps,equalityFuncs={}){if(oldProps===newProps)return!0;for(let key in newProps)if(!(key in oldProps)||!isObjValsEqual(oldProps[key],newProps[key],equalityFuncs[key]))return!1;for(let key in oldProps)if(!(key in newProps))return!1;return!0}function isObjValsEqual(val0,val1,comparator){return val0===val1||!0===comparator||!!comparator&&comparator(val0,val1)}let calendarSystemClassMap={};!function registerCalendarSystem(name,theClass){calendarSystemClassMap[name]=theClass}("gregory",class GregorianCalendarSystem{getMarkerYear(d){return d.getUTCFullYear()}getMarkerMonth(d){return d.getUTCMonth()}getMarkerDay(d){return d.getUTCDate()}arrayToMarker(arr){return arrayToUtcDate(arr)}markerToArray(marker){return dateToUtcArray(marker)}});const ISO_RE=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;class DateEnv{constructor(settings){let timeZone=this.timeZone=settings.timeZone,isNamedTimeZone="local"!==timeZone&&"UTC"!==timeZone;settings.namedTimeZoneImpl&&isNamedTimeZone&&(this.namedTimeZoneImpl=new settings.namedTimeZoneImpl(timeZone)),this.canComputeOffset=Boolean(!isNamedTimeZone||this.namedTimeZoneImpl),this.calendarSystem=function createCalendarSystem(name){return new calendarSystemClassMap[name]}(settings.calendarSystem),this.locale=settings.locale,this.weekDow=settings.locale.week.dow,this.weekDoy=settings.locale.week.doy,"ISO"===settings.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof settings.firstDay&&(this.weekDow=settings.firstDay),"function"==typeof settings.weekNumberCalculation&&(this.weekNumberFunc=settings.weekNumberCalculation),this.weekText=null!=settings.weekText?settings.weekText:settings.locale.options.weekText,this.weekTextLong=(null!=settings.weekTextLong?settings.weekTextLong:settings.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=settings.cmdFormatter,this.defaultSeparator=settings.defaultSeparator}createMarker(input){let meta=this.createMarkerMeta(input);return null===meta?null:meta.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):arrayToUtcDate(dateToLocalArray(new Date))}createMarkerMeta(input){if("string"==typeof input)return this.parse(input);let marker=null;return"number"==typeof input?marker=this.timestampToMarker(input):input instanceof Date?(input=input.valueOf(),isNaN(input)||(marker=this.timestampToMarker(input))):Array.isArray(input)&&(marker=arrayToUtcDate(input)),null!==marker&&isValidDate(marker)?{marker:marker,isTimeUnspecified:!1,forcedTzo:null}:null}parse(s){let parts=function parse(str){let m=ISO_RE.exec(str);if(m){let marker=new Date(Date.UTC(Number(m[1]),m[3]?Number(m[3])-1:0,Number(m[5]||1),Number(m[7]||0),Number(m[8]||0),Number(m[10]||0),m[12]?1e3*Number(`0.${m[12]}`):0));if(isValidDate(marker)){let timeZoneOffset=null;return m[13]&&(timeZoneOffset=("-"===m[15]?-1:1)*(60*Number(m[16]||0)+Number(m[18]||0))),{marker:marker,isTimeUnspecified:!m[6],timeZoneOffset:timeZoneOffset}}}return null}(s);if(null===parts)return null;let{marker:marker}=parts,forcedTzo=null;return null!==parts.timeZoneOffset&&(this.canComputeOffset?marker=this.timestampToMarker(marker.valueOf()-60*parts.timeZoneOffset*1e3):forcedTzo=parts.timeZoneOffset),{marker:marker,isTimeUnspecified:parts.isTimeUnspecified,forcedTzo:forcedTzo}}getYear(marker){return this.calendarSystem.getMarkerYear(marker)}getMonth(marker){return this.calendarSystem.getMarkerMonth(marker)}getDay(marker){return this.calendarSystem.getMarkerDay(marker)}add(marker,dur){let a=this.calendarSystem.markerToArray(marker);return a[0]+=dur.years,a[1]+=dur.months,a[2]+=dur.days,a[6]+=dur.milliseconds,this.calendarSystem.arrayToMarker(a)}subtract(marker,dur){let a=this.calendarSystem.markerToArray(marker);return a[0]-=dur.years,a[1]-=dur.months,a[2]-=dur.days,a[6]-=dur.milliseconds,this.calendarSystem.arrayToMarker(a)}addYears(marker,n){let a=this.calendarSystem.markerToArray(marker);return a[0]+=n,this.calendarSystem.arrayToMarker(a)}addMonths(marker,n){let a=this.calendarSystem.markerToArray(marker);return a[1]+=n,this.calendarSystem.arrayToMarker(a)}diffWholeYears(m0,m1){let{calendarSystem:calendarSystem}=this;return timeAsMs(m0)===timeAsMs(m1)&&calendarSystem.getMarkerDay(m0)===calendarSystem.getMarkerDay(m1)&&calendarSystem.getMarkerMonth(m0)===calendarSystem.getMarkerMonth(m1)?calendarSystem.getMarkerYear(m1)-calendarSystem.getMarkerYear(m0):null}diffWholeMonths(m0,m1){let{calendarSystem:calendarSystem}=this;return timeAsMs(m0)===timeAsMs(m1)&&calendarSystem.getMarkerDay(m0)===calendarSystem.getMarkerDay(m1)?calendarSystem.getMarkerMonth(m1)-calendarSystem.getMarkerMonth(m0)+12*(calendarSystem.getMarkerYear(m1)-calendarSystem.getMarkerYear(m0)):null}greatestWholeUnit(m0,m1){let n=this.diffWholeYears(m0,m1);return null!==n?{unit:"year",value:n}:(n=this.diffWholeMonths(m0,m1),null!==n?{unit:"month",value:n}:(n=function diffWholeWeeks(m0,m1){let d=diffWholeDays(m0,m1);return null!==d&&d%7==0?d/7:null}(m0,m1),null!==n?{unit:"week",value:n}:(n=diffWholeDays(m0,m1),null!==n?{unit:"day",value:n}:(n=function diffHours(m0,m1){return(m1.valueOf()-m0.valueOf())/36e5}(m0,m1),isInt(n)?{unit:"hour",value:n}:(n=function diffMinutes(m0,m1){return(m1.valueOf()-m0.valueOf())/6e4}(m0,m1),isInt(n)?{unit:"minute",value:n}:(n=function diffSeconds(m0,m1){return(m1.valueOf()-m0.valueOf())/1e3}(m0,m1),isInt(n)?{unit:"second",value:n}:{unit:"millisecond",value:m1.valueOf()-m0.valueOf()}))))))}countDurationsBetween(m0,m1,d){let diff;return d.years&&(diff=this.diffWholeYears(m0,m1),null!==diff)?diff/function asRoughYears(dur){return asRoughDays(dur)/365}(d):d.months&&(diff=this.diffWholeMonths(m0,m1),null!==diff)?diff/function asRoughMonths(dur){return asRoughDays(dur)/30}(d):d.days&&(diff=diffWholeDays(m0,m1),null!==diff)?diff/asRoughDays(d):(m1.valueOf()-m0.valueOf())/asRoughMs(d)}startOf(m,unit){return"year"===unit?this.startOfYear(m):"month"===unit?this.startOfMonth(m):"week"===unit?this.startOfWeek(m):"day"===unit?startOfDay(m):"hour"===unit?function startOfHour(m){return arrayToUtcDate([m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate(),m.getUTCHours()])}(m):"minute"===unit?function startOfMinute(m){return arrayToUtcDate([m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate(),m.getUTCHours(),m.getUTCMinutes()])}(m):"second"===unit?function startOfSecond(m){return arrayToUtcDate([m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate(),m.getUTCHours(),m.getUTCMinutes(),m.getUTCSeconds()])}(m):null}startOfYear(m){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(m)])}startOfMonth(m){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(m),this.calendarSystem.getMarkerMonth(m)])}startOfWeek(m){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(m),this.calendarSystem.getMarkerMonth(m),m.getUTCDate()-(m.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(marker){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(marker)):function weekOfYear(marker,dow,doy){let y=marker.getUTCFullYear(),w=weekOfGivenYear(marker,y,dow,doy);if(w<1)return weekOfGivenYear(marker,y-1,dow,doy);let nextW=weekOfGivenYear(marker,y+1,dow,doy);return nextW>=1?Math.min(w,nextW):w}(marker,this.weekDow,this.weekDoy)}format(marker,formatter,dateOptions={}){return formatter.format({marker:marker,timeZoneOffset:null!=dateOptions.forcedTzo?dateOptions.forcedTzo:this.offsetForMarker(marker)},this)}formatRange(start,end,formatter,dateOptions={}){return dateOptions.isEndExclusive&&(end=addMs(end,-1)),formatter.formatRange({marker:start,timeZoneOffset:null!=dateOptions.forcedStartTzo?dateOptions.forcedStartTzo:this.offsetForMarker(start)},{marker:end,timeZoneOffset:null!=dateOptions.forcedEndTzo?dateOptions.forcedEndTzo:this.offsetForMarker(end)},this,dateOptions.defaultSeparator)}formatIso(marker,extraOptions={}){let timeZoneOffset=null;return extraOptions.omitTimeZoneOffset||(timeZoneOffset=null!=extraOptions.forcedTzo?extraOptions.forcedTzo:this.offsetForMarker(marker)),function buildIsoString(marker,timeZoneOffset,stripZeroTime=!1){let s=marker.toISOString();return s=s.replace(".000",""),stripZeroTime&&(s=s.replace("T00:00:00Z","")),s.length>10&&(null==timeZoneOffset?s=s.replace("Z",""):0!==timeZoneOffset&&(s=s.replace("Z",formatTimeZoneOffset(timeZoneOffset,!0)))),s}(marker,timeZoneOffset,extraOptions.omitTime)}timestampToMarker(ms){return"local"===this.timeZone?arrayToUtcDate(dateToLocalArray(new Date(ms))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?arrayToUtcDate(this.namedTimeZoneImpl.timestampToArray(ms)):new Date(ms)}offsetForMarker(m){return"local"===this.timeZone?-arrayToLocalDate(dateToUtcArray(m)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(dateToUtcArray(m)):null}toDate(m,forcedTzo){return"local"===this.timeZone?arrayToLocalDate(dateToUtcArray(m)):"UTC"===this.timeZone?new Date(m.valueOf()):this.namedTimeZoneImpl?new Date(m.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(dateToUtcArray(m))*60):new Date(m.valueOf()-(forcedTzo||0))}}class Theme{constructor(calendarOptions){this.iconOverrideOption&&this.setIconOverride(calendarOptions[this.iconOverrideOption])}setIconOverride(iconOverrideHash){let iconClassesCopy,buttonName;if("object"==typeof iconOverrideHash&&iconOverrideHash){for(buttonName in iconClassesCopy=Object.assign({},this.iconClasses),iconOverrideHash)iconClassesCopy[buttonName]=this.applyIconOverridePrefix(iconOverrideHash[buttonName]);this.iconClasses=iconClassesCopy}else!1===iconOverrideHash&&(this.iconClasses={})}applyIconOverridePrefix(className){let prefix=this.iconOverridePrefix;return prefix&&0!==className.indexOf(prefix)&&(className=prefix+className),className}getClass(key){return this.classes[key]||""}getIconClass(buttonName,isRtl){let className;return className=isRtl&&this.rtlIconClasses&&this.rtlIconClasses[buttonName]||this.iconClasses[buttonName],className?`${this.baseIconClass} ${className}`:""}getCustomButtonIconClass(customButtonProps){let className;return this.iconOverrideCustomButtonOption&&(className=customButtonProps[this.iconOverrideCustomButtonOption],className)?`${this.baseIconClass} ${this.applyIconOverridePrefix(className)}`:""}}function flushSync(runBeforeFlush){runBeforeFlush();let oldDebounceRendering=preact__WEBPACK_IMPORTED_MODULE_0__.YM.debounceRendering,callbackQ=[];for(preact__WEBPACK_IMPORTED_MODULE_0__.YM.debounceRendering=function execCallbackSync(callback){callbackQ.push(callback)},preact__WEBPACK_IMPORTED_MODULE_0__.sY(preact__WEBPACK_IMPORTED_MODULE_0__.az(FakeComponent,{}),document.createElement("div"));callbackQ.length;)callbackQ.shift()();preact__WEBPACK_IMPORTED_MODULE_0__.YM.debounceRendering=oldDebounceRendering}Theme.prototype.classes={},Theme.prototype.iconClasses={},Theme.prototype.baseIconClass="",Theme.prototype.iconOverridePrefix="";class FakeComponent extends preact__WEBPACK_IMPORTED_MODULE_0__.wA{render(){return preact__WEBPACK_IMPORTED_MODULE_0__.az("div",{})}componentDidMount(){this.setState({})}}function createContext(defaultValue){let ContextType=preact__WEBPACK_IMPORTED_MODULE_0__.kr(defaultValue),origProvider=ContextType.Provider;return ContextType.Provider=function(){let isNew=!this.getChildContext,children=origProvider.apply(this,arguments);if(isNew){let subs=[];this.shouldComponentUpdate=_props=>{this.props.value!==_props.value&&subs.forEach((c=>{c.context=_props.value,c.forceUpdate()}))},this.sub=c=>{subs.push(c);let old=c.componentWillUnmount;c.componentWillUnmount=()=>{subs.splice(subs.indexOf(c),1),old&&old.call(c)}}}return children},ContextType}class ScrollResponder{constructor(execFunc,emitter,scrollTime,scrollTimeReset){this.execFunc=execFunc,this.emitter=emitter,this.scrollTime=scrollTime,this.scrollTimeReset=scrollTimeReset,this.handleScrollRequest=request=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},request),this.drain()},emitter.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(isDatesNew){isDatesNew&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}const ViewContextType=createContext({});function buildViewContext(viewSpec,viewApi,viewOptions,dateProfileGenerator,dateEnv,theme,pluginHooks,dispatch,getCurrentData,emitter,calendarApi,registerInteractiveComponent,unregisterInteractiveComponent){return{dateEnv:dateEnv,options:viewOptions,pluginHooks:pluginHooks,emitter:emitter,dispatch:dispatch,getCurrentData:getCurrentData,calendarApi:calendarApi,viewSpec:viewSpec,viewApi:viewApi,dateProfileGenerator:dateProfileGenerator,theme:theme,isRtl:"rtl"===viewOptions.direction,addResizeHandler(handler){emitter.on("_resize",handler)},removeResizeHandler(handler){emitter.off("_resize",handler)},createScrollResponder(execFunc){return new ScrollResponder(execFunc,emitter,createDuration(viewOptions.scrollTime),viewOptions.scrollTimeReset)},registerInteractiveComponent:registerInteractiveComponent,unregisterInteractiveComponent:unregisterInteractiveComponent}}class PureComponent extends preact__WEBPACK_IMPORTED_MODULE_0__.wA{shouldComponentUpdate(nextProps,nextState){return this.debug&&console.log(getUnequalProps(nextProps,this.props),getUnequalProps(nextState,this.state)),!compareObjs(this.props,nextProps,this.propEquality)||!compareObjs(this.state,nextState,this.stateEquality)}safeSetState(newState){compareObjs(this.state,Object.assign(Object.assign({},this.state),newState),this.stateEquality)||this.setState(newState)}}PureComponent.addPropsEquality=function addPropsEquality(propEquality){let hash=Object.create(this.prototype.propEquality);Object.assign(hash,propEquality),this.prototype.propEquality=hash},PureComponent.addStateEquality=function addStateEquality(stateEquality){let hash=Object.create(this.prototype.stateEquality);Object.assign(hash,stateEquality),this.prototype.stateEquality=hash},PureComponent.contextType=ViewContextType,PureComponent.prototype.propEquality={},PureComponent.prototype.stateEquality={};class BaseComponent extends PureComponent{}function setRef(ref,current){"function"==typeof ref?ref(current):ref&&(ref.current=current)}BaseComponent.contextType=ViewContextType;class ContentInjector extends BaseComponent{constructor(){super(...arguments),this.id=guid(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=el=>{const{options:options}=this.context,{generatorName:generatorName}=this.props;options.customRenderingReplaces&&hasCustomRenderingHandler(generatorName,options)||this.updateElRef(el)},this.updateElRef=el=>{this.props.elRef&&setRef(this.props.elRef,el)}}render(){const{props:props,context:context}=this,{options:options}=context,{customGenerator:customGenerator,defaultGenerator:defaultGenerator,renderProps:renderProps}=props,attrs=buildElAttrs(props,[],this.handleEl);let innerContent,currentGeneratorMeta,useDefault=!1,queuedDomNodes=[];if(null!=customGenerator){const customGeneratorRes="function"==typeof customGenerator?customGenerator(renderProps,preact__WEBPACK_IMPORTED_MODULE_0__.az):customGenerator;if(!0===customGeneratorRes)useDefault=!0;else{const isObject=customGeneratorRes&&"object"==typeof customGeneratorRes;isObject&&"html"in customGeneratorRes?attrs.dangerouslySetInnerHTML={__html:customGeneratorRes.html}:isObject&&"domNodes"in customGeneratorRes?queuedDomNodes=Array.prototype.slice.call(customGeneratorRes.domNodes):(isObject?(0,preact__WEBPACK_IMPORTED_MODULE_0__.l$)(customGeneratorRes):"function"!=typeof customGeneratorRes)?innerContent=customGeneratorRes:currentGeneratorMeta=customGeneratorRes}}else useDefault=!hasCustomRenderingHandler(props.generatorName,options);return useDefault&&defaultGenerator&&(innerContent=defaultGenerator(renderProps)),this.queuedDomNodes=queuedDomNodes,this.currentGeneratorMeta=currentGeneratorMeta,(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(props.elTag,attrs,innerContent)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(isActive){var _a;const{props:props,context:context}=this,{handleCustomRendering:handleCustomRendering,customRenderingMetaMap:customRenderingMetaMap}=context.options;if(handleCustomRendering){const generatorMeta=null!==(_a=this.currentGeneratorMeta)&&void 0!==_a?_a:null==customRenderingMetaMap?void 0:customRenderingMetaMap[props.generatorName];generatorMeta&&handleCustomRendering(Object.assign(Object.assign({id:this.id,isActive:isActive,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:generatorMeta},props),{elClasses:(props.elClasses||[]).filter(isTruthy)}))}}applyQueueudDomNodes(){const{queuedDomNodes:queuedDomNodes,currentDomNodes:currentDomNodes}=this,el=this.base;if(!isArraysEqual(queuedDomNodes,currentDomNodes)){currentDomNodes.forEach(removeElement);for(let newNode of queuedDomNodes)el.appendChild(newNode);this.currentDomNodes=queuedDomNodes}}}function hasCustomRenderingHandler(generatorName,options){var _a;return Boolean(options.handleCustomRendering&&generatorName&&(null===(_a=options.customRenderingMetaMap)||void 0===_a?void 0:_a[generatorName]))}function buildElAttrs(props,extraClassNames,elRef){const attrs=Object.assign(Object.assign({},props.elAttrs),{ref:elRef});return(props.elClasses||extraClassNames)&&(attrs.className=(props.elClasses||[]).concat(extraClassNames||[]).concat(attrs.className||[]).filter(Boolean).join(" ")),props.elStyle&&(attrs.style=props.elStyle),attrs}function isTruthy(val){return Boolean(val)}ContentInjector.addPropsEquality({elClasses:isArraysEqual,elStyle:isPropsEqual,elAttrs:function isNonHandlerPropsEqual(obj0,obj1){const keys=getUnequalProps(obj0,obj1);for(let key of keys)if(!HANDLER_RE.test(key))return!1;return!0},renderProps:isPropsEqual});const RenderId=createContext(0);class ContentContainer extends preact__WEBPACK_IMPORTED_MODULE_0__.wA{constructor(){super(...arguments),this.InnerContent=InnerContentInjector.bind(void 0,this),this.handleEl=el=>{this.el=el,this.props.elRef&&(setRef(this.props.elRef,el),el&&this.didMountMisfire&&this.componentDidMount())}}render(){const{props:props}=this,generatedClassNames=function generateClassNames(classNameGenerator,renderProps){const classNames="function"==typeof classNameGenerator?classNameGenerator(renderProps):classNameGenerator||[];return"string"==typeof classNames?[classNames]:classNames}(props.classNameGenerator,props.renderProps);if(props.children){const elAttrs=buildElAttrs(props,generatedClassNames,this.handleEl),children=props.children(this.InnerContent,props.renderProps,elAttrs);return props.elTag?(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(props.elTag,elAttrs,children):children}return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ContentInjector,Object.assign(Object.assign({},props),{elRef:this.handleEl,elTag:props.elTag||"div",elClasses:(props.elClasses||[]).concat(generatedClassNames),renderId:this.context}))}componentDidMount(){var _a,_b;this.el?null===(_b=(_a=this.props).didMount)||void 0===_b||_b.call(_a,Object.assign(Object.assign({},this.props.renderProps),{el:this.el})):this.didMountMisfire=!0}componentWillUnmount(){var _a,_b;null===(_b=(_a=this.props).willUnmount)||void 0===_b||_b.call(_a,Object.assign(Object.assign({},this.props.renderProps),{el:this.el}))}}function InnerContentInjector(containerComponent,props){const parentProps=containerComponent.props;return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ContentInjector,Object.assign({renderProps:parentProps.renderProps,generatorName:parentProps.generatorName,customGenerator:parentProps.customGenerator,defaultGenerator:parentProps.defaultGenerator,renderId:containerComponent.context},props))}ContentContainer.contextType=RenderId;class ViewContainer extends BaseComponent{render(){let{props:props,context:context}=this,{options:options}=context,renderProps={view:context.viewApi};return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ContentContainer,Object.assign({},props,{elTag:props.elTag||"div",elClasses:[...buildViewClassNames(props.viewSpec),...props.elClasses||[]],renderProps:renderProps,classNameGenerator:options.viewClassNames,generatorName:void 0,didMount:options.viewDidMount,willUnmount:options.viewWillUnmount}),(()=>props.children))}}function buildViewClassNames(viewSpec){return[`fc-${viewSpec.type}-view`,"fc-view"]}function invertRanges(ranges,constraintRange){let i,dateRange,invertedRanges=[],{start:start}=constraintRange;for(ranges.sort(compareRanges),i=0;istart&&invertedRanges.push({start:start,end:dateRange.start}),dateRange.end>start&&(start=dateRange.end);return startrange1.start)&&(null===range0.start||null===range1.end||range0.start=range.start)&&(null===range.end||date=asRoughMs(nextDayThreshold)&&(endDay=addDays(endDay,1))}return timedRange.start&&(startDay=startOfDay(timedRange.start),endDay&&endDay<=startDay&&(endDay=addDays(startDay,1))),{start:startDay,end:endDay}}function diffDates(date0,date1,dateEnv,largeUnit){return"year"===largeUnit?createDuration(dateEnv.diffWholeYears(date0,date1),"year"):"month"===largeUnit?createDuration(dateEnv.diffWholeMonths(date0,date1),"month"):function diffDayAndTime(m0,m1){let m0day=startOfDay(m0),m1day=startOfDay(m1);return{years:0,months:0,days:Math.round(diffDays(m0day,m1day)),milliseconds:m1.valueOf()-m1day.valueOf()-(m0.valueOf()-m0day.valueOf())}}(date0,date1)}function reduceCurrentDate(currentDate,action){return"CHANGE_DATE"===action.type?action.dateMarker:currentDate}function getInitialDate(options,dateEnv){let initialDateInput=options.initialDate;return null!=initialDateInput?dateEnv.createMarker(initialDateInput):getNow(options.now,dateEnv)}function getNow(nowInput,dateEnv){return"function"==typeof nowInput&&(nowInput=nowInput()),null==nowInput?dateEnv.createNowMarker():dateEnv.createMarker(nowInput)}class DateProfileGenerator{constructor(props){this.props=props,this.nowDate=getNow(props.nowInput,props.dateEnv),this.initHiddenDays()}buildPrev(currentDateProfile,currentDate,forceToValid){let{dateEnv:dateEnv}=this.props,prevDate=dateEnv.subtract(dateEnv.startOf(currentDate,currentDateProfile.currentRangeUnit),currentDateProfile.dateIncrement);return this.build(prevDate,-1,forceToValid)}buildNext(currentDateProfile,currentDate,forceToValid){let{dateEnv:dateEnv}=this.props,nextDate=dateEnv.add(dateEnv.startOf(currentDate,currentDateProfile.currentRangeUnit),currentDateProfile.dateIncrement);return this.build(nextDate,1,forceToValid)}build(currentDate,direction,forceToValid=!0){let validRange,currentInfo,isRangeAllDay,renderRange,activeRange,isValid,{props:props}=this;return validRange=this.buildValidRange(),validRange=this.trimHiddenDays(validRange),forceToValid&&(currentDate=function constrainMarkerToRange(date,range){return null!=range.start&&date=range.end?new Date(range.end.valueOf()-1):date}(currentDate,validRange)),currentInfo=this.buildCurrentRangeInfo(currentDate,direction),isRangeAllDay=/^(year|month|week|day)$/.test(currentInfo.unit),renderRange=this.buildRenderRange(this.trimHiddenDays(currentInfo.range),currentInfo.unit,isRangeAllDay),renderRange=this.trimHiddenDays(renderRange),activeRange=renderRange,props.showNonCurrentDates||(activeRange=intersectRanges(activeRange,currentInfo.range)),activeRange=this.adjustActiveRange(activeRange),activeRange=intersectRanges(activeRange,validRange),isValid=rangesIntersect(currentInfo.range,validRange),rangeContainsMarker(renderRange,currentDate)||(currentDate=renderRange.start),{currentDate:currentDate,validRange:validRange,currentRange:currentInfo.range,currentRangeUnit:currentInfo.unit,isRangeAllDay:isRangeAllDay,activeRange:activeRange,renderRange:renderRange,slotMinTime:props.slotMinTime,slotMaxTime:props.slotMaxTime,isValid:isValid,dateIncrement:this.buildDateIncrement(currentInfo.duration)}}buildValidRange(){let input=this.props.validRangeInput,simpleInput="function"==typeof input?input.call(this.props.calendarApi,this.nowDate):input;return this.refineRange(simpleInput)||{start:null,end:null}}buildCurrentRangeInfo(date,direction){let dayCount,{props:props}=this,duration=null,unit=null,range=null;return props.duration?(duration=props.duration,unit=props.durationUnit,range=this.buildRangeFromDuration(date,direction,duration,unit)):(dayCount=this.props.dayCount)?(unit="day",range=this.buildRangeFromDayCount(date,direction,dayCount)):(range=this.buildCustomVisibleRange(date))?unit=props.dateEnv.greatestWholeUnit(range.start,range.end).unit:(duration=this.getFallbackDuration(),unit=greatestDurationDenominator(duration).unit,range=this.buildRangeFromDuration(date,direction,duration,unit)),{duration:duration,unit:unit,range:range}}getFallbackDuration(){return createDuration({day:1})}adjustActiveRange(range){let{dateEnv:dateEnv,usesMinMaxTime:usesMinMaxTime,slotMinTime:slotMinTime,slotMaxTime:slotMaxTime}=this.props,{start:start,end:end}=range;return usesMinMaxTime&&(asRoughDays(slotMinTime)<0&&(start=startOfDay(start),start=dateEnv.add(start,slotMinTime)),asRoughDays(slotMaxTime)>1&&(end=startOfDay(end),end=addDays(end,-1),end=dateEnv.add(end,slotMaxTime))),{start:start,end:end}}buildRangeFromDuration(date,direction,duration,unit){let start,end,res,{dateEnv:dateEnv,dateAlignment:dateAlignment}=this.props;if(!dateAlignment){let{dateIncrement:dateIncrement}=this.props;dateAlignment=dateIncrement&&asRoughMs(dateIncrement)!defs[instance.defId].recurringDef));for(let defId in defs){let def=defs[defId];if(def.recurringDef){let{duration:duration}=def.recurringDef;duration||(duration=def.allDay?options.defaultAllDayEventDuration:options.defaultTimedEventDuration);let starts=expandRecurringRanges(def,duration,framingRange,dateEnv,pluginHooks.recurringTypes);for(let start of starts){let instance=createEventInstance(defId,{start:start,end:dateEnv.add(start,duration)});instances[instance.instanceId]=instance}}}return{defs:defs,instances:instances}}function expandRecurringRanges(eventDef,duration,framingRange,dateEnv,recurringTypes){let markers=recurringTypes[eventDef.recurringDef.typeId].expand(eventDef.recurringDef.typeData,{start:dateEnv.subtract(framingRange.start,duration),end:framingRange.end},dateEnv);return eventDef.allDay&&(markers=markers.map(startOfDay)),markers}const EVENT_NON_DATE_REFINERS={id:String,groupId:String,title:String,url:String,interactive:Boolean},EVENT_DATE_REFINERS={start:identity,end:identity,date:identity,allDay:Boolean},EVENT_REFINERS=Object.assign(Object.assign(Object.assign({},EVENT_NON_DATE_REFINERS),EVENT_DATE_REFINERS),{extendedProps:identity});function parseEvent(raw,eventSource,context,allowOpenRange,refiners=buildEventRefiners(context),defIdMap,instanceIdMap){let{refined:refined,extra:extra}=refineEventDef(raw,context,refiners),defaultAllDay=function computeIsDefaultAllDay(eventSource,context){let res=null;eventSource&&(res=eventSource.defaultAllDay);null==res&&(res=context.options.defaultAllDay);return res}(eventSource,context),recurringRes=function parseRecurring(refined,defaultAllDay,dateEnv,recurringTypes){for(let i=0;ifunction isEventDefsGrouped(def0,def1){return Boolean(def0.groupId&&def0.groupId===def1.groupId)}(def,lookDef)));return newStore.defs[def.defId]=def,newStore.instances[instance.instanceId]=instance,newStore}return{defs:{},instances:{}}}function createEmptyEventStore(){return{defs:{},instances:{}}}function mergeEventStores(store0,store1){return{defs:Object.assign(Object.assign({},store0.defs),store1.defs),instances:Object.assign(Object.assign({},store0.instances),store1.instances)}}function filterEventStoreDefs(eventStore,filterFunc){let defs=filterHash(eventStore.defs,filterFunc),instances=filterHash(eventStore.instances,(instance=>defs[instance.defId]));return{defs:defs,instances:instances}}function parseClassNames(raw){return Array.isArray(raw)?raw:"string"==typeof raw?raw.split(/\s+/):[]}const EVENT_UI_REFINERS={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:identity,overlap:identity,allow:identity,className:parseClassNames,classNames:parseClassNames,color:String,backgroundColor:String,borderColor:String,textColor:String},EMPTY_EVENT_UI={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function createEventUi(refined,context){let constraint=function normalizeConstraint(input,context){return Array.isArray(input)?parseEvents(input,null,context,!0):"object"==typeof input&&input?parseEvents([input],null,context,!0):null!=input?String(input):null}(refined.constraint,context);return{display:refined.display||null,startEditable:null!=refined.startEditable?refined.startEditable:refined.editable,durationEditable:null!=refined.durationEditable?refined.durationEditable:refined.editable,constraints:null!=constraint?[constraint]:[],overlap:null!=refined.overlap?refined.overlap:null,allows:null!=refined.allow?[refined.allow]:[],backgroundColor:refined.backgroundColor||refined.color||"",borderColor:refined.borderColor||refined.color||"",textColor:refined.textColor||"",classNames:(refined.className||[]).concat(refined.classNames||[])}}function combineEventUis(uis){return uis.reduce(combineTwoEventUis,EMPTY_EVENT_UI)}function combineTwoEventUis(item0,item1){return{display:null!=item1.display?item1.display:item0.display,startEditable:null!=item1.startEditable?item1.startEditable:item0.startEditable,durationEditable:null!=item1.durationEditable?item1.durationEditable:item0.durationEditable,constraints:item0.constraints.concat(item1.constraints),overlap:"boolean"==typeof item1.overlap?item1.overlap:item0.overlap,allows:item0.allows.concat(item1.allows),backgroundColor:item1.backgroundColor||item0.backgroundColor,borderColor:item1.borderColor||item0.borderColor,textColor:item1.textColor||item0.textColor,classNames:item0.classNames.concat(item1.classNames)}}const EVENT_SOURCE_REFINERS={id:String,defaultAllDay:Boolean,url:String,format:String,events:identity,eventDataTransform:identity,success:identity,failure:identity};function parseEventSource(raw,context,refiners=buildEventSourceRefiners(context)){let rawObj;if("string"==typeof raw?rawObj={url:raw}:"function"==typeof raw||Array.isArray(raw)?rawObj={events:raw}:"object"==typeof raw&&raw&&(rawObj=raw),rawObj){let{refined:refined,extra:extra}=refineProps(rawObj,refiners),metaRes=function buildEventSourceMeta(raw,context){let defs=context.pluginHooks.eventSourceDefs;for(let i=defs.length-1;i>=0;i-=1){let meta=defs[i].parseMeta(raw);if(meta)return{sourceDefId:i,meta:meta}}return null}(refined,context);if(metaRes)return{_raw:raw,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:refined.defaultAllDay,eventDataTransform:refined.eventDataTransform,success:refined.success,failure:refined.failure,publicId:refined.id||"",sourceId:guid(),sourceDefId:metaRes.sourceDefId,meta:metaRes.meta,ui:createEventUi(refined,context),extendedProps:extra}}return null}function buildEventSourceRefiners(context){return Object.assign(Object.assign(Object.assign({},EVENT_UI_REFINERS),EVENT_SOURCE_REFINERS),context.pluginHooks.eventSourceRefiners)}function reduceEventStore(eventStore,action,eventSources,dateProfile,context){switch(action.type){case"RECEIVE_EVENTS":return function receiveRawEvents(eventStore,eventSource,fetchId,fetchRange,rawEvents,context){if(eventSource&&fetchId===eventSource.latestFetchId){let subset=parseEvents(transformRawEvents(rawEvents,eventSource,context),eventSource,context);return fetchRange&&(subset=expandRecurring(subset,fetchRange,context)),mergeEventStores(excludeEventsBySourceId(eventStore,eventSource.sourceId),subset)}return eventStore}(eventStore,eventSources[action.sourceId],action.fetchId,action.fetchRange,action.rawEvents,context);case"RESET_RAW_EVENTS":return function resetRawEvents(existingEventStore,eventSource,rawEvents,activeRange,context){const{defIdMap:defIdMap,instanceIdMap:instanceIdMap}=function buildPublicIdMaps(eventStore){const{defs:defs,instances:instances}=eventStore,defIdMap={},instanceIdMap={};for(let defId in defs){const def=defs[defId],{publicId:publicId}=def;publicId&&(defIdMap[publicId]=defId)}for(let instanceId in instances){const def=defs[instances[instanceId].defId],{publicId:publicId}=def;publicId&&(instanceIdMap[publicId]=instanceId)}return{defIdMap:defIdMap,instanceIdMap:instanceIdMap}}(existingEventStore);let newEventStore=parseEvents(transformRawEvents(rawEvents,eventSource,context),eventSource,context,!1,defIdMap,instanceIdMap);return expandRecurring(newEventStore,activeRange,context)}(eventStore,eventSources[action.sourceId],action.rawEvents,dateProfile.activeRange,context);case"ADD_EVENTS":return function addEvent(eventStore,subset,expandRange,context){expandRange&&(subset=expandRecurring(subset,expandRange,context));return mergeEventStores(eventStore,subset)}(eventStore,action.eventStore,dateProfile?dateProfile.activeRange:null,context);case"RESET_EVENTS":return action.eventStore;case"MERGE_EVENTS":return mergeEventStores(eventStore,action.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return dateProfile?expandRecurring(eventStore,dateProfile.activeRange,context):eventStore;case"REMOVE_EVENTS":return function excludeSubEventStore(master,sub){let{defs:defs,instances:instances}=master,filteredDefs={},filteredInstances={};for(let defId in defs)sub.defs[defId]||(filteredDefs[defId]=defs[defId]);for(let instanceId in instances)!sub.instances[instanceId]&&filteredDefs[instances[instanceId].defId]&&(filteredInstances[instanceId]=instances[instanceId]);return{defs:filteredDefs,instances:filteredInstances}}(eventStore,action.eventStore);case"REMOVE_EVENT_SOURCE":return excludeEventsBySourceId(eventStore,action.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return filterEventStoreDefs(eventStore,(eventDef=>!eventDef.sourceId));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return eventStore}}function transformRawEvents(rawEvents,eventSource,context){let calEachTransform=context.options.eventDataTransform,sourceEachTransform=eventSource?eventSource.eventDataTransform:null;return sourceEachTransform&&(rawEvents=transformEachRawEvent(rawEvents,sourceEachTransform)),calEachTransform&&(rawEvents=transformEachRawEvent(rawEvents,calEachTransform)),rawEvents}function transformEachRawEvent(rawEvents,func){let refinedEvents;if(func){refinedEvents=[];for(let rawEvent of rawEvents){let refinedEvent=func(rawEvent);refinedEvent?refinedEvents.push(refinedEvent):null==refinedEvent&&refinedEvents.push(rawEvent)}}else refinedEvents=rawEvents;return refinedEvents}function rezoneEventStoreDates(eventStore,oldDateEnv,newDateEnv){let{defs:defs}=eventStore,instances=mapHash(eventStore.instances,(instance=>defs[instance.defId].allDay?instance:Object.assign(Object.assign({},instance),{range:{start:newDateEnv.createMarker(oldDateEnv.toDate(instance.range.start,instance.forcedStartTzo)),end:newDateEnv.createMarker(oldDateEnv.toDate(instance.range.end,instance.forcedEndTzo))},forcedStartTzo:newDateEnv.canComputeOffset?null:instance.forcedStartTzo,forcedEndTzo:newDateEnv.canComputeOffset?null:instance.forcedEndTzo})));return{defs:defs,instances:instances}}function excludeEventsBySourceId(eventStore,sourceId){return filterEventStoreDefs(eventStore,(eventDef=>eventDef.sourceId!==sourceId))}class Emitter{constructor(){this.handlers={},this.thisContext=null}setThisContext(thisContext){this.thisContext=thisContext}setOptions(options){this.options=options}on(type,handler){!function addToHash(hash,type,handler){(hash[type]||(hash[type]=[])).push(handler)}(this.handlers,type,handler)}off(type,handler){!function removeFromHash(hash,type,handler){handler?hash[type]&&(hash[type]=hash[type].filter((func=>func!==handler))):delete hash[type]}(this.handlers,type,handler)}trigger(type,...args){let attachedHandlers=this.handlers[type]||[],optionHandler=this.options&&this.options[type],handlers=[].concat(optionHandler||[],attachedHandlers);for(let handler of handlers)handler.apply(this.thisContext,args)}hasHandlers(type){return Boolean(this.handlers[type]&&this.handlers[type].length||this.options&&this.options[type])}}const DEF_DEFAULTS={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function parseBusinessHours(input,context){return parseEvents(function refineInputs(input){let rawDefs;rawDefs=!0===input?[{}]:Array.isArray(input)?input.filter((rawDef=>rawDef.daysOfWeek)):"object"==typeof input&&input?[input]:[];return rawDefs=rawDefs.map((rawDef=>Object.assign(Object.assign({},DEF_DEFAULTS),rawDef))),rawDefs}(input),null,context)}function buildDateSpanApiWithContext(dateSpan,context){let props={};for(let transform of context.pluginHooks.dateSpanTransforms)Object.assign(props,transform(dateSpan,context));return Object.assign(props,function buildDateSpanApi(span,dateEnv){return Object.assign(Object.assign({},buildRangeApi(span.range,dateEnv,span.allDay)),{allDay:span.allDay})}(dateSpan,context.dateEnv)),props}function getDefaultEventEnd(allDay,marker,context){let{dateEnv:dateEnv,options:options}=context,end=marker;return allDay?(end=startOfDay(end),end=dateEnv.add(end,options.defaultAllDayEventDuration)):end=dateEnv.add(end,options.defaultTimedEventDuration),end}function applyMutationToEventDef(eventDef,eventConfig,mutation,context){let standardProps=mutation.standardProps||{};null==standardProps.hasEnd&&eventConfig.durationEditable&&(mutation.startDelta||mutation.endDelta)&&(standardProps.hasEnd=!0);let copy=Object.assign(Object.assign(Object.assign({},eventDef),standardProps),{ui:Object.assign(Object.assign({},eventDef.ui),standardProps.ui)});mutation.extendedProps&&(copy.extendedProps=Object.assign(Object.assign({},copy.extendedProps),mutation.extendedProps));for(let applier of context.pluginHooks.eventDefMutationAppliers)applier(copy,mutation,context);return!copy.hasEnd&&context.options.forceEventDuration&&(copy.hasEnd=!0),copy}function applyMutationToEventInstance(eventInstance,eventDef,eventConfig,mutation,context){let{dateEnv:dateEnv}=context,forceAllDay=mutation.standardProps&&!0===mutation.standardProps.allDay,clearEnd=mutation.standardProps&&!1===mutation.standardProps.hasEnd,copy=Object.assign({},eventInstance);return forceAllDay&&(copy.range=computeAlignedDayRange(copy.range)),mutation.datesDelta&&eventConfig.startEditable&&(copy.range={start:dateEnv.add(copy.range.start,mutation.datesDelta),end:dateEnv.add(copy.range.end,mutation.datesDelta)}),mutation.startDelta&&eventConfig.durationEditable&&(copy.range={start:dateEnv.add(copy.range.start,mutation.startDelta),end:copy.range.end}),mutation.endDelta&&eventConfig.durationEditable&&(copy.range={start:copy.range.start,end:dateEnv.add(copy.range.end,mutation.endDelta)}),clearEnd&&(copy.range={start:copy.range.start,end:getDefaultEventEnd(eventDef.allDay,copy.range.start,context)}),eventDef.allDay&&(copy.range={start:startOfDay(copy.range.start),end:startOfDay(copy.range.end)}),copy.range.endcompileEventUi(eventDef,eventUiBases)))}function compileEventUi(eventDef,eventUiBases){let uis=[];return eventUiBases[""]&&uis.push(eventUiBases[""]),eventUiBases[eventDef.defId]&&uis.push(eventUiBases[eventDef.defId]),uis.push(eventDef.ui),combineEventUis(uis)}function sortEventSegs(segs,eventOrderSpecs){let objs=segs.map(buildSegCompareObj);return objs.sort(((obj0,obj1)=>function compareByFieldSpecs(obj0,obj1,fieldSpecs){let i,cmp;for(i=0;ic._seg))}function buildSegCompareObj(seg){let{eventRange:eventRange}=seg,eventDef=eventRange.def,range=eventRange.instance?eventRange.instance.range:eventRange.range,start=range.start?range.start.valueOf():0,end=range.end?range.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},eventDef.extendedProps),eventDef),{id:eventDef.publicId,start:start,end:end,duration:end-start,allDay:Number(eventDef.allDay),_seg:seg})}function computeSegDraggable(seg,context){let{pluginHooks:pluginHooks}=context,transformers=pluginHooks.isDraggableTransformers,{def:def,ui:ui}=seg.eventRange,val=ui.startEditable;for(let transformer of transformers)val=transformer(val,def,ui,context);return val}function computeSegStartResizable(seg,context){return seg.isStart&&seg.eventRange.ui.durationEditable&&context.options.eventResizableFromStart}function computeSegEndResizable(seg,context){return seg.isEnd&&seg.eventRange.ui.durationEditable}function buildSegTimeText(seg,timeFormat,context,defaultDisplayEventTime,defaultDisplayEventEnd,startOverride,endOverride){let{dateEnv:dateEnv,options:options}=context,{displayEventTime:displayEventTime,displayEventEnd:displayEventEnd}=options,eventDef=seg.eventRange.def,eventInstance=seg.eventRange.instance;null==displayEventTime&&(displayEventTime=!1!==defaultDisplayEventTime),null==displayEventEnd&&(displayEventEnd=!1!==defaultDisplayEventEnd);let wholeEventStart=eventInstance.range.start,wholeEventEnd=eventInstance.range.end,segStart=startOverride||seg.start||seg.eventRange.range.start,segEnd=endOverride||seg.end||seg.eventRange.range.end,isStartDay=startOfDay(wholeEventStart).valueOf()===startOfDay(segStart).valueOf(),isEndDay=startOfDay(addMs(wholeEventEnd,-1)).valueOf()===startOfDay(addMs(segEnd,-1)).valueOf();return displayEventTime&&!eventDef.allDay&&(isStartDay||isEndDay)?(segStart=isStartDay?wholeEventStart:segStart,segEnd=isEndDay?wholeEventEnd:segEnd,displayEventEnd&&eventDef.hasEnd?dateEnv.formatRange(segStart,segEnd,timeFormat,{forcedStartTzo:startOverride?null:eventInstance.forcedStartTzo,forcedEndTzo:endOverride?null:eventInstance.forcedEndTzo}):dateEnv.format(segStart,timeFormat,{forcedTzo:startOverride?null:eventInstance.forcedStartTzo})):""}function getSegMeta(seg,todayRange,nowDate){let segRange=seg.eventRange.range;return{isPast:segRange.end<=(nowDate||todayRange.start),isFuture:segRange.start>=(nowDate||todayRange.end),isToday:todayRange&&rangeContainsMarker(todayRange,segRange.start)}}function getEventClassNames(props){let classNames=["fc-event"];return props.isMirror&&classNames.push("fc-event-mirror"),props.isDraggable&&classNames.push("fc-event-draggable"),(props.isStartResizable||props.isEndResizable)&&classNames.push("fc-event-resizable"),props.isDragging&&classNames.push("fc-event-dragging"),props.isResizing&&classNames.push("fc-event-resizing"),props.isSelected&&classNames.push("fc-event-selected"),props.isStart&&classNames.push("fc-event-start"),props.isEnd&&classNames.push("fc-event-end"),props.isPast&&classNames.push("fc-event-past"),props.isToday&&classNames.push("fc-event-today"),props.isFuture&&classNames.push("fc-event-future"),classNames}function buildEventRangeKey(eventRange){return eventRange.instance?eventRange.instance.instanceId:`${eventRange.def.defId}:${eventRange.range.start.toISOString()}`}function getSegAnchorAttrs(seg,context){let{def:def,instance:instance}=seg.eventRange,{url:url}=def;if(url)return{href:url};let{emitter:emitter,options:options}=context,{eventInteractive:eventInteractive}=options;return null==eventInteractive&&(eventInteractive=def.interactive,null==eventInteractive&&(eventInteractive=Boolean(emitter.hasHandlers("eventClick")))),eventInteractive?createAriaKeyboardAttrs((ev=>{emitter.trigger("eventClick",{el:ev.target,event:new EventImpl(context,def,instance),jsEvent:ev,view:context.viewApi})})):{}}const STANDARD_PROPS={start:identity,end:identity,allDay:Boolean};function parseDateSpan(raw,dateEnv,defaultDuration){let span=function parseOpenDateSpan(raw,dateEnv){let{refined:standardProps,extra:extra}=refineProps(raw,STANDARD_PROPS),startMeta=standardProps.start?dateEnv.createMarkerMeta(standardProps.start):null,endMeta=standardProps.end?dateEnv.createMarkerMeta(standardProps.end):null,{allDay:allDay}=standardProps;null==allDay&&(allDay=startMeta&&startMeta.isTimeUnspecified&&(!endMeta||endMeta.isTimeUnspecified));return Object.assign({range:{start:startMeta?startMeta.marker:null,end:endMeta?endMeta.marker:null},allDay:allDay},extra)}(raw,dateEnv),{range:range}=span;if(!range.start)return null;if(!range.end){if(null==defaultDuration)return null;range.end=dateEnv.add(range.start,defaultDuration)}return span}function buildRangeApiWithTimeZone(range,dateEnv,omitTime){return Object.assign(Object.assign({},buildRangeApi(range,dateEnv,omitTime)),{timeZone:dateEnv.timeZone})}function buildRangeApi(range,dateEnv,omitTime){return{start:dateEnv.toDate(range.start),end:dateEnv.toDate(range.end),startStr:dateEnv.formatIso(range.start,{omitTime:omitTime}),endStr:dateEnv.formatIso(range.end,{omitTime:omitTime})}}function unpromisify(func,normalizedSuccessCallback,normalizedFailureCallback){let isResolved=!1,wrappedSuccess=function(res){isResolved||(isResolved=!0,normalizedSuccessCallback(res))},wrappedFailure=function(error){isResolved||(isResolved=!0,normalizedFailureCallback(error))},res=func(wrappedSuccess,wrappedFailure);res&&"function"==typeof res.then&&res.then(wrappedSuccess,wrappedFailure)}class JsonRequestError extends Error{constructor(message,response){super(message),this.response=response}}function requestJson(method,url,params){const fetchOptions={method:method=method.toUpperCase()};return"GET"===method?url+=(-1===url.indexOf("?")?"?":"&")+new URLSearchParams(params):(fetchOptions.body=new URLSearchParams(params),fetchOptions.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(url,fetchOptions).then((fetchRes=>{if(fetchRes.ok)return fetchRes.json().then((parsedResponse=>[parsedResponse,fetchRes]),(()=>{throw new JsonRequestError("Failure parsing JSON",fetchRes)}));throw new JsonRequestError("Request failed",fetchRes)}))}let canVGrowWithinCell;function getCanVGrowWithinCell(){return null==canVGrowWithinCell&&(canVGrowWithinCell=function computeCanVGrowWithinCell(){if("undefined"==typeof document)return!0;let el=document.createElement("div");el.style.position="absolute",el.style.top="0px",el.style.left="0px",el.innerHTML="
",el.querySelector("table").style.height="100px",el.querySelector("div").style.height="100%",document.body.appendChild(el);let possible=el.querySelector("div").offsetHeight>0;return document.body.removeChild(el),possible}()),canVGrowWithinCell}class CalendarRoot extends BaseComponent{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{flushSync((()=>{this.setState({forPrint:!0})}))},this.handleAfterPrint=()=>{flushSync((()=>{this.setState({forPrint:!1})}))}}render(){let{props:props}=this,{options:options}=props,{forPrint:forPrint}=this.state,isHeightAuto=forPrint||"auto"===options.height||"auto"===options.contentHeight,height=isHeightAuto||null==options.height?"":options.height,classNames=["fc",forPrint?"fc-media-print":"fc-media-screen",`fc-direction-${options.direction}`,props.theme.getClass("root")];return getCanVGrowWithinCell()||classNames.push("fc-liquid-hack"),props.children(classNames,height,isHeightAuto,forPrint)}componentDidMount(){let{emitter:emitter}=this.props;emitter.on("_beforeprint",this.handleBeforePrint),emitter.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:emitter}=this.props;emitter.off("_beforeprint",this.handleBeforePrint),emitter.off("_afterprint",this.handleAfterPrint)}}class Interaction{constructor(settings){this.component=settings.component,this.isHitComboAllowed=settings.isHitComboAllowed||null}destroy(){}}function parseInteractionSettings(component,input){return{component:component,el:input.el,useEventCenter:null==input.useEventCenter||input.useEventCenter,isHitComboAllowed:input.isHitComboAllowed||null}}const interactionSettingsStore={};class CalendarImpl{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(action){this.currentDataManager.dispatch(action)}get view(){return this.getCurrentData().viewApi}batchRendering(callback){callback()}updateSize(){this.trigger("_resize",!0)}setOption(name,val){this.dispatch({type:"SET_OPTION",optionName:name,rawOptionValue:val})}getOption(name){return this.currentDataManager.currentCalendarOptionsInput[name]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(handlerName,handler){let{currentDataManager:currentDataManager}=this;currentDataManager.currentCalendarOptionsRefiners[handlerName]?currentDataManager.emitter.on(handlerName,handler):console.warn(`Unknown listener name '${handlerName}'`)}off(handlerName,handler){this.currentDataManager.emitter.off(handlerName,handler)}trigger(handlerName,...args){this.currentDataManager.emitter.trigger(handlerName,...args)}changeView(viewType,dateOrRange){this.batchRendering((()=>{if(this.unselect(),dateOrRange)if(dateOrRange.start&&dateOrRange.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:viewType}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:dateOrRange});else{let{dateEnv:dateEnv}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:viewType,dateMarker:dateEnv.createMarker(dateOrRange)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:viewType})}))}zoomTo(dateMarker,viewType){let spec;viewType=viewType||"day",spec=this.getCurrentData().viewSpecs[viewType]||this.getUnitViewSpec(viewType),this.unselect(),spec?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:spec.type,dateMarker:dateMarker}):this.dispatch({type:"CHANGE_DATE",dateMarker:dateMarker})}getUnitViewSpec(unit){let i,spec,{viewSpecs:viewSpecs,toolbarConfig:toolbarConfig}=this.getCurrentData(),viewTypes=[].concat(toolbarConfig.header?toolbarConfig.header.viewsWithButtons:[],toolbarConfig.footer?toolbarConfig.footer.viewsWithButtons:[]);for(let viewType in viewSpecs)viewTypes.push(viewType);for(i=0;i{this.dispatch({type:"REMOVE_EVENTS",eventStore:eventApiToStore(eventApi)})}})}getEventById(id){let state=this.getCurrentData(),{defs:defs,instances:instances}=state.eventStore;id=String(id);for(let defId in defs){let def=defs[defId];if(def.publicId===id){if(def.recurringDef)return new EventImpl(state,def,null);for(let instanceId in instances){let instance=instances[instanceId];if(instance.defId===def.defId)return new EventImpl(state,def,instance)}}}return null}getEvents(){let currentData=this.getCurrentData();return buildEventApis(currentData.eventStore,currentData)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let state=this.getCurrentData(),sourceHash=state.eventSources,sourceApis=[];for(let internalId in sourceHash)sourceApis.push(new EventSourceImpl(state,sourceHash[internalId]));return sourceApis}getEventSourceById(id){let state=this.getCurrentData(),sourceHash=state.eventSources;id=String(id);for(let sourceId in sourceHash)if(sourceHash[sourceId].publicId===id)return new EventSourceImpl(state,sourceHash[sourceId]);return null}addEventSource(sourceInput){let state=this.getCurrentData();if(sourceInput instanceof EventSourceImpl)return state.eventSources[sourceInput.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[sourceInput.internalEventSource]}),sourceInput;let eventSource=parseEventSource(sourceInput,state);return eventSource?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[eventSource]}),new EventSourceImpl(state,eventSource)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(timeInput){let time=createDuration(timeInput);time&&this.trigger("_scrollRequest",{time:time})}}function intersectRects(rect1,rect2){let res={left:Math.max(rect1.left,rect2.left),right:Math.min(rect1.right,rect2.right),top:Math.max(rect1.top,rect2.top),bottom:Math.min(rect1.bottom,rect2.bottom)};return res.leftnowDate:!!todayRange&&date>=todayRange.end)}}function getDayClassNames(meta,theme){let classNames=["fc-day",`fc-day-${DAY_IDS[meta.dow]}`];return meta.isDisabled?classNames.push("fc-day-disabled"):(meta.isToday&&(classNames.push("fc-day-today"),classNames.push(theme.getClass("today"))),meta.isPast&&classNames.push("fc-day-past"),meta.isFuture&&classNames.push("fc-day-future"),meta.isOther&&classNames.push("fc-day-other")),classNames}const DAY_FORMAT=createFormatter({year:"numeric",month:"long",day:"numeric"}),WEEK_FORMAT=createFormatter({week:"long"});function buildNavLinkAttrs(context,dateMarker,viewType="day",isTabbable=!0){const{dateEnv:dateEnv,options:options,calendarApi:calendarApi}=context;let dateStr=dateEnv.format(dateMarker,"week"===viewType?WEEK_FORMAT:DAY_FORMAT);if(options.navLinks){let zonedDate=dateEnv.toDate(dateMarker);const handleInteraction=ev=>{let customAction="day"===viewType?options.navLinkDayClick:"week"===viewType?options.navLinkWeekClick:null;"function"==typeof customAction?customAction.call(calendarApi,dateEnv.toDate(dateMarker),ev):("string"==typeof customAction&&(viewType=customAction),calendarApi.zoomTo(dateMarker,viewType))};return Object.assign({title:formatWithOrdinals(options.navLinkHint,[dateStr,zonedDate],dateStr),"data-navlink":""},isTabbable?createAriaClickAttrs(handleInteraction):{onClick:handleInteraction})}return{"aria-label":dateStr}}let _scrollbarWidths;function getScrollbarWidths(){return _scrollbarWidths||(_scrollbarWidths=function computeScrollbarWidths(){let el=document.createElement("div");el.style.overflow="scroll",el.style.position="absolute",el.style.top="-9999px",el.style.left="-9999px",document.body.appendChild(el);let res=computeScrollbarWidthsForEl(el);return document.body.removeChild(el),res}()),_scrollbarWidths}function computeScrollbarWidthsForEl(el){return{x:el.offsetHeight-el.clientHeight,y:el.offsetWidth-el.clientWidth}}function computeClippedClientRect(el){let clippingParents=function getClippingParents(el){let parents=[];for(;el instanceof HTMLElement;){let computedStyle=window.getComputedStyle(el);if("fixed"===computedStyle.position)break;/(auto|scroll)/.test(computedStyle.overflow+computedStyle.overflowY+computedStyle.overflowX)&&parents.push(el),el=el.parentNode}return parents}(el),rect=el.getBoundingClientRect();for(let clippingParent of clippingParents){let intersection=intersectRects(rect,clippingParent.getBoundingClientRect());if(!intersection)return null;rect=intersection}return rect}class PositionCache{constructor(originEl,els,isHorizontal,isVertical){this.els=els;let originClientRect=this.originClientRect=originEl.getBoundingClientRect();isHorizontal&&this.buildElHorizontals(originClientRect.left),isVertical&&this.buildElVerticals(originClientRect.top)}buildElHorizontals(originClientLeft){let lefts=[],rights=[];for(let el of this.els){let rect=el.getBoundingClientRect();lefts.push(rect.left-originClientLeft),rights.push(rect.right-originClientLeft)}this.lefts=lefts,this.rights=rights}buildElVerticals(originClientTop){let tops=[],bottoms=[];for(let el of this.els){let rect=el.getBoundingClientRect();tops.push(rect.top-originClientTop),bottoms.push(rect.bottom-originClientTop)}this.tops=tops,this.bottoms=bottoms}leftToIndex(leftPosition){let i,{lefts:lefts,rights:rights}=this,len=lefts.length;for(i=0;i=lefts[i]&&leftPosition=tops[i]&&topPositionentry.thickness||1)){this.getEntryThickness=getEntryThickness,this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(inputs){let hiddenEntries=[];for(let input of inputs)this.insertEntry(input,hiddenEntries);return hiddenEntries}insertEntry(entry,hiddenEntries){let insertion=this.findInsertion(entry);this.isInsertionValid(insertion,entry)?this.insertEntryAt(entry,insertion):this.handleInvalidInsertion(insertion,entry,hiddenEntries)}isInsertionValid(insertion,entry){return(-1===this.maxCoord||insertion.levelCoord+this.getEntryThickness(entry)<=this.maxCoord)&&(-1===this.maxStackCnt||insertion.stackCntbarrierSpan.end&&this.insertEntry({index:entry.index,thickness:entry.thickness,span:{start:barrierSpan.end,end:entrySpan.end}},hiddenEntries)}insertEntryAt(entry,insertion){let{entriesByLevel:entriesByLevel,levelCoords:levelCoords}=this;-1===insertion.lateral?(insertAt(levelCoords,insertion.level,insertion.levelCoord),insertAt(entriesByLevel,insertion.level,[entry])):insertAt(entriesByLevel[insertion.level],insertion.lateral,entry),this.stackCnts[buildEntryKey(entry)]=insertion.stackCnt}findInsertion(newEntry){let{levelCoords:levelCoords,entriesByLevel:entriesByLevel,strictOrder:strictOrder,stackCnts:stackCnts}=this,levelCnt=levelCoords.length,candidateCoord=0,touchingLevel=-1,touchingLateral=-1,touchingEntry=null,stackCnt=0;for(let trackingLevel=0;trackingLevel=candidateCoord+this.getEntryThickness(newEntry))break;let trackingEntry,trackingEntries=entriesByLevel[trackingLevel],searchRes=binarySearch(trackingEntries,newEntry.span.start,getEntrySpanEnd),lateralIndex=searchRes[0]+searchRes[1];for(;(trackingEntry=trackingEntries[lateralIndex])&&trackingEntry.span.startcandidateCoord&&(candidateCoord=trackingEntryBottom,touchingEntry=trackingEntry,touchingLevel=trackingLevel,touchingLateral=lateralIndex),trackingEntryBottom===candidateCoord&&(stackCnt=Math.max(stackCnt,stackCnts[buildEntryKey(trackingEntry)]+1)),lateralIndex+=1}}let destLevel=0;if(touchingEntry)for(destLevel=touchingLevel+1;destLevelgetItemVal(a[endIndex-1]))return[endIndex,0];for(;startIndexmiddleVal))return[middleIndex,1];startIndex=middleIndex+1}}return[startIndex,0]}Boolean;const CLASS_NAME="fc-col-header-cell";function renderInner$1(renderProps){return renderProps.text}class TableDateCell extends BaseComponent{render(){let{dateEnv:dateEnv,options:options,theme:theme,viewApi:viewApi}=this.context,{props:props}=this,{date:date,dateProfile:dateProfile}=props,dayMeta=getDateMeta(date,props.todayRange,null,dateProfile),classNames=[CLASS_NAME].concat(getDayClassNames(dayMeta,theme)),text=dateEnv.format(date,props.dayHeaderFormat),navLinkAttrs=!dayMeta.isDisabled&&props.colCnt>1?buildNavLinkAttrs(this.context,date):{},renderProps=Object.assign(Object.assign(Object.assign({date:dateEnv.toDate(date),view:viewApi},props.extraRenderProps),{text:text}),dayMeta);return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ContentContainer,{elTag:"th",elClasses:classNames,elAttrs:Object.assign({role:"columnheader",colSpan:props.colSpan,"data-date":dayMeta.isDisabled?void 0:formatDayString(date)},props.extraDataAttrs),renderProps:renderProps,generatorName:"dayHeaderContent",customGenerator:options.dayHeaderContent,defaultGenerator:renderInner$1,classNameGenerator:options.dayHeaderClassNames,didMount:options.dayHeaderDidMount,willUnmount:options.dayHeaderWillUnmount},(InnerContainer=>(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:"fc-scrollgrid-sync-inner"},!dayMeta.isDisabled&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(InnerContainer,{elTag:"a",elAttrs:navLinkAttrs,elClasses:["fc-col-header-cell-cushion",props.isSticky&&"fc-sticky"]}))))}}const WEEKDAY_FORMAT=createFormatter({weekday:"long"});class TableDowCell extends BaseComponent{render(){let{props:props}=this,{dateEnv:dateEnv,theme:theme,viewApi:viewApi,options:options}=this.context,date=addDays(new Date(2592e5),props.dow),dateMeta={dow:props.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},text=dateEnv.format(date,props.dayHeaderFormat),renderProps=Object.assign(Object.assign(Object.assign(Object.assign({date:date},dateMeta),{view:viewApi}),props.extraRenderProps),{text:text});return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ContentContainer,{elTag:"th",elClasses:[CLASS_NAME,...getDayClassNames(dateMeta,theme),...props.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:props.colSpan},props.extraDataAttrs),renderProps:renderProps,generatorName:"dayHeaderContent",customGenerator:options.dayHeaderContent,defaultGenerator:renderInner$1,classNameGenerator:options.dayHeaderClassNames,didMount:options.dayHeaderDidMount,willUnmount:options.dayHeaderWillUnmount},(InnerContent=>(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:"fc-scrollgrid-sync-inner"},(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(InnerContent,{elTag:"a",elClasses:["fc-col-header-cell-cushion",props.isSticky&&"fc-sticky"],elAttrs:{"aria-label":dateEnv.format(date,WEEKDAY_FORMAT)}}))))}}class NowTimer extends preact__WEBPACK_IMPORTED_MODULE_0__.wA{constructor(props,context){super(props,context),this.initialNowDate=getNow(context.options.now,context.dateEnv),this.initialNowQueriedMs=(new Date).valueOf(),this.state=this.computeTiming().currentState}render(){let{props:props,state:state}=this;return props.children(state.nowDate,state.todayRange)}componentDidMount(){this.setTimeout()}componentDidUpdate(prevProps){prevProps.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout()}computeTiming(){let{props:props,context:context}=this,unroundedNow=addMs(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),currentUnitStart=context.dateEnv.startOf(unroundedNow,props.unit),nextUnitStart=context.dateEnv.add(currentUnitStart,createDuration(1,props.unit)),waitMs=nextUnitStart.valueOf()-unroundedNow.valueOf();return waitMs=Math.min(864e5,waitMs),{currentState:{nowDate:currentUnitStart,todayRange:buildDayRange(currentUnitStart)},nextState:{nowDate:nextUnitStart,todayRange:buildDayRange(nextUnitStart)},waitMs:waitMs}}setTimeout(){let{nextState:nextState,waitMs:waitMs}=this.computeTiming();this.timeoutId=setTimeout((()=>{this.setState(nextState,(()=>{this.setTimeout()}))}),waitMs)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}function buildDayRange(date){let start=startOfDay(date);return{start:start,end:addDays(start,1)}}NowTimer.contextType=ViewContextType;class DayHeader extends BaseComponent{constructor(){super(...arguments),this.createDayHeaderFormatter=memoize(createDayHeaderFormatter)}render(){let{context:context}=this,{dates:dates,dateProfile:dateProfile,datesRepDistinctDays:datesRepDistinctDays,renderIntro:renderIntro}=this.props,dayHeaderFormat=this.createDayHeaderFormatter(context.options.dayHeaderFormat,datesRepDistinctDays,dates.length);return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(NowTimer,{unit:"day"},((nowDate,todayRange)=>(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("tr",{role:"row"},renderIntro&&renderIntro("day"),dates.map((date=>datesRepDistinctDays?(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(TableDateCell,{key:date.toISOString(),date:date,dateProfile:dateProfile,todayRange:todayRange,colCnt:dates.length,dayHeaderFormat:dayHeaderFormat}):(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(TableDowCell,{key:date.getUTCDay(),dow:date.getUTCDay(),dayHeaderFormat:dayHeaderFormat}))))))}}function createDayHeaderFormatter(explicitFormat,datesRepDistinctDays,dateCnt){return explicitFormat||function computeFallbackHeaderFormat(datesRepDistinctDays,dayCnt){return createFormatter(!datesRepDistinctDays||dayCnt>10?{weekday:"short"}:dayCnt>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}(datesRepDistinctDays,dateCnt)}class DaySeriesModel{constructor(range,dateProfileGenerator){let date=range.start,{end:end}=range,indices=[],dates=[],dayIndex=-1;for(;date=indices.length?indices[indices.length-1]+1:indices[dayOffset]}}class DayTableModel{constructor(daySeries,breakOnWeeks){let daysPerRow,firstDay,rowCnt,{dates:dates}=daySeries;if(breakOnWeeks){for(firstDay=dates[0].getUTCDay(),daysPerRow=1;daysPerRow{this.el=el,setRef(this.props.elRef,el)}}render(){let{props:props}=this,{liquid:liquid,liquidIsAbsolute:liquidIsAbsolute}=props,isAbsolute=liquid&&liquidIsAbsolute,className=["fc-scroller"];return liquid&&(liquidIsAbsolute?className.push("fc-scroller-liquid-absolute"):className.push("fc-scroller-liquid")),(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{ref:this.handleEl,className:className.join(" "),style:{overflowX:props.overflowX,overflowY:props.overflowY,left:isAbsolute&&-(props.overcomeLeft||0)||"",right:isAbsolute&&-(props.overcomeRight||0)||"",bottom:isAbsolute&&-(props.overcomeBottom||0)||"",marginLeft:!isAbsolute&&-(props.overcomeLeft||0)||"",marginRight:!isAbsolute&&-(props.overcomeRight||0)||"",marginBottom:!isAbsolute&&-(props.overcomeBottom||0)||"",maxHeight:props.maxHeight||""}},props.children)}needsXScrolling(){if(VISIBLE_HIDDEN_RE.test(this.props.overflowX))return!1;let{el:el}=this,realClientWidth=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:children}=el;for(let i=0;irealClientWidth)return!0}return!1}needsYScrolling(){if(VISIBLE_HIDDEN_RE.test(this.props.overflowY))return!1;let{el:el}=this,realClientHeight=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:children}=el;for(let i=0;irealClientHeight)return!0}return!1}getXScrollbarWidth(){return VISIBLE_HIDDEN_RE.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return VISIBLE_HIDDEN_RE.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class RefMap{constructor(masterCallback){this.masterCallback=masterCallback,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(val,key)=>{let{depths:depths,currentMap:currentMap}=this,removed=!1,added=!1;null!==val?(removed=key in currentMap,currentMap[key]=val,depths[key]=(depths[key]||0)+1,added=!0):(depths[key]-=1,depths[key]||(delete currentMap[key],delete this.callbackMap[key],removed=!0)),this.masterCallback&&(removed&&this.masterCallback(null,String(key)),added&&this.masterCallback(val,String(key)))}}createRef(key){let refCallback=this.callbackMap[key];return refCallback||(refCallback=this.callbackMap[key]=val=>{this.handleValue(val,String(key))}),refCallback}collect(startIndex,endIndex,step){return function collectFromHash(hash,startIndex=0,endIndex,step=1){let res=[];null==endIndex&&(endIndex=Object.keys(hash).length);for(let i=startIndex;ia),isColPropsEqual),this.renderMicroColGroup=memoize(renderMicroColGroup),this.scrollerRefs=new RefMap,this.scrollerElRefs=new RefMap(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){let{props:props,state:state,context:context}=this,sectionConfigs=props.sections||[],cols=this.processCols(props.cols),microColGroupNode=this.renderMicroColGroup(cols,state.shrinkWidth),classNames=function getScrollGridClassNames(liquid,context){let classNames=["fc-scrollgrid",context.theme.getClass("table")];return liquid&&classNames.push("fc-scrollgrid-liquid"),classNames}(props.liquid,context);props.collapsibleWidth&&classNames.push("fc-scrollgrid-collapsible");let currentConfig,configCnt=sectionConfigs.length,configI=0,headSectionNodes=[],bodySectionNodes=[],footSectionNodes=[];for(;configI{}},isHeader);return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(isHeader?"th":"td",{ref:chunkConfig.elRef,role:"presentation"},(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:"fc-scroller-harness"+(isLiquid?" fc-scroller-harness-liquid":"")},(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(Scroller,{ref:this.scrollerRefs.createRef(sectionKey),elRef:this.scrollerElRefs.createRef(sectionKey),overflowY:overflowY,overflowX:props.liquid?"hidden":"visible",maxHeight:sectionConfig.maxHeight,liquid:isLiquid,liquidIsAbsolute:!0},content)))}_handleScrollerEl(scrollerEl,key){let section=function getSectionByKey(sections,key){for(let section of sections)if(section.key===key)return section;return null}(this.props.sections,key);section&&setRef(section.chunk.scrollerElRef,scrollerEl)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return function hasShrinkWidth(cols){for(let col of cols)if("shrink"===col.width)return!0;return!1}(this.props.cols)?computeShrinkWidth(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let scrollbarWidth=getScrollbarWidths(),{scrollerRefs:scrollerRefs,scrollerElRefs:scrollerElRefs}=this,forceYScrollbars=!1,scrollerClientWidths={},scrollerClientHeights={};for(let sectionKey in scrollerRefs.currentMap){let scroller=scrollerRefs.currentMap[sectionKey];if(scroller&&scroller.needsYScrolling()){forceYScrollbars=!0;break}}for(let section of this.props.sections){let sectionKey=section.key,scrollerEl=scrollerElRefs.currentMap[sectionKey];if(scrollerEl){let harnessEl=scrollerEl.parentNode;scrollerClientWidths[sectionKey]=Math.floor(harnessEl.getBoundingClientRect().width-(forceYScrollbars?scrollbarWidth.y:0)),scrollerClientHeights[sectionKey]=Math.floor(harnessEl.getBoundingClientRect().height)}}return{forceYScrollbars:forceYScrollbars,scrollerClientWidths:scrollerClientWidths,scrollerClientHeights:scrollerClientHeights}}}SimpleScrollGrid.addStateEquality({scrollerClientWidths:isPropsEqual,scrollerClientHeights:isPropsEqual});class EventContainer extends BaseComponent{constructor(){super(...arguments),this.handleEl=el=>{this.el=el,el&&setElSeg(el,this.props.seg)}}render(){const{props:props,context:context}=this,{options:options}=context,{seg:seg}=props,{eventRange:eventRange}=seg,{ui:ui}=eventRange,renderProps={event:new EventImpl(context,eventRange.def,eventRange.instance),view:context.viewApi,timeText:props.timeText,textColor:ui.textColor,backgroundColor:ui.backgroundColor,borderColor:ui.borderColor,isDraggable:!props.disableDragging&&computeSegDraggable(seg,context),isStartResizable:!props.disableResizing&&computeSegStartResizable(seg,context),isEndResizable:!props.disableResizing&&computeSegEndResizable(seg),isMirror:Boolean(props.isDragging||props.isResizing||props.isDateSelecting),isStart:Boolean(seg.isStart),isEnd:Boolean(seg.isEnd),isPast:Boolean(props.isPast),isFuture:Boolean(props.isFuture),isToday:Boolean(props.isToday),isSelected:Boolean(props.isSelected),isDragging:Boolean(props.isDragging),isResizing:Boolean(props.isResizing)};return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ContentContainer,Object.assign({},props,{elRef:this.handleEl,elClasses:[...getEventClassNames(renderProps),...seg.eventRange.ui.classNames,...props.elClasses||[]],renderProps:renderProps,generatorName:"eventContent",customGenerator:options.eventContent,defaultGenerator:props.defaultGenerator,classNameGenerator:options.eventClassNames,didMount:options.eventDidMount,willUnmount:options.eventWillUnmount}))}componentDidUpdate(prevProps){this.el&&this.props.seg!==prevProps.seg&&setElSeg(this.el,this.props.seg)}}class StandardEvent extends BaseComponent{render(){let{props:props,context:context}=this,{options:options}=context,{seg:seg}=props,{ui:ui}=seg.eventRange,timeText=buildSegTimeText(seg,options.eventTimeFormat||props.defaultTimeFormat,context,props.defaultDisplayEventTime,props.defaultDisplayEventEnd);return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(EventContainer,Object.assign({},props,{elTag:"a",elStyle:{borderColor:ui.borderColor,backgroundColor:ui.backgroundColor},elAttrs:getSegAnchorAttrs(seg,context),defaultGenerator:renderInnerContent$1,timeText:timeText}),((InnerContent,eventContentArg)=>(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(preact__WEBPACK_IMPORTED_MODULE_0__.HY,null,(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(InnerContent,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:eventContentArg.textColor}}),Boolean(eventContentArg.isStartResizable)&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:"fc-event-resizer fc-event-resizer-start"}),Boolean(eventContentArg.isEndResizable)&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:"fc-event-resizer fc-event-resizer-end"}))))}}function renderInnerContent$1(innerProps){return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:"fc-event-main-frame"},innerProps.timeText&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:"fc-event-time"},innerProps.timeText),(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:"fc-event-title-container"},(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:"fc-event-title fc-sticky"},innerProps.event.title||(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(preact__WEBPACK_IMPORTED_MODULE_0__.HY,null," "))))}const DAY_NUM_FORMAT=createFormatter({day:"numeric"});class DayCellContainer extends BaseComponent{constructor(){super(...arguments),this.refineRenderProps=memoizeObjArg(refineRenderProps)}render(){let{props:props,context:context}=this,{options:options}=context,renderProps=this.refineRenderProps({date:props.date,dateProfile:props.dateProfile,todayRange:props.todayRange,isMonthStart:props.isMonthStart||!1,showDayNumber:props.showDayNumber,extraRenderProps:props.extraRenderProps,viewApi:context.viewApi,dateEnv:context.dateEnv,monthStartFormat:options.monthStartFormat});return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ContentContainer,Object.assign({},props,{elClasses:[...getDayClassNames(renderProps,context.theme),...props.elClasses||[]],elAttrs:Object.assign(Object.assign({},props.elAttrs),renderProps.isDisabled?{}:{"data-date":formatDayString(props.date)}),renderProps:renderProps,generatorName:"dayCellContent",customGenerator:options.dayCellContent,defaultGenerator:props.defaultGenerator,classNameGenerator:renderProps.isDisabled?void 0:options.dayCellClassNames,didMount:options.dayCellDidMount,willUnmount:options.dayCellWillUnmount}))}}function hasCustomDayCellContent(options){return Boolean(options.dayCellContent||hasCustomRenderingHandler("dayCellContent",options))}function refineRenderProps(raw){let{date:date,dateEnv:dateEnv,dateProfile:dateProfile,isMonthStart:isMonthStart}=raw,dayMeta=getDateMeta(date,raw.todayRange,null,dateProfile),dayNumberText=raw.showDayNumber?dateEnv.format(date,isMonthStart?raw.monthStartFormat:DAY_NUM_FORMAT):"";return Object.assign(Object.assign(Object.assign({date:dateEnv.toDate(date),view:raw.viewApi},dayMeta),{isMonthStart:isMonthStart,dayNumberText:dayNumberText}),raw.extraRenderProps)}class BgEvent extends BaseComponent{render(){let{props:props}=this,{seg:seg}=props;return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(EventContainer,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:seg.eventRange.ui.backgroundColor},defaultGenerator:renderInnerContent,seg:seg,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:props.isPast,isFuture:props.isFuture,isToday:props.isToday,disableDragging:!0,disableResizing:!0})}}function renderInnerContent(props){let{title:title}=props.event;return title&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:"fc-event-title"},props.event.title)}function renderFill(fillType){return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:`fc-${fillType}`})}const WeekNumberContainer=props=>(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ViewContextType.Consumer,null,(context=>{let{dateEnv:dateEnv,options:options}=context,{date:date}=props,format=options.weekNumberFormat||props.defaultFormat,renderProps={num:dateEnv.computeWeekNumber(date),text:dateEnv.format(date,format),date:date};return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ContentContainer,Object.assign({},props,{renderProps:renderProps,generatorName:"weekNumberContent",customGenerator:options.weekNumberContent,defaultGenerator:renderInner,classNameGenerator:options.weekNumberClassNames,didMount:options.weekNumberDidMount,willUnmount:options.weekNumberWillUnmount}))}));function renderInner(innerProps){return innerProps.text}class Popover extends BaseComponent{constructor(){super(...arguments),this.state={titleId:getUniqueDomId()},this.handleRootEl=el=>{this.rootEl=el,this.props.elRef&&setRef(this.props.elRef,el)},this.handleDocumentMouseDown=ev=>{const target=function getEventTargetViaRoot(ev){var _a,_b;return null!==(_b=null===(_a=ev.composedPath)||void 0===_a?void 0:_a.call(ev)[0])&&void 0!==_b?_b:ev.target}(ev);this.rootEl.contains(target)||this.handleCloseClick()},this.handleDocumentKeyDown=ev=>{"Escape"===ev.key&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:onClose}=this.props;onClose&&onClose()}}render(){let{theme:theme,options:options}=this.context,{props:props,state:state}=this,classNames=["fc-popover",theme.getClass("popover")].concat(props.extraClassNames||[]);return(0,preact_compat__WEBPACK_IMPORTED_MODULE_1__.jz)((0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",Object.assign({},props.extraAttrs,{id:props.id,className:classNames.join(" "),"aria-labelledby":state.titleId,ref:this.handleRootEl}),(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:"fc-popover-header "+theme.getClass("popoverHeader")},(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("span",{className:"fc-popover-title",id:state.titleId},props.title),(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("span",{className:"fc-popover-close "+theme.getIconClass("close"),title:options.closeHint,onClick:this.handleCloseClick})),(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)("div",{className:"fc-popover-body "+theme.getClass("popoverContent")},props.children)),props.parentEl)}componentDidMount(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}componentWillUnmount(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}updateSize(){let{isRtl:isRtl}=this.context,{alignmentEl:alignmentEl,alignGridTop:alignGridTop}=this.props,{rootEl:rootEl}=this,alignmentRect=computeClippedClientRect(alignmentEl);if(alignmentRect){let popoverDims=rootEl.getBoundingClientRect(),popoverTop=alignGridTop?elementClosest(alignmentEl,".fc-scrollgrid").getBoundingClientRect().top:alignmentRect.top,popoverLeft=isRtl?alignmentRect.right-popoverDims.width:alignmentRect.left;popoverTop=Math.max(popoverTop,10),popoverLeft=Math.min(popoverLeft,document.documentElement.clientWidth-10-popoverDims.width),popoverLeft=Math.max(popoverLeft,10);let origin=rootEl.offsetParent.getBoundingClientRect();applyStyle(rootEl,{top:popoverTop-origin.top,left:popoverLeft-origin.left})}}}class MorePopover extends DateComponent{constructor(){super(...arguments),this.handleRootEl=rootEl=>{this.rootEl=rootEl,rootEl?this.context.registerInteractiveComponent(this,{el:rootEl,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:options,dateEnv:dateEnv}=this.context,{props:props}=this,{startDate:startDate,todayRange:todayRange,dateProfile:dateProfile}=props,title=dateEnv.format(startDate,options.dayPopoverFormat);return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(DayCellContainer,{elRef:this.handleRootEl,date:startDate,dateProfile:dateProfile,todayRange:todayRange},((InnerContent,renderProps,elAttrs)=>(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(Popover,{elRef:elAttrs.ref,id:props.id,title:title,extraClassNames:["fc-more-popover"].concat(elAttrs.className||[]),extraAttrs:elAttrs,parentEl:props.parentEl,alignmentEl:props.alignmentEl,alignGridTop:props.alignGridTop,onClose:props.onClose},hasCustomDayCellContent(options)&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(InnerContent,{elTag:"div",elClasses:["fc-more-popover-misc"]}),props.children)))}queryHit(positionLeft,positionTop,elWidth,elHeight){let{rootEl:rootEl,props:props}=this;return positionLeft>=0&&positionLeft=0&&positionTop{this.linkEl=linkEl,this.props.elRef&&setRef(this.props.elRef,linkEl)},this.handleClick=ev=>{let{props:props,context:context}=this,{moreLinkClick:moreLinkClick}=context.options,date=computeRange(props).start;function buildPublicSeg(seg){let{def:def,instance:instance,range:range}=seg.eventRange;return{event:new EventImpl(context,def,instance),start:context.dateEnv.toDate(range.start),end:context.dateEnv.toDate(range.end),isStart:seg.isStart,isEnd:seg.isEnd}}"function"==typeof moreLinkClick&&(moreLinkClick=moreLinkClick({date:date,allDay:Boolean(props.allDayDate),allSegs:props.allSegs.map(buildPublicSeg),hiddenSegs:props.hiddenSegs.map(buildPublicSeg),jsEvent:ev,view:context.viewApi})),moreLinkClick&&"popover"!==moreLinkClick?"string"==typeof moreLinkClick&&context.calendarApi.zoomTo(date,moreLinkClick):this.setState({isPopoverOpen:!0})},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:props,state:state}=this;return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ViewContextType.Consumer,null,(context=>{let{viewApi:viewApi,options:options,calendarApi:calendarApi}=context,{moreLinkText:moreLinkText}=options,{moreCnt:moreCnt}=props,range=computeRange(props),text="function"==typeof moreLinkText?moreLinkText.call(calendarApi,moreCnt):`+${moreCnt} ${moreLinkText}`,hint=formatWithOrdinals(options.moreLinkHint,[moreCnt],text),renderProps={num:moreCnt,shortText:`+${moreCnt}`,text:text,view:viewApi};return(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(preact__WEBPACK_IMPORTED_MODULE_0__.HY,null,Boolean(props.moreCnt)&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(ContentContainer,{elTag:props.elTag||"a",elRef:this.handleLinkEl,elClasses:[...props.elClasses||[],"fc-more-link"],elStyle:props.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},props.elAttrs),createAriaClickAttrs(this.handleClick)),{title:hint,"aria-expanded":state.isPopoverOpen,"aria-controls":state.isPopoverOpen?state.popoverId:""}),renderProps:renderProps,generatorName:"moreLinkContent",customGenerator:options.moreLinkContent,defaultGenerator:props.defaultGenerator||renderMoreLinkInner,classNameGenerator:options.moreLinkClassNames,didMount:options.moreLinkDidMount,willUnmount:options.moreLinkWillUnmount},props.children),state.isPopoverOpen&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.az)(MorePopover,{id:state.popoverId,startDate:range.start,endDate:range.end,dateProfile:props.dateProfile,todayRange:props.todayRange,extraDateSpan:props.extraDateSpan,parentEl:this.parentEl,alignmentEl:props.alignmentElRef?props.alignmentElRef.current:this.linkEl,alignGridTop:props.alignGridTop,forceTimed:props.forceTimed,onClose:this.handlePopoverClose},props.popoverContent()))}))}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=elementClosest(this.linkEl,".fc-view-harness"))}}function renderMoreLinkInner(props){return props.text}function computeRange(props){if(props.allDayDate)return{start:props.allDayDate,end:addDays(props.allDayDate,1)};let{hiddenSegs:hiddenSegs}=props;return{start:(segs=hiddenSegs,segs.reduce(pickEarliestStart).eventRange.range.start),end:computeLatestSegEnd(hiddenSegs)};var segs}function pickEarliestStart(seg0,seg1){return seg0.eventRange.range.startseg1.eventRange.range.end?seg0:seg1}},"./node_modules/@fullcalendar/daygrid/index.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Z:function(){return index}});var core=__webpack_require__("./node_modules/@fullcalendar/core/index.js"),internal_common=__webpack_require__("./node_modules/@fullcalendar/core/internal-common.js"),preact_module=__webpack_require__("./node_modules/preact/dist/preact.module.js");class TableView extends internal_common.be{constructor(){super(...arguments),this.headerElRef=(0,preact_module.Vf)()}renderSimpleLayout(headerRowContent,bodyContent){let{props:props,context:context}=this,sections=[],stickyHeaderDates=(0,internal_common.cc)(context.options);return headerRowContent&§ions.push({type:"header",key:"header",isSticky:stickyHeaderDates,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:headerRowContent}}),sections.push({type:"body",key:"body",liquid:!0,chunk:{content:bodyContent}}),(0,preact_module.az)(internal_common.ct,{elClasses:["fc-daygrid"],viewSpec:context.viewSpec},(0,preact_module.az)(internal_common.b$,{liquid:!props.isHeightAuto&&!props.forPrint,collapsibleWidth:props.forPrint,cols:[],sections:sections}))}renderHScrollLayout(headerRowContent,bodyContent,colCnt,dayMinWidth){let ScrollGrid=this.context.pluginHooks.scrollGridImpl;if(!ScrollGrid)throw new Error("No ScrollGrid implementation");let{props:props,context:context}=this,stickyHeaderDates=!props.forPrint&&(0,internal_common.cc)(context.options),stickyFooterScrollbar=!props.forPrint&&(0,internal_common.cb)(context.options),sections=[];return headerRowContent&§ions.push({type:"header",key:"header",isSticky:stickyHeaderDates,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:headerRowContent}]}),sections.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:bodyContent}]}),stickyFooterScrollbar&§ions.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:internal_common.ca}]}),(0,preact_module.az)(internal_common.ct,{elClasses:["fc-daygrid"],viewSpec:context.viewSpec},(0,preact_module.az)(ScrollGrid,{liquid:!props.isHeightAuto&&!props.forPrint,forPrint:props.forPrint,collapsibleWidth:props.forPrint,colGroups:[{cols:[{span:colCnt,minWidth:dayMinWidth}]}],sections:sections}))}}function splitSegsByRow(segs,rowCnt){let byRow=[];for(let i=0;i{let isForcedInvisible=(props.eventDrag?props.eventDrag.affectedInstances:null)||(props.eventResize?props.eventResize.affectedInstances:null)||{};return(0,preact_module.az)(preact_module.HY,null,allSegs.map((seg=>{let instanceId=seg.eventRange.instance.instanceId;return(0,preact_module.az)("div",{className:"fc-daygrid-event-harness",key:instanceId,style:{visibility:isForcedInvisible[instanceId]?"hidden":""}},hasListItemDisplay(seg)?(0,preact_module.az)(TableListItemEvent,Object.assign({seg:seg,isDragging:!1,isSelected:instanceId===props.eventSelection,defaultDisplayEventEnd:!1},(0,internal_common.bS)(seg,props.todayRange))):(0,preact_module.az)(TableBlockEvent,Object.assign({seg:seg,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:instanceId===props.eventSelection,defaultDisplayEventEnd:!1},(0,internal_common.bS)(seg,props.todayRange))))})))}})}}function compileSegs(singlePlacements){let allSegs=[],invisibleSegs=[];for(let placement of singlePlacements)allSegs.push(placement.seg),placement.isVisible||invisibleSegs.push(placement.seg);return{allSegs:allSegs,invisibleSegs:invisibleSegs}}const DEFAULT_WEEK_NUM_FORMAT=(0,internal_common.x)({week:"narrow"});class TableCell extends internal_common.be{constructor(){super(...arguments),this.rootElRef=(0,preact_module.Vf)(),this.state={dayNumberId:(0,internal_common.a5)()},this.handleRootEl=el=>{(0,internal_common.Y)(this.rootElRef,el),(0,internal_common.Y)(this.props.elRef,el)}}render(){let{context:context,props:props,state:state,rootElRef:rootElRef}=this,{options:options,dateEnv:dateEnv}=context,{date:date,dateProfile:dateProfile}=props;const isMonthStart=props.showDayNumber&&function shouldDisplayMonthStart(date,currentRange,dateEnv){const{start:currentStart,end:currentEnd}=currentRange,currentEndIncl=(0,internal_common.bg)(currentEnd,-1),currentFirstYear=dateEnv.getYear(currentStart),currentFirstMonth=dateEnv.getMonth(currentStart),currentLastYear=dateEnv.getYear(currentEndIncl),currentLastMonth=dateEnv.getMonth(currentEndIncl);return!(currentFirstYear===currentLastYear&¤tFirstMonth===currentLastMonth)&&Boolean(date.valueOf()===currentStart.valueOf()||1===dateEnv.getDay(date)&&date.valueOf()(0,preact_module.az)("div",{ref:props.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:props.minHeight}},props.showWeekNumber&&(0,preact_module.az)(internal_common.cq,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:(0,internal_common.b0)(context,date,"week"),date:date,defaultFormat:DEFAULT_WEEK_NUM_FORMAT}),!renderProps.isDisabled&&(props.showDayNumber||(0,internal_common.cm)(options)||props.forceDayTop)?(0,preact_module.az)("div",{className:"fc-daygrid-day-top"},(0,preact_module.az)(InnerContent,{elTag:"a",elClasses:["fc-daygrid-day-number",isMonthStart&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},(0,internal_common.b0)(context,date)),{id:state.dayNumberId})})):props.showDayNumber?(0,preact_module.az)("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},(0,preact_module.az)("a",{className:"fc-daygrid-day-number"}," ")):void 0,(0,preact_module.az)("div",{className:"fc-daygrid-day-events",ref:props.fgContentElRef},props.fgContent,(0,preact_module.az)("div",{className:"fc-daygrid-day-bottom",style:{marginTop:props.moreMarginTop}},(0,preact_module.az)(TableCellMoreLink,{allDayDate:date,singlePlacements:props.singlePlacements,moreCnt:props.moreCnt,alignmentElRef:rootElRef,alignGridTop:!props.showDayNumber,extraDateSpan:props.extraDateSpan,dateProfile:props.dateProfile,eventSelection:props.eventSelection,eventDrag:props.eventDrag,eventResize:props.eventResize,todayRange:props.todayRange}))),(0,preact_module.az)("div",{className:"fc-daygrid-day-bg"},props.bgContent))))}}function renderTopInner(props){return props.dayNumberText||(0,preact_module.az)(preact_module.HY,null," ")}function generateSegKey(seg){return seg.eventRange.instance.instanceId+":"+seg.firstCol}function generateSegUid(seg){return generateSegKey(seg)+":"+seg.lastCol}function computeFgSegPlacement(segs,dayMaxEvents,dayMaxEventRows,strictOrder,segHeights,maxContentHeight,cells){let hierarchy=new DayGridSegHierarchy((segEntry=>{let segUid=segs[segEntry.index].eventRange.instance.instanceId+":"+segEntry.span.start+":"+(segEntry.span.end-1);return segHeights[segUid]||1}));hierarchy.allowReslicing=!0,hierarchy.strictOrder=strictOrder,!0===dayMaxEvents||!0===dayMaxEventRows?(hierarchy.maxCoord=maxContentHeight,hierarchy.hiddenConsumes=!0):"number"==typeof dayMaxEvents?hierarchy.maxStackCnt=dayMaxEvents:"number"==typeof dayMaxEventRows&&(hierarchy.maxStackCnt=dayMaxEventRows,hierarchy.hiddenConsumes=!0);let segInputs=[],unknownHeightSegs=[];for(let i=0;i1,isFirstCol=rect.span.start===col;currentMarginTop+=rect.levelCoord-currentHeight,currentHeight=rect.levelCoord+rect.thickness,isAbsolute?(currentMarginTop+=rect.thickness,isFirstCol&&multiPlacements.push({seg:resliceSeg(seg,rect.span.start,rect.span.end,cells),isVisible:!0,isAbsolute:!0,absoluteTop:rect.levelCoord,marginTop:0})):isFirstCol&&(multiPlacements.push({seg:resliceSeg(seg,rect.span.start,rect.span.end,cells),isVisible:!0,isAbsolute:!1,absoluteTop:rect.levelCoord,marginTop:currentMarginTop}),currentMarginTop=0)}singleColPlacements.push(singlePlacements),multiColPlacements.push(multiPlacements),leftoverMargins.push(currentMarginTop)}return{singleColPlacements:singleColPlacements,multiColPlacements:multiColPlacements,leftoverMargins:leftoverMargins}}(segRects,segs,cells),moreCnts=[],moreMarginTops=[];for(let seg of unknownHeightSegs){multiColPlacements[seg.firstCol].push({seg:seg,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let col=seg.firstCol;col<=seg.lastCol;col+=1)singleColPlacements[col].push({seg:resliceSeg(seg,col,col+1,cells),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let col=0;col!this.forceHidden[(0,internal_common.bB)(entry)];for(let level=0;level{isForced&&this.updateSizing(!0)}}render(){let{props:props,state:state,context:context}=this,{options:options}=context,colCnt=props.cells.length,businessHoursByCol=splitSegsByFirstCol(props.businessHourSegs,colCnt),bgEventSegsByCol=splitSegsByFirstCol(props.bgEventSegs,colCnt),highlightSegsByCol=splitSegsByFirstCol(this.getHighlightSegs(),colCnt),mirrorSegsByCol=splitSegsByFirstCol(this.getMirrorSegs(),colCnt),{singleColPlacements:singleColPlacements,multiColPlacements:multiColPlacements,moreCnts:moreCnts,moreMarginTops:moreMarginTops}=computeFgSegPlacement((0,internal_common.bR)(props.fgEventSegs,options.eventOrder),props.dayMaxEvents,props.dayMaxEventRows,options.eventOrderStrict,state.segHeights,state.maxContentHeight,props.cells),isForcedInvisible=props.eventDrag&&props.eventDrag.affectedInstances||props.eventResize&&props.eventResize.affectedInstances||{};return(0,preact_module.az)("tr",{ref:this.rootElRef,role:"row"},props.renderIntro&&props.renderIntro(),props.cells.map(((cell,col)=>{let normalFgNodes=this.renderFgSegs(col,props.forPrint?singleColPlacements[col]:multiColPlacements[col],props.todayRange,isForcedInvisible),mirrorFgNodes=this.renderFgSegs(col,function buildMirrorPlacements(mirrorSegs,colPlacements){if(!mirrorSegs.length)return[];let topsByInstanceId=function buildAbsoluteTopHash(colPlacements){let topsByInstanceId={};for(let placements of colPlacements)for(let placement of placements)topsByInstanceId[placement.seg.eventRange.instance.instanceId]=placement.absoluteTop;return topsByInstanceId}(colPlacements);return mirrorSegs.map((seg=>({seg:seg,isVisible:!0,isAbsolute:!0,absoluteTop:topsByInstanceId[seg.eventRange.instance.instanceId],marginTop:0})))}(mirrorSegsByCol[col],multiColPlacements),props.todayRange,{},Boolean(props.eventDrag),Boolean(props.eventResize),!1);return(0,preact_module.az)(TableCell,{key:cell.key,elRef:this.cellElRefs.createRef(cell.key),innerElRef:this.frameElRefs.createRef(cell.key),dateProfile:props.dateProfile,date:cell.date,showDayNumber:props.showDayNumbers,showWeekNumber:props.showWeekNumbers&&0===col,forceDayTop:props.showWeekNumbers,todayRange:props.todayRange,eventSelection:props.eventSelection,eventDrag:props.eventDrag,eventResize:props.eventResize,extraRenderProps:cell.extraRenderProps,extraDataAttrs:cell.extraDataAttrs,extraClassNames:cell.extraClassNames,extraDateSpan:cell.extraDateSpan,moreCnt:moreCnts[col],moreMarginTop:moreMarginTops[col],singlePlacements:singleColPlacements[col],fgContentElRef:this.fgElRefs.createRef(cell.key),fgContent:(0,preact_module.az)(preact_module.HY,null,(0,preact_module.az)(preact_module.HY,null,normalFgNodes),(0,preact_module.az)(preact_module.HY,null,mirrorFgNodes)),bgContent:(0,preact_module.az)(preact_module.HY,null,this.renderFillSegs(highlightSegsByCol[col],"highlight"),this.renderFillSegs(businessHoursByCol[col],"non-business"),this.renderFillSegs(bgEventSegsByCol[col],"bg-event")),minHeight:props.cellMinHeight})})))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(prevProps,prevState){let currentProps=this.props;this.updateSizing(!(0,internal_common.E)(prevProps,currentProps))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:props}=this;return props.eventDrag&&props.eventDrag.segs.length?props.eventDrag.segs:props.eventResize&&props.eventResize.segs.length?props.eventResize.segs:props.dateSelectionSegs}getMirrorSegs(){let{props:props}=this;return props.eventResize&&props.eventResize.segs.length?props.eventResize.segs:[]}renderFgSegs(col,segPlacements,todayRange,isForcedInvisible,isDragging,isResizing,isDateSelecting){let{context:context}=this,{eventSelection:eventSelection}=this.props,{framePositions:framePositions}=this.state,defaultDisplayEventEnd=1===this.props.cells.length,isMirror=isDragging||isResizing||isDateSelecting,nodes=[];if(framePositions)for(let placement of segPlacements){let{seg:seg}=placement,{instanceId:instanceId}=seg.eventRange.instance,isVisible=placement.isVisible&&!isForcedInvisible[instanceId],isAbsolute=placement.isAbsolute,left="",right="";isAbsolute&&(context.isRtl?(right=0,left=framePositions.lefts[seg.lastCol]-framePositions.lefts[seg.firstCol]):(left=0,right=framePositions.rights[seg.firstCol]-framePositions.rights[seg.lastCol])),nodes.push((0,preact_module.az)("div",{className:"fc-daygrid-event-harness"+(isAbsolute?" fc-daygrid-event-harness-abs":""),key:generateSegKey(seg),ref:isMirror?null:this.segHarnessRefs.createRef(generateSegUid(seg)),style:{visibility:isVisible?"":"hidden",marginTop:isAbsolute?"":placement.marginTop,top:isAbsolute?placement.absoluteTop:"",left:left,right:right}},hasListItemDisplay(seg)?(0,preact_module.az)(TableListItemEvent,Object.assign({seg:seg,isDragging:isDragging,isSelected:instanceId===eventSelection,defaultDisplayEventEnd:defaultDisplayEventEnd},(0,internal_common.bS)(seg,todayRange))):(0,preact_module.az)(TableBlockEvent,Object.assign({seg:seg,isDragging:isDragging,isResizing:isResizing,isDateSelecting:isDateSelecting,isSelected:instanceId===eventSelection,defaultDisplayEventEnd:defaultDisplayEventEnd},(0,internal_common.bS)(seg,todayRange)))))}return nodes}renderFillSegs(segs,fillType){let{isRtl:isRtl}=this.context,{todayRange:todayRange}=this.props,{framePositions:framePositions}=this.state,nodes=[];if(framePositions)for(let seg of segs){let leftRightCss=isRtl?{right:0,left:framePositions.lefts[seg.lastCol]-framePositions.lefts[seg.firstCol]}:{left:0,right:framePositions.rights[seg.firstCol]-framePositions.rights[seg.lastCol]};nodes.push((0,preact_module.az)("div",{key:(0,internal_common.bT)(seg.eventRange),className:"fc-daygrid-bg-harness",style:leftRightCss},"bg-event"===fillType?(0,preact_module.az)(internal_common.cp,Object.assign({seg:seg},(0,internal_common.bS)(seg,todayRange))):(0,internal_common.co)(fillType)))}return(0,preact_module.az)(preact_module.HY,{},...nodes)}updateSizing(isExternalSizingChange){let{props:props,state:state,frameElRefs:frameElRefs}=this;if(!props.forPrint&&null!==props.clientWidth){if(isExternalSizingChange){let frameEls=props.cells.map((cell=>frameElRefs.currentMap[cell.key]));if(frameEls.length){let originEl=this.rootElRef.current,newPositionCache=new internal_common.ba(originEl,frameEls,!0,!1);state.framePositions&&state.framePositions.similarTo(newPositionCache)||this.setState({framePositions:new internal_common.ba(originEl,frameEls,!0,!1)})}}const oldSegHeights=this.state.segHeights,newSegHeights=this.querySegHeights(),limitByContentHeight=!0===props.dayMaxEvents||!0===props.dayMaxEventRows;this.safeSetState({segHeights:Object.assign(Object.assign({},oldSegHeights),newSegHeights),maxContentHeight:limitByContentHeight?this.computeMaxContentHeight():null})}}querySegHeights(){let segElMap=this.segHarnessRefs.currentMap,segHeights={};for(let segUid in segElMap){let height=Math.round(segElMap[segUid].getBoundingClientRect().height);segHeights[segUid]=Math.max(segHeights[segUid]||0,height)}return segHeights}computeMaxContentHeight(){let firstKey=this.props.cells[0].key,cellEl=this.cellElRefs.currentMap[firstKey],fcContainerEl=this.fgElRefs.currentMap[firstKey];return cellEl.getBoundingClientRect().bottom-fcContainerEl.getBoundingClientRect().top}getCellEls(){let elMap=this.cellElRefs.currentMap;return this.props.cells.map((cell=>elMap[cell.key]))}}TableRow.addStateEquality({segHeights:internal_common.E});class TableRows extends internal_common.be{constructor(){super(...arguments),this.splitBusinessHourSegs=(0,internal_common.z)(splitSegsByRow),this.splitBgEventSegs=(0,internal_common.z)(splitSegsByRow),this.splitFgEventSegs=(0,internal_common.z)(splitSegsByRow),this.splitDateSelectionSegs=(0,internal_common.z)(splitSegsByRow),this.splitEventDrag=(0,internal_common.z)(splitInteractionByRow),this.splitEventResize=(0,internal_common.z)(splitInteractionByRow),this.rowRefs=new internal_common.cf}render(){let{props:props,context:context}=this,rowCnt=props.cells.length,businessHourSegsByRow=this.splitBusinessHourSegs(props.businessHourSegs,rowCnt),bgEventSegsByRow=this.splitBgEventSegs(props.bgEventSegs,rowCnt),fgEventSegsByRow=this.splitFgEventSegs(props.fgEventSegs,rowCnt),dateSelectionSegsByRow=this.splitDateSelectionSegs(props.dateSelectionSegs,rowCnt),eventDragByRow=this.splitEventDrag(props.eventDrag,rowCnt),eventResizeByRow=this.splitEventResize(props.eventResize,rowCnt),cellMinHeight=rowCnt>=7&&props.clientWidth?props.clientWidth/context.options.aspectRatio/6:null;return(0,preact_module.az)(internal_common.ch,{unit:"day"},((nowDate,todayRange)=>(0,preact_module.az)(preact_module.HY,null,props.cells.map(((cells,row)=>(0,preact_module.az)(TableRow,{ref:this.rowRefs.createRef(row),key:cells.length?cells[0].date.toISOString():row,showDayNumbers:rowCnt>1,showWeekNumbers:props.showWeekNumbers,todayRange:todayRange,dateProfile:props.dateProfile,cells:cells,renderIntro:props.renderRowIntro,businessHourSegs:businessHourSegsByRow[row],eventSelection:props.eventSelection,bgEventSegs:bgEventSegsByRow[row].filter(isSegAllDay),fgEventSegs:fgEventSegsByRow[row],dateSelectionSegs:dateSelectionSegsByRow[row],eventDrag:eventDragByRow[row],eventResize:eventResizeByRow[row],dayMaxEvents:props.dayMaxEvents,dayMaxEventRows:props.dayMaxEventRows,clientWidth:props.clientWidth,clientHeight:props.clientHeight,cellMinHeight:cellMinHeight,forPrint:props.forPrint}))))))}componentDidMount(){this.registerInteractiveComponent()}componentDidUpdate(){this.registerInteractiveComponent()}registerInteractiveComponent(){if(!this.rootEl){const firstCellEl=this.rowRefs.currentMap[0].getCellEls()[0],rootEl=firstCellEl?firstCellEl.closest(".fc-daygrid-body"):null;rootEl&&(this.rootEl=rootEl,this.context.registerInteractiveComponent(this,{el:rootEl,isHitComboAllowed:this.props.isHitComboAllowed}))}}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new internal_common.ba(this.rootEl,this.rowRefs.collect().map((rowObj=>rowObj.getCellEls()[0])),!1,!0),this.colPositions=new internal_common.ba(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(positionLeft,positionTop){let{colPositions:colPositions,rowPositions:rowPositions}=this,col=colPositions.leftToIndex(positionLeft),row=rowPositions.topToIndex(positionTop);if(null!=row&&null!=col){let cell=this.props.cells[row][col];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(row,col),allDay:!0},cell.extraDateSpan),dayEl:this.getCellEl(row,col),rect:{left:colPositions.lefts[col],right:colPositions.rights[col],top:rowPositions.tops[row],bottom:rowPositions.bottoms[row]},layer:0}}return null}getCellEl(row,col){return this.rowRefs.currentMap[row].getCellEls()[col]}getCellRange(row,col){let start=this.props.cells[row][col].date;return{start:start,end:(0,internal_common.t)(start,1)}}}function isSegAllDay(seg){return seg.eventRange.def.allDay}class Table extends internal_common.be{constructor(){super(...arguments),this.elRef=(0,preact_module.Vf)(),this.needsScrollReset=!1}render(){let{props:props}=this,{dayMaxEventRows:dayMaxEventRows,dayMaxEvents:dayMaxEvents,expandRows:expandRows}=props,limitViaBalanced=!0===dayMaxEvents||!0===dayMaxEventRows;limitViaBalanced&&!expandRows&&(limitViaBalanced=!1,dayMaxEventRows=null,dayMaxEvents=null);let classNames=["fc-daygrid-body",limitViaBalanced?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",expandRows?"":"fc-daygrid-body-natural"];return(0,preact_module.az)("div",{ref:this.elRef,className:classNames.join(" "),style:{width:props.clientWidth,minWidth:props.tableMinWidth}},(0,preact_module.az)("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:props.clientWidth,minWidth:props.tableMinWidth,height:expandRows?props.clientHeight:""}},props.colGroupNode,(0,preact_module.az)("tbody",{role:"presentation"},(0,preact_module.az)(TableRows,{dateProfile:props.dateProfile,cells:props.cells,renderRowIntro:props.renderRowIntro,showWeekNumbers:props.showWeekNumbers,clientWidth:props.clientWidth,clientHeight:props.clientHeight,businessHourSegs:props.businessHourSegs,bgEventSegs:props.bgEventSegs,fgEventSegs:props.fgEventSegs,dateSelectionSegs:props.dateSelectionSegs,eventSelection:props.eventSelection,eventDrag:props.eventDrag,eventResize:props.eventResize,dayMaxEvents:dayMaxEvents,dayMaxEventRows:dayMaxEventRows,forPrint:props.forPrint,isHitComboAllowed:props.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(prevProps){prevProps.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){const subjectEl=function getScrollSubjectEl(containerEl,dateProfile){let el;dateProfile.currentRangeUnit.match(/year|month/)&&(el=containerEl.querySelector(`[data-date="${(0,internal_common.bx)(dateProfile.currentDate)}-01"]`));el||(el=containerEl.querySelector(`[data-date="${(0,internal_common.bv)(dateProfile.currentDate)}"]`));return el}(this.elRef.current,this.props.dateProfile);if(subjectEl){const originEl=subjectEl.closest(".fc-daygrid-body"),scrollEl=originEl.closest(".fc-scroller"),scrollTop=subjectEl.getBoundingClientRect().top-originEl.getBoundingClientRect().top;scrollEl.scrollTop=scrollTop?scrollTop+1:0}this.needsScrollReset=!1}}}class DayTableSlicer extends internal_common.bW{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(dateRange,dayTableModel){return dayTableModel.sliceRange(dateRange)}}class DayTable extends internal_common.be{constructor(){super(...arguments),this.slicer=new DayTableSlicer,this.tableRef=(0,preact_module.Vf)()}render(){let{props:props,context:context}=this;return(0,preact_module.az)(Table,Object.assign({ref:this.tableRef},this.slicer.sliceProps(props,props.dateProfile,props.nextDayThreshold,context,props.dayTableModel),{dateProfile:props.dateProfile,cells:props.dayTableModel.cells,colGroupNode:props.colGroupNode,tableMinWidth:props.tableMinWidth,renderRowIntro:props.renderRowIntro,dayMaxEvents:props.dayMaxEvents,dayMaxEventRows:props.dayMaxEventRows,showWeekNumbers:props.showWeekNumbers,expandRows:props.expandRows,headerAlignElRef:props.headerAlignElRef,clientWidth:props.clientWidth,clientHeight:props.clientHeight,forPrint:props.forPrint}))}}function buildDayTableModel(dateProfile,dateProfileGenerator){let daySeries=new internal_common.bO(dateProfile.renderRange,dateProfileGenerator);return new internal_common.bV(daySeries,/year|month|week/.test(dateProfile.currentRangeUnit))}class TableDateProfileGenerator extends internal_common.U{buildRenderRange(currentRange,currentRangeUnit,isRangeAllDay){let renderRange=super.buildRenderRange(currentRange,currentRangeUnit,isRangeAllDay),{props:props}=this;return function buildDayTableRenderRange(props){let endOfWeek,{dateEnv:dateEnv,currentRange:currentRange}=props,{start:start,end:end}=currentRange;props.snapToWeek&&(start=dateEnv.startOfWeek(start),endOfWeek=dateEnv.startOfWeek(end),endOfWeek.valueOf()!==end.valueOf()&&(end=(0,internal_common.bh)(endOfWeek,1)));if(props.fixedWeekCount){let lastMonthRenderStart=dateEnv.startOfWeek(dateEnv.startOfMonth((0,internal_common.t)(currentRange.end,-1))),rowCnt=Math.ceil((0,internal_common.bi)(lastMonthRenderStart,end));end=(0,internal_common.bh)(end,6-rowCnt)}return{start:start,end:end}}({currentRange:renderRange,snapToWeek:/^(year|month)$/.test(currentRangeUnit),fixedWeekCount:props.fixedWeekCount,dateEnv:props.dateEnv})}}(0,internal_common.cw)(':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}');var index=(0,core.rx)({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:class DayTableView extends TableView{constructor(){super(...arguments),this.buildDayTableModel=(0,internal_common.z)(buildDayTableModel),this.headerRef=(0,preact_module.Vf)(),this.tableRef=(0,preact_module.Vf)()}render(){let{options:options,dateProfileGenerator:dateProfileGenerator}=this.context,{props:props}=this,dayTableModel=this.buildDayTableModel(props.dateProfile,dateProfileGenerator),headerContent=options.dayHeaders&&(0,preact_module.az)(internal_common.bK,{ref:this.headerRef,dateProfile:props.dateProfile,dates:dayTableModel.headerDates,datesRepDistinctDays:1===dayTableModel.rowCnt}),bodyContent=contentArg=>(0,preact_module.az)(DayTable,{ref:this.tableRef,dateProfile:props.dateProfile,dayTableModel:dayTableModel,businessHours:props.businessHours,dateSelection:props.dateSelection,eventStore:props.eventStore,eventUiBases:props.eventUiBases,eventSelection:props.eventSelection,eventDrag:props.eventDrag,eventResize:props.eventResize,nextDayThreshold:options.nextDayThreshold,colGroupNode:contentArg.tableColGroupNode,tableMinWidth:contentArg.tableMinWidth,dayMaxEvents:options.dayMaxEvents,dayMaxEventRows:options.dayMaxEventRows,showWeekNumbers:options.weekNumbers,expandRows:!props.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:contentArg.clientWidth,clientHeight:contentArg.clientHeight,forPrint:props.forPrint});return options.dayMinWidth?this.renderHScrollLayout(headerContent,bodyContent,dayTableModel.colCnt,options.dayMinWidth):this.renderSimpleLayout(headerContent,bodyContent)}},dateProfileGeneratorClass:TableDateProfileGenerator},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}})},"./node_modules/preact/compat/dist/compat.module.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{jz:function(){return compat_module_j}});var r,u,i,preact_module=__webpack_require__("./node_modules/preact/dist/preact.module.js"),f=[],c=[],e=preact_module.YM.__b,a=preact_module.YM.__r,v=preact_module.YM.diffed,l=preact_module.YM.__c,m=preact_module.YM.unmount;function b(){for(var t;t=f.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(k),t.__H.__h.forEach(w),t.__H.__h=[]}catch(r){t.__H.__h=[],preact_module.YM.__e(r,t.__v)}}preact_module.YM.__b=function(n){r=null,e&&e(n)},preact_module.YM.__r=function(n){a&&a(n),0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach((function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.i=void 0}))):(i.__h.forEach(k),i.__h.forEach(w),i.__h=[])),u=r},preact_module.YM.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==f.push(o)&&i===preact_module.YM.requestAnimationFrame||((i=preact_module.YM.requestAnimationFrame)||j)(b)),o.__H.__.forEach((function(n){n.i&&(n.__H=n.i),n.__V!==c&&(n.__=n.__V),n.i=void 0,n.__V=c}))),u=r=null},preact_module.YM.__c=function(t,r){r.some((function(t){try{t.__h.forEach(k),t.__h=t.__h.filter((function(n){return!n.__||w(n)}))}catch(u){r.some((function(n){n.__h&&(n.__h=[])})),r=[],preact_module.YM.__e(u,t.__v)}})),l&&l(t,r)},preact_module.YM.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach((function(n){try{k(n)}catch(n){r=n}})),u.__H=void 0,r&&preact_module.YM.__e(r,u.__v))};var g="function"==typeof requestAnimationFrame;function j(n){var t,r=function(){clearTimeout(u),g&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,100);g&&(t=requestAnimationFrame(r))}function k(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t}function w(n){var t=r;n.__c=n.__(),r=t}function compat_module_g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function compat_module_w(n){this.props=n}(compat_module_w.prototype=new preact_module.wA).isPureReactComponent=!0,compat_module_w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var compat_module_x=preact_module.YM.__b;preact_module.YM.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),compat_module_x&&compat_module_x(n)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var compat_module_A=function(n,t){return null==n?null:(0,preact_module.bR)((0,preact_module.bR)(n).map(t))},compat_module_T=(preact_module.bR,preact_module.YM.__e);preact_module.YM.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);compat_module_T(n,t,e,r)};var I=preact_module.YM.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(n){"function"==typeof n.__c&&n.__c()})),n.__c.__H=null),null!=(n=compat_module_g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return L(n,t,e)}))),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return U(n,t,e)})),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null}function compat_module_F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function compat_module_V(){this.u=null,this.o=null}preact_module.YM.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n)},(D.prototype=new preact_module.wA).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=compat_module_F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l())};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},D.prototype.componentWillUnmount=function(){this.t=[]},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact_module.az)(preact_module.HY,null,n.fallback);return i&&(i.__h=null),[(0,preact_module.az)(preact_module.HY,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]>>1,1),e.i.removeChild(n)}}),(0,preact_module.sY)((0,preact_module.az)(compat_module_P,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount()}function compat_module_j(n,e){var r=(0,preact_module.az)($,{__v:n,i:e});return r.containerInfo=e,r}(compat_module_V.prototype=new preact_module.wA).__a=function(n){var t=this,e=compat_module_F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u()};e?e(o):o()}},compat_module_V.prototype.render=function(n){this.u=null,this.o=new Map;var t=(0,preact_module.bR)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},compat_module_V.prototype.componentDidUpdate=compat_module_V.prototype.componentDidMount=function(){var n=this;this.o.forEach((function(t,e){W(n,e,t)}))};var compat_module_z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,compat_module_B=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,H="undefined"!=typeof document,Z=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(n)};preact_module.wA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(preact_module.wA.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})}));var G=preact_module.YM.event;function J(){}function K(){return this.cancelBubble}function Q(){return this.defaultPrevented}preact_module.YM.event=function(n){return G&&(n=G(n)),n.persist=J,n.isPropagationStopped=K,n.isDefaultPrevented=Q,n.nativeEvent=n};var nn={configurable:!0,get:function(){return this.class}},tn=preact_module.YM.vnode;preact_module.YM.vnode=function(n){var t=n.type,e=n.props,u=e;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in u={},e){var l=e[i];H&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in e&&null==l||("defaultValue"===i&&"value"in e&&null==e.value?i="value":"download"===i&&!0===l?l="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Z(e.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&compat_module_B.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===l&&(l=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),u[i]&&(i="oninputCapture")),u[i]=l)}"select"==t&&u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact_module.bR)(e.children).forEach((function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)}))),"select"==t&&null!=u.defaultValue&&(u.value=(0,preact_module.bR)(e.children).forEach((function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value}))),n.props=u,e.class!=e.className&&(nn.enumerable="className"in e,null!=e.className&&(u.class=e.className),Object.defineProperty(u,"className",nn))}n.$$typeof=compat_module_z,tn&&tn(n)};var en=preact_module.YM.__r;preact_module.YM.__r=function(n){en&&en(n),n.__c};preact_module.HY;preact_module.az,preact_module.kr,preact_module.Vf,preact_module.HY,preact_module.wA},"./node_modules/preact/dist/preact.module.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{HY:function(){return _},Tm:function(){return F},Vf:function(){return d},YM:function(){return l},ZB:function(){return E},az:function(){return y},bR:function(){return j},kr:function(){return G},l$:function(){return i},sY:function(){return D},wA:function(){return x}});var n,l,u,i,t,r,o,f,e,c={},s=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v(n){var l=n.parentNode;l&&l.removeChild(n)}function y(l,u,i){var t,r,o,f={};for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u:o};return null==o&&null!=l.vnode&&l.vnode(f),f}function d(){return{current:null}}function _(n){return n.children}function b(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a.test(l)?u:u+"px"}function g(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||b(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||b(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?w:m,r):n.removeEventListener(l,r?w:m,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u))}}function m(n){t=!0;try{return this.l[n.type+!1](l.event?l.event(n):n)}finally{t=!1}}function w(n){t=!0;try{return this.l[n.type+!0](l.event?l.event(n):n)}finally{t=!1}}function x(n,l){this.props=n,this.context=l}function A(n,l){if(null==l)return n.__?A(n.__,n.__.__k.indexOf(n)+1):null;for(var u;ll&&r.sort((function(n,l){return n.__v.__b-l.__v.__b})));$.__r=0}function H(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,b,g,m=i&&i.__k||s,w=m.length;for(u.__k=[],h=0;h0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=m[h])||y&&d.key==y.key&&d.type===y.type)m[h]=void 0;else for(v=0;v=0;l--)if((u=n.__k[l])&&(i=L(u)))return i;return null}function M(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,k,b,g,m,w,A,P,C,T,$=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l.__b)&&s(u);try{n:if("function"==typeof $){if(b=u.props,g=(s=$.contextType)&&t[s.__c],m=s?g?g.props.value:s.__:t,i.__c?k=(a=u.__c=i.__c).__=a.__E:("prototype"in $&&$.prototype.render?u.__c=a=new $(b,m):(u.__c=a=new x(b,m),a.constructor=$,a.render=B),g&&g.sub(a),a.props=b,a.state||(a.state={}),a.context=m,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=$.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,$.getDerivedStateFromProps(b,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==$.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==$.getDerivedStateFromProps&&b!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,m)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=b,a.state=a.__s,a.__d=!1),u.__e=i.__e,u.__k=i.__k,u.__k.forEach((function(n){n&&(n.__=u)})),w=0;w2&&(f.children=arguments.length>3?n.call(arguments,2):i),p(l.type,f,t||l.key,r||l.ref,null)}function G(n,l){var u={__c:l="__cC"+e++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some((function(n){n.__e=!0,T(n)}))},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l}throw n}},u=0,i=function(n){return null!=n&&void 0===n.constructor},t=!1,x.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),T(this))},x.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),T(this))},x.prototype.render=_,r=[],f="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$.__r=0,e=0}}]); \ No newline at end of file diff --git a/1613.3e9cbe84.iframe.bundle.js b/1613.3e9cbe84.iframe.bundle.js new file mode 100644 index 00000000..e40b52c2 --- /dev/null +++ b/1613.3e9cbe84.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcod_design_system=self.webpackChunkcod_design_system||[]).push([[1613],{"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{BottomBar:function(){return BottomBar},BottomBarToggle:function(){return BottomBarToggle},Box:function(){return Box},Browser:function(){return Browser},CPU:function(){return CPU},Database:function(){return Database},Memory:function(){return Memory},Mobile:function(){return Mobile},Power:function(){return Power},Sidebar:function(){return Sidebar},SidebarAlt:function(){return SidebarAlt},SidebarAltToggle:function(){return SidebarAltToggle},SidebarToggle:function(){return SidebarToggle},Structure:function(){return Structure},Tablet:function(){return Tablet},Watch:function(){return Watch}});var _chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/icons/dist/chunk-MSDTXLE7.mjs"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/index.js"),Browser=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:"currentColor"})),...restProps})},Tablet=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:"currentColor"})),...restProps})},Mobile=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:"currentColor"})),...restProps})},Watch=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:"currentColor"})),...restProps})},Sidebar=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:"currentColor"})),...restProps})},SidebarAlt=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:"currentColor"})),...restProps})},SidebarAltToggle=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:"currentColor"})),...restProps})},SidebarToggle=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:"currentColor"})),...restProps})},BottomBar=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:"currentColor"})),...restProps})},BottomBarToggle=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:"currentColor"})),...restProps})},CPU=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:"currentColor"})),...restProps})},Database=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:"currentColor"})),...restProps})},Memory=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:"currentColor"})),...restProps})},Structure=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:"currentColor"})),...restProps})},Box=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:"currentColor"})),...restProps})},Power=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:"currentColor"})),...restProps})}},"./node_modules/@storybook/icons/dist/chunk-MSDTXLE7.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{a:function(){return IconWrapper}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),IconWrapper=({icon:icon,color:colorProp,size:sizeProp,...restProps})=>{const color=colorProp||"currentColor",size=sizeProp||"14px";return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{role:"img","aria-hidden":"true",style:{color:color,width:size,height:size,display:"inline-flex",fontSize:"inherit"},...restProps},icon)}}}]); \ No newline at end of file diff --git a/1729.1f816cdd.iframe.bundle.js b/1729.1f816cdd.iframe.bundle.js new file mode 100644 index 00000000..04d18055 --- /dev/null +++ b/1729.1f816cdd.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkcod_design_system=self.webpackChunkcod_design_system||[]).push([[1729],{"./node_modules/@storybook/blocks/dist/Color-6VNJS4EI.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ColorControl:function(){return ColorControl},default:function(){return Color_default}});var chunk_GWAJ4KRU=__webpack_require__("./node_modules/@storybook/blocks/dist/chunk-GWAJ4KRU.mjs"),react=__webpack_require__("./node_modules/react/index.js");function u(){return(u=Object.assign||function(e){for(var r=1;r=0||(o[t]=e[t]);return o}function i(e){var t=(0,react.useRef)(e),n=(0,react.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1)},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]}),[p,g]),C=x[0],E=x[1],H=x[2];return(0,react.useEffect)((function(){return H}),[H]),react.createElement("div",u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))})),g=function(e){return e.filter(Boolean).join(" ")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g(["react-colorful__pointer",r.className]);return react.createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},react.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},x=function(e){return L(C(e))},C=function(e){return"#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?b(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?b(parseInt(e.substring(6,8),16)/255,2):1}},E=function(e,r){return void 0===r&&(r="deg"),Number(e)*(_[r]||1)},H=function(e){var r=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?N({h:E(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},N=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},w=function(e){return K(I(e))},y=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},q=function(e){var r=y(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},k=function(e){var r=y(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},I=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},z=function(e){var r=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?L({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},D=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},K=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=o<1?D(b(255*o)):"";return"#"+D(r)+D(t)+D(n)+a},L=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},S=react.memo((function(r){var t=r.hue,n=r.onChange,o=g(["react-colorful__hue",r.className]);return react.createElement("div",{className:o},react.createElement(m,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:s(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":b(t),"aria-valuemax":"360","aria-valuemin":"0"},react.createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:q({h:t,s:100,v:100,a:1})})))})),T=react.memo((function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:q({h:t.h,s:100,v:100,a:1})};return react.createElement("div",{className:"react-colorful__saturation",style:o},react.createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+b(t.s)+"%, Brightness "+b(t.v)+"%"},react.createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:q(t)})))})),F=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},P=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")},X=function(e,r){return e.toLowerCase()===r.toLowerCase()||F(C(e),C(r))};function Y(e,t,l){var u=i(l),c=(0,react.useState)((function(){return e.toHsva(t)})),s=c[0],f=c[1],v=(0,react.useRef)({color:t,hsva:s});(0,react.useEffect)((function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}}),[t,e]),(0,react.useEffect)((function(){var r;F(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))}),[s,e,u]);var d=(0,react.useCallback)((function(e){f((function(r){return Object.assign({},r,e)}))}),[]);return[s,d]}var R,ColorSpace2,V="undefined"!=typeof window?react.useLayoutEffect:react.useEffect,J=new Map,Q=function(e){V((function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!J.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',J.set(r,t);var n=R||__webpack_require__.nc;n&&t.setAttribute("nonce",n),r.head.appendChild(t)}}),[])},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=(0,react.useRef)(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react.createElement("div",u({},s,{ref:f,className:m}),react.createElement(T,{hsva:d,onChange:h}),react.createElement(S,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},W={defaultColor:"000",toHsva:x,fromHsva:function(e){return w({h:e.h,s:e.s,v:e.v,a:1})},equal:X},ee=function(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+k(Object.assign({},n,{a:0}))+", "+k(Object.assign({},n,{a:1}))+")"},l=g(["react-colorful__alpha",t]),u=b(100*n.a);return react.createElement("div",{className:l},react.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react.createElement(m,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:s(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":u+"%","aria-valuenow":u,"aria-valuemin":"0","aria-valuemax":"100"},react.createElement(p,{className:"react-colorful__alpha-pointer",left:n.a,color:k(n)})))},re=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=(0,react.useRef)(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react.createElement("div",u({},s,{ref:f,className:m}),react.createElement(T,{hsva:d,onChange:h}),react.createElement(S,{hue:d.h,onChange:h}),react.createElement(ee,{hsva:d,onChange:h,className:"react-colorful__last-control"}))},le={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:H,fromHsva:k,equal:P},Ee={defaultColor:"rgba(0, 0, 0, 1)",toHsva:z,fromHsva:function(e){var r=I(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:P},color_convert=__webpack_require__("./node_modules/color-convert/index.js"),color_convert_default=__webpack_require__.n(color_convert),throttle=__webpack_require__("./node_modules/lodash/throttle.js"),throttle_default=__webpack_require__.n(throttle),dist=__webpack_require__("./node_modules/@storybook/theming/dist/index.mjs"),components_dist=__webpack_require__("./node_modules/@storybook/components/dist/index.mjs"),Wrapper=dist.zo.div({position:"relative",maxWidth:250}),PickerTooltip=(0,dist.zo)(components_dist.Rl)({position:"absolute",zIndex:1,top:4,left:4}),TooltipContent=dist.zo.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Note=(0,dist.zo)(components_dist.gu)((({theme:theme})=>({fontFamily:theme.typography.fonts.base}))),Swatches=dist.zo.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=dist.zo.div((({theme:theme,active:active})=>({width:16,height:16,boxShadow:active?`${theme.appBorderColor} 0 0 0 1px inset, ${theme.textMutedColor}50 0 0 0 4px`:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:theme.appBorderRadius}))),Swatch=({value:value,active:active,onClick:onClick,style:style,...props})=>{let backgroundImage=`linear-gradient(${value}, ${value}), url('data:image/svg+xml;charset=utf-8,'), linear-gradient(#fff, #fff)`;return react.createElement(SwatchColor,{...props,active:active,onClick:onClick,style:{...style,backgroundImage:backgroundImage}})},Input=(0,dist.zo)(components_dist.l0.Input)((({theme:theme})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:theme.typography.fonts.base}))),ToggleIcon=(0,dist.zo)(components_dist.PJ)((({theme:theme})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:theme.input.color}))),ColorSpace=((ColorSpace2=ColorSpace||{}).RGB="rgb",ColorSpace2.HSL="hsl",ColorSpace2.HEX="hex",ColorSpace2),COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,RGB_REGEXP=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,HSL_REGEXP=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,HEX_REGEXP=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,SHORTHEX_REGEXP=/^\s*#?([0-9a-f]{3})\s*$/i,ColorPicker={hex:function(r){return react.createElement(U,u({},r,{colorModel:W}))},rgb:function(r){return react.createElement(re,u({},r,{colorModel:Ee}))},hsl:function(r){return react.createElement(re,u({},r,{colorModel:le}))}},fallbackColor={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},stringToArgs=value=>{let match=value?.match(COLOR_REGEXP);if(!match)return[0,0,0,1];let[,x,y,z,a=1]=match;return[x,y,z,a].map(Number)},parseValue=value=>{if(!value)return;let valid=!0;if(RGB_REGEXP.test(value)){let[r,g,b,a]=stringToArgs(value),[h,s,l]=color_convert_default().rgb.hsl([r,g,b])||[0,0,0];return{valid:valid,value:value,keyword:color_convert_default().rgb.keyword([r,g,b]),colorSpace:"rgb",rgb:value,hsl:`hsla(${h}, ${s}%, ${l}%, ${a})`,hex:`#${color_convert_default().rgb.hex([r,g,b]).toLowerCase()}`}}if(HSL_REGEXP.test(value)){let[h,s,l,a]=stringToArgs(value),[r,g,b]=color_convert_default().hsl.rgb([h,s,l])||[0,0,0];return{valid:valid,value:value,keyword:color_convert_default().hsl.keyword([h,s,l]),colorSpace:"hsl",rgb:`rgba(${r}, ${g}, ${b}, ${a})`,hsl:value,hex:`#${color_convert_default().hsl.hex([h,s,l]).toLowerCase()}`}}let plain=value.replace("#",""),rgb=color_convert_default().keyword.rgb(plain)||color_convert_default().hex.rgb(plain),hsl=color_convert_default().rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped=`#${plain}`),mapped.startsWith("#"))valid=HEX_REGEXP.test(mapped);else try{color_convert_default().keyword.hex(mapped)}catch{valid=!1}return{valid:valid,value:mapped,keyword:color_convert_default().rgb.keyword(rgb),colorSpace:"hex",rgb:`rgba(${rgb[0]}, ${rgb[1]}, ${rgb[2]}, 1)`,hsl:`hsla(${hsl[0]}, ${hsl[1]}%, ${hsl[2]}%, 1)`,hex:mapped}},useColorInput=(initialValue,onChange)=>{let[value,setValue]=(0,react.useState)(initialValue||""),[color,setColor]=(0,react.useState)((()=>parseValue(value))),[colorSpace,setColorSpace]=(0,react.useState)(color?.colorSpace||"hex");(0,react.useEffect)((()=>{let nextValue=initialValue||"",nextColor=parseValue(nextValue);setValue(nextValue),setColor(nextColor),setColorSpace(nextColor?.colorSpace||"hex")}),[initialValue]);let realValue=(0,react.useMemo)((()=>((value,color,colorSpace)=>{if(!value||!color?.valid)return fallbackColor[colorSpace];if("hex"!==colorSpace)return color?.[colorSpace]||fallbackColor[colorSpace];if(!color.hex.startsWith("#"))try{return`#${color_convert_default().keyword.hex(color.hex)}`}catch{return fallbackColor.hex}let short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;let[r,g,b]=short[1].split("");return`#${r}${r}${g}${g}${b}${b}`})(value,color,colorSpace).toLowerCase()),[value,color,colorSpace]),updateValue=(0,react.useCallback)((update=>{let parsed=parseValue(update),v=parsed?.value||update||"";setValue(v),""===v&&(setColor(void 0),onChange(void 0)),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value))}),[onChange]),cycleColorSpace=(0,react.useCallback)((()=>{let next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);let update=color?.[COLOR_SPACES[next]]||"";setValue(update),onChange(update)}),[color,colorSpace,onChange]);return{value:value,realValue:realValue,updateValue:updateValue,color:color,colorSpace:colorSpace,cycleColorSpace:cycleColorSpace}},id=value=>value.replace(/\s*/,"").toLowerCase(),ColorControl=({name:name,value:initialValue,onChange:onChange,onFocus:onFocus,onBlur:onBlur,presetColors:presetColors,startOpen:startOpen=!1})=>{let throttledOnChange=(0,react.useCallback)(throttle_default()(onChange,200),[onChange]),{value:value,realValue:realValue,updateValue:updateValue,color:color,colorSpace:colorSpace,cycleColorSpace:cycleColorSpace}=useColorInput(initialValue,throttledOnChange),{presets:presets,addPreset:addPreset}=((presetColors,currentColor,colorSpace)=>{let[selectedColors,setSelectedColors]=(0,react.useState)(currentColor?.valid?[currentColor]:[]);(0,react.useEffect)((()=>{void 0===currentColor&&setSelectedColors([])}),[currentColor]);let presets=(0,react.useMemo)((()=>(presetColors||[]).map((preset=>"string"==typeof preset?parseValue(preset):preset.title?{...parseValue(preset.color),keyword:preset.title}:parseValue(preset.color))).concat(selectedColors).filter(Boolean).slice(-27)),[presetColors,selectedColors]),addPreset=(0,react.useCallback)((color=>{color?.valid&&(presets.some((preset=>id(preset[colorSpace])===id(color[colorSpace])))||setSelectedColors((arr=>arr.concat(color))))}),[colorSpace,presets]);return{presets:presets,addPreset:addPreset}})(presetColors,color,colorSpace),Picker=ColorPicker[colorSpace];return react.createElement(Wrapper,null,react.createElement(PickerTooltip,{startOpen:startOpen,closeOnOutsideClick:!0,onVisibleChange:()=>addPreset(color),tooltip:react.createElement(TooltipContent,null,react.createElement(Picker,{color:"transparent"===realValue?"#000000":realValue,onChange:updateValue,onFocus:onFocus,onBlur:onBlur}),presets.length>0&&react.createElement(Swatches,null,presets.map(((preset,index)=>react.createElement(components_dist.Rl,{key:`${preset.value}-${index}`,hasChrome:!1,tooltip:react.createElement(Note,{note:preset.keyword||preset.value})},react.createElement(Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:()=>updateValue(preset.value)}))))))},react.createElement(Swatch,{value:realValue,style:{margin:4}})),react.createElement(Input,{id:(0,chunk_GWAJ4KRU.d)(name),value:value,onChange:e=>updateValue(e.target.value),onFocus:e=>e.target.select(),placeholder:"Choose color..."}),value?react.createElement(ToggleIcon,{icon:"markup",onClick:cycleColorSpace}):null)},Color_default=ColorControl},"./node_modules/color-convert/conversions.js":function(module,__unused_webpack_exports,__webpack_require__){const cssKeywords=__webpack_require__("./node_modules/color-convert/node_modules/color-name/index.js"),reverseKeywords={};for(const key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;const 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"]}};module.exports=convert;for(const 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);const{channels:channels,labels: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){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min;let h,s;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(60*h,360),h<0&&(h+=360);const 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;const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return(v-c)/6/diff+.5};return 0===diff?(h=0,s=0):(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v]},convert.rgb.hwb=function(rgb){const r=rgb[0],g=rgb[1];let b=rgb[2];const h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,100*w,100*b]},convert.rgb.cmyk=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,k=Math.min(1-r,1-g,1-b);return[100*((1-r-k)/(1-k)||0),100*((1-g-k)/(1-k)||0),100*((1-b-k)/(1-k)||0),100*k]},convert.rgb.keyword=function(rgb){const reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestKeyword,currentClosestDistance=1/0;for(const keyword of Object.keys(cssKeywords)){const value=cssKeywords[keyword],distance=(y=value,((x=rgb)[0]-y[0])**2+(x[1]-y[1])**2+(x[2]-y[2])**2);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g=g>.04045?((g+.055)/1.055)**2.4:g/12.92,b=b>.04045?((b+.055)/1.055)**2.4:b/12.92;return[100*(.4124*r+.3576*g+.1805*b),100*(.2126*r+.7152*g+.0722*b),100*(.0193*r+.1192*g+.9505*b)]},convert.rgb.lab=function(rgb){const xyz=convert.rgb.xyz(rgb);let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.hsl.rgb=function(hsl){const h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;let t2,t3,val;if(0===s)return val=255*l,[val,val,val];t2=l<.5?l*(1+s):l+s-l*s;const 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){const h=hsl[0];let s=hsl[1]/100,l=hsl[2]/100,smin=s;const lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;return[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert.hsv.rgb=function(hsv){const h=hsv[0]/60,s=hsv[1]/100;let v=hsv[2]/100;const hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return[v,t,p];case 1:return[q,v,p];case 2:return[p,v,t];case 3:return[p,q,v];case 4:return[t,p,v];case 5:return[v,p,q]}},convert.hsv.hsl=function(hsv){const h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01);let sl,l;l=(2-s)*v;const 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){const h=hwb[0]/360;let wh=hwb[1]/100,bl=hwb[2]/100;const ratio=wh+bl;let f;ratio>1&&(wh/=ratio,bl/=ratio);const i=Math.floor(6*h),v=1-bl;f=6*h-i,0!=(1&i)&&(f=1-f);const n=wh+f*(v-wh);let r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n}return[255*r,255*g,255*b]},convert.cmyk.rgb=function(cmyk){const c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m*(1-k)+k)),255*(1-Math.min(1,y*(1-k)+k))]},convert.xyz.rgb=function(xyz){const x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100;let r,g,b;return r=3.2406*x+-1.5372*y+-.4986*z,g=-.9689*x+1.8758*y+.0415*z,b=.0557*x+-.204*y+1.057*z,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,g=g>.0031308?1.055*g**(1/2.4)-.055:12.92*g,b=b>.0031308?1.055*b**(1/2.4)-.055:12.92*b,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[255*r,255*g,255*b]},convert.xyz.lab=function(xyz){let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.lab.xyz=function(lab){let x,y,z;y=(lab[0]+16)/116,x=lab[1]/500+y,z=y-lab[2]/200;const y2=y**3,x2=x**3,z2=z**3;return y=y2>.008856?y2:(y-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,y*=100,z*=108.883,[x,y,z]},convert.lab.lch=function(lab){const l=lab[0],a=lab[1],b=lab[2];let h;h=360*Math.atan2(b,a)/2/Math.PI,h<0&&(h+=360);return[l,Math.sqrt(a*a+b*b),h]},convert.lch.lab=function(lch){const 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){const[r,g,b]=args;let value=null===saturation?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),0===value)return 30;let ansi=30+(Math.round(b/255)<<2|Math.round(g/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){const r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/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];const 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){const c=10*(args-232)+8;return[c,c,c]}let rem;args-=16;return[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert.rgb.hex=function(args){const string=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.hex.rgb=function(args){const 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(""));const integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert.rgb.hcg=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min;let grayscale,hue;return grayscale=chroma<1?min/(1-chroma):0,hue=chroma<=0?0:max===r?(g-b)/chroma%6:max===g?2+(b-r)/chroma:4+(r-g)/chroma,hue/=6,hue%=1,[360*hue,100*chroma,100*grayscale]},convert.hsl.hcg=function(hsl){const s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l);let f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert.hsv.hcg=function(hsv){const s=hsv[1]/100,v=hsv[2]/100,c=s*v;let f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],100*c,100*f]},convert.hcg.rgb=function(hcg){const h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(0===c)return[255*g,255*g,255*g];const pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v;let mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,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]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert.hcg.hsv=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);let f=0;return v>0&&(f=c/v),[hcg[0],100*f,100*v]},convert.hcg.hsl=function(hcg){const c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c;let 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){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);return[hcg[0],100*(v-c),100*(1-v)]},convert.hwb.hcg=function(hwb){const w=hwb[1]/100,v=1-hwb[2]/100,c=v-w;let g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],100*c,100*g]},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){const val=255&Math.round(gray[0]/100*255),string=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]}},"./node_modules/color-convert/index.js":function(module,__unused_webpack_exports,__webpack_require__){const conversions=__webpack_require__("./node_modules/color-convert/conversions.js"),route=__webpack_require__("./node_modules/color-convert/route.js"),convert={};Object.keys(conversions).forEach((fromModel=>{convert[fromModel]={},Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});const routes=route(fromModel);Object.keys(routes).forEach((toModel=>{const fn=routes[toModel];convert[fromModel][toModel]=function wrapRounded(fn){const wrappedFn=function(...args){const arg0=args[0];if(null==arg0)return arg0;arg0.length>1&&(args=arg0);const result=fn(args);if("object"==typeof result)for(let len=result.length,i=0;i1&&(args=arg0),fn(args))};return"conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}(fn)}))})),module.exports=convert},"./node_modules/color-convert/node_modules/color-name/index.js":function(module){"use strict";module.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]}},"./node_modules/color-convert/route.js":function(module,__unused_webpack_exports,__webpack_require__){const conversions=__webpack_require__("./node_modules/color-convert/conversions.js");function deriveBFS(fromModel){const graph=function buildGraph(){const graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function remainingWait(time){var timeWaiting=wait-(time-lastCallTime);return maxing?nativeMin(timeWaiting,maxWait-(time-lastInvokeTime)):timeWaiting}(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=toNumber(wait)||0,isObject(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function flush(){return void 0===timerId?result:trailingEdge(now())},debounced}},"./node_modules/lodash/now.js":function(module,__unused_webpack_exports,__webpack_require__){var root=__webpack_require__("./node_modules/lodash/_root.js");module.exports=function(){return root.Date.now()}},"./node_modules/lodash/throttle.js":function(module,__unused_webpack_exports,__webpack_require__){var debounce=__webpack_require__("./node_modules/lodash/debounce.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function throttle(func,wait,options){var leading=!0,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");return isObject(options)&&(leading="leading"in options?!!options.leading:leading,trailing="trailing"in options?!!options.trailing:trailing),debounce(func,wait,{leading:leading,maxWait:wait,trailing:trailing})}},"./node_modules/lodash/toNumber.js":function(module,__unused_webpack_exports,__webpack_require__){var baseTrim=__webpack_require__("./node_modules/lodash/_baseTrim.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;module.exports=function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NaN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=baseTrim(value);var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NaN:+value}}}]); \ No newline at end of file diff --git a/238.88a948f5.iframe.bundle.js b/238.88a948f5.iframe.bundle.js new file mode 100644 index 00000000..1d7a2670 --- /dev/null +++ b/238.88a948f5.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcod_design_system=self.webpackChunkcod_design_system||[]).push([[238],{"./node_modules/@storybook/components/dist/WithTooltip-YBG737T3.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{WithToolTipState:function(){return _chunk_OCF3KO2R_mjs__WEBPACK_IMPORTED_MODULE_0__.WA},WithTooltip:function(){return _chunk_OCF3KO2R_mjs__WEBPACK_IMPORTED_MODULE_0__.WA},WithTooltipPure:function(){return _chunk_OCF3KO2R_mjs__WEBPACK_IMPORTED_MODULE_0__.DG}});var _chunk_OCF3KO2R_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/components/dist/chunk-OCF3KO2R.mjs")}}]); \ No newline at end of file diff --git a/3241.b56d6c44.iframe.bundle.js b/3241.b56d6c44.iframe.bundle.js new file mode 100644 index 00000000..73826a9a --- /dev/null +++ b/3241.b56d6c44.iframe.bundle.js @@ -0,0 +1,134 @@ +/*! For license information please see 3241.b56d6c44.iframe.bundle.js.LICENSE.txt */ +(self.webpackChunkcod_design_system=self.webpackChunkcod_design_system||[]).push([[3241],{"./node_modules/@storybook/blocks/dist/chunk-GWAJ4KRU.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{O:function(){return getControlSetterButtonId},d:function(){return getControlId}});var getControlId=value=>`control-${value.replace(/\s+/g,"-")}`,getControlSetterButtonId=value=>`set-${value.replace(/\s+/g,"-")}`},"./node_modules/@storybook/blocks/dist/index.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Ct:function(){return AnchorMdx},bD:function(){return CodeOrSourceMdx},WI:function(){return Docs},lO:function(){return HeadersMdx},h_:function(){return Meta}});var dist_namespaceObject={};__webpack_require__.r(dist_namespaceObject),__webpack_require__.d(dist_namespaceObject,{Accessibility:function(){return Accessibility},AccessibilityAlt:function(){return AccessibilityAlt},Add:function(){return Add},Admin:function(){return Admin},Alert:function(){return Alert},AlertAlt:function(){return AlertAlt},Apple:function(){return Apple},ArrowDown:function(){return ArrowDown},ArrowLeft:function(){return ArrowLeft},ArrowRight:function(){return ArrowRight},ArrowSolidDown:function(){return ArrowSolidDown},ArrowSolidLeft:function(){return ArrowSolidLeft},ArrowSolidRight:function(){return ArrowSolidRight},ArrowSolidUp:function(){return ArrowSolidUp},ArrowUp:function(){return ArrowUp},AzureDevOps:function(){return AzureDevOps},Back:function(){return Back},Basket:function(){return Basket},BatchAccept:function(){return BatchAccept},BatchDeny:function(){return BatchDeny},Beaker:function(){return Beaker},Bell:function(){return Bell},Bitbucket:function(){return Bitbucket},Bold:function(){return Bold},Book:function(){return Book},Bookmark:function(){return Bookmark},BookmarkHollow:function(){return BookmarkHollow},BottomBar:function(){return BottomBar},BottomBarToggle:function(){return BottomBarToggle},Box:function(){return Box},Branch:function(){return Branch},Browser:function(){return Browser},Button:function(){return Button},CPU:function(){return CPU},Calendar:function(){return Calendar},Camera:function(){return Camera},Category:function(){return Category},Certificate:function(){return Certificate},Changed:function(){return Changed},Chat:function(){return Chat},Check:function(){return Check},ChevronDown:function(){return ChevronDown},ChevronLeft:function(){return ChevronLeft},ChevronRight:function(){return ChevronRight},ChevronUp:function(){return ChevronUp},Chromatic:function(){return Chromatic},Chrome:function(){return Chrome},Circle:function(){return Circle},CircleHollow:function(){return CircleHollow},Clear:function(){return Clear},Close:function(){return Close},CloseAlt:function(){return CloseAlt},Cloud:function(){return Cloud},CloudHollow:function(){return CloudHollow},Cog:function(){return Cog},Collapse:function(){return Collapse},Command:function(){return Command},Comment:function(){return Comment},CommentAdd:function(){return CommentAdd},Comments:function(){return Comments},Commit:function(){return Commit},Compass:function(){return Compass},Component:function(){return Component},ComponentDriven:function(){return ComponentDriven},Contrast:function(){return Contrast},Controls:function(){return Controls},Copy:function(){return Copy},Credit:function(){return Credit},Cross:function(){return Cross},Dashboard:function(){return Dashboard},Database:function(){return Database},Delete:function(){return Delete},Diamond:function(){return Diamond},Direction:function(){return Direction},Discord:function(){return Discord},DocChart:function(){return DocChart},DocList:function(){return DocList},Document:function(){return Document},Download:function(){return Download},Drag:function(){return Drag},Edit:function(){return Edit},Ellipsis:function(){return Ellipsis},Email:function(){return Email},Expand:function(){return Expand},ExpandAlt:function(){return ExpandAlt},Eye:function(){return Eye},EyeClose:function(){return EyeClose},FaceHappy:function(){return FaceHappy},FaceNeutral:function(){return FaceNeutral},FaceSad:function(){return FaceSad},Facebook:function(){return Facebook},Failed:function(){return Failed},FastForward:function(){return FastForward},Figma:function(){return Figma},Filter:function(){return Filter},Flag:function(){return Flag},Folder:function(){return Folder},Form:function(){return Form},GDrive:function(){return GDrive},Github:function(){return Github},Gitlab:function(){return Gitlab},Globe:function(){return Globe},Google:function(){return Google},GraphBar:function(){return GraphBar},GraphLine:function(){return GraphLine},Graphql:function(){return Graphql},Grid:function(){return Grid},GridAlt:function(){return GridAlt},Grow:function(){return Grow},Heart:function(){return Heart},HeartHollow:function(){return HeartHollow},Home:function(){return Home},Hourglass:function(){return Hourglass},Info:function(){return Info},Italic:function(){return Italic},JumpTo:function(){return JumpTo},Key:function(){return Key},Lightning:function(){return Lightning},LightningOff:function(){return LightningOff},Link:function(){return Link},LinkBroken:function(){return LinkBroken},Linkedin:function(){return Linkedin},Linux:function(){return Linux},ListOrdered:function(){return ListOrdered},ListUnordered:function(){return ListUnordered},Location:function(){return Location},Lock:function(){return Lock},Markdown:function(){return Markdown},Markup:function(){return Markup},Medium:function(){return Medium},Memory:function(){return Memory},Menu:function(){return Menu},MenuReverse:function(){return MenuReverse},Merge:function(){return Merge},Mirror:function(){return Mirror},Mobile:function(){return Mobile},Moon:function(){return Moon},Nut:function(){return Nut},Outbox:function(){return Outbox},Outline:function(){return Outline},PaintBrush:function(){return PaintBrush},PaperClip:function(){return PaperClip},Paragraph:function(){return Paragraph},Passed:function(){return Passed},Phone:function(){return Phone},Photo:function(){return Photo},PhotoDrag:function(){return PhotoDrag},Pin:function(){return Pin},PinAlt:function(){return PinAlt},Play:function(){return Play},PlayBack:function(){return PlayBack},PlayNext:function(){return PlayNext},Plus:function(){return Plus},PointerDefault:function(){return PointerDefault},PointerHand:function(){return PointerHand},Power:function(){return Power},Print:function(){return Print},Proceed:function(){return Proceed},Profile:function(){return Profile},PullRequest:function(){return PullRequest},Question:function(){return Question},RSS:function(){return RSS},Redirect:function(){return Redirect},Redux:function(){return Redux},Refresh:function(){return Refresh},Reply:function(){return Reply},Repo:function(){return Repo},RequestChange:function(){return RequestChange},Rewind:function(){return Rewind},Ruler:function(){return Ruler},Search:function(){return Search},Share:function(){return Share},ShareAlt:function(){return ShareAlt},Shield:function(){return Shield},SideBySide:function(){return SideBySide},Sidebar:function(){return Sidebar},SidebarAlt:function(){return SidebarAlt},SidebarAltToggle:function(){return SidebarAltToggle},SidebarToggle:function(){return SidebarToggle},Speaker:function(){return Speaker},Stacked:function(){return Stacked},Star:function(){return Star},StarHollow:function(){return StarHollow},Sticker:function(){return Sticker},Stop:function(){return Stop},StopAlt:function(){return StopAlt},Storybook:function(){return Storybook},Structure:function(){return Structure},Subtract:function(){return Subtract},Sun:function(){return Sun},Support:function(){return Support},SwitchAlt:function(){return SwitchAlt},Sync:function(){return Sync},Tablet:function(){return Tablet},ThumbsUp:function(){return ThumbsUp},Time:function(){return Time},Timer:function(){return Timer},Transfer:function(){return Transfer},Trash:function(){return Trash},Twitter:function(){return Twitter},Type:function(){return Type},Ubuntu:function(){return Ubuntu},Undo:function(){return Undo},Unfold:function(){return Unfold},Unlock:function(){return Unlock},Unpin:function(){return Unpin},Upload:function(){return Upload},User:function(){return User},UserAdd:function(){return UserAdd},UserAlt:function(){return UserAlt},Users:function(){return Users},VSCode:function(){return VSCode},Verified:function(){return Verified},Video:function(){return Video},Wand:function(){return Wand},Watch:function(){return Watch},Windows:function(){return Windows},Wrench:function(){return Wrench},Youtube:function(){return Youtube},Zoom:function(){return Zoom},ZoomOut:function(){return ZoomOut},ZoomReset:function(){return ZoomReset},iconList:function(){return iconList}});var chunk_GWAJ4KRU=__webpack_require__("./node_modules/@storybook/blocks/dist/chunk-GWAJ4KRU.mjs"),dist=__webpack_require__("./node_modules/@storybook/theming/dist/index.mjs"),chunk_6P7RB4HF=__webpack_require__("./node_modules/@storybook/theming/dist/chunk-6P7RB4HF.mjs"),react=__webpack_require__("./node_modules/react/index.js"),react_namespaceObject=__webpack_require__.t(react,2),components_dist=__webpack_require__("./node_modules/@storybook/components/dist/index.mjs"),chunk_A5GCPR4E=__webpack_require__("./node_modules/@storybook/components/dist/chunk-A5GCPR4E.mjs");function extends_extends(){return extends_extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2;return convert(red+lightnessModification,green+lightnessModification,blue+lightnessModification)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function parseToRgb(color){if("string"!=typeof color)throw new PolishedError(3);var normalizedColor=function nameToHex(color){if("string"!=typeof color)return color;var normalizedColorName=color.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color}(color);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha:alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor.substring(0,50));if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])>1?parseFloat(""+rgbaMatched[4])/100:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var rgbColorString="rgb("+hslToRgb(parseInt(""+hslMatched[1],10),parseInt(""+hslMatched[2],10)/100,parseInt(""+hslMatched[3],10)/100)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor.substring(0,50));if(hslaMatched){var _rgbColorString="rgb("+hslToRgb(parseInt(""+hslaMatched[1],10),parseInt(""+hslaMatched[2],10)/100,parseInt(""+hslaMatched[3],10)/100)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])>1?parseFloat(""+hslaMatched[4])/100:parseFloat(""+hslaMatched[4])}}throw new PolishedError(5)}function parseToHsl(color){return function rgbToHsl(color){var hue,red=color.red/255,green=color.green/255,blue=color.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return void 0!==color.alpha?{hue:0,saturation:0,lightness:lightness,alpha:color.alpha}:{hue:0,saturation:0,lightness:lightness};var delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green=1?hslToHex(value,saturation,lightness):"rgba("+hslToRgb(value,saturation,lightness)+","+alpha+")";if("object"==typeof value&&void 0===saturation&&void 0===lightness&&void 0===alpha)return value.alpha>=1?hslToHex(value.hue,value.saturation,value.lightness):"rgba("+hslToRgb(value.hue,value.saturation,value.lightness)+","+value.alpha+")";throw new PolishedError(2)}function rgb(value,green,blue){if("number"==typeof value&&"number"==typeof green&&"number"==typeof blue)return reduceHexValue$1("#"+numberToHex(value)+numberToHex(green)+numberToHex(blue));if("object"==typeof value&&void 0===green&&void 0===blue)return reduceHexValue$1("#"+numberToHex(value.red)+numberToHex(value.green)+numberToHex(value.blue));throw new PolishedError(6)}function rgba(firstValue,secondValue,thirdValue,fourthValue){if("string"==typeof firstValue&&"number"==typeof secondValue){var rgbValue=parseToRgb(firstValue);return"rgba("+rgbValue.red+","+rgbValue.green+","+rgbValue.blue+","+secondValue+")"}if("number"==typeof firstValue&&"number"==typeof secondValue&&"number"==typeof thirdValue&&"number"==typeof fourthValue)return fourthValue>=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if("object"==typeof firstValue&&void 0===secondValue&&void 0===thirdValue&&void 0===fourthValue)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")";throw new PolishedError(7)}var isRgb=function isRgb(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&("number"!=typeof color.alpha||void 0===color.alpha)},isRgba=function isRgba(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&"number"==typeof color.alpha},isHsl=function isHsl(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&("number"!=typeof color.alpha||void 0===color.alpha)},isHsla=function isHsla(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&"number"==typeof color.alpha};function toColorString(color){if("object"!=typeof color)throw new PolishedError(8);if(isRgba(color))return rgba(color);if(isRgb(color))return rgb(color);if(isHsla(color))return hsla(color);if(isHsl(color))return hsl(color);throw new PolishedError(8)}function curried(f,length,acc){return function fn(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f.apply(this,combined):curried(f,length,combined)}}function curry(f){return curried(f,f.length,[])}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}function darken(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(extends_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}var curriedDarken$1=curry(darken);function lighten(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(extends_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}var curriedLighten$1=curry(lighten);function opacify(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color);return rgba(extends_extends({},parsedColor,{alpha:guard(0,1,(100*("number"==typeof parsedColor.alpha?parsedColor.alpha:1)+100*parseFloat(amount))/100)}))}var curriedOpacify$1=curry(opacify);function transparentize(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color);return rgba(extends_extends({},parsedColor,{alpha:guard(0,1,+(100*("number"==typeof parsedColor.alpha?parsedColor.alpha:1)-100*parseFloat(amount)).toFixed(2)/100)}))}var curriedTransparentize$1=curry(transparentize);var global_dist=__webpack_require__("./node_modules/@storybook/global/dist/index.mjs"),iconList=[{name:"Images",icons:["Photo","Component","Grid","Outline","PhotoDrag","GridAlt","Search","Zoom","ZoomOut","ZoomReset","Eye","EyeClose","Lightning","LightningOff","Contrast","SwitchAlt","Mirror","Grow","PaintBrush","Ruler","Stop","Camera","Video","Speaker","Play","PlayBack","PlayNext","Rewind","FastForward","StopAlt","SideBySide","Stacked","Sun","Moon"]},{name:"Documents",icons:["Book","Document","Copy","Category","Folder","Print","GraphLine","Calendar","GraphBar","Menu","MenuReverse","Filter","DocChart","DocList","Drag"]},{name:"Editing",icons:["Markup","Bold","Italic","PaperClip","ListOrdered","ListUnordered","Paragraph","Markdown"]},{name:"Git",icons:["Repo","Commit","Branch","PullRequest","Merge"]},{name:"OS",icons:["Apple","Linux","Ubuntu","Windows","Chrome"]},{name:"Logos",icons:["Storybook","AzureDevOps","Bitbucket","Chromatic","ComponentDriven","Discord","Facebook","Figma","GDrive","Github","Gitlab","Google","Graphql","Medium","Redux","Twitter","Youtube","VSCode","Linkedin"]},{name:"Devices",icons:["Browser","Tablet","Mobile","Watch","Sidebar","SidebarAlt","SidebarAltToggle","SidebarToggle","BottomBar","BottomBarToggle","CPU","Database","Memory","Structure","Box","Power"]},{name:"CRUD",icons:["Edit","Cog","Nut","Wrench","Ellipsis","Wand","Check","Form","BatchDeny","BatchAccept","Controls","Plus","CloseAlt","Cross","Trash","PinAlt","Unpin","Add","Subtract","Close","Delete","Passed","Changed","Failed","Clear","Comment","CommentAdd","RequestChange","Comments","Chat","Lock","Unlock","Key","Outbox","Credit","Button","Type","PointerDefault","PointerHand","Command"]},{name:"Communicate",icons:["Info","Question","Support","Alert","AlertAlt","Email","Phone","Link","LinkBroken","Bell","RSS","ShareAlt","Share","JumpTo","CircleHollow","Circle","BookmarkHollow","Bookmark","Diamond","HeartHollow","Heart","StarHollow","Star","Certificate","Verified","ThumbsUp","Shield","Basket","Beaker","Hourglass","Flag","CloudHollow","Cloud","Sticker"]},{name:"Wayfinding",icons:["ChevronUp","ChevronDown","ChevronLeft","ChevronRight","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","ArrowSolidUp","ArrowSolidDown","ArrowSolidLeft","ArrowSolidRight","ExpandAlt","Collapse","Expand","Unfold","Transfer","Redirect","Undo","Reply","Sync","Upload","Download","Back","Proceed","Refresh","Globe","Compass","Location","Pin","Time","Dashboard","Timer","Home","Admin","Direction"]},{name:"People",icons:["User","UserAlt","UserAdd","Users","Profile","FaceHappy","FaceNeutral","FaceSad","Accessibility","AccessibilityAlt"]}],Fallback=({size:size})=>react.createElement("div",{style:{width:size,height:size}});function withSuspense(WrappedComponent){return function ComponentWithSuspense(props){return react.createElement(react.Suspense,{fallback:react.createElement(Fallback,{...props})},react.createElement(WrappedComponent,{...props}))}}var Photo=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Photo})))),Component=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Component})))),Grid=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Grid})))),Outline=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Outline})))),PhotoDrag=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).PhotoDrag})))),GridAlt=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).GridAlt})))),Search=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Search})))),Zoom=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Zoom})))),ZoomOut=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).ZoomOut})))),ZoomReset=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).ZoomReset})))),Eye=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Eye})))),EyeClose=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).EyeClose})))),Lightning=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Lightning})))),LightningOff=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).LightningOff})))),Contrast=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Contrast})))),SwitchAlt=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).SwitchAlt})))),Mirror=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Mirror})))),Grow=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Grow})))),PaintBrush=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).PaintBrush})))),Ruler=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Ruler})))),Stop=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Stop})))),Camera=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Camera})))),Video=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Video})))),Speaker=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Speaker})))),Play=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Play})))),PlayBack=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).PlayBack})))),PlayNext=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).PlayNext})))),Rewind=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Rewind})))),FastForward=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).FastForward})))),StopAlt=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).StopAlt})))),SideBySide=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).SideBySide})))),Stacked=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Stacked})))),Sun=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Sun})))),Moon=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5699).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Images-S2WTXNGG.mjs"))).Moon})))),Book=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).Book})))),Document=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).Document})))),Copy=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).Copy})))),Category=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).Category})))),Folder=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).Folder})))),Print=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).Print})))),GraphLine=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).GraphLine})))),Calendar=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).Calendar})))),GraphBar=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).GraphBar})))),Menu=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).Menu})))),MenuReverse=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).MenuReverse})))),Filter=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).Filter})))),DocChart=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).DocChart})))),DocList=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).DocList})))),Drag=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(8693).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Documents-SGWAY3KW.mjs"))).Drag})))),Markup=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(9213).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Editing-7QFB6ZMG.mjs"))).Markup})))),Bold=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(9213).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Editing-7QFB6ZMG.mjs"))).Bold})))),Italic=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(9213).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Editing-7QFB6ZMG.mjs"))).Italic})))),PaperClip=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(9213).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Editing-7QFB6ZMG.mjs"))).PaperClip})))),ListOrdered=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(9213).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Editing-7QFB6ZMG.mjs"))).ListOrdered})))),ListUnordered=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(9213).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Editing-7QFB6ZMG.mjs"))).ListUnordered})))),Paragraph=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(9213).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Editing-7QFB6ZMG.mjs"))).Paragraph})))),Markdown=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(9213).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Editing-7QFB6ZMG.mjs"))).Markdown})))),Repo=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6983).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Git-DZ2D5ZUL.mjs"))).Repo})))),Commit=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6983).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Git-DZ2D5ZUL.mjs"))).Commit})))),Branch=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6983).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Git-DZ2D5ZUL.mjs"))).Branch})))),PullRequest=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6983).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Git-DZ2D5ZUL.mjs"))).PullRequest})))),Merge=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6983).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Git-DZ2D5ZUL.mjs"))).Merge})))),Apple=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(7355).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/OS-YZ2Y4VYS.mjs"))).Apple})))),Linux=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(7355).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/OS-YZ2Y4VYS.mjs"))).Linux})))),Ubuntu=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(7355).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/OS-YZ2Y4VYS.mjs"))).Ubuntu})))),Windows=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(7355).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/OS-YZ2Y4VYS.mjs"))).Windows})))),Chrome=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(7355).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/OS-YZ2Y4VYS.mjs"))).Chrome})))),Storybook=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Storybook})))),AzureDevOps=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).AzureDevOps})))),Bitbucket=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Bitbucket})))),Chromatic=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Chromatic})))),ComponentDriven=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).ComponentDriven})))),Discord=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Discord})))),Facebook=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Facebook})))),Figma=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Figma})))),GDrive=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).GDrive})))),Github=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Github})))),Gitlab=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Gitlab})))),Google=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Google})))),Graphql=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Graphql})))),Medium=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Medium})))),Redux=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Redux})))),Twitter=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Twitter})))),Youtube=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Youtube})))),VSCode=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).VSCode})))),Linkedin=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(3622).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Logos-SJTNNI74.mjs"))).Linkedin})))),Browser=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).Browser})))),Tablet=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).Tablet})))),Mobile=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).Mobile})))),Watch=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).Watch})))),Sidebar=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).Sidebar})))),SidebarAlt=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).SidebarAlt})))),SidebarAltToggle=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).SidebarAltToggle})))),SidebarToggle=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).SidebarToggle})))),BottomBar=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).BottomBar})))),BottomBarToggle=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).BottomBarToggle})))),CPU=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).CPU})))),Database=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).Database})))),Memory=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).Memory})))),Structure=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).Structure})))),Box=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).Box})))),Power=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(1613).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs"))).Power})))),Edit=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Edit})))),Cog=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Cog})))),Nut=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Nut})))),Wrench=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Wrench})))),Ellipsis=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Ellipsis})))),Wand=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Wand})))),Check=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Check})))),Form=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Form})))),BatchDeny=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).BatchDeny})))),BatchAccept=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).BatchAccept})))),Controls=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Controls})))),Plus=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Plus})))),CloseAlt=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).CloseAlt})))),Cross=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Cross})))),Trash=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Trash})))),PinAlt=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).PinAlt})))),Unpin=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Unpin})))),Add=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Add})))),Subtract=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Subtract})))),Close=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Close})))),Delete=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Delete})))),Passed=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Passed})))),Changed=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Changed})))),Failed=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Failed})))),Clear=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Clear})))),Comment=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Comment})))),CommentAdd=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).CommentAdd})))),RequestChange=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).RequestChange})))),Comments=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Comments})))),Chat=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Chat})))),Lock=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Lock})))),Unlock=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Unlock})))),Key=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Key})))),Outbox=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Outbox})))),Credit=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Credit})))),Button=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Button})))),Type=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Type})))),PointerDefault=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).PointerDefault})))),PointerHand=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).PointerHand})))),Command=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6615).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/CRUD-I5EZL2FS.mjs"))).Command})))),Info=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Info})))),Question=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Question})))),Support=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Support})))),Alert=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Alert})))),AlertAlt=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).AlertAlt})))),Email=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Email})))),Phone=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Phone})))),Link=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Link})))),LinkBroken=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).LinkBroken})))),Bell=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Bell})))),RSS=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).RSS})))),ShareAlt=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).ShareAlt})))),Share=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Share})))),JumpTo=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).JumpTo})))),CircleHollow=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).CircleHollow})))),Circle=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Circle})))),BookmarkHollow=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).BookmarkHollow})))),Bookmark=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Bookmark})))),Diamond=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Diamond})))),HeartHollow=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).HeartHollow})))),Heart=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Heart})))),StarHollow=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).StarHollow})))),Star=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Star})))),Certificate=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Certificate})))),Verified=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Verified})))),ThumbsUp=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).ThumbsUp})))),Shield=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Shield})))),Basket=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Basket})))),Beaker=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Beaker})))),Hourglass=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Hourglass})))),Flag=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Flag})))),CloudHollow=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).CloudHollow})))),Cloud=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Cloud})))),Sticker=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(6966).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Communicate-7JXCND2Z.mjs"))).Sticker})))),ChevronUp=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).ChevronUp})))),ChevronDown=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).ChevronDown})))),ChevronLeft=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).ChevronLeft})))),ChevronRight=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).ChevronRight})))),ArrowUp=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).ArrowUp})))),ArrowDown=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).ArrowDown})))),ArrowLeft=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).ArrowLeft})))),ArrowRight=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).ArrowRight})))),ArrowSolidUp=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).ArrowSolidUp})))),ArrowSolidDown=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).ArrowSolidDown})))),ArrowSolidLeft=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).ArrowSolidLeft})))),ArrowSolidRight=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).ArrowSolidRight})))),ExpandAlt=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).ExpandAlt})))),Collapse=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Collapse})))),Expand=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Expand})))),Unfold=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Unfold})))),Transfer=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Transfer})))),Redirect=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Redirect})))),Undo=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Undo})))),Reply=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Reply})))),Sync=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Sync})))),Upload=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Upload})))),Download=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Download})))),Back=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Back})))),Proceed=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Proceed})))),Refresh=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Refresh})))),Globe=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Globe})))),Compass=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Compass})))),Location=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Location})))),Pin=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Pin})))),Time=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Time})))),Dashboard=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Dashboard})))),Timer=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Timer})))),Home=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Home})))),Admin=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Admin})))),Direction=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(652).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/Wayfinding-BB4H7CHP.mjs"))).Direction})))),User=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5434).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/People-OD4EV7WZ.mjs"))).User})))),UserAlt=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5434).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/People-OD4EV7WZ.mjs"))).UserAlt})))),UserAdd=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5434).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/People-OD4EV7WZ.mjs"))).UserAdd})))),Users=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5434).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/People-OD4EV7WZ.mjs"))).Users})))),Profile=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5434).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/People-OD4EV7WZ.mjs"))).Profile})))),FaceHappy=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5434).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/People-OD4EV7WZ.mjs"))).FaceHappy})))),FaceNeutral=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5434).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/People-OD4EV7WZ.mjs"))).FaceNeutral})))),FaceSad=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5434).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/People-OD4EV7WZ.mjs"))).FaceSad})))),Accessibility=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5434).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/People-OD4EV7WZ.mjs"))).Accessibility})))),AccessibilityAlt=withSuspense((0,react.lazy)((async()=>({default:(await __webpack_require__.e(5434).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/icons/dist/People-OD4EV7WZ.mjs"))).AccessibilityAlt})))),chunk_4ZEOWDHL=__webpack_require__("./node_modules/@storybook/components/dist/chunk-4ZEOWDHL.mjs");function esm_extends_extends(){return esm_extends_extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{const scopeContexts=defaultContexts.map((defaultContext=>(0,react.createContext)(defaultContext)));return function useScope(scope){const contexts=(null==scope?void 0:scope[scopeName])||scopeContexts;return(0,react.useMemo)((()=>({[`__scope${scopeName}`]:{...scope,[scopeName]:contexts}})),[scope,contexts])}};return createScope.scopeName=scopeName,[function $c512c27ab02ef895$export$fd42f52fd3ae1109(rootComponentName,defaultContext){const BaseContext=(0,react.createContext)(defaultContext),index=defaultContexts.length;function Provider(props){const{scope:scope,children:children,...context}=props,Context=(null==scope?void 0:scope[scopeName][index])||BaseContext,value=(0,react.useMemo)((()=>context),Object.values(context));return(0,react.createElement)(Context.Provider,{value:value},children)}return defaultContexts=[...defaultContexts,defaultContext],Provider.displayName=rootComponentName+"Provider",[Provider,function useContext(consumerName,scope){const Context=(null==scope?void 0:scope[scopeName][index])||BaseContext,context=(0,react.useContext)(Context);if(context)return context;if(void 0!==defaultContext)return defaultContext;throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``)}]},$c512c27ab02ef895$var$composeContextScopes(createScope,...createContextScopeDeps)]}function $c512c27ab02ef895$var$composeContextScopes(...scopes){const baseScope=scopes[0];if(1===scopes.length)return baseScope;const createScope1=()=>{const scopeHooks=scopes.map((createScope=>({useScope:createScope(),scopeName:createScope.scopeName})));return function useComposedScopes(overrideScopes){const nextScopes1=scopeHooks.reduce(((nextScopes,{useScope:useScope,scopeName:scopeName})=>({...nextScopes,...useScope(overrideScopes)[`__scope${scopeName}`]})),{});return(0,react.useMemo)((()=>({[`__scope${baseScope.scopeName}`]:nextScopes1})),[nextScopes1])}};return createScope1.scopeName=baseScope.scopeName,createScope1}function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs){return node=>refs.forEach((ref=>function $6ed0406888f73fc4$var$setRef(ref,value){"function"==typeof ref?ref(value):null!=ref&&(ref.current=value)}(ref,node)))}function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs){return(0,react.useCallback)($6ed0406888f73fc4$export$43e446d32b3d21af(...refs),refs)}function helpers_esm_extends_extends(){return helpers_esm_extends_extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{const{children:children,...slotProps}=props,childrenArray=react.Children.toArray(children),slottable=childrenArray.find($5e63c961fc1ce211$var$isSlottable);if(slottable){const newElement=slottable.props.children,newChildren=childrenArray.map((child=>child===slottable?react.Children.count(newElement)>1?react.Children.only(null):(0,react.isValidElement)(newElement)?newElement.props.children:null:child));return(0,react.createElement)($5e63c961fc1ce211$var$SlotClone,helpers_esm_extends_extends({},slotProps,{ref:forwardedRef}),(0,react.isValidElement)(newElement)?(0,react.cloneElement)(newElement,void 0,newChildren):null)}return(0,react.createElement)($5e63c961fc1ce211$var$SlotClone,helpers_esm_extends_extends({},slotProps,{ref:forwardedRef}),children)}));$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName="Slot";const $5e63c961fc1ce211$var$SlotClone=(0,react.forwardRef)(((props,forwardedRef)=>{const{children:children,...slotProps}=props;return(0,react.isValidElement)(children)?(0,react.cloneElement)(children,{...$5e63c961fc1ce211$var$mergeProps(slotProps,children.props),ref:forwardedRef?$6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef,children.ref):children.ref}):react.Children.count(children)>1?react.Children.only(null):null}));$5e63c961fc1ce211$var$SlotClone.displayName="SlotClone";const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45=({children:children})=>(0,react.createElement)(react.Fragment,null,children);function $5e63c961fc1ce211$var$isSlottable(child){return(0,react.isValidElement)(child)&&child.type===$5e63c961fc1ce211$export$d9f1ccf0bdb05d45}function $5e63c961fc1ce211$var$mergeProps(slotProps,childProps){const overrideProps={...childProps};for(const propName in childProps){const slotPropValue=slotProps[propName],childPropValue=childProps[propName];/^on[A-Z]/.test(propName)?slotPropValue&&childPropValue?overrideProps[propName]=(...args)=>{childPropValue(...args),slotPropValue(...args)}:slotPropValue&&(overrideProps[propName]=slotPropValue):"style"===propName?overrideProps[propName]={...slotPropValue,...childPropValue}:"className"===propName&&(overrideProps[propName]=[slotPropValue,childPropValue].filter(Boolean).join(" "))}return{...slotProps,...overrideProps}}function $e02a7d9cb1dc128c$export$c74125a8e3af6bb2(name){const PROVIDER_NAME=name+"CollectionProvider",[createCollectionContext,createCollectionScope]=$c512c27ab02ef895$export$50c7b4e9d9f19c1(PROVIDER_NAME),[CollectionProviderImpl,useCollectionContext]=createCollectionContext(PROVIDER_NAME,{collectionRef:{current:null},itemMap:new Map}),CollectionProvider=props=>{const{scope:scope,children:children}=props,ref=react.useRef(null),itemMap=react.useRef(new Map).current;return react.createElement(CollectionProviderImpl,{scope:scope,itemMap:itemMap,collectionRef:ref},children)},COLLECTION_SLOT_NAME=name+"CollectionSlot",CollectionSlot=react.forwardRef(((props,forwardedRef)=>{const{scope:scope,children:children}=props,composedRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,useCollectionContext(COLLECTION_SLOT_NAME,scope).collectionRef);return react.createElement($5e63c961fc1ce211$export$8c6ed5c666ac1360,{ref:composedRefs},children)})),ITEM_SLOT_NAME=name+"CollectionItemSlot",CollectionItemSlot=react.forwardRef(((props,forwardedRef)=>{const{scope:scope,children:children,...itemData}=props,ref=react.useRef(null),composedRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,ref),context=useCollectionContext(ITEM_SLOT_NAME,scope);return react.useEffect((()=>(context.itemMap.set(ref,{ref:ref,...itemData}),()=>{context.itemMap.delete(ref)}))),react.createElement($5e63c961fc1ce211$export$8c6ed5c666ac1360,{"data-radix-collection-item":"",ref:composedRefs},children)}));return[{Provider:CollectionProvider,Slot:CollectionSlot,ItemSlot:CollectionItemSlot},function useCollection(scope){const context=useCollectionContext(name+"CollectionConsumer",scope),getItems=react.useCallback((()=>{const collectionNode=context.collectionRef.current;if(!collectionNode)return[];const orderedNodes=Array.from(collectionNode.querySelectorAll("[data-radix-collection-item]")),orderedItems=Array.from(context.itemMap.values()).sort(((a,b)=>orderedNodes.indexOf(a.ref.current)-orderedNodes.indexOf(b.ref.current)));return orderedItems}),[context.collectionRef,context.itemMap]);return getItems},createCollectionScope]}const $f631663db3294ace$var$DirectionContext=(0,react.createContext)(void 0);function $f631663db3294ace$export$b39126d51d94e6f3(localDir){const globalDir=(0,react.useContext)($f631663db3294ace$var$DirectionContext);return localDir||globalDir||"ltr"}function runtime_helpers_esm_extends_extends(){return runtime_helpers_esm_extends_extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{const Node=(0,react.forwardRef)(((props,forwardedRef)=>{const{asChild:asChild,...primitiveProps}=props,Comp=asChild?$5e63c961fc1ce211$export$8c6ed5c666ac1360:node;return(0,react.useEffect)((()=>{window[Symbol.for("radix-ui")]=!0}),[]),(0,react.createElement)(Comp,_babel_runtime_helpers_esm_extends_extends({},primitiveProps,{ref:forwardedRef}))}));return Node.displayName=`Primitive.${node}`,{...primitive,[node]:Node}}),{});function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback){const callbackRef=(0,react.useRef)(callback);return(0,react.useEffect)((()=>{callbackRef.current=callback})),(0,react.useMemo)((()=>(...args)=>{var _callbackRef$current;return null===(_callbackRef$current=callbackRef.current)||void 0===_callbackRef$current?void 0:_callbackRef$current.call(callbackRef,...args)}),[])}let $5cb92bef7577960e$var$originalBodyPointerEvents;const $5cb92bef7577960e$var$DismissableLayerContext=(0,react.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),$5cb92bef7577960e$export$177fb62ff3ec1f22=(0,react.forwardRef)(((props,forwardedRef)=>{var _node$ownerDocument;const{disableOutsidePointerEvents:disableOutsidePointerEvents=!1,onEscapeKeyDown:onEscapeKeyDown,onPointerDownOutside:onPointerDownOutside,onFocusOutside:onFocusOutside,onInteractOutside:onInteractOutside,onDismiss:onDismiss,...layerProps}=props,context=(0,react.useContext)($5cb92bef7577960e$var$DismissableLayerContext),[node1,setNode]=(0,react.useState)(null),ownerDocument=null!==(_node$ownerDocument=null==node1?void 0:node1.ownerDocument)&&void 0!==_node$ownerDocument?_node$ownerDocument:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,force]=(0,react.useState)({}),composedRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,(node=>setNode(node))),layers=Array.from(context.layers),[highestLayerWithOutsidePointerEventsDisabled]=[...context.layersWithOutsidePointerEventsDisabled].slice(-1),highestLayerWithOutsidePointerEventsDisabledIndex=layers.indexOf(highestLayerWithOutsidePointerEventsDisabled),index=node1?layers.indexOf(node1):-1,isBodyPointerEventsDisabled=context.layersWithOutsidePointerEventsDisabled.size>0,isPointerEventsEnabled=index>=highestLayerWithOutsidePointerEventsDisabledIndex,pointerDownOutside=function $5cb92bef7577960e$var$usePointerDownOutside(onPointerDownOutside,ownerDocument=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const handlePointerDownOutside=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onPointerDownOutside),isPointerInsideReactTreeRef=(0,react.useRef)(!1),handleClickRef=(0,react.useRef)((()=>{}));return(0,react.useEffect)((()=>{const handlePointerDown=event=>{if(event.target&&!isPointerInsideReactTreeRef.current){const eventDetail={originalEvent:event};function handleAndDispatchPointerDownOutsideEvent(){$5cb92bef7577960e$var$handleAndDispatchCustomEvent("dismissableLayer.pointerDownOutside",handlePointerDownOutside,eventDetail,{discrete:!0})}"touch"===event.pointerType?(ownerDocument.removeEventListener("click",handleClickRef.current),handleClickRef.current=handleAndDispatchPointerDownOutsideEvent,ownerDocument.addEventListener("click",handleClickRef.current,{once:!0})):handleAndDispatchPointerDownOutsideEvent()}isPointerInsideReactTreeRef.current=!1},timerId=window.setTimeout((()=>{ownerDocument.addEventListener("pointerdown",handlePointerDown)}),0);return()=>{window.clearTimeout(timerId),ownerDocument.removeEventListener("pointerdown",handlePointerDown),ownerDocument.removeEventListener("click",handleClickRef.current)}}),[ownerDocument,handlePointerDownOutside]),{onPointerDownCapture:()=>isPointerInsideReactTreeRef.current=!0}}((event=>{const target=event.target,isPointerDownOnBranch=[...context.branches].some((branch=>branch.contains(target)));isPointerEventsEnabled&&!isPointerDownOnBranch&&(null==onPointerDownOutside||onPointerDownOutside(event),null==onInteractOutside||onInteractOutside(event),event.defaultPrevented||null==onDismiss||onDismiss())}),ownerDocument),focusOutside=function $5cb92bef7577960e$var$useFocusOutside(onFocusOutside,ownerDocument=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const handleFocusOutside=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onFocusOutside),isFocusInsideReactTreeRef=(0,react.useRef)(!1);return(0,react.useEffect)((()=>{const handleFocus=event=>{if(event.target&&!isFocusInsideReactTreeRef.current){$5cb92bef7577960e$var$handleAndDispatchCustomEvent("dismissableLayer.focusOutside",handleFocusOutside,{originalEvent:event},{discrete:!1})}};return ownerDocument.addEventListener("focusin",handleFocus),()=>ownerDocument.removeEventListener("focusin",handleFocus)}),[ownerDocument,handleFocusOutside]),{onFocusCapture:()=>isFocusInsideReactTreeRef.current=!0,onBlurCapture:()=>isFocusInsideReactTreeRef.current=!1}}((event=>{const target=event.target;[...context.branches].some((branch=>branch.contains(target)))||(null==onFocusOutside||onFocusOutside(event),null==onInteractOutside||onInteractOutside(event),event.defaultPrevented||null==onDismiss||onDismiss())}),ownerDocument);return function $addc16e1bbe58fd0$export$3a72a57244d6e765(onEscapeKeyDownProp,ownerDocument=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const onEscapeKeyDown=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onEscapeKeyDownProp);(0,react.useEffect)((()=>{const handleKeyDown=event=>{"Escape"===event.key&&onEscapeKeyDown(event)};return ownerDocument.addEventListener("keydown",handleKeyDown),()=>ownerDocument.removeEventListener("keydown",handleKeyDown)}),[onEscapeKeyDown,ownerDocument])}((event=>{index===context.layers.size-1&&(null==onEscapeKeyDown||onEscapeKeyDown(event),!event.defaultPrevented&&onDismiss&&(event.preventDefault(),onDismiss()))}),ownerDocument),(0,react.useEffect)((()=>{if(node1)return disableOutsidePointerEvents&&(0===context.layersWithOutsidePointerEventsDisabled.size&&($5cb92bef7577960e$var$originalBodyPointerEvents=ownerDocument.body.style.pointerEvents,ownerDocument.body.style.pointerEvents="none"),context.layersWithOutsidePointerEventsDisabled.add(node1)),context.layers.add(node1),$5cb92bef7577960e$var$dispatchUpdate(),()=>{disableOutsidePointerEvents&&1===context.layersWithOutsidePointerEventsDisabled.size&&(ownerDocument.body.style.pointerEvents=$5cb92bef7577960e$var$originalBodyPointerEvents)}}),[node1,ownerDocument,disableOutsidePointerEvents,context]),(0,react.useEffect)((()=>()=>{node1&&(context.layers.delete(node1),context.layersWithOutsidePointerEventsDisabled.delete(node1),$5cb92bef7577960e$var$dispatchUpdate())}),[node1,context]),(0,react.useEffect)((()=>{const handleUpdate=()=>force({});return document.addEventListener("dismissableLayer.update",handleUpdate),()=>document.removeEventListener("dismissableLayer.update",handleUpdate)}),[]),(0,react.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,runtime_helpers_esm_extends_extends({},layerProps,{ref:composedRefs,style:{pointerEvents:isBodyPointerEventsDisabled?isPointerEventsEnabled?"auto":"none":void 0,...props.style},onFocusCapture:$e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onFocusCapture,focusOutside.onFocusCapture),onBlurCapture:$e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onBlurCapture,focusOutside.onBlurCapture),onPointerDownCapture:$e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onPointerDownCapture,pointerDownOutside.onPointerDownCapture)}))}));function $5cb92bef7577960e$var$dispatchUpdate(){const event=new CustomEvent("dismissableLayer.update");document.dispatchEvent(event)}function $5cb92bef7577960e$var$handleAndDispatchCustomEvent(name,handler,detail,{discrete:discrete}){const target=detail.originalEvent.target,event=new CustomEvent(name,{bubbles:!1,cancelable:!0,detail:detail});handler&&target.addEventListener(name,handler,{once:!0}),discrete?function $8927f6f2acc4f386$export$6d1a0317bde7de7f(target,event){target&&(0,react_dom.flushSync)((()=>target.dispatchEvent(event)))}(target,event):target.dispatchEvent(event)}let $3db38b7d1fb3fe6a$var$count=0;function $3db38b7d1fb3fe6a$export$b7ece24a22aeda8c(){(0,react.useEffect)((()=>{var _edgeGuards$,_edgeGuards$2;const edgeGuards=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(_edgeGuards$=edgeGuards[0])&&void 0!==_edgeGuards$?_edgeGuards$:$3db38b7d1fb3fe6a$var$createFocusGuard()),document.body.insertAdjacentElement("beforeend",null!==(_edgeGuards$2=edgeGuards[1])&&void 0!==_edgeGuards$2?_edgeGuards$2:$3db38b7d1fb3fe6a$var$createFocusGuard()),$3db38b7d1fb3fe6a$var$count++,()=>{1===$3db38b7d1fb3fe6a$var$count&&document.querySelectorAll("[data-radix-focus-guard]").forEach((node=>node.remove())),$3db38b7d1fb3fe6a$var$count--}}),[])}function $3db38b7d1fb3fe6a$var$createFocusGuard(){const element=document.createElement("span");return element.setAttribute("data-radix-focus-guard",""),element.tabIndex=0,element.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",element}function node_modules_babel_runtime_helpers_esm_extends_extends(){return node_modules_babel_runtime_helpers_esm_extends_extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{const{loop:loop=!1,trapped:trapped=!1,onMountAutoFocus:onMountAutoFocusProp,onUnmountAutoFocus:onUnmountAutoFocusProp,...scopeProps}=props,[container1,setContainer]=(0,react.useState)(null),onMountAutoFocus=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onMountAutoFocusProp),onUnmountAutoFocus=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onUnmountAutoFocusProp),lastFocusedElementRef=(0,react.useRef)(null),composedRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,(node=>setContainer(node))),focusScope=(0,react.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,react.useEffect)((()=>{if(trapped){function handleFocusIn(event){if(focusScope.paused||!container1)return;const target=event.target;container1.contains(target)?lastFocusedElementRef.current=target:$d3863c46a17e8a28$var$focus(lastFocusedElementRef.current,{select:!0})}function handleFocusOut(event){if(focusScope.paused||!container1)return;const relatedTarget=event.relatedTarget;null!==relatedTarget&&(container1.contains(relatedTarget)||$d3863c46a17e8a28$var$focus(lastFocusedElementRef.current,{select:!0}))}function handleMutations(mutations){const focusedElement=document.activeElement;for(const mutation of mutations)mutation.removedNodes.length>0&&(null!=container1&&container1.contains(focusedElement)||$d3863c46a17e8a28$var$focus(container1))}document.addEventListener("focusin",handleFocusIn),document.addEventListener("focusout",handleFocusOut);const mutationObserver=new MutationObserver(handleMutations);return container1&&mutationObserver.observe(container1,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",handleFocusIn),document.removeEventListener("focusout",handleFocusOut),mutationObserver.disconnect()}}}),[trapped,container1,focusScope.paused]),(0,react.useEffect)((()=>{if(container1){$d3863c46a17e8a28$var$focusScopesStack.add(focusScope);const previouslyFocusedElement=document.activeElement;if(!container1.contains(previouslyFocusedElement)){const mountEvent=new CustomEvent("focusScope.autoFocusOnMount",$d3863c46a17e8a28$var$EVENT_OPTIONS);container1.addEventListener("focusScope.autoFocusOnMount",onMountAutoFocus),container1.dispatchEvent(mountEvent),mountEvent.defaultPrevented||(!function $d3863c46a17e8a28$var$focusFirst(candidates,{select:select=!1}={}){const previouslyFocusedElement=document.activeElement;for(const candidate of candidates)if($d3863c46a17e8a28$var$focus(candidate,{select:select}),document.activeElement!==previouslyFocusedElement)return}(function $d3863c46a17e8a28$var$removeLinks(items){return items.filter((item=>"A"!==item.tagName))}($d3863c46a17e8a28$var$getTabbableCandidates(container1)),{select:!0}),document.activeElement===previouslyFocusedElement&&$d3863c46a17e8a28$var$focus(container1))}return()=>{container1.removeEventListener("focusScope.autoFocusOnMount",onMountAutoFocus),setTimeout((()=>{const unmountEvent=new CustomEvent("focusScope.autoFocusOnUnmount",$d3863c46a17e8a28$var$EVENT_OPTIONS);container1.addEventListener("focusScope.autoFocusOnUnmount",onUnmountAutoFocus),container1.dispatchEvent(unmountEvent),unmountEvent.defaultPrevented||$d3863c46a17e8a28$var$focus(null!=previouslyFocusedElement?previouslyFocusedElement:document.body,{select:!0}),container1.removeEventListener("focusScope.autoFocusOnUnmount",onUnmountAutoFocus),$d3863c46a17e8a28$var$focusScopesStack.remove(focusScope)}),0)}}}),[container1,onMountAutoFocus,onUnmountAutoFocus,focusScope]);const handleKeyDown=(0,react.useCallback)((event=>{if(!loop&&!trapped)return;if(focusScope.paused)return;const isTabKey="Tab"===event.key&&!event.altKey&&!event.ctrlKey&&!event.metaKey,focusedElement=document.activeElement;if(isTabKey&&focusedElement){const container=event.currentTarget,[first,last]=function $d3863c46a17e8a28$var$getTabbableEdges(container){const candidates=$d3863c46a17e8a28$var$getTabbableCandidates(container),first=$d3863c46a17e8a28$var$findVisible(candidates,container),last=$d3863c46a17e8a28$var$findVisible(candidates.reverse(),container);return[first,last]}(container);first&&last?event.shiftKey||focusedElement!==last?event.shiftKey&&focusedElement===first&&(event.preventDefault(),loop&&$d3863c46a17e8a28$var$focus(last,{select:!0})):(event.preventDefault(),loop&&$d3863c46a17e8a28$var$focus(first,{select:!0})):focusedElement===container&&event.preventDefault()}}),[loop,trapped,focusScope.paused]);return(0,react.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,node_modules_babel_runtime_helpers_esm_extends_extends({tabIndex:-1},scopeProps,{ref:composedRefs,onKeyDown:handleKeyDown}))}));function $d3863c46a17e8a28$var$getTabbableCandidates(container){const nodes=[],walker=document.createTreeWalker(container,NodeFilter.SHOW_ELEMENT,{acceptNode:node=>{const isHiddenInput="INPUT"===node.tagName&&"hidden"===node.type;return node.disabled||node.hidden||isHiddenInput?NodeFilter.FILTER_SKIP:node.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;walker.nextNode();)nodes.push(walker.currentNode);return nodes}function $d3863c46a17e8a28$var$findVisible(elements,container){for(const element of elements)if(!$d3863c46a17e8a28$var$isHidden(element,{upTo:container}))return element}function $d3863c46a17e8a28$var$isHidden(node,{upTo:upTo}){if("hidden"===getComputedStyle(node).visibility)return!0;for(;node;){if(void 0!==upTo&&node===upTo)return!1;if("none"===getComputedStyle(node).display)return!0;node=node.parentElement}return!1}function $d3863c46a17e8a28$var$focus(element,{select:select=!1}={}){if(element&&element.focus){const previouslyFocusedElement=document.activeElement;element.focus({preventScroll:!0}),element!==previouslyFocusedElement&&function $d3863c46a17e8a28$var$isSelectableInput(element){return element instanceof HTMLInputElement&&"select"in element}(element)&&select&&element.select()}}const $d3863c46a17e8a28$var$focusScopesStack=function $d3863c46a17e8a28$var$createFocusScopesStack(){let stack=[];return{add(focusScope){const activeFocusScope=stack[0];focusScope!==activeFocusScope&&(null==activeFocusScope||activeFocusScope.pause()),stack=$d3863c46a17e8a28$var$arrayRemove(stack,focusScope),stack.unshift(focusScope)},remove(focusScope){var _stack$;stack=$d3863c46a17e8a28$var$arrayRemove(stack,focusScope),null===(_stack$=stack[0])||void 0===_stack$||_stack$.resume()}}}();function $d3863c46a17e8a28$var$arrayRemove(array,item){const updatedArray=[...array],index=updatedArray.indexOf(item);return-1!==index&&updatedArray.splice(index,1),updatedArray}const $9f79659886946c16$export$e5c5a5f917a5871c=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?react.useLayoutEffect:()=>{},$1746a345f3d73bb7$var$useReactId=react_namespaceObject["useId".toString()]||(()=>{});let $1746a345f3d73bb7$var$count=0;function $1746a345f3d73bb7$export$f680877a34711e37(deterministicId){const[id,setId]=react.useState($1746a345f3d73bb7$var$useReactId());return $9f79659886946c16$export$e5c5a5f917a5871c((()=>{deterministicId||setId((reactId=>null!=reactId?reactId:String($1746a345f3d73bb7$var$count++)))}),[deterministicId]),deterministicId||(id?`radix-${id}`:"")}function react_popper_node_modules_babel_runtime_helpers_esm_extends_extends(){return react_popper_node_modules_babel_runtime_helpers_esm_extends_extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i({x:v,y:v}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(start,value,end){return floating_ui_utils_max(start,floating_ui_utils_min(value,end))}function floating_ui_utils_evaluate(value,param){return"function"==typeof value?value(param):value}function floating_ui_utils_getSide(placement){return placement.split("-")[0]}function floating_ui_utils_getAlignment(placement){return placement.split("-")[1]}function getOppositeAxis(axis){return"x"===axis?"y":"x"}function getAxisLength(axis){return"y"===axis?"height":"width"}function floating_ui_utils_getSideAxis(placement){return["top","bottom"].includes(floating_ui_utils_getSide(placement))?"y":"x"}function getAlignmentAxis(placement){return getOppositeAxis(floating_ui_utils_getSideAxis(placement))}function floating_ui_utils_getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,(alignment=>oppositeAlignmentMap[alignment]))}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,(side=>oppositeSideMap[side]))}function floating_ui_utils_getPaddingObject(padding){return"number"!=typeof padding?function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}(padding):{top:padding,right:padding,bottom:padding,left:padding}}function floating_ui_utils_rectToClientRect(rect){return{...rect,top:rect.y,left:rect.x,right:rect.x+rect.width,bottom:rect.y+rect.height}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference:reference,floating:floating}=_ref;const sideAxis=floating_ui_utils_getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=floating_ui_utils_getSide(placement),isVertical="y"===sideAxis,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2;let coords;switch(side){case"top":coords={x:commonX,y:reference.y-floating.height};break;case"bottom":coords={x:commonX,y:reference.y+reference.height};break;case"right":coords={x:reference.x+reference.width,y:commonY};break;case"left":coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(floating_ui_utils_getAlignment(placement)){case"start":coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case"end":coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1)}return coords}async function detectOverflow(state,options){var _await$platform$isEle;void 0===options&&(options={});const{x:x,y:y,platform:platform,rects:rects,elements:elements,strategy:strategy}=state,{boundary:boundary="clippingAncestors",rootBoundary:rootBoundary="viewport",elementContext:elementContext="floating",altBoundary:altBoundary=!1,padding:padding=0}=floating_ui_utils_evaluate(options,state),paddingObject=floating_ui_utils_getPaddingObject(padding),element=elements[altBoundary?"floating"===elementContext?"reference":"floating":elementContext],clippingClientRect=floating_ui_utils_rectToClientRect(await platform.getClippingRect({element:null==(_await$platform$isEle=await(null==platform.isElement?void 0:platform.isElement(element)))||_await$platform$isEle?element:element.contextElement||await(null==platform.getDocumentElement?void 0:platform.getDocumentElement(elements.floating)),boundary:boundary,rootBoundary:rootBoundary,strategy:strategy})),rect="floating"===elementContext?{...rects.floating,x:x,y:y}:rects.reference,offsetParent=await(null==platform.getOffsetParent?void 0:platform.getOffsetParent(elements.floating)),offsetScale=await(null==platform.isElement?void 0:platform.isElement(offsetParent))&&await(null==platform.getScale?void 0:platform.getScale(offsetParent))||{x:1,y:1},elementClientRect=floating_ui_utils_rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect?await platform.convertOffsetParentRelativeRectToViewportRelativeRect({rect:rect,offsetParent:offsetParent,strategy:strategy}):rect);return{top:(clippingClientRect.top-elementClientRect.top+paddingObject.top)/offsetScale.y,bottom:(elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom)/offsetScale.y,left:(clippingClientRect.left-elementClientRect.left+paddingObject.left)/offsetScale.x,right:(elementClientRect.right-clippingClientRect.right+paddingObject.right)/offsetScale.x}}const arrow=options=>({name:"arrow",options:options,async fn(state){const{x:x,y:y,placement:placement,rects:rects,platform:platform,elements:elements}=state,{element:element,padding:padding=0}=floating_ui_utils_evaluate(options,state)||{};if(null==element)return{};const paddingObject=floating_ui_utils_getPaddingObject(padding),coords={x:x,y:y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform.getDimensions(element),isYAxis="y"===axis,minProp=isYAxis?"top":"left",maxProp=isYAxis?"bottom":"right",clientProp=isYAxis?"clientHeight":"clientWidth",endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(null==platform.getOffsetParent?void 0:platform.getOffsetParent(element));let clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;clientSize&&await(null==platform.isElement?void 0:platform.isElement(arrowOffsetParent))||(clientSize=elements.floating[clientProp]||rects.floating[length]);const centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=floating_ui_utils_min(paddingObject[minProp],largestPossiblePadding),maxPadding=floating_ui_utils_min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset=clamp(min$1,center,max),alignmentOffset=null!=floating_ui_utils_getAlignment(placement)&¢er!=offset&&rects.reference[length]/2-(centerside+"-"+alignment)),flipAlignment&&(list=list.concat(list.map(floating_ui_utils_getOppositeAlignmentPlacement)))),list}(initialPlacement,flipAlignment,fallbackAxisSideDirection,rtl));const placements=[initialPlacement,...fallbackPlacements],overflow=await detectOverflow(state,detectOverflowOptions),overflows=[];let overflowsData=(null==(_middlewareData$flip=middlewareData.flip)?void 0:_middlewareData$flip.overflows)||[];if(checkMainAxis&&overflows.push(overflow[side]),checkCrossAxis){const sides=function floating_ui_utils_getAlignmentSides(placement,rects,rtl){void 0===rtl&&(rtl=!1);const alignment=floating_ui_utils_getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis);let mainAlignmentSide="x"===alignmentAxis?alignment===(rtl?"end":"start")?"right":"left":"start"===alignment?"bottom":"top";return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}(placement,rects,rtl);overflows.push(overflow[sides[0]],overflow[sides[1]])}if(overflowsData=[...overflowsData,{placement:placement,overflows:overflows}],!overflows.every((side=>side<=0))){var _middlewareData$flip2,_overflowsData$filter;const nextIndex=((null==(_middlewareData$flip2=middlewareData.flip)?void 0:_middlewareData$flip2.index)||0)+1,nextPlacement=placements[nextIndex];if(nextPlacement)return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=null==(_overflowsData$filter=overflowsData.filter((d=>d.overflows[0]<=0)).sort(((a,b)=>a.overflows[1]-b.overflows[1]))[0])?void 0:_overflowsData$filter.placement;if(!resetPlacement)switch(fallbackStrategy){case"bestFit":{var _overflowsData$map$so;const placement=null==(_overflowsData$map$so=overflowsData.map((d=>[d.placement,d.overflows.filter((overflow=>overflow>0)).reduce(((acc,overflow)=>acc+overflow),0)])).sort(((a,b)=>a[1]-b[1]))[0])?void 0:_overflowsData$map$so[0];placement&&(resetPlacement=placement);break}case"initialPlacement":resetPlacement=initialPlacement}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}};function getSideOffsets(overflow,rect){return{top:overflow.top-rect.height,right:overflow.right-rect.width,bottom:overflow.bottom-rect.height,left:overflow.left-rect.width}}function isAnySideFullyClipped(overflow){return sides.some((side=>overflow[side]>=0))}const hide=function(options){return void 0===options&&(options={}),{name:"hide",options:options,async fn(state){const{rects:rects}=state,{strategy:strategy="referenceHidden",...detectOverflowOptions}=floating_ui_utils_evaluate(options,state);switch(strategy){case"referenceHidden":{const offsets=getSideOffsets(await detectOverflow(state,{...detectOverflowOptions,elementContext:"reference"}),rects.reference);return{data:{referenceHiddenOffsets:offsets,referenceHidden:isAnySideFullyClipped(offsets)}}}case"escaped":{const offsets=getSideOffsets(await detectOverflow(state,{...detectOverflowOptions,altBoundary:!0}),rects.floating);return{data:{escapedOffsets:offsets,escaped:isAnySideFullyClipped(offsets)}}}default:return{}}}}};const offset=function(options){return void 0===options&&(options=0),{name:"offset",options:options,async fn(state){const{x:x,y:y}=state,diffCoords=await async function convertValueToCoords(state,options){const{placement:placement,platform:platform,elements:elements}=state,rtl=await(null==platform.isRTL?void 0:platform.isRTL(elements.floating)),side=floating_ui_utils_getSide(placement),alignment=floating_ui_utils_getAlignment(placement),isVertical="y"===floating_ui_utils_getSideAxis(placement),mainAxisMulti=["left","top"].includes(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=floating_ui_utils_evaluate(options,state);let{mainAxis:mainAxis,crossAxis:crossAxis,alignmentAxis:alignmentAxis}="number"==typeof rawValue?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...rawValue};return alignment&&"number"==typeof alignmentAxis&&(crossAxis="end"===alignment?-1*alignmentAxis:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}(state,options);return{x:x+diffCoords.x,y:y+diffCoords.y,data:diffCoords}}}},shift=function(options){return void 0===options&&(options={}),{name:"shift",options:options,async fn(state){const{x:x,y:y,placement:placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter:limiter={fn:_ref=>{let{x:x,y:y}=_ref;return{x:x,y:y}}},...detectOverflowOptions}=floating_ui_utils_evaluate(options,state),coords={x:x,y:y},overflow=await detectOverflow(state,detectOverflowOptions),crossAxis=floating_ui_utils_getSideAxis(floating_ui_utils_getSide(placement)),mainAxis=getOppositeAxis(crossAxis);let mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){const maxSide="y"===mainAxis?"bottom":"right";mainAxisCoord=clamp(mainAxisCoord+overflow["y"===mainAxis?"top":"left"],mainAxisCoord,mainAxisCoord-overflow[maxSide])}if(checkCrossAxis){const maxSide="y"===crossAxis?"bottom":"right";crossAxisCoord=clamp(crossAxisCoord+overflow["y"===crossAxis?"top":"left"],crossAxisCoord,crossAxisCoord-overflow[maxSide])}const limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y}}}}},limitShift=function(options){return void 0===options&&(options={}),{options:options,fn(state){const{x:x,y:y,placement:placement,rects:rects,middlewareData:middlewareData}=state,{offset:offset=0,mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!0}=floating_ui_utils_evaluate(options,state),coords={x:x,y:y},crossAxis=floating_ui_utils_getSideAxis(placement),mainAxis=getOppositeAxis(crossAxis);let mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];const rawOffset=floating_ui_utils_evaluate(offset,state),computedOffset="number"==typeof rawOffset?{mainAxis:rawOffset,crossAxis:0}:{mainAxis:0,crossAxis:0,...rawOffset};if(checkMainAxis){const len="y"===mainAxis?"height":"width",limitMin=rects.reference[mainAxis]-rects.floating[len]+computedOffset.mainAxis,limitMax=rects.reference[mainAxis]+rects.reference[len]-computedOffset.mainAxis;mainAxisCoordlimitMax&&(mainAxisCoord=limitMax)}if(checkCrossAxis){var _middlewareData$offse,_middlewareData$offse2;const len="y"===mainAxis?"width":"height",isOriginSide=["top","left"].includes(floating_ui_utils_getSide(placement)),limitMin=rects.reference[crossAxis]-rects.floating[len]+(isOriginSide&&(null==(_middlewareData$offse=middlewareData.offset)?void 0:_middlewareData$offse[crossAxis])||0)+(isOriginSide?0:computedOffset.crossAxis),limitMax=rects.reference[crossAxis]+rects.reference[len]+(isOriginSide?0:(null==(_middlewareData$offse2=middlewareData.offset)?void 0:_middlewareData$offse2[crossAxis])||0)-(isOriginSide?computedOffset.crossAxis:0);crossAxisCoordlimitMax&&(crossAxisCoord=limitMax)}return{[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord}}}},floating_ui_core_size=function(options){return void 0===options&&(options={}),{name:"size",options:options,async fn(state){const{placement:placement,rects:rects,platform:platform,elements:elements}=state,{apply:apply=(()=>{}),...detectOverflowOptions}=floating_ui_utils_evaluate(options,state),overflow=await detectOverflow(state,detectOverflowOptions),side=floating_ui_utils_getSide(placement),alignment=floating_ui_utils_getAlignment(placement),isYAxis="y"===floating_ui_utils_getSideAxis(placement),{width:width,height:height}=rects.floating;let heightSide,widthSide;"top"===side||"bottom"===side?(heightSide=side,widthSide=alignment===(await(null==platform.isRTL?void 0:platform.isRTL(elements.floating))?"start":"end")?"left":"right"):(widthSide=side,heightSide="end"===alignment?"top":"bottom");const overflowAvailableHeight=height-overflow[heightSide],overflowAvailableWidth=width-overflow[widthSide],noShift=!state.middlewareData.shift;let availableHeight=overflowAvailableHeight,availableWidth=overflowAvailableWidth;if(isYAxis){const maximumClippingWidth=width-overflow.left-overflow.right;availableWidth=alignment||noShift?floating_ui_utils_min(overflowAvailableWidth,maximumClippingWidth):maximumClippingWidth}else{const maximumClippingHeight=height-overflow.top-overflow.bottom;availableHeight=alignment||noShift?floating_ui_utils_min(overflowAvailableHeight,maximumClippingHeight):maximumClippingHeight}if(noShift&&!alignment){const xMin=floating_ui_utils_max(overflow.left,0),xMax=floating_ui_utils_max(overflow.right,0),yMin=floating_ui_utils_max(overflow.top,0),yMax=floating_ui_utils_max(overflow.bottom,0);isYAxis?availableWidth=width-2*(0!==xMin||0!==xMax?xMin+xMax:floating_ui_utils_max(overflow.left,overflow.right)):availableHeight=height-2*(0!==yMin||0!==yMax?yMin+yMax:floating_ui_utils_max(overflow.top,overflow.bottom))}await apply({...state,availableWidth:availableWidth,availableHeight:availableHeight});const nextDimensions=await platform.getDimensions(elements.floating);return width!==nextDimensions.width||height!==nextDimensions.height?{reset:{rects:!0}}:{}}}};function getNodeName(node){return isNode(node)?(node.nodeName||"").toLowerCase():"#document"}function getWindow(node){var _node$ownerDocument;return(null==node||null==(_node$ownerDocument=node.ownerDocument)?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return null==(_ref=(isNode(node)?node.ownerDocument:node.document)||window.document)?void 0:_ref.documentElement}function isNode(value){return value instanceof Node||value instanceof getWindow(value).Node}function isElement(value){return value instanceof Element||value instanceof getWindow(value).Element}function isHTMLElement(value){return value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement}function isShadowRoot(value){return"undefined"!=typeof ShadowRoot&&(value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot)}function isOverflowElement(element){const{overflow:overflow,overflowX:overflowX,overflowY:overflowY,display:display}=floating_ui_utils_dom_getComputedStyle(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!["inline","contents"].includes(display)}function isTableElement(element){return["table","td","th"].includes(getNodeName(element))}function isContainingBlock(element){const webkit=isWebKit(),css=floating_ui_utils_dom_getComputedStyle(element);return"none"!==css.transform||"none"!==css.perspective||!!css.containerType&&"normal"!==css.containerType||!webkit&&!!css.backdropFilter&&"none"!==css.backdropFilter||!webkit&&!!css.filter&&"none"!==css.filter||["transform","perspective","filter"].some((value=>(css.willChange||"").includes(value)))||["paint","layout","strict","content"].some((value=>(css.contain||"").includes(value)))}function isWebKit(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(node){return["html","body","#document"].includes(getNodeName(node))}function floating_ui_utils_dom_getComputedStyle(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.pageXOffset,scrollTop:element.pageYOffset}}function getParentNode(node){if("html"===getNodeName(node))return node;const result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){const parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list){var _node$ownerDocument2;void 0===list&&(list=[]);const scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===(null==(_node$ownerDocument2=node.ownerDocument)?void 0:_node$ownerDocument2.body),win=getWindow(scrollableAncestor);return isBody?list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[]):list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor))}function getCssDimensions(element){const css=floating_ui_utils_dom_getComputedStyle(element);let width=parseFloat(css.width)||0,height=parseFloat(css.height)||0;const hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width,offsetHeight=hasOffset?element.offsetHeight:height,shouldFallback=round(width)!==offsetWidth||round(height)!==offsetHeight;return shouldFallback&&(width=offsetWidth,height=offsetHeight),{width:width,height:height,$:shouldFallback}}function unwrapElement(element){return isElement(element)?element:element.contextElement}function getScale(element){const domElement=unwrapElement(element);if(!isHTMLElement(domElement))return createCoords(1);const rect=domElement.getBoundingClientRect(),{width:width,height:height,$:$}=getCssDimensions(domElement);let x=($?round(rect.width):rect.width)/width,y=($?round(rect.height):rect.height)/height;return x&&Number.isFinite(x)||(x=1),y&&Number.isFinite(y)||(y=1),{x:x,y:y}}const noOffsets=createCoords(0);function getVisualOffsets(element){const win=getWindow(element);return isWebKit()&&win.visualViewport?{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}:noOffsets}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){void 0===includeScale&&(includeScale=!1),void 0===isFixedStrategy&&(isFixedStrategy=!1);const clientRect=element.getBoundingClientRect(),domElement=unwrapElement(element);let scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));const visualOffsets=function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return void 0===isFixed&&(isFixed=!1),!(!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element))&&isFixed}(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0);let x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width=clientRect.width/scale.x,height=clientRect.height/scale.y;if(domElement){const win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent;let currentIFrame=win.frameElement;for(;currentIFrame&&offsetParent&&offsetWin!==win;){const iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=floating_ui_utils_dom_getComputedStyle(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width*=iframeScale.x,height*=iframeScale.y,x+=left,y+=top,currentIFrame=getWindow(currentIFrame).frameElement}}return floating_ui_utils_rectToClientRect({width:width,height:height,x:x,y:y})}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getNodeScroll(element).scrollLeft}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if("viewport"===clippingAncestor)rect=function getViewportRect(element,strategy){const win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport;let width=html.clientWidth,height=html.clientHeight,x=0,y=0;if(visualViewport){width=visualViewport.width,height=visualViewport.height;const visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&"fixed"===strategy)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}return{width:width,height:height,x:x,y:y}}(element,strategy);else if("document"===clippingAncestor)rect=function getDocumentRect(element){const html=getDocumentElement(element),scroll=getNodeScroll(element),body=element.ownerDocument.body,width=floating_ui_utils_max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height=floating_ui_utils_max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight);let x=-scroll.scrollLeft+getWindowScrollBarX(element);const y=-scroll.scrollTop;return"rtl"===floating_ui_utils_dom_getComputedStyle(body).direction&&(x+=floating_ui_utils_max(html.clientWidth,body.clientWidth)-width),{width:width,height:height,x:x,y:y}}(getDocumentElement(element));else if(isElement(clippingAncestor))rect=function getInnerBoundingClientRect(element,strategy){const clientRect=getBoundingClientRect(element,!0,"fixed"===strategy),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}(clippingAncestor,strategy);else{const visualOffsets=getVisualOffsets(element);rect={...clippingAncestor,x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y}}return floating_ui_utils_rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){const parentNode=getParentNode(element);return!(parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode))&&("fixed"===floating_ui_utils_dom_getComputedStyle(parentNode).position||hasFixedPositionAncestor(parentNode,stopNode))}function getRectRelativeToOffsetParent(element,offsetParent,strategy){const isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed="fixed"===strategy,rect=getBoundingClientRect(element,!0,isFixed,offsetParent);let scroll={scrollLeft:0,scrollTop:0};const offsets=createCoords(0);if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if(("body"!==getNodeName(offsetParent)||isOverflowElement(documentElement))&&(scroll=getNodeScroll(offsetParent)),isOffsetParentAnElement){const offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&(offsets.x=getWindowScrollBarX(documentElement));return{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function getTrueOffsetParent(element,polyfill){return isHTMLElement(element)&&"fixed"!==floating_ui_utils_dom_getComputedStyle(element).position?polyfill?polyfill(element):element.offsetParent:null}function getOffsetParent(element,polyfill){const window=getWindow(element);if(!isHTMLElement(element))return window;let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&"static"===floating_ui_utils_dom_getComputedStyle(offsetParent).position;)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&("html"===getNodeName(offsetParent)||"body"===getNodeName(offsetParent)&&"static"===floating_ui_utils_dom_getComputedStyle(offsetParent).position&&!isContainingBlock(offsetParent))?window:offsetParent||function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;currentNode=getParentNode(currentNode)}return null}(element)||window}const platform={convertOffsetParentRelativeRectToViewportRelativeRect:function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{rect:rect,offsetParent:offsetParent,strategy:strategy}=_ref;const isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent);if(offsetParent===documentElement)return rect;let scroll={scrollLeft:0,scrollTop:0},scale=createCoords(1);const offsets=createCoords(0);if((isOffsetParentAnElement||!isOffsetParentAnElement&&"fixed"!==strategy)&&(("body"!==getNodeName(offsetParent)||isOverflowElement(documentElement))&&(scroll=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){const offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll.scrollLeft*scale.x+offsets.x,y:rect.y*scale.y-scroll.scrollTop*scale.y+offsets.y}},getDocumentElement:getDocumentElement,getClippingRect:function getClippingRect(_ref){let{element:element,boundary:boundary,rootBoundary:rootBoundary,strategy:strategy}=_ref;const clippingAncestors=[..."clippingAncestors"===boundary?function getClippingElementAncestors(element,cache){const cachedResult=cache.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element).filter((el=>isElement(el)&&"body"!==getNodeName(el))),currentContainingBlockComputedStyle=null;const elementIsFixed="fixed"===floating_ui_utils_dom_getComputedStyle(element).position;let currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){const computedStyle=floating_ui_utils_dom_getComputedStyle(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);currentNodeIsContaining||"fixed"!==computedStyle.position||(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&"static"===computedStyle.position&¤tContainingBlockComputedStyle&&["absolute","fixed"].includes(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter((ancestor=>ancestor!==currentNode)):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache.set(element,result),result}(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce(((accRect,clippingAncestor)=>{const rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=floating_ui_utils_max(rect.top,accRect.top),accRect.right=floating_ui_utils_min(rect.right,accRect.right),accRect.bottom=floating_ui_utils_min(rect.bottom,accRect.bottom),accRect.left=floating_ui_utils_max(rect.left,accRect.left),accRect}),getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}},getOffsetParent:getOffsetParent,getElementRects:async function(_ref){let{reference:reference,floating:floating,strategy:strategy}=_ref;const getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions;return{reference:getRectRelativeToOffsetParent(reference,await getOffsetParentFn(floating),strategy),floating:{x:0,y:0,...await getDimensionsFn(floating)}}},getClientRects:function getClientRects(element){return Array.from(element.getClientRects())},getDimensions:function getDimensions(element){return getCssDimensions(element)},getScale:getScale,isElement:isElement,isRTL:function isRTL(element){return"rtl"===floating_ui_utils_dom_getComputedStyle(element).direction}};function autoUpdate(reference,floating,update,options){void 0===options&&(options={});const{ancestorScroll:ancestorScroll=!0,ancestorResize:ancestorResize=!0,elementResize:elementResize="function"==typeof ResizeObserver,layoutShift:layoutShift="function"==typeof IntersectionObserver,animationFrame:animationFrame=!1}=options,referenceEl=unwrapElement(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach((ancestor=>{ancestorScroll&&ancestor.addEventListener("scroll",update,{passive:!0}),ancestorResize&&ancestor.addEventListener("resize",update)}));const cleanupIo=referenceEl&&layoutShift?function observeMove(element,onMove){let timeoutId,io=null;const root=getDocumentElement(element);function cleanup(){clearTimeout(timeoutId),io&&io.disconnect(),io=null}return function refresh(skip,threshold){void 0===skip&&(skip=!1),void 0===threshold&&(threshold=1),cleanup();const{left:left,top:top,width:width,height:height}=element.getBoundingClientRect();if(skip||onMove(),!width||!height)return;const options={rootMargin:-floor(top)+"px "+-floor(root.clientWidth-(left+width))+"px "+-floor(root.clientHeight-(top+height))+"px "+-floor(left)+"px",threshold:floating_ui_utils_max(0,floating_ui_utils_min(1,threshold))||1};let isFirstUpdate=!0;function handleObserve(entries){const ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh();ratio?refresh(!1,ratio):timeoutId=setTimeout((()=>{refresh(!1,1e-7)}),100)}isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch(e){io=new IntersectionObserver(handleObserve,options)}io.observe(element)}(!0),cleanup}(referenceEl,update):null;let frameId,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver((_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame((()=>{resizeObserver&&resizeObserver.observe(floating)}))),update()})),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let prevRefRect=animationFrame?getBoundingClientRect(reference):null;return animationFrame&&function frameLoop(){const nextRefRect=getBoundingClientRect(reference);!prevRefRect||nextRefRect.x===prevRefRect.x&&nextRefRect.y===prevRefRect.y&&nextRefRect.width===prevRefRect.width&&nextRefRect.height===prevRefRect.height||update();prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}(),update(),()=>{ancestors.forEach((ancestor=>{ancestorScroll&&ancestor.removeEventListener("scroll",update),ancestorResize&&ancestor.removeEventListener("resize",update)})),cleanupIo&&cleanupIo(),resizeObserver&&resizeObserver.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}const floating_ui_dom_computePosition=(reference,floating,options)=>{const cache=new Map,mergedOptions={platform:platform,...options},platformWithCache={...mergedOptions.platform,_c:cache};return(async(reference,floating,config)=>{const{placement:placement="bottom",strategy:strategy="absolute",middleware:middleware=[],platform:platform}=config,validMiddleware=middleware.filter(Boolean),rtl=await(null==platform.isRTL?void 0:platform.isRTL(floating));let rects=await platform.getElementRects({reference:reference,floating:floating,strategy:strategy}),{x:x,y:y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:"arrow",options:options,fn(state){const{element:element,padding:padding}="function"==typeof options?options(state):options;return element&&function isRef(value){return{}.hasOwnProperty.call(value,"current")}(element)?null!=element.current?arrow({element:element.current,padding:padding}).fn(state):{}:element?arrow({element:element,padding:padding}).fn(state):{}}});var index="undefined"!=typeof document?react.useLayoutEffect:react.useEffect;function deepEqual(a,b){if(a===b)return!0;if(typeof a!=typeof b)return!1;if("function"==typeof a&&a.toString()===b.toString())return!0;let length,i,keys;if(a&&b&&"object"==typeof a){if(Array.isArray(a)){if(length=a.length,length!=b.length)return!1;for(i=length;0!=i--;)if(!deepEqual(a[i],b[i]))return!1;return!0}if(keys=Object.keys(a),length=keys.length,length!==Object.keys(b).length)return!1;for(i=length;0!=i--;)if(!{}.hasOwnProperty.call(b,keys[i]))return!1;for(i=length;0!=i--;){const key=keys[i];if(("_owner"!==key||!a.$$typeof)&&!deepEqual(a[key],b[key]))return!1}return!0}return a!=a&&b!=b}function getDPR(element){if("undefined"==typeof window)return 1;return(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){const dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useLatestRef(value){const ref=react.useRef(value);return index((()=>{ref.current=value})),ref}const[$cf1ac5d9fe0e8206$var$createPopperContext,$cf1ac5d9fe0e8206$export$722aac194ae923]=$c512c27ab02ef895$export$50c7b4e9d9f19c1("Popper"),[$cf1ac5d9fe0e8206$var$PopperProvider,$cf1ac5d9fe0e8206$var$usePopperContext]=$cf1ac5d9fe0e8206$var$createPopperContext("Popper"),$cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d=(0,react.forwardRef)(((props,forwardedRef)=>{const{__scopePopper:__scopePopper,virtualRef:virtualRef,...anchorProps}=props,context=$cf1ac5d9fe0e8206$var$usePopperContext("PopperAnchor",__scopePopper),ref=(0,react.useRef)(null),composedRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,ref);return(0,react.useEffect)((()=>{context.onAnchorChange((null==virtualRef?void 0:virtualRef.current)||ref.current)})),virtualRef?null:(0,react.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,react_popper_node_modules_babel_runtime_helpers_esm_extends_extends({},anchorProps,{ref:composedRefs}))})),[$cf1ac5d9fe0e8206$var$PopperContentProvider,$cf1ac5d9fe0e8206$var$useContentContext]=$cf1ac5d9fe0e8206$var$createPopperContext("PopperContent"),$cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc=(0,react.forwardRef)(((props,forwardedRef)=>{var _arrowSize$width,_arrowSize$height,_middlewareData$arrow,_middlewareData$arrow2,_middlewareData$arrow3,_middlewareData$trans,_middlewareData$trans2,_middlewareData$hide;const{__scopePopper:__scopePopper,side:side="bottom",sideOffset:sideOffset=0,align:align="center",alignOffset:alignOffset=0,arrowPadding:arrowPadding=0,collisionBoundary:collisionBoundary=[],collisionPadding:collisionPaddingProp=0,sticky:sticky="partial",hideWhenDetached:hideWhenDetached=!1,avoidCollisions:avoidCollisions=!0,onPlaced:onPlaced,...contentProps}=props,context=$cf1ac5d9fe0e8206$var$usePopperContext("PopperContent",__scopePopper),[content,setContent]=(0,react.useState)(null),composedRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,(node=>setContent(node))),[arrow,setArrow]=(0,react.useState)(null),arrowSize=function $db6c3485150b8e66$export$1ab7ae714698c4b8(element){const[size,setSize]=(0,react.useState)(void 0);return $9f79659886946c16$export$e5c5a5f917a5871c((()=>{if(element){setSize({width:element.offsetWidth,height:element.offsetHeight});const resizeObserver=new ResizeObserver((entries=>{if(!Array.isArray(entries))return;if(!entries.length)return;const entry=entries[0];let width,height;if("borderBoxSize"in entry){const borderSizeEntry=entry.borderBoxSize,borderSize=Array.isArray(borderSizeEntry)?borderSizeEntry[0]:borderSizeEntry;width=borderSize.inlineSize,height=borderSize.blockSize}else width=element.offsetWidth,height=element.offsetHeight;setSize({width:width,height:height})}));return resizeObserver.observe(element,{box:"border-box"}),()=>resizeObserver.unobserve(element)}setSize(void 0)}),[element]),size}(arrow),arrowWidth=null!==(_arrowSize$width=null==arrowSize?void 0:arrowSize.width)&&void 0!==_arrowSize$width?_arrowSize$width:0,arrowHeight=null!==(_arrowSize$height=null==arrowSize?void 0:arrowSize.height)&&void 0!==_arrowSize$height?_arrowSize$height:0,desiredPlacement=side+("center"!==align?"-"+align:""),collisionPadding="number"==typeof collisionPaddingProp?collisionPaddingProp:{top:0,right:0,bottom:0,left:0,...collisionPaddingProp},boundary=Array.isArray(collisionBoundary)?collisionBoundary:[collisionBoundary],hasExplicitBoundaries=boundary.length>0,detectOverflowOptions={padding:collisionPadding,boundary:boundary.filter($cf1ac5d9fe0e8206$var$isNotNull),altBoundary:hasExplicitBoundaries},{refs:refs,floatingStyles:floatingStyles,placement:placement,isPositioned:isPositioned,middlewareData:middlewareData}=function useFloating(options){void 0===options&&(options={});const{placement:placement="bottom",strategy:strategy="absolute",middleware:middleware=[],platform:platform,elements:{reference:externalReference,floating:externalFloating}={},transform:transform=!0,whileElementsMounted:whileElementsMounted,open:open}=options,[data,setData]=react.useState({x:0,y:0,strategy:strategy,placement:placement,middlewareData:{},isPositioned:!1}),[latestMiddleware,setLatestMiddleware]=react.useState(middleware);deepEqual(latestMiddleware,middleware)||setLatestMiddleware(middleware);const[_reference,_setReference]=react.useState(null),[_floating,_setFloating]=react.useState(null),setReference=react.useCallback((node=>{node!=referenceRef.current&&(referenceRef.current=node,_setReference(node))}),[_setReference]),setFloating=react.useCallback((node=>{node!==floatingRef.current&&(floatingRef.current=node,_setFloating(node))}),[_setFloating]),referenceEl=externalReference||_reference,floatingEl=externalFloating||_floating,referenceRef=react.useRef(null),floatingRef=react.useRef(null),dataRef=react.useRef(data),whileElementsMountedRef=useLatestRef(whileElementsMounted),platformRef=useLatestRef(platform),update=react.useCallback((()=>{if(!referenceRef.current||!floatingRef.current)return;const config={placement:placement,strategy:strategy,middleware:latestMiddleware};platformRef.current&&(config.platform=platformRef.current),floating_ui_dom_computePosition(referenceRef.current,floatingRef.current,config).then((data=>{const fullData={...data,isPositioned:!0};isMountedRef.current&&!deepEqual(dataRef.current,fullData)&&(dataRef.current=fullData,react_dom.flushSync((()=>{setData(fullData)})))}))}),[latestMiddleware,placement,strategy,platformRef]);index((()=>{!1===open&&dataRef.current.isPositioned&&(dataRef.current.isPositioned=!1,setData((data=>({...data,isPositioned:!1}))))}),[open]);const isMountedRef=react.useRef(!1);index((()=>(isMountedRef.current=!0,()=>{isMountedRef.current=!1})),[]),index((()=>{if(referenceEl&&(referenceRef.current=referenceEl),floatingEl&&(floatingRef.current=floatingEl),referenceEl&&floatingEl){if(whileElementsMountedRef.current)return whileElementsMountedRef.current(referenceEl,floatingEl,update);update()}}),[referenceEl,floatingEl,update,whileElementsMountedRef]);const refs=react.useMemo((()=>({reference:referenceRef,floating:floatingRef,setReference:setReference,setFloating:setFloating})),[setReference,setFloating]),elements=react.useMemo((()=>({reference:referenceEl,floating:floatingEl})),[referenceEl,floatingEl]),floatingStyles=react.useMemo((()=>{const initialStyles={position:strategy,left:0,top:0};if(!elements.floating)return initialStyles;const x=roundByDPR(elements.floating,data.x),y=roundByDPR(elements.floating,data.y);return transform?{...initialStyles,transform:"translate("+x+"px, "+y+"px)",...getDPR(elements.floating)>=1.5&&{willChange:"transform"}}:{position:strategy,left:x,top:y}}),[strategy,transform,elements.floating,data.x,data.y]);return react.useMemo((()=>({...data,update:update,refs:refs,elements:elements,floatingStyles:floatingStyles})),[data,update,refs,elements,floatingStyles])}({strategy:"fixed",placement:desiredPlacement,whileElementsMounted:autoUpdate,elements:{reference:context.anchor},middleware:[offset({mainAxis:sideOffset+arrowHeight,alignmentAxis:alignOffset}),avoidCollisions&&shift({mainAxis:!0,crossAxis:!1,limiter:"partial"===sticky?limitShift():void 0,...detectOverflowOptions}),avoidCollisions&&flip({...detectOverflowOptions}),floating_ui_core_size({...detectOverflowOptions,apply:({elements:elements,rects:rects,availableWidth:availableWidth,availableHeight:availableHeight})=>{const{width:anchorWidth,height:anchorHeight}=rects.reference,contentStyle=elements.floating.style;contentStyle.setProperty("--radix-popper-available-width",`${availableWidth}px`),contentStyle.setProperty("--radix-popper-available-height",`${availableHeight}px`),contentStyle.setProperty("--radix-popper-anchor-width",`${anchorWidth}px`),contentStyle.setProperty("--radix-popper-anchor-height",`${anchorHeight}px`)}}),arrow&&floating_ui_react_dom_esm_arrow({element:arrow,padding:arrowPadding}),$cf1ac5d9fe0e8206$var$transformOrigin({arrowWidth:arrowWidth,arrowHeight:arrowHeight}),hideWhenDetached&&hide({strategy:"referenceHidden"})]}),[placedSide,placedAlign]=$cf1ac5d9fe0e8206$var$getSideAndAlignFromPlacement(placement),handlePlaced=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onPlaced);$9f79659886946c16$export$e5c5a5f917a5871c((()=>{isPositioned&&(null==handlePlaced||handlePlaced())}),[isPositioned,handlePlaced]);const arrowX=null===(_middlewareData$arrow=middlewareData.arrow)||void 0===_middlewareData$arrow?void 0:_middlewareData$arrow.x,arrowY=null===(_middlewareData$arrow2=middlewareData.arrow)||void 0===_middlewareData$arrow2?void 0:_middlewareData$arrow2.y,cannotCenterArrow=0!==(null===(_middlewareData$arrow3=middlewareData.arrow)||void 0===_middlewareData$arrow3?void 0:_middlewareData$arrow3.centerOffset),[contentZIndex,setContentZIndex]=(0,react.useState)();return $9f79659886946c16$export$e5c5a5f917a5871c((()=>{content&&setContentZIndex(window.getComputedStyle(content).zIndex)}),[content]),(0,react.createElement)("div",{ref:refs.setFloating,"data-radix-popper-content-wrapper":"",style:{...floatingStyles,transform:isPositioned?floatingStyles.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:contentZIndex,"--radix-popper-transform-origin":[null===(_middlewareData$trans=middlewareData.transformOrigin)||void 0===_middlewareData$trans?void 0:_middlewareData$trans.x,null===(_middlewareData$trans2=middlewareData.transformOrigin)||void 0===_middlewareData$trans2?void 0:_middlewareData$trans2.y].join(" ")},dir:props.dir},(0,react.createElement)($cf1ac5d9fe0e8206$var$PopperContentProvider,{scope:__scopePopper,placedSide:placedSide,onArrowChange:setArrow,arrowX:arrowX,arrowY:arrowY,shouldHideArrow:cannotCenterArrow},(0,react.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,react_popper_node_modules_babel_runtime_helpers_esm_extends_extends({"data-side":placedSide,"data-align":placedAlign},contentProps,{ref:composedRefs,style:{...contentProps.style,animation:isPositioned?void 0:"none",opacity:null!==(_middlewareData$hide=middlewareData.hide)&&void 0!==_middlewareData$hide&&_middlewareData$hide.referenceHidden?0:void 0}}))))}));function $cf1ac5d9fe0e8206$var$isNotNull(value){return null!==value}const $cf1ac5d9fe0e8206$var$transformOrigin=options=>({name:"transformOrigin",options:options,fn(data){var _middlewareData$arrow4,_middlewareData$arrow5,_middlewareData$arrow6,_middlewareData$arrow7,_middlewareData$arrow8;const{placement:placement,rects:rects,middlewareData:middlewareData}=data,isArrowHidden=0!==(null===(_middlewareData$arrow4=middlewareData.arrow)||void 0===_middlewareData$arrow4?void 0:_middlewareData$arrow4.centerOffset),arrowWidth=isArrowHidden?0:options.arrowWidth,arrowHeight=isArrowHidden?0:options.arrowHeight,[placedSide,placedAlign]=$cf1ac5d9fe0e8206$var$getSideAndAlignFromPlacement(placement),noArrowAlign={start:"0%",center:"50%",end:"100%"}[placedAlign],arrowXCenter=(null!==(_middlewareData$arrow5=null===(_middlewareData$arrow6=middlewareData.arrow)||void 0===_middlewareData$arrow6?void 0:_middlewareData$arrow6.x)&&void 0!==_middlewareData$arrow5?_middlewareData$arrow5:0)+arrowWidth/2,arrowYCenter=(null!==(_middlewareData$arrow7=null===(_middlewareData$arrow8=middlewareData.arrow)||void 0===_middlewareData$arrow8?void 0:_middlewareData$arrow8.y)&&void 0!==_middlewareData$arrow7?_middlewareData$arrow7:0)+arrowHeight/2;let x="",y="";return"bottom"===placedSide?(x=isArrowHidden?noArrowAlign:`${arrowXCenter}px`,y=-arrowHeight+"px"):"top"===placedSide?(x=isArrowHidden?noArrowAlign:`${arrowXCenter}px`,y=`${rects.floating.height+arrowHeight}px`):"right"===placedSide?(x=-arrowHeight+"px",y=isArrowHidden?noArrowAlign:`${arrowYCenter}px`):"left"===placedSide&&(x=`${rects.floating.width+arrowHeight}px`,y=isArrowHidden?noArrowAlign:`${arrowYCenter}px`),{data:{x:x,y:y}}}});function $cf1ac5d9fe0e8206$var$getSideAndAlignFromPlacement(placement){const[side,align="center"]=placement.split("-");return[side,align]}const $cf1ac5d9fe0e8206$export$b688253958b8dfe7=$cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d,$cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2=$cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc;function react_portal_node_modules_babel_runtime_helpers_esm_extends_extends(){return react_portal_node_modules_babel_runtime_helpers_esm_extends_extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{var _globalThis$document;const{container:container=(null===globalThis||void 0===globalThis||null===(_globalThis$document=globalThis.document)||void 0===_globalThis$document?void 0:_globalThis$document.body),...portalProps}=props;return container?react_dom.createPortal((0,react.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,react_portal_node_modules_babel_runtime_helpers_esm_extends_extends({},portalProps,{ref:forwardedRef})),container):null}));function $71cd76cc60e0454e$export$6f32135080cb4c3({prop:prop,defaultProp:defaultProp,onChange:onChange=(()=>{})}){const[uncontrolledProp,setUncontrolledProp]=function $71cd76cc60e0454e$var$useUncontrolledState({defaultProp:defaultProp,onChange:onChange}){const uncontrolledState=(0,react.useState)(defaultProp),[value]=uncontrolledState,prevValueRef=(0,react.useRef)(value),handleChange=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);return(0,react.useEffect)((()=>{prevValueRef.current!==value&&(handleChange(value),prevValueRef.current=value)}),[value,prevValueRef,handleChange]),uncontrolledState}({defaultProp:defaultProp,onChange:onChange}),isControlled=void 0!==prop,value1=isControlled?prop:uncontrolledProp,handleChange=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange),setValue=(0,react.useCallback)((nextValue=>{if(isControlled){const value="function"==typeof nextValue?nextValue(prop):nextValue;value!==prop&&handleChange(value)}else setUncontrolledProp(nextValue)}),[isControlled,prop,setUncontrolledProp,handleChange]);return[value1,setValue]}function react_visually_hidden_node_modules_babel_runtime_helpers_esm_extends_extends(){return react_visually_hidden_node_modules_babel_runtime_helpers_esm_extends_extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i(0,react.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.span,react_visually_hidden_node_modules_babel_runtime_helpers_esm_extends_extends({},props,{ref:forwardedRef,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...props.style}}))));var getDefaultParent=function(originalTarget){return"undefined"==typeof document?null:(Array.isArray(originalTarget)?originalTarget[0]:originalTarget).ownerDocument.body},counterMap=new WeakMap,uncontrolledNodes=new WeakMap,markerMap={},lockCount=0,unwrapHost=function(node){return node&&(node.host||unwrapHost(node.parentNode))},applyAttributeToOthers=function(originalTarget,parentNode,markerName,controlAttribute){var targets=function(parent,targets){return targets.map((function(target){if(parent.contains(target))return target;var correctedTarget=unwrapHost(target);return correctedTarget&&parent.contains(correctedTarget)?correctedTarget:(console.error("aria-hidden",target,"in not contained inside",parent,". Doing nothing"),null)})).filter((function(x){return Boolean(x)}))}(parentNode,Array.isArray(originalTarget)?originalTarget:[originalTarget]);markerMap[markerName]||(markerMap[markerName]=new WeakMap);var markerCounter=markerMap[markerName],hiddenNodes=[],elementsToKeep=new Set,elementsToStop=new Set(targets),keep=function(el){el&&!elementsToKeep.has(el)&&(elementsToKeep.add(el),keep(el.parentNode))};targets.forEach(keep);var deep=function(parent){parent&&!elementsToStop.has(parent)&&Array.prototype.forEach.call(parent.children,(function(node){if(elementsToKeep.has(node))deep(node);else{var attr=node.getAttribute(controlAttribute),alreadyHidden=null!==attr&&"false"!==attr,counterValue=(counterMap.get(node)||0)+1,markerValue=(markerCounter.get(node)||0)+1;counterMap.set(node,counterValue),markerCounter.set(node,markerValue),hiddenNodes.push(node),1===counterValue&&alreadyHidden&&uncontrolledNodes.set(node,!0),1===markerValue&&node.setAttribute(markerName,"true"),alreadyHidden||node.setAttribute(controlAttribute,"true")}}))};return deep(parentNode),elementsToKeep.clear(),lockCount++,function(){hiddenNodes.forEach((function(node){var counterValue=counterMap.get(node)-1,markerValue=markerCounter.get(node)-1;counterMap.set(node,counterValue),markerCounter.set(node,markerValue),counterValue||(uncontrolledNodes.has(node)||node.removeAttribute(controlAttribute),uncontrolledNodes.delete(node)),markerValue||node.removeAttribute(markerName)})),--lockCount||(counterMap=new WeakMap,counterMap=new WeakMap,uncontrolledNodes=new WeakMap,markerMap={})}},hideOthers=function(originalTarget,parentNode,markerName){void 0===markerName&&(markerName="data-aria-hidden");var targets=Array.from(Array.isArray(originalTarget)?originalTarget:[originalTarget]),activeParentNode=parentNode||getDefaultParent(originalTarget);return activeParentNode?(targets.push.apply(targets,Array.from(activeParentNode.querySelectorAll("[aria-live]"))),applyAttributeToOthers(targets,activeParentNode,markerName,"aria-hidden")):function(){return null}};var __assign=function(){return __assign=Object.assign||function __assign(t){for(var s,i=1,n=arguments.length;i