From 9095ee05f34d25c76e46ca9816ed892ffc651fd2 Mon Sep 17 00:00:00 2001 From: rodelta Date: Tue, 16 Jul 2024 13:04:17 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages-storybook=20from=20@?= =?UTF-8?q?=20abusix/hailstorm@c8baf8d780cca53c53883097ac11542a550a09fe=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Color-KGDBMAHA-BJd_stOw.js | 1 + assets/Color-PRSJMWNM-eh9pW2fS.js | 1 - assets/DocsRenderer-K4EAMTCU-v-43CCL9.js | 7 - assets/DocsRenderer-PKQXORMH-CNrXojmM.js | 2 + assets/WithTooltip-KJL26V4Q-452pmjeh.js | 1 - .../{alert-AtN3QK5X.js => alert-BT1_F7vq.js} | 2 +- ...-kwlSLQte.js => alert.stories-DUIfJ3Ys.js} | 2 +- ...{avatar-AG9PgrXd.js => avatar-hz8dHd5N.js} | 2 +- ...6ZrOnm3E.js => avatar.stories-BH72J-pd.js} | 2 +- .../{badge-fqfuhG_-.js => badge-Bpu_07Lu.js} | 2 +- ...-HS635_xv.js => badge.stories-CpKe04zk.js} | 2 +- ...breadcrumb-navigation.stories-BlNZu-Mq.js} | 2 +- assets/{bugs-DTVvle51.js => bugs-DpEN4NTH.js} | 0 ...{button-57Qwtjov.js => button-Cjc0aKsZ.js} | 2 +- ...EL.js => button-group.stories-BKsJ3AIm.js} | 2 +- ...GVuRxvlZ.js => button.stories-BpCRHXle.js} | 2 +- ...EkXPB3.js => checkbox.stories-CsBL6Bjp.js} | 2 +- ...es-J070TWId.js => class-names-B8CnD4Xb.js} | 0 ...on-rwhSs07y.js => description-BuX7rO1I.js} | 2 +- ...{dialog-AV4MErht.js => dialog-jscKnt9i.js} | 2 +- ...1xlobWTI.js => dialog.stories-IvUqkbho.js} | 2 +- ...ure-bilLE81Q.js => disclosure-CfBfnIZw.js} | 2 +- ...yTSj.js => disclosure.stories-BoDJB7zg.js} | 2 +- ...es-x8EK1kJp.js => disposables-C2E3IOeh.js} | 0 ...e-4vPnWnk9.js => divider-line-DPBmJQo4.js} | 2 +- ...0C.js => divider-line.stories-D7IbH_7C.js} | 2 +- assets/entry-preview-FCJT8lh_.js | 1 - assets/entry-preview-VETjq1Va.js | 1 + assets/entry-preview-docs-FFV1Xpem.js | 54 - assets/entry-preview-docs-TNOXop-0.js | 54 + ...g-qlYek531.js => featured-tag-CWHGYRe3.js} | 2 +- ...MF.js => featured-tag.stories-cpzg6gtW.js} | 2 +- ...qV-5sA.js => focus-management-CO_y2GRp.js} | 2 +- ...eld-6eUfOaJj.js => form-field-DvjiF2cs.js} | 2 +- ...s => form-field-group.stories-FsXhK2gm.js} | 2 +- assets/formatter-2WMMO6ZP--ZppGSaP.js | 58 - ...l.js => global-styles.stories-nHCx0yaM.js} | 2 +- ...{hidden-G4mt23Ky.js => hidden-BiaaAo9r.js} | 2 +- ...on-20HJLHEq.js => icon-button-CPqMts2r.js} | 2 +- ...DAX.js => icon-button.stories-CY6dHZ-s.js} | 2 +- assets/icons-jxFpOy4C.js | 4 - assets/icons-n-Me9q2i.js | 4 + assets/iframe-391yXaUQ.js | 7 - assets/iframe-kN1kpAQt.js | 2 + assets/index--uox3N9r.js | 1 - assets/index-6HVkS1t_.js | 522 - assets/index-BOgtj0Ww.js | 1 + assets/index-Bd60Ok5f.js | 574 + assets/index-BrjBE1XS.js | 1 + .../{index-8Ja3sjd7.js => index-Bz1H9HYf.js} | 2 +- assets/index-CK28Drts.js | 8 + assets/index-D-8MO0q_.js | 1 + .../{index-PPLHz8o0.js => index-DrFu-skq.js} | 0 assets/index-LANyd4EQ.js | 1 - .../{index-eaBuI5Jm.js => index-LVLpks_4.js} | 4 +- .../{index-aXz8NaAs.js => index-ebcBgdYO.js} | 4 +- assets/index-k79fmlbS.js | 1 - assets/index-lmOu_tDR.js | 3 - ...mP.js => inline-alert.stories-DgspFDa0.js} | 2 +- ...me-DvLKfCe6.js => jsx-runtime-B57y5fZt.js} | 2 +- ...board-NjAwe_S6.js => keyboard-6YZ08te-.js} | 2 +- .../{label-tTJj5301.js => label-DM5sTrnd.js} | 2 +- ... => last-changed-info.stories-CNwwGf9q.js} | 2 +- ...s-KDAoRDQ5.js => link.stories-B0objI-k.js} | 2 +- ...uPjd1c0.js => listbox.stories-C0ziHUsF.js} | 2 +- ...SkkB9ZBB.js => menu-info-item-C0b5hL41.js} | 2 +- ....js => menu-info-item.stories-Cvl60o3N.js} | 2 +- ...9JOpA.js => menu-item.stories-B9sSJm50.js} | 2 +- assets/{menu-227joWx7.js => menu-myOwGooF.js} | 2 +- ...Dyrf8hwB.js => menu-separator-Cn4OVP0a.js} | 2 +- ....js => menu-separator.stories-C2_ucZPz.js} | 2 +- ...tle-lwv7oZCQ.js => menu-title-9KQFWNPa.js} | 2 +- ...r3w4.js => menu-title.stories-CeU9PGqD.js} | 2 +- ...s-3Cbj8vwL.js => menu.stories-CyNBEbiq.js} | 2 +- ....js => multi-combobox.stories-8_sDKjvP.js} | 2 +- ...3Bd1.js => navigation.stories-aDcdMKIE.js} | 2 +- ...ed-arTWCtx2.js => open-closed-C7VEErGe.js} | 2 +- .../{owner-zdel76gv.js => owner-Di-Chxds.js} | 2 +- ...s-xsLXzi5e.js => page.stories-CT-8yH5_.js} | 2 +- .../{panel-D9tNMj6A.js => panel-sXU1EDOq.js} | 2 +- ...-9W6q-fnr.js => panel.stories-DmQ46nVA.js} | 2 +- ...tform-mHIZTaYY.js => platform-CkjJx1Ap.js} | 2 +- assets/preview-0AEKBwnG.js | 27 - assets/preview-6iG64ELu.js | 20 - assets/preview-9hFJSo5S.js | 20 + ...review-FAmsE9rY.js => preview-BJPLiuSt.js} | 2 +- ...review-AnqcdVBp.js => preview-BVBfBR4g.js} | 0 assets/preview-BnWGZYux.js | 1 + ...review-eG45mUaT.js => preview-BpcF_O6y.js} | 0 assets/preview-C7hbUxW8.js | 2 + assets/preview-Cdum89jS.js | 1 + assets/preview-Ct5NkTJf.js | 1 + ...review-u8M_OEO2.js => preview-DB9FwMii.js} | 4 +- ...view-w5YoLbab.css => preview-DDligttp.css} | 0 assets/preview-MdQXpms2.js | 1 - assets/preview-ThnesuRi.js | 1 - assets/preview-VnAtS6wi.js | 7 - assets/preview-gLmJTRpJ.js | 28 + assets/preview-zZA4w0lH.js | 1 - ...Fovwe.js => radio-box.stories-BIx3G84Y.js} | 2 +- ...eTW.js => radio-input.stories-ByFDXJzN.js} | 2 +- ...ct-18-UXrK_Jj3.js => react-18-Cy_QyFb9.js} | 2 +- assets/render-BBULYOlI.js | 4 + assets/render-THca3tYe.js | 4 - ...d9.js => search-input.stories-Z02L57N2.js} | 2 +- ...gH5Q7i9.js => section.stories-CJmvvsd5.js} | 2 +- ... => sidebar-container.stories-DERBRO4Y.js} | 2 +- ...HUldW1g.js => sidebar.stories-BAZCazaA.js} | 2 +- ...D1OYM.js => sidesheet.stories-Cjq-RuWg.js} | 2 +- ...js => single-combobox.stories-Cksc-2rO.js} | 2 +- ...PDynxy.js => skeleton.stories-Drv7jgTa.js} | 2 +- assets/{slot-EjYywLoi.js => slot-Bnhsn6N0.js} | 2 +- ...pinner-3qwjfHYG.js => spinner-BicvOdNJ.js} | 2 +- ...js => spinner-overlay.stories-dNDL5eg3.js} | 2 +- ...qkPbkUz.js => spinner.stories-NB62aHYT.js} | 2 +- ...tYEDzov.js => storybook-utils-C5xEhci0.js} | 0 assets/syntaxhighlighter-BP7B2CQK-GHa07Qus.js | 1 - ...es-1b9ez5HP.js => tab.stories-DjiWRems.js} | 2 +- ...NB8.js => table-unvirtualized-C1qOI-b1.js} | 2 +- ...> table-unvirtualized.stories-CTWbhTtJ.js} | 2 +- ... => table-virtualized.stories-CB0BOkWr.js} | 8 +- assets/{tag-KADc8xh0.js => tag-BUaKHE7W.js} | 2 +- ...es-4YV2EzfL.js => tag.stories-DKNlXG7s.js} | 2 +- ...5Vb7.js => text-input.stories-D45DUuB1.js} | 2 +- ...w_VoIT.js => textarea.stories-RwikJyz8.js} | 2 +- ...-9CdqYDj3.js => toast.stories-xgD-DrgR.js} | 2 +- ...{toggle-xj_yRI9R.js => toggle-Dw-zG7px.js} | 2 +- assets/toggle.stories-9fovEknJ.js | 35 - assets/toggle.stories-l1kgvW3t.js | 33 + ...lyqSdCk.js => tooltip.stories-BgvG_GQV.js} | 4 +- ...hDB_4dj.js => top-bar.stories-D1n-jHgu.js} | 2 +- ...ion-P5RH2ilL.js => transition-BaZe4U2z.js} | 2 +- assets/use-disposables-BYdaWtl0.js | 1 + assets/use-disposables-qU89AwEH.js | 1 - ...lags-F5kSKS15.js => use-flags-CXYxB9RW.js} | 2 +- assets/use-is-mounted-JxO49gTk.js | 1 - assets/use-is-mounted-V11-xH6f.js | 1 + ...wner-6in2YdcT.js => use-owner-CYYYWs7j.js} | 2 +- ...js => use-resolve-button-type-BadQLjH2.js} | 2 +- ...wFU.js => use-root-containers-D_EsISTQ.js} | 2 +- ...K_DgwPe6.js => use-text-value-DoNDUPYh.js} | 2 +- ...pper-5cZvI-4B.js => usePopper-DreBTmFO.js} | 2 +- ...bxa5rH.js => zoom-to-fit-icon-DLvbqD3B.js} | 2 +- favicon.svg | 8 +- iframe.html | 64 +- index.html | 54 +- index.json | 2 +- nunito-sans-bold-italic.woff2 | Bin 0 -> 49460 bytes nunito-sans-bold.woff2 | Bin 0 -> 47144 bytes nunito-sans-italic.woff2 | Bin 0 -> 49620 bytes nunito-sans-regular.woff2 | Bin 0 -> 47072 bytes project.json | 2 +- .../essentials-actions-3/manager-bundle.js | 2 +- .../essentials-controls-2/manager-bundle.js | 448 +- .../manager-bundle.js.LEGAL.txt | 18 - .../essentials-viewport-5/manager-bundle.js | 2 +- sb-addons/interactions-9/manager-bundle.js | 242 +- .../common-manager-bundle.js | 3 + .../common-manager-bundle.js.LEGAL.txt | 0 .../common-manager-bundle.js | 3 - sb-common-assets/favicon.svg | 1 + sb-common-assets/fonts.css | 31 - sb-manager/WithTooltip-KJL26V4Q-5LS5AN27.js | 1 - sb-manager/chunk-B3YDJJJH.js | 347 - sb-manager/chunk-BLWCBWKL.js | 9 - sb-manager/chunk-GUVK2GTO.js | 6 - sb-manager/chunk-LFRML3ZV.js | 186 - sb-manager/chunk-MC7RAF2B.js | 274 - sb-manager/chunk-ZR5JZWHI.js | 1 - sb-manager/formatter-2WMMO6ZP-JI7RHVTW.js | 58 - sb-manager/globals-module-info.js | 996 +- sb-manager/globals-runtime.js | 53528 +++++++++++++++- sb-manager/globals.js | 1 - sb-manager/index.js | 1 - sb-manager/runtime.js | 11886 +++- .../syntaxhighlighter-BP7B2CQK-WOJYHKQR.js | 1 - sb-preview/globals.js | 34 +- sb-preview/runtime.js | 9542 ++- 178 files changed, 77404 insertions(+), 2042 deletions(-) create mode 100644 assets/Color-KGDBMAHA-BJd_stOw.js delete mode 100644 assets/Color-PRSJMWNM-eh9pW2fS.js delete mode 100644 assets/DocsRenderer-K4EAMTCU-v-43CCL9.js create mode 100644 assets/DocsRenderer-PKQXORMH-CNrXojmM.js delete mode 100644 assets/WithTooltip-KJL26V4Q-452pmjeh.js rename assets/{alert-AtN3QK5X.js => alert-BT1_F7vq.js} (76%) rename assets/{alert.stories-kwlSLQte.js => alert.stories-DUIfJ3Ys.js} (85%) rename assets/{avatar-AG9PgrXd.js => avatar-hz8dHd5N.js} (80%) rename assets/{avatar.stories-6ZrOnm3E.js => avatar.stories-BH72J-pd.js} (85%) rename assets/{badge-fqfuhG_-.js => badge-Bpu_07Lu.js} (91%) rename assets/{badge.stories-HS635_xv.js => badge.stories-CpKe04zk.js} (85%) rename assets/{breadcrumb-navigation.stories-qUfks4iB.js => breadcrumb-navigation.stories-BlNZu-Mq.js} (88%) rename assets/{bugs-DTVvle51.js => bugs-DpEN4NTH.js} (100%) rename assets/{button-57Qwtjov.js => button-Cjc0aKsZ.js} (88%) rename assets/{button-group.stories-HkA0sHEL.js => button-group.stories-BKsJ3AIm.js} (94%) rename assets/{button.stories-GVuRxvlZ.js => button.stories-BpCRHXle.js} (86%) rename assets/{checkbox.stories-pjEkXPB3.js => checkbox.stories-CsBL6Bjp.js} (90%) rename assets/{class-names-J070TWId.js => class-names-B8CnD4Xb.js} (100%) rename assets/{description-rwhSs07y.js => description-BuX7rO1I.js} (82%) rename assets/{dialog-AV4MErht.js => dialog-jscKnt9i.js} (94%) rename assets/{dialog.stories-1xlobWTI.js => dialog.stories-IvUqkbho.js} (90%) rename assets/{disclosure-bilLE81Q.js => disclosure-CfBfnIZw.js} (91%) rename assets/{disclosure.stories-Lzd6yTSj.js => disclosure.stories-BoDJB7zg.js} (90%) rename assets/{disposables-x8EK1kJp.js => disposables-C2E3IOeh.js} (100%) rename assets/{divider-line-4vPnWnk9.js => divider-line-DPBmJQo4.js} (59%) rename assets/{divider-line.stories-NPHOSH0C.js => divider-line.stories-D7IbH_7C.js} (78%) delete mode 100644 assets/entry-preview-FCJT8lh_.js create mode 100644 assets/entry-preview-VETjq1Va.js delete mode 100644 assets/entry-preview-docs-FFV1Xpem.js create mode 100644 assets/entry-preview-docs-TNOXop-0.js rename assets/{featured-tag-qlYek531.js => featured-tag-CWHGYRe3.js} (76%) rename assets/{featured-tag.stories-bInCR4MF.js => featured-tag.stories-cpzg6gtW.js} (59%) rename assets/{focus-management-9lqV-5sA.js => focus-management-CO_y2GRp.js} (95%) rename assets/{form-field-6eUfOaJj.js => form-field-DvjiF2cs.js} (98%) rename assets/{form-field-group.stories-itCXz9-U.js => form-field-group.stories-FsXhK2gm.js} (78%) delete mode 100644 assets/formatter-2WMMO6ZP--ZppGSaP.js rename assets/{global-styles.stories-mcWbTK0l.js => global-styles.stories-nHCx0yaM.js} (98%) rename assets/{hidden-G4mt23Ky.js => hidden-BiaaAo9r.js} (88%) rename assets/{icon-button-20HJLHEq.js => icon-button-CPqMts2r.js} (89%) rename assets/{icon-button.stories-k6ry-DAX.js => icon-button.stories-CY6dHZ-s.js} (69%) delete mode 100644 assets/icons-jxFpOy4C.js create mode 100644 assets/icons-n-Me9q2i.js delete mode 100644 assets/iframe-391yXaUQ.js create mode 100644 assets/iframe-kN1kpAQt.js delete mode 100644 assets/index--uox3N9r.js delete mode 100644 assets/index-6HVkS1t_.js create mode 100644 assets/index-BOgtj0Ww.js create mode 100644 assets/index-Bd60Ok5f.js create mode 100644 assets/index-BrjBE1XS.js rename assets/{index-8Ja3sjd7.js => index-Bz1H9HYf.js} (69%) create mode 100644 assets/index-CK28Drts.js create mode 100644 assets/index-D-8MO0q_.js rename assets/{index-PPLHz8o0.js => index-DrFu-skq.js} (100%) delete mode 100644 assets/index-LANyd4EQ.js rename assets/{index-eaBuI5Jm.js => index-LVLpks_4.js} (99%) rename assets/{index-aXz8NaAs.js => index-ebcBgdYO.js} (90%) delete mode 100644 assets/index-k79fmlbS.js delete mode 100644 assets/index-lmOu_tDR.js rename assets/{inline-alert.stories-YudhdemP.js => inline-alert.stories-DgspFDa0.js} (88%) rename assets/{jsx-runtime-DvLKfCe6.js => jsx-runtime-B57y5fZt.js} (93%) rename assets/{keyboard-NjAwe_S6.js => keyboard-6YZ08te-.js} (77%) rename assets/{label-tTJj5301.js => label-DM5sTrnd.js} (92%) rename assets/{last-changed-info.stories-va60sZzp.js => last-changed-info.stories-CNwwGf9q.js} (91%) rename assets/{link.stories-KDAoRDQ5.js => link.stories-B0objI-k.js} (92%) rename assets/{listbox.stories-huPjd1c0.js => listbox.stories-C0ziHUsF.js} (71%) rename assets/{menu-info-item-SkkB9ZBB.js => menu-info-item-C0b5hL41.js} (89%) rename assets/{menu-info-item.stories-NbBS49PM.js => menu-info-item.stories-Cvl60o3N.js} (80%) rename assets/{menu-item.stories-5a59JOpA.js => menu-item.stories-B9sSJm50.js} (55%) rename assets/{menu-227joWx7.js => menu-myOwGooF.js} (91%) rename assets/{menu-separator-Dyrf8hwB.js => menu-separator-Cn4OVP0a.js} (51%) rename assets/{menu-separator.stories-iedKsExU.js => menu-separator.stories-C2_ucZPz.js} (78%) rename assets/{menu-title-lwv7oZCQ.js => menu-title-9KQFWNPa.js} (78%) rename assets/{menu-title.stories-w6SKr3w4.js => menu-title.stories-CeU9PGqD.js} (78%) rename assets/{menu.stories-3Cbj8vwL.js => menu.stories-CyNBEbiq.js} (60%) rename assets/{multi-combobox.stories-fFaCjOhI.js => multi-combobox.stories-8_sDKjvP.js} (86%) rename assets/{navigation.stories-fI1m3Bd1.js => navigation.stories-aDcdMKIE.js} (96%) rename assets/{open-closed-arTWCtx2.js => open-closed-C7VEErGe.js} (82%) rename assets/{owner-zdel76gv.js => owner-Di-Chxds.js} (71%) rename assets/{page.stories-xsLXzi5e.js => page.stories-CT-8yH5_.js} (89%) rename assets/{panel-D9tNMj6A.js => panel-sXU1EDOq.js} (69%) rename assets/{panel.stories-9W6q-fnr.js => panel.stories-DmQ46nVA.js} (67%) rename assets/{platform-mHIZTaYY.js => platform-CkjJx1Ap.js} (75%) delete mode 100644 assets/preview-0AEKBwnG.js delete mode 100644 assets/preview-6iG64ELu.js create mode 100644 assets/preview-9hFJSo5S.js rename assets/{preview-FAmsE9rY.js => preview-BJPLiuSt.js} (89%) rename assets/{preview-AnqcdVBp.js => preview-BVBfBR4g.js} (100%) create mode 100644 assets/preview-BnWGZYux.js rename assets/{preview-eG45mUaT.js => preview-BpcF_O6y.js} (100%) create mode 100644 assets/preview-C7hbUxW8.js create mode 100644 assets/preview-Cdum89jS.js create mode 100644 assets/preview-Ct5NkTJf.js rename assets/{preview-u8M_OEO2.js => preview-DB9FwMii.js} (98%) rename assets/{preview-w5YoLbab.css => preview-DDligttp.css} (100%) delete mode 100644 assets/preview-MdQXpms2.js delete mode 100644 assets/preview-ThnesuRi.js delete mode 100644 assets/preview-VnAtS6wi.js create mode 100644 assets/preview-gLmJTRpJ.js delete mode 100644 assets/preview-zZA4w0lH.js rename assets/{radio-box.stories-uHhFovwe.js => radio-box.stories-BIx3G84Y.js} (63%) rename assets/{radio-input.stories-ZdcfPeTW.js => radio-input.stories-ByFDXJzN.js} (53%) rename assets/{react-18-UXrK_Jj3.js => react-18-Cy_QyFb9.js} (77%) create mode 100644 assets/render-BBULYOlI.js delete mode 100644 assets/render-THca3tYe.js rename assets/{search-input.stories-42u9iPd9.js => search-input.stories-Z02L57N2.js} (72%) rename assets/{section.stories-GgH5Q7i9.js => section.stories-CJmvvsd5.js} (94%) rename assets/{sidebar-container.stories-p6gkrcru.js => sidebar-container.stories-DERBRO4Y.js} (89%) rename assets/{sidebar.stories-DHUldW1g.js => sidebar.stories-BAZCazaA.js} (95%) rename assets/{sidesheet.stories-i7nD1OYM.js => sidesheet.stories-Cjq-RuWg.js} (81%) rename assets/{single-combobox.stories-sTQKcdwi.js => single-combobox.stories-Cksc-2rO.js} (77%) rename assets/{skeleton.stories-R4PDynxy.js => skeleton.stories-Drv7jgTa.js} (87%) rename assets/{slot-EjYywLoi.js => slot-Bnhsn6N0.js} (69%) rename assets/{spinner-3qwjfHYG.js => spinner-BicvOdNJ.js} (89%) rename assets/{spinner-overlay.stories-pwM8FtP5.js => spinner-overlay.stories-dNDL5eg3.js} (76%) rename assets/{spinner.stories-hqkPbkUz.js => spinner.stories-NB62aHYT.js} (66%) rename assets/{storybook-utils-8tYEDzov.js => storybook-utils-C5xEhci0.js} (100%) delete mode 100644 assets/syntaxhighlighter-BP7B2CQK-GHa07Qus.js rename assets/{tab.stories-1b9ez5HP.js => tab.stories-DjiWRems.js} (95%) rename assets/{table-unvirtualized-qNCB5NB8.js => table-unvirtualized-C1qOI-b1.js} (96%) rename assets/{table-unvirtualized.stories-8kTNWqQz.js => table-unvirtualized.stories-CTWbhTtJ.js} (96%) rename assets/{table-virtualized.stories-QI3KXiH0.js => table-virtualized.stories-CB0BOkWr.js} (86%) rename assets/{tag-KADc8xh0.js => tag-BUaKHE7W.js} (78%) rename assets/{tag.stories-4YV2EzfL.js => tag.stories-DKNlXG7s.js} (84%) rename assets/{text-input.stories-cnVO5Vb7.js => text-input.stories-D45DUuB1.js} (78%) rename assets/{textarea.stories-kiw_VoIT.js => textarea.stories-RwikJyz8.js} (66%) rename assets/{toast.stories-9CdqYDj3.js => toast.stories-xgD-DrgR.js} (91%) rename assets/{toggle-xj_yRI9R.js => toggle-Dw-zG7px.js} (82%) delete mode 100644 assets/toggle.stories-9fovEknJ.js create mode 100644 assets/toggle.stories-l1kgvW3t.js rename assets/{tooltip.stories-DlyqSdCk.js => tooltip.stories-BgvG_GQV.js} (74%) rename assets/{top-bar.stories-5hDB_4dj.js => top-bar.stories-D1n-jHgu.js} (86%) rename assets/{transition-P5RH2ilL.js => transition-BaZe4U2z.js} (94%) create mode 100644 assets/use-disposables-BYdaWtl0.js delete mode 100644 assets/use-disposables-qU89AwEH.js rename assets/{use-flags-F5kSKS15.js => use-flags-CXYxB9RW.js} (67%) delete mode 100644 assets/use-is-mounted-JxO49gTk.js create mode 100644 assets/use-is-mounted-V11-xH6f.js rename assets/{use-owner-6in2YdcT.js => use-owner-CYYYWs7j.js} (88%) rename assets/{use-resolve-button-type-Iz3xK6-2.js => use-resolve-button-type-BadQLjH2.js} (70%) rename assets/{use-root-containers-gvIPfwFU.js => use-root-containers-D_EsISTQ.js} (91%) rename assets/{use-text-value-K_DgwPe6.js => use-text-value-DoNDUPYh.js} (94%) rename assets/{usePopper-5cZvI-4B.js => usePopper-DreBTmFO.js} (99%) rename assets/{zoom-to-fit-icon-D5bxa5rH.js => zoom-to-fit-icon-DLvbqD3B.js} (99%) create mode 100644 nunito-sans-bold-italic.woff2 create mode 100644 nunito-sans-bold.woff2 create mode 100644 nunito-sans-italic.woff2 create mode 100644 nunito-sans-regular.woff2 create mode 100644 sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js rename sb-addons/{storybook-core-server-presets-0 => storybook-core-core-server-presets-0}/common-manager-bundle.js.LEGAL.txt (100%) delete mode 100644 sb-addons/storybook-core-server-presets-0/common-manager-bundle.js create mode 100644 sb-common-assets/favicon.svg delete mode 100644 sb-common-assets/fonts.css delete mode 100644 sb-manager/WithTooltip-KJL26V4Q-5LS5AN27.js delete mode 100644 sb-manager/chunk-B3YDJJJH.js delete mode 100644 sb-manager/chunk-BLWCBWKL.js delete mode 100644 sb-manager/chunk-GUVK2GTO.js delete mode 100644 sb-manager/chunk-LFRML3ZV.js delete mode 100644 sb-manager/chunk-MC7RAF2B.js delete mode 100644 sb-manager/chunk-ZR5JZWHI.js delete mode 100644 sb-manager/formatter-2WMMO6ZP-JI7RHVTW.js delete mode 100644 sb-manager/globals.js delete mode 100644 sb-manager/index.js delete mode 100644 sb-manager/syntaxhighlighter-BP7B2CQK-WOJYHKQR.js diff --git a/assets/Color-KGDBMAHA-BJd_stOw.js b/assets/Color-KGDBMAHA-BJd_stOw.js new file mode 100644 index 00000000..0080f648 --- /dev/null +++ b/assets/Color-KGDBMAHA-BJd_stOw.js @@ -0,0 +1 @@ +import{al as Me,am as $,a2 as ie,a0 as Ce,c as $e,an as Oe,ao as Ie}from"./index-Bd60Ok5f.js";import{R as h,r as m,g as ue}from"./index-ebcBgdYO.js";import{_ as Ne,i as fe}from"./index-CK28Drts.js";import"./iframe-kN1kpAQt.js";import"../sb-preview/runtime.js";import"./index-LVLpks_4.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function I(){return(I=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var R=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(te(o.current,p,l.current)):M(!1)},j=function(){return M(!1)};function M(p){var b=c.current,w=V(o.current),E=p?w.addEventListener:w.removeEventListener;E(b?"touchmove":"mousemove",x),E(b?"touchend":"mouseup",j)}return[function(p){var b=p.nativeEvent,w=o.current;if(w&&(ne(b),!function(k,O){return O&&!H(k)}(b,c.current)&&w)){if(H(b)){c.current=!0;var E=b.changedTouches||[];E.length&&(l.current=E[0].identifier)}w.focus(),a(te(w,b,l.current)),M(!0)}},function(p){var b=p.which||p.keyCode;b<37||b>40||(p.preventDefault(),s({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},M]},[s,a]),d=i[0],f=i[1],g=i[2];return m.useEffect(function(){return g},[g]),h.createElement("div",I({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),T=function(e){return e.filter(Boolean).join(" ")},Z=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=T(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=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:e.length===4?y(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:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},je=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},ze=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?He({h:je(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},He=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},Fe=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},B=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),c=r*(1-(1-t+a)*n),i=a%6;return{r:y(255*[r,l,s,s,c,r][i]),g:y(255*[c,r,r,l,s,s][i]),b:y(255*[s,s,c,r,r,l][i]),a:y(o,2)}},Te=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},P=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?P(y(255*o)):"";return"#"+P(t)+P(n)+P(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=T(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Q,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:R(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(Z,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Q,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:R(t.s+100*o.left,0,100),v:R(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(Z,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=m.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,l.current.color)){var i=e.toHsva(t);l.current={hsva:i,color:t},s(i)}},[t,e]),m.useEffect(function(){var i;ve(a,l.current.hsva)||e.equal(i=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:i},r(i))},[a,e,r]);var c=m.useCallback(function(i){s(function(d){return Object.assign({},d,i)})},[]);return[a,c]}var qe=typeof window<"u"?m.useLayoutEffect:m.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},re=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!re.has(t)){var n=t.createElement("style");n.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}`,re.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},Xe=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);xe(l);var c=ye(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(be,{hsva:i,onChange:d}),h.createElement(me,{hue:i.h,onChange:d,className:"react-colorful__last-control"}))},De={defaultColor:"000",toHsva:Re,fromHsva:function(e){return Fe({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},We=function(e){return h.createElement(Xe,I({},e,{colorModel:De}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B(Object.assign({},n,{a:0}))+", "+B(Object.assign({},n,{a:1}))+")"},a=T(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Q,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:R(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(Z,{className:"react-colorful__alpha-pointer",left:n.a,color:B(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);xe(l);var c=ye(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(be,{hsva:i,onChange:d}),h.createElement(me,{hue:i.h,onChange:d}),h.createElement(Ke,{hsva:i,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ze,fromHsva:B,equal:pe},Ae=function(e){return h.createElement(we,I({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Te,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,I({},e,{colorModel:Ge}))},Ye={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]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={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"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,c;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const i=(o+a)/2;return a===o?c=0:i<=.5?c=s/(a+o):c=s/(2-a-o),[l,c*100,i*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,c=e[2]/255,i=Math.max(s,l,c),d=i-Math.min(s,l,c),f=function(g){return(i-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/i,t=f(s),n=f(l),r=f(c),s===i?o=r-n:l===i?o=1/3+t-r:c===i&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,i*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,c=[0,0,0];for(let i=0;i<3;i++)a=t+1/3*-(i-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,c[i]=s*255;return c};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,c,s];case 1:return[l,r,s];case 2:return[s,r,c];case 3:return[s,l,r];case 4:return[c,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const c=n+a*(l-n);let i,d,f;switch(s){default:case 6:case 0:i=l,d=c,f=n;break;case 1:i=c,d=l,f=n;break;case 2:i=n,d=l,f=c;break;case 3:i=n,d=c,f=l;break;case 4:i=c,d=n,f=l;break;case 5:i=l,d=n,f=c;break}return[i*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,c=o**3,i=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=i>.008856?i:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,c;return s<1?l=a/(1-s):l=0,s<=0?c=0:o===t?c=(n-r)/s%6:o===n?c=2+(r-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let c=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return c=(1-n)*r,[(n*o[0]+c)*255,(n*o[1]+c)*255,(n*o[2]+c)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const X=_e;function Qe(){const e={},t=Object.keys(X);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{N[e]={},Object.defineProperty(N[e],"channels",{value:U[e].channels}),Object.defineProperty(N[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];N[e][r]=st(o),N[e][r].raw=at(o)})});var lt=N;const _=ue(lt);var ct=Ne,it=function(){return ct.Date.now()},ut=it,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,oe=fe,yt=Me,ae=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return ae;if(oe(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=oe(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?ae:+e}var Mt=Et,Ct=fe,W=ut,se=Mt,$t="Expected a function",Ot=Math.max,It=Math.min;function Nt(e,t,n){var r,o,a,s,l,c,i=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=se(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Ot(se(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function x(v){var C=r,z=o;return r=o=void 0,i=v,s=e.apply(z,C),s}function j(v){return i=v,l=setTimeout(b,t),d?x(v):s}function M(v){var C=v-c,z=v-i,ee=t-C;return f?It(ee,a-z):ee}function p(v){var C=v-c,z=v-i;return c===void 0||C>=t||C<0||f&&z>=a}function b(){var v=W();if(p(v))return w(v);l=setTimeout(b,M(v))}function w(v){return l=void 0,g&&r?x(v):(r=o=void 0,s)}function E(){l!==void 0&&clearTimeout(l),i=0,r=c=o=l=void 0}function k(){return l===void 0?s:w(W())}function O(){var v=W(),C=p(v);if(r=arguments,o=this,c=v,C){if(l===void 0)return j(c);if(f)return clearTimeout(l),l=setTimeout(b,t),x(c)}return l===void 0&&(l=setTimeout(b,t)),s}return O.cancel=E,O.flush=k,O}var St=Nt;const Rt=ue(St);var jt=$.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),zt=$(ie)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ht=$.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"}}),Ft=$(Ce)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Tt=$.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Pt=$.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Lt=`url('data:image/svg+xml;charset=utf-8,')`,le=({value:e,style:t,...n})=>{let r=`linear-gradient(${e}, ${e}), ${Lt}, linear-gradient(#fff, #fff)`;return h.createElement(Pt,{...n,style:{...t,backgroundImage:r}})},qt=$($e.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Bt=$(Oe)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),L=Object.values(Ee),Xt=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Dt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Wt=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Kt=/^\s*#?([0-9a-f]{3})\s*$/i,Vt={hex:We,rgb:Ue,hsl:Ae},q={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(Xt);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},S=e=>{if(!e)return;let t=!0;if(Dt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.rgb.hsl([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.rgb.keyword([s,l,c]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${i})`,hex:`#${_.rgb.hex([s,l,c]).toLowerCase()}`}}if(Wt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.hsl.rgb([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.hsl.keyword([s,l,c]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${i})`,hsl:e,hex:`#${_.hsl.hex([s,l,c]).toLowerCase()}`}}let n=e.replace("#",""),r=_.keyword.rgb(n)||_.hex.rgb(n),o=_.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{_.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:_.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},At=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return q[n];if(n!=="hex")return(t==null?void 0:t[n])||q[n];if(!t.hex.startsWith("#"))try{return`#${_.keyword.hex(t.hex)}`}catch{return q.hex}let r=t.hex.match(Kt);if(!r)return Y.test(t.hex)?t.hex:q.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Gt=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>S(n)),[s,l]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=S(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let c=m.useMemo(()=>At(n,o,s).toLowerCase(),[n,o,s]),i=m.useCallback(f=>{let g=S(f),x=(g==null?void 0:g.value)||f||"";r(x),x===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=L.indexOf(s)+1;f>=L.length&&(f=0),l(L[f]);let g=(o==null?void 0:o[L[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:c,updateValue:i,color:o,colorSpace:s,cycleColorSpace:d}},D=e=>e.replace(/\s*/,"").toLowerCase(),Ut=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(l=>typeof l=="string"?S(l):l.title?{...S(l.color),keyword:l.title}:S(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=m.useCallback(l=>{l!=null&&l.valid&&(a.some(c=>D(c[n])===D(l[n]))||o(c=>c.concat(l)))},[n,a]);return{presets:a,addPreset:s}},Yt=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1,argType:l})=>{var E;let c=m.useCallback(Rt(n,200),[n]),{value:i,realValue:d,updateValue:f,color:g,colorSpace:x,cycleColorSpace:j}=Gt(t,c),{presets:M,addPreset:p}=Ut(a,g,x),b=Vt[x],w=!!((E=l==null?void 0:l.table)!=null&&E.readonly);return h.createElement(jt,{"aria-readonly":w},h.createElement(zt,{startOpen:s,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>p(g),tooltip:h.createElement(Ht,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),M.length>0&&h.createElement(Tt,null,M.map((k,O)=>h.createElement(ie,{key:`${k.value}-${O}`,hasChrome:!1,tooltip:h.createElement(Ft,{note:k.keyword||k.value})},h.createElement(le,{value:k[x],active:g&&D(k[x])===D(g[x]),onClick:()=>f(k.value)})))))},h.createElement(le,{value:d,style:{margin:4}})),h.createElement(qt,{id:Ie(e),value:i,onChange:k=>f(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),i?h.createElement(Bt,{onClick:j}):null)},an=Yt;export{Yt as ColorControl,an as default}; diff --git a/assets/Color-PRSJMWNM-eh9pW2fS.js b/assets/Color-PRSJMWNM-eh9pW2fS.js deleted file mode 100644 index 31a51964..00000000 --- a/assets/Color-PRSJMWNM-eh9pW2fS.js +++ /dev/null @@ -1 +0,0 @@ -import{n as $,e as ue,T as Me,F as Ce,f as $e,g as Oe}from"./index-6HVkS1t_.js";import{R as h,r as m,g as fe}from"./index-aXz8NaAs.js";import{_ as Ne,i as J,a as Ie}from"./index-lmOu_tDR.js";import"./iframe-391yXaUQ.js";import"../sb-preview/runtime.js";import"./index-eaBuI5Jm.js";import"./index-LANyd4EQ.js";import"./index-PPLHz8o0.js";function N(){return(N=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var R=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,s.current)):M(!1)},j=function(){return M(!1)};function M(p){var b=i.current,w=V(o.current),E=p?w.addEventListener:w.removeEventListener;E(b?"touchmove":"mousemove",x),E(b?"touchend":"mouseup",j)}return[function(p){var b=p.nativeEvent,w=o.current;if(w&&(re(b),!function(k,O){return O&&!F(k)}(b,i.current)&&w)){if(F(b)){i.current=!0;var E=b.changedTouches||[];E.length&&(s.current=E[0].identifier)}w.focus(),a(ne(w,b,s.current)),M(!0)}},function(p){var b=p.which||p.keyCode;b<37||b>40||(p.preventDefault(),l({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},M]},[l,a]),d=c[0],f=c[1],g=c[2];return m.useEffect(function(){return g},[g]),h.createElement("div",N({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),H=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=H(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=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:e.length===4?y(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:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},je=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},Te=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:je(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},B=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),l=r*(1-n),s=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,s,l,l,i,r][c]),g:y(255*[i,r,r,s,l,l][c]),b:y(255*[l,l,i,r,r,s][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},P=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?P(y(255*o)):"";return"#"+P(t)+P(n)+P(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),l=a-Math.min(t,n,r),s=l?a===t?(n-r)/l:a===n?2+(r-t)/l:4+(t-n)/l:0;return{h:y(60*(s<0?s+6:s)),s:y(a?l/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=H(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:R(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:R(t.s+100*o.left,0,100),v:R(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=m.useState(function(){return e.toHsva(t)}),a=o[0],l=o[1],s=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,s.current.color)){var c=e.toHsva(t);s.current={hsva:c,color:t},l(c)}},[t,e]),m.useEffect(function(){var c;ve(a,s.current.hsva)||e.equal(c=e.fromHsva(a),s.current.color)||(s.current={hsva:a,color:c},r(c))},[a,e,r]);var i=m.useCallback(function(c){l(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?m.useLayoutEffect:m.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.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}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,l=Q(e,["className","colorModel","color","onChange"]),s=m.useRef(null);xe(s);var i=ye(n,o,a),c=i[0],d=i[1],f=H(["react-colorful",t]);return h.createElement("div",N({},l,{ref:s,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,N({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B(Object.assign({},n,{a:0}))+", "+B(Object.assign({},n,{a:1}))+")"},a=H(["react-colorful__alpha",t]),l=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(s){r({a:s.left})},onKey:function(s){r({a:R(n.a+s.left)})},"aria-label":"Alpha","aria-valuetext":l+"%","aria-valuenow":l,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:B(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,l=Q(e,["className","colorModel","color","onChange"]),s=m.useRef(null);xe(s);var i=ye(n,o,a),c=i[0],d=i[1],f=H(["react-colorful",t]);return h.createElement("div",N({},l,{ref:s,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:Te,fromHsva:B,equal:pe},Ae=function(e){return h.createElement(we,N({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,N({},e,{colorModel:Ge}))},Ye={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]};const z=Ye,ke={};for(const e of Object.keys(z))ke[z[e]]=e;const u={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"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),l=a-o;let s,i;a===o?s=0:t===a?s=(n-r)/l:n===a?s=2+(r-t)/l:r===a&&(s=4+(t-n)/l),s=Math.min(s*60,360),s<0&&(s+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=l/(a+o):i=l/(2-a-o),[s,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const l=e[0]/255,s=e[1]/255,i=e[2]/255,c=Math.max(l,s,i),d=c-Math.min(l,s,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(l),n=f(s),r=f(i),l===c?o=r-n:s===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,l=(1-n-o)/(1-o)||0,s=(1-r-o)/(1-o)||0;return[a*100,l*100,s*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(z)){const a=z[o],l=Je(e,a);l.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,l=t*.0193+n*.1192+r*.9505;return[o*100,a*100,l*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,l=500*(n-r),s=200*(r-o);return[a,l,s]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,l;if(n===0)return l=r*255,[l,l,l];r<.5?o=r*(1+n):o=r+n-r*n;const s=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?l=s+(o-s)*6*a:2*a<1?l=o:3*a<2?l=s+(o-s)*(2/3-a)*6:l=s,i[c]=l*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const l=(r+n)/2,s=r===0?2*o/(a+o):2*n/(r+n);return[t,s*100,l*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),l=255*r*(1-n),s=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,l];case 1:return[s,r,l];case 2:return[l,r,i];case 3:return[l,s,r];case 4:return[i,l,r];case 5:return[r,l,s]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,l;l=(2-n)*r;const s=(2-n)*o;return a=n*o,a/=s<=1?s:2-s,a=a||0,l/=2,[t,a*100,l*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const l=Math.floor(6*t),s=1-r;a=6*t-l,l&1&&(a=1-a);const i=n+a*(s-n);let c,d,f;switch(l){default:case 6:case 0:c=s,d=i,f=n;break;case 1:c=i,d=s,f=n;break;case 2:c=n,d=s,f=i;break;case 3:c=n,d=i,f=s;break;case 4:c=i,d=n,f=s;break;case 5:c=s,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),l=1-Math.min(1,n*(1-o)+o),s=1-Math.min(1,r*(1-o)+o);return[a*255,l*255,s*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,l;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,l=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),l=Math.min(Math.max(0,l),1),[o*255,a*255,l*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),l=200*(n-r);return[o,a,l]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,l;a=(t+16)/116,o=n/500+a,l=a-r/200;const s=a**3,i=o**3,c=l**3;return a=s>.008856?s:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,l=c>.008856?c:(l-16/116)/7.787,o*=95.047,a*=100,l*=108.883,[o,a,l]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const l=Math.sqrt(n*n+r*r);return[t,l,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),l=n*Math.sin(o);return[t,a,l]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let l=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(l+=60),l};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(s=>s+s).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,l=r&255;return[o,a,l]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),l=o-a;let s,i;return l<1?s=a/(1-l):s=0,l<=0?i=0:o===t?i=(n-r)/l%6:o===n?i=2+(r-t)/l:i=4+(t-n)/l,i/=6,i%=1,[i*360,l*100,s*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,l=a%1,s=1-l;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=l,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=l;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=l,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const W=_e;function Qe(){const e={},t=Object.keys(W);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function lt(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,l=0;l{I[e]={},Object.defineProperty(I[e],"channels",{value:U[e].channels}),Object.defineProperty(I[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];I[e][r]=lt(o),I[e][r].raw=at(o)})});var st=I;const _=fe(st);var it=Ne,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,le=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return le;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?le:+e}var Mt=Et,Ct=J,D=ut,se=Mt,$t="Expected a function",Ot=Math.max,Nt=Math.min;function It(e,t,n){var r,o,a,l,s,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=se(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Ot(se(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function x(v){var C=r,T=o;return r=o=void 0,c=v,l=e.apply(T,C),l}function j(v){return c=v,s=setTimeout(b,t),d?x(v):l}function M(v){var C=v-i,T=v-c,te=t-C;return f?Nt(te,a-T):te}function p(v){var C=v-i,T=v-c;return i===void 0||C>=t||C<0||f&&T>=a}function b(){var v=D();if(p(v))return w(v);s=setTimeout(b,M(v))}function w(v){return s=void 0,g&&r?x(v):(r=o=void 0,l)}function E(){s!==void 0&&clearTimeout(s),c=0,r=i=o=s=void 0}function k(){return s===void 0?l:w(D())}function O(){var v=D(),C=p(v);if(r=arguments,o=this,i=v,C){if(s===void 0)return j(i);if(f)return clearTimeout(s),s=setTimeout(b,t),x(i)}return s===void 0&&(s=setTimeout(b,t)),l}return O.cancel=E,O.flush=k,O}var St=It,Rt=St,jt=J,Tt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(Tt);return jt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=$.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Lt=$(ue)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),qt=$.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"}}),Bt=$(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=$.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=$.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,style:t,...n})=>{let r=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...n,style:{...t,backgroundImage:r}})},Kt=$(Ce.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=$($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),L=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},q={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},S=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[l,s,i,c]=ce(e),[d,f,g]=_.rgb.hsl([l,s,i])||[0,0,0];return{valid:t,value:e,keyword:_.rgb.keyword([l,s,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${_.rgb.hex([l,s,i]).toLowerCase()}`}}if(Ut.test(e)){let[l,s,i,c]=ce(e),[d,f,g]=_.hsl.rgb([l,s,i])||[0,0,0];return{valid:t,value:e,keyword:_.hsl.keyword([l,s,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${_.hsl.hex([l,s,i]).toLowerCase()}`}}let n=e.replace("#",""),r=_.keyword.rgb(n)||_.hex.rgb(n),o=_.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{_.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:_.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return q[n];if(n!=="hex")return(t==null?void 0:t[n])||q[n];if(!t.hex.startsWith("#"))try{return`#${_.keyword.hex(t.hex)}`}catch{return q.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:q.hex;let[o,a,l]=r[1].split("");return`#${o}${o}${a}${a}${l}${l}`},Zt=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>S(n)),[l,s]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=S(f);r(f),a(g),s((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=m.useMemo(()=>Qt(n,o,l).toLowerCase(),[n,o,l]),c=m.useCallback(f=>{let g=S(f),x=(g==null?void 0:g.value)||f||"";r(x),x===""&&(a(void 0),t(void 0)),g&&(a(g),s(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=L.indexOf(l)+1;f>=L.length&&(f=0),s(L[f]);let g=(o==null?void 0:o[L[f]])||"";r(g),t(g)},[o,l,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:l,cycleColorSpace:d}},X=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(s=>typeof s=="string"?S(s):s.title?{...S(s.color),keyword:s.title}:S(s.color)).concat(r).filter(Boolean).slice(-27),[e,r]),l=m.useCallback(s=>{s!=null&&s.valid&&(a.some(i=>X(i[n])===X(s[n]))||o(i=>i.concat(s)))},[n,a]);return{presets:a,addPreset:l}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:l=!1,argType:s})=>{var E;let i=m.useCallback(Ht(n,200),[n]),{value:c,realValue:d,updateValue:f,color:g,colorSpace:x,cycleColorSpace:j}=Zt(t,i),{presets:M,addPreset:p}=en(a,g,x),b=Jt[x],w=!!((E=s==null?void 0:s.table)!=null&&E.readonly);return h.createElement(Pt,{"aria-readonly":w},h.createElement(Lt,{startOpen:l,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>p(g),tooltip:h.createElement(qt,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),M.length>0&&h.createElement(Wt,null,M.map((k,O)=>h.createElement(ue,{key:`${k.value}-${O}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:k.keyword||k.value})},h.createElement(ie,{value:k[x],active:g&&X(k[x])===X(g[x]),onClick:()=>f(k.value)})))))},h.createElement(ie,{value:d,style:{margin:4}})),h.createElement(Kt,{id:Oe(e),value:c,onChange:k=>f(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),c?h.createElement(Vt,{onClick:j}):null)},fn=tn;export{tn as ColorControl,fn as default}; diff --git a/assets/DocsRenderer-K4EAMTCU-v-43CCL9.js b/assets/DocsRenderer-K4EAMTCU-v-43CCL9.js deleted file mode 100644 index 8a6840d6..00000000 --- a/assets/DocsRenderer-K4EAMTCU-v-43CCL9.js +++ /dev/null @@ -1,7 +0,0 @@ -import{_ as p}from"./iframe-391yXaUQ.js";import{R as e,r as c}from"./index-aXz8NaAs.js";import{r as l,u}from"./react-18-UXrK_Jj3.js";import{C as h,A as E,H as d,D as x}from"./index-6HVkS1t_.js";import"../sb-preview/runtime.js";import"./index-eaBuI5Jm.js";import"./index-LANyd4EQ.js";import"./index-lmOu_tDR.js";import"./index-PPLHz8o0.js";var _={code:h,a:E,...d},D=class extends c.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:e.createElement(e.Fragment,null,r)}},F=class{constructor(){this.render=async(t,r,o)=>{let n={..._,...r==null?void 0:r.components},s=x;return new Promise((m,a)=>{p(()=>import("./index--uox3N9r.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(({MDXProvider:i})=>l(e.createElement(D,{showException:a,key:Math.random()},e.createElement(i,{components:n},e.createElement(s,{context:t,docsParameter:r}))),o)).then(()=>m())})},this.unmount=t=>{u(t)}}};export{F as DocsRenderer,_ as defaultComponents}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./index--uox3N9r.js","./index-k79fmlbS.js","./index-aXz8NaAs.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} diff --git a/assets/DocsRenderer-PKQXORMH-CNrXojmM.js b/assets/DocsRenderer-PKQXORMH-CNrXojmM.js new file mode 100644 index 00000000..64f57d62 --- /dev/null +++ b/assets/DocsRenderer-PKQXORMH-CNrXojmM.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BOgtj0Ww.js","./index-ebcBgdYO.js"])))=>i.map(i=>d[i]); +import{_ as p}from"./iframe-kN1kpAQt.js";import{R as e,r as c}from"./index-ebcBgdYO.js";import{r as u,u as l}from"./react-18-Cy_QyFb9.js";import{af as h,ag as E,ah as d,ai as x}from"./index-Bd60Ok5f.js";import"../sb-preview/runtime.js";import"./index-LVLpks_4.js";import"./index-D-8MO0q_.js";import"./index-CK28Drts.js";import"./index-DrFu-skq.js";var _={code:h,a:E,...d},D=class extends c.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:e.createElement(e.Fragment,null,r)}},F=class{constructor(){this.render=async(t,r,n)=>{let s={..._,...r==null?void 0:r.components},a=x;return new Promise((i,m)=>{p(async()=>{const{MDXProvider:o}=await import("./index-BOgtj0Ww.js");return{MDXProvider:o}},__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:o})=>u(e.createElement(D,{showException:m,key:Math.random()},e.createElement(o,{components:s},e.createElement(a,{context:t,docsParameter:r}))),n)).then(()=>i())})},this.unmount=t=>{l(t)}}};export{F as DocsRenderer,_ as defaultComponents}; diff --git a/assets/WithTooltip-KJL26V4Q-452pmjeh.js b/assets/WithTooltip-KJL26V4Q-452pmjeh.js deleted file mode 100644 index 3b60339b..00000000 --- a/assets/WithTooltip-KJL26V4Q-452pmjeh.js +++ /dev/null @@ -1 +0,0 @@ -import{W as e,W as h,b as l}from"./index-6HVkS1t_.js";import"./iframe-391yXaUQ.js";import"../sb-preview/runtime.js";import"./index-aXz8NaAs.js";import"./index-eaBuI5Jm.js";import"./index-LANyd4EQ.js";import"./index-lmOu_tDR.js";import"./index-PPLHz8o0.js";export{e as WithToolTipState,h as WithTooltip,l as WithTooltipPure}; diff --git a/assets/alert-AtN3QK5X.js b/assets/alert-BT1_F7vq.js similarity index 76% rename from assets/alert-AtN3QK5X.js rename to assets/alert-BT1_F7vq.js index 880c5bff..9280997e 100644 --- a/assets/alert-AtN3QK5X.js +++ b/assets/alert-BT1_F7vq.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-DvLKfCe6.js";import{c as n}from"./class-names-J070TWId.js";import{c as l,d as o,e as d,f as g}from"./zoom-to-fit-icon-D5bxa5rH.js";const u={info:"border-primary-400 bg-primary-50 text-primary-600",danger:"border-danger-400 bg-danger-50 text-danger-500",warning:"border-warning-500 bg-warning-50 text-warning-600",success:"border-success-400 bg-success-50 text-success-500"},m={info:"fill-primary-500",danger:"fill-danger-400",success:"fill-success-400",warning:"fill-warning-500"},p={info:l,success:o,warning:d,danger:g},t=({title:s,children:a,intent:r,...i})=>{const c=p[r];return e.jsxs("div",{role:"alert",className:n("flex flex-row gap-4 rounded-lg border px-4 py-3 text-neutral-800",u[r]),...i,children:[e.jsx(c,{className:n("h-4 w-4 flex-shrink-0",m[r])}),e.jsxs("div",{className:"flex-grow",children:[e.jsx("div",{className:"text-sm font-medium",children:s}),a&&e.jsx("div",{className:"pt-1 text-sm text-neutral-800",children:a})]})]})};try{t.displayName="Alert",t.__docgenInfo={description:"",displayName:"Alert",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},intent:{defaultValue:null,description:"",name:"intent",required:!0,type:{name:"enum",value:[{value:'"success"'},{value:'"info"'},{value:'"warning"'},{value:'"danger"'}]}}}}}catch{}export{t as A}; +import{j as e}from"./jsx-runtime-B57y5fZt.js";import{c as n}from"./class-names-B8CnD4Xb.js";import{c as l,d as o,e as d,f as g}from"./zoom-to-fit-icon-DLvbqD3B.js";const u={info:"border-primary-400 bg-primary-50 text-primary-600",danger:"border-danger-400 bg-danger-50 text-danger-500",warning:"border-warning-500 bg-warning-50 text-warning-600",success:"border-success-400 bg-success-50 text-success-500"},m={info:"fill-primary-500",danger:"fill-danger-400",success:"fill-success-400",warning:"fill-warning-500"},p={info:l,success:o,warning:d,danger:g},t=({title:s,children:a,intent:r,...i})=>{const c=p[r];return e.jsxs("div",{role:"alert",className:n("flex flex-row gap-4 rounded-lg border px-4 py-3 text-neutral-800",u[r]),...i,children:[e.jsx(c,{className:n("h-4 w-4 flex-shrink-0",m[r])}),e.jsxs("div",{className:"flex-grow",children:[e.jsx("div",{className:"text-sm font-medium",children:s}),a&&e.jsx("div",{className:"pt-1 text-sm text-neutral-800",children:a})]})]})};try{t.displayName="Alert",t.__docgenInfo={description:"",displayName:"Alert",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},intent:{defaultValue:null,description:"",name:"intent",required:!0,type:{name:"enum",value:[{value:'"success"'},{value:'"warning"'},{value:'"danger"'},{value:'"info"'}]}}}}}catch{}export{t as A}; diff --git a/assets/alert.stories-kwlSLQte.js b/assets/alert.stories-DUIfJ3Ys.js similarity index 85% rename from assets/alert.stories-kwlSLQte.js rename to assets/alert.stories-DUIfJ3Ys.js index eb221e80..3875807d 100644 --- a/assets/alert.stories-kwlSLQte.js +++ b/assets/alert.stories-DUIfJ3Ys.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-DvLKfCe6.js";import{A as u}from"./alert-AtN3QK5X.js";import{g as x,h as f}from"./storybook-utils-8tYEDzov.js";import"./index-aXz8NaAs.js";import"./class-names-J070TWId.js";import"./zoom-to-fit-icon-D5bxa5rH.js";const A=["info","success","warning","danger"],C={title:"Alert",component:u,parameters:{layout:"fullscreen",...x("Wide and big alert bar to inform user about important things")},args:{title:"Alert Title",children:"Alert content",intent:"info"}},r={},e={argTypes:{intent:f},render:({children:h,...y})=>s.jsx("div",{className:"flex flex-col gap-4",children:A.map(t=>s.jsx(u,{...y,intent:t,children:h},t))})},n={...e,args:{children:void 0},argTypes:{...e.argTypes,children:f}};var a,o,i;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(i=(o=r.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};var c,l,d;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:`{ +import{j as s}from"./jsx-runtime-B57y5fZt.js";import{A as u}from"./alert-BT1_F7vq.js";import{g as x,h as f}from"./storybook-utils-C5xEhci0.js";import"./index-ebcBgdYO.js";import"./class-names-B8CnD4Xb.js";import"./zoom-to-fit-icon-DLvbqD3B.js";const A=["info","success","warning","danger"],C={title:"Alert",component:u,parameters:{layout:"fullscreen",...x("Wide and big alert bar to inform user about important things")},args:{title:"Alert Title",children:"Alert content",intent:"info"}},r={},e={argTypes:{intent:f},render:({children:h,...y})=>s.jsx("div",{className:"flex flex-col gap-4",children:A.map(t=>s.jsx(u,{...y,intent:t,children:h},t))})},n={...e,args:{children:void 0},argTypes:{...e.argTypes,children:f}};var a,o,i;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(i=(o=r.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};var c,l,d;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:`{ argTypes: { intent: hiddenArgControl }, diff --git a/assets/avatar-AG9PgrXd.js b/assets/avatar-hz8dHd5N.js similarity index 80% rename from assets/avatar-AG9PgrXd.js rename to assets/avatar-hz8dHd5N.js index 3f627cb1..d973e299 100644 --- a/assets/avatar-AG9PgrXd.js +++ b/assets/avatar-hz8dHd5N.js @@ -1 +1 @@ -import{j as r}from"./jsx-runtime-DvLKfCe6.js";const l={primary:"bg-primary-200 text-primary-500 ",success:"bg-success-200 text-success-600",neutral:"bg-neutral-200 text-neutral-800",warning:"bg-warning-100 text-warning-700",danger:"bg-danger-100 text-danger-600"},n=({color:e="primary",children:t,onClick:a})=>{const s=t.substring(0,2);return r.jsx("div",{className:`inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full font-sans text-xs ${l[e]}`,onClick:a,onKeyDown:a,tabIndex:0,role:"button",children:r.jsx("span",{className:"uppercase",children:s})})};try{n.displayName="Avatar",n.__docgenInfo={description:"",displayName:"Avatar",props:{onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(() => void)"}},color:{defaultValue:{value:"primary"},description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"success"'},{value:'"warning"'},{value:'"danger"'},{value:'"primary"'},{value:'"neutral"'}]}}}}}catch{}export{n as A}; +import{j as r}from"./jsx-runtime-B57y5fZt.js";const l={primary:"bg-primary-200 text-primary-500 ",success:"bg-success-200 text-success-600",neutral:"bg-neutral-200 text-neutral-800",warning:"bg-warning-100 text-warning-700",danger:"bg-danger-100 text-danger-600"},n=({color:e="primary",children:t,onClick:a})=>{const s=t.substring(0,2);return r.jsx("div",{className:`inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full font-sans text-xs ${l[e]}`,onClick:a,onKeyDown:a,tabIndex:0,role:"button",children:r.jsx("span",{className:"uppercase",children:s})})};try{n.displayName="Avatar",n.__docgenInfo={description:"",displayName:"Avatar",props:{onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(() => void)"}},color:{defaultValue:{value:"primary"},description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"success"'},{value:'"neutral"'},{value:'"warning"'},{value:'"danger"'}]}}}}}catch{}export{n as A}; diff --git a/assets/avatar.stories-6ZrOnm3E.js b/assets/avatar.stories-BH72J-pd.js similarity index 85% rename from assets/avatar.stories-6ZrOnm3E.js rename to assets/avatar.stories-BH72J-pd.js index 5cd89ce3..d8c334d9 100644 --- a/assets/avatar.stories-6ZrOnm3E.js +++ b/assets/avatar.stories-BH72J-pd.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-DvLKfCe6.js";import{A as m}from"./avatar-AG9PgrXd.js";import{g as f,h as d}from"./storybook-utils-8tYEDzov.js";import"./index-aXz8NaAs.js";const o=["primary","success","neutral","warning","danger"],A={title:"Avatar",component:m,parameters:f("Circular user icon. It displays first 2 characters from the passed children text "),args:{children:"Name Lastname",color:o[0]},argTypes:{color:{options:o},onClick:d}},r={},e={argTypes:{color:d},render:({children:g,...u})=>s.jsx("div",{className:"flex flex-col gap-4",children:o.map(a=>s.jsx(m,{...u,color:a,children:g},a))})};var t,c,n;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(n=(c=r.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};var l,i,p;e.parameters={...e.parameters,docs:{...(l=e.parameters)==null?void 0:l.docs,source:{originalSource:`{ +import{j as s}from"./jsx-runtime-B57y5fZt.js";import{A as m}from"./avatar-hz8dHd5N.js";import{g as f,h as d}from"./storybook-utils-C5xEhci0.js";import"./index-ebcBgdYO.js";const o=["primary","success","neutral","warning","danger"],A={title:"Avatar",component:m,parameters:f("Circular user icon. It displays first 2 characters from the passed children text "),args:{children:"Name Lastname",color:o[0]},argTypes:{color:{options:o},onClick:d}},r={},e={argTypes:{color:d},render:({children:g,...u})=>s.jsx("div",{className:"flex flex-col gap-4",children:o.map(a=>s.jsx(m,{...u,color:a,children:g},a))})};var t,c,n;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(n=(c=r.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};var l,i,p;e.parameters={...e.parameters,docs:{...(l=e.parameters)==null?void 0:l.docs,source:{originalSource:`{ argTypes: { color: hiddenArgControl }, diff --git a/assets/badge-fqfuhG_-.js b/assets/badge-Bpu_07Lu.js similarity index 91% rename from assets/badge-fqfuhG_-.js rename to assets/badge-Bpu_07Lu.js index 9f0df9e9..582f48b7 100644 --- a/assets/badge-fqfuhG_-.js +++ b/assets/badge-Bpu_07Lu.js @@ -1 +1 @@ -import{j as u}from"./jsx-runtime-DvLKfCe6.js";import{c as i}from"./class-names-J070TWId.js";const o={primary:"bg-primary-100 text-primary-500",violet:"bg-violet-100 text-violet-800",green:"bg-success-100 text-success-600",neutral:"bg-neutral-200 text-neutral-800",yellow:"bg-warning-100 text-warning-600",teal:"bg-teal-100 text-teal-800",orange:"bg-orange-100 text-orange-800",pink:"bg-pink-300 text-pink-800",red:"bg-danger-100 text-danger-600",purple:"bg-purple-100 text-purple-800"},p={rounded:"rounded-full",default:"rounded"},t=({type:a="primary",shape:r="default",children:n,onClick:e})=>{const l=e?"cursor-pointer":"pointer-events-none";return u.jsx("div",{tabIndex:e?0:void 0,role:"button","aria-label":"Badge",className:i("inline-flex h-4 items-center px-2 text-xs font-semibold uppercase tracking-wide",o[a],p[r],l),onClick:e,onKeyDown:e,children:n})};try{t.displayName="Badge",t.__docgenInfo={description:"",displayName:"Badge",props:{type:{defaultValue:{value:"primary"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"neutral"'},{value:'"violet"'},{value:'"green"'},{value:'"yellow"'},{value:'"teal"'},{value:'"orange"'},{value:'"pink"'},{value:'"red"'},{value:'"purple"'}]}},shape:{defaultValue:{value:"default"},description:"",name:"shape",required:!1,type:{name:"enum",value:[{value:'"rounded"'},{value:'"default"'}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(() => void)"}}}}}catch{}export{t as B}; +import{j as u}from"./jsx-runtime-B57y5fZt.js";import{c as i}from"./class-names-B8CnD4Xb.js";const o={primary:"bg-primary-100 text-primary-500",violet:"bg-violet-100 text-violet-800",green:"bg-success-100 text-success-600",neutral:"bg-neutral-200 text-neutral-800",yellow:"bg-warning-100 text-warning-600",teal:"bg-teal-100 text-teal-800",orange:"bg-orange-100 text-orange-800",pink:"bg-pink-300 text-pink-800",red:"bg-danger-100 text-danger-600",purple:"bg-purple-100 text-purple-800"},p={rounded:"rounded-full",default:"rounded"},t=({type:a="primary",shape:r="default",children:n,onClick:e})=>{const l=e?"cursor-pointer":"pointer-events-none";return u.jsx("div",{tabIndex:e?0:void 0,role:"button","aria-label":"Badge",className:i("inline-flex h-4 items-center px-2 text-xs font-semibold uppercase tracking-wide",o[a],p[r],l),onClick:e,onKeyDown:e,children:n})};try{t.displayName="Badge",t.__docgenInfo={description:"",displayName:"Badge",props:{type:{defaultValue:{value:"primary"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"neutral"'},{value:'"violet"'},{value:'"green"'},{value:'"yellow"'},{value:'"teal"'},{value:'"orange"'},{value:'"pink"'},{value:'"red"'},{value:'"purple"'}]}},shape:{defaultValue:{value:"default"},description:"",name:"shape",required:!1,type:{name:"enum",value:[{value:'"rounded"'},{value:'"default"'}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(() => void)"}}}}}catch{}export{t as B}; diff --git a/assets/badge.stories-HS635_xv.js b/assets/badge.stories-CpKe04zk.js similarity index 85% rename from assets/badge.stories-HS635_xv.js rename to assets/badge.stories-CpKe04zk.js index 74407a06..bf1eb87f 100644 --- a/assets/badge.stories-HS635_xv.js +++ b/assets/badge.stories-CpKe04zk.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-DvLKfCe6.js";import{B as g}from"./badge-fqfuhG_-.js";import{h as n}from"./storybook-utils-8tYEDzov.js";import"./index-aXz8NaAs.js";import"./class-names-J070TWId.js";const y=["primary","violet","green","neutral","yellow","teal","orange","pink","red","purple"],u=["default","rounded"],B={title:"Badge",component:g,args:{children:"Badge Label"},argTypes:{onClick:n}},a={},s={args:{onClick:void 0},argTypes:{type:n,shape:n},render:({children:m,...h})=>r.jsx("div",{className:"container grid grid-cols-2 gap-4",children:u.map(e=>r.jsxs("div",{className:"grid gap-4",children:[r.jsx("header",{children:e}),y.map(o=>r.jsx(g,{...h,shape:e,type:o,children:m},e+o))]},e))})};var d,p,t;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(t=(p=a.parameters)==null?void 0:p.docs)==null?void 0:t.source}}};var i,l,c;s.parameters={...s.parameters,docs:{...(i=s.parameters)==null?void 0:i.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-B57y5fZt.js";import{B as g}from"./badge-Bpu_07Lu.js";import{h as n}from"./storybook-utils-C5xEhci0.js";import"./index-ebcBgdYO.js";import"./class-names-B8CnD4Xb.js";const y=["primary","violet","green","neutral","yellow","teal","orange","pink","red","purple"],u=["default","rounded"],B={title:"Badge",component:g,args:{children:"Badge Label"},argTypes:{onClick:n}},a={},s={args:{onClick:void 0},argTypes:{type:n,shape:n},render:({children:m,...h})=>r.jsx("div",{className:"container grid grid-cols-2 gap-4",children:u.map(e=>r.jsxs("div",{className:"grid gap-4",children:[r.jsx("header",{children:e}),y.map(o=>r.jsx(g,{...h,shape:e,type:o,children:m},e+o))]},e))})};var d,p,t;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(t=(p=a.parameters)==null?void 0:p.docs)==null?void 0:t.source}}};var i,l,c;s.parameters={...s.parameters,docs:{...(i=s.parameters)==null?void 0:i.docs,source:{originalSource:`{ args: { onClick: undefined }, diff --git a/assets/breadcrumb-navigation.stories-qUfks4iB.js b/assets/breadcrumb-navigation.stories-BlNZu-Mq.js similarity index 88% rename from assets/breadcrumb-navigation.stories-qUfks4iB.js rename to assets/breadcrumb-navigation.stories-BlNZu-Mq.js index cc410b8a..4578c743 100644 --- a/assets/breadcrumb-navigation.stories-qUfks4iB.js +++ b/assets/breadcrumb-navigation.stories-BlNZu-Mq.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-DvLKfCe6.js";import{c as l}from"./class-names-J070TWId.js";import{S as u}from"./slot-EjYywLoi.js";import{aD as p}from"./zoom-to-fit-icon-D5bxa5rH.js";import"./index-aXz8NaAs.js";const i=({isActive:a,asChild:c,...m})=>{const d=c?u:"a";return e.jsx(d,{className:l("headline-500 text-neutral-800",!a&&"cursor-pointer underline-offset-2 hover:underline",a&&"text-black"),...m})};try{i.displayName="BreadcrumbNavigationItem",i.__docgenInfo={description:"",displayName:"BreadcrumbNavigationItem",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},isActive:{defaultValue:null,description:"",name:"isActive",required:!1,type:{name:"boolean"}}}}}catch{}const v=()=>e.jsx(p,{className:"h-3 w-3 text-neutral-800"}),r=({children:a})=>e.jsx("nav",{className:"flex flex-row items-center gap-1",children:a});r.Item=i;r.Arrow=v;try{r.displayName="BreadcrumbNavigation",r.__docgenInfo={description:"",displayName:"BreadcrumbNavigation",props:{}}}catch{}const f={title:"Breadcrumb Navigation",component:r,args:{}},t={render:()=>e.jsx("div",{className:"p-4",children:e.jsxs(r,{children:[e.jsx(r.Item,{href:"/",children:"Home"}),e.jsx(r.Arrow,{}),e.jsx(r.Item,{href:"/",children:"Library"}),e.jsx(r.Arrow,{}),e.jsx(r.Item,{asChild:!0,isActive:!0,children:e.jsx("a",{href:"/",children:"Book"})})]})})};var n,o,s;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-B57y5fZt.js";import{c as l}from"./class-names-B8CnD4Xb.js";import{S as u}from"./slot-Bnhsn6N0.js";import{aD as p}from"./zoom-to-fit-icon-DLvbqD3B.js";import"./index-ebcBgdYO.js";const i=({isActive:a,asChild:c,...m})=>{const d=c?u:"a";return e.jsx(d,{className:l("headline-500 text-neutral-800",!a&&"cursor-pointer underline-offset-2 hover:underline",a&&"text-black"),...m})};try{i.displayName="BreadcrumbNavigationItem",i.__docgenInfo={description:"",displayName:"BreadcrumbNavigationItem",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},isActive:{defaultValue:null,description:"",name:"isActive",required:!1,type:{name:"boolean"}}}}}catch{}const v=()=>e.jsx(p,{className:"h-3 w-3 text-neutral-800"}),r=({children:a})=>e.jsx("nav",{className:"flex flex-row items-center gap-1",children:a});r.Item=i;r.Arrow=v;try{r.displayName="BreadcrumbNavigation",r.__docgenInfo={description:"",displayName:"BreadcrumbNavigation",props:{}}}catch{}const f={title:"Breadcrumb Navigation",component:r,args:{}},t={render:()=>e.jsx("div",{className:"p-4",children:e.jsxs(r,{children:[e.jsx(r.Item,{href:"/",children:"Home"}),e.jsx(r.Arrow,{}),e.jsx(r.Item,{href:"/",children:"Library"}),e.jsx(r.Arrow,{}),e.jsx(r.Item,{asChild:!0,isActive:!0,children:e.jsx("a",{href:"/",children:"Book"})})]})})};var n,o,s;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:`{ render: () =>
Home diff --git a/assets/bugs-DTVvle51.js b/assets/bugs-DpEN4NTH.js similarity index 100% rename from assets/bugs-DTVvle51.js rename to assets/bugs-DpEN4NTH.js diff --git a/assets/button-57Qwtjov.js b/assets/button-Cjc0aKsZ.js similarity index 88% rename from assets/button-57Qwtjov.js rename to assets/button-Cjc0aKsZ.js index 24f61316..e9519bc9 100644 --- a/assets/button-57Qwtjov.js +++ b/assets/button-Cjc0aKsZ.js @@ -1 +1 @@ -import{j as r}from"./jsx-runtime-DvLKfCe6.js";import{c as g}from"./class-names-J070TWId.js";import{S as c}from"./spinner-3qwjfHYG.js";const m={primary:"bg-primary-500 text-neutral-0 hover:bg-primary-600 active:bg-primary-600 focus:ring-2 focus:ring-primary-200 focus:bg-primary-600 disabled:bg-primary-200 fill-neutral-0",secondary:"text-neutral-700 bg-neutral-0 border border-neutral-400 hover:border-neutral-600 hover:text-neutral-800 active:bg-neutral-100 focus:ring-2 focus:ring-primary-200 focus:text-neutral-800 disabled:text-neutral-500 disabled:border-neutral-300 disabled:bg-neutral-0 fill-neutral-0",minimal:"text-neutral-700 hover:bg-neutral-100 hover:text-neutral-800 active:bg-neutral-200 focus:ring-2 focus:ring-primary-200 focus:text-neutral-800 disabled:text-neutral-500 disabled:bg-neutral-0 fill-neutral-0 underline",danger:"text-neutral-0 bg-danger-500 hover:bg-danger-500 active:bg-danger-700 focus:ring-2 focus:ring-danger-100 focus:bg-danger-600 disabled:bg-danger-100 fill-neutral-0","danger-secondary":"bg-neutral-0 text-danger-500 border border-danger-400 hover:bg-danger-50 hover:text-danger-600 active:border-danger-700 active:text-danger-700 active:bg-danger-100 focus:ring-2 focus:ring-danger-100 focus:text-danger-600 disabled:border-danger-100 disabled:text-danger-100 disabled:bg-neutral-0 fill-danger-600 disabled:fill-danger-100"},l={primary:"text-neutral-0",secondary:"fill-neutral-600 group-hover:text-neutral-700 group-focus:text-neutral-700 group-disabled:text-neutral-400",minimal:"fill-neutral-600 group-hover:text-neutral-700 group-focus:text-neutral-700 group-disabled:text-neutral-400",danger:"","danger-secondary":""},u=({variant:e="primary",className:o,children:d,loading:a,LeftIcon:t,RightIcon:n,...i})=>{const s=g("group flex h-8 items-center gap-2 whitespace-nowrap rounded px-4 text-xs font-semibold focus:outline-none disabled:cursor-not-allowed",m[e],o);return r.jsxs("button",{className:s,...i,children:[a?r.jsx(c,{size:"small"}):null,t&&!a?r.jsx(t,{className:`${l[e]} h-3 w-3`}):null,d,n?r.jsx(n,{className:`${l[e]} h-3 w-3`}):null]})};try{u.displayName="Button",u.__docgenInfo={description:"",displayName:"Button",props:{variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"danger"'},{value:'"primary"'},{value:'"secondary"'},{value:'"minimal"'},{value:'"danger-secondary"'}]}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"boolean"}},LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},RightIcon:{defaultValue:null,description:"",name:"RightIcon",required:!1,type:{name:"ElementType"}}}}}catch{}export{u as B}; +import{j as r}from"./jsx-runtime-B57y5fZt.js";import{c as g}from"./class-names-B8CnD4Xb.js";import{S as c}from"./spinner-BicvOdNJ.js";const m={primary:"bg-primary-500 text-neutral-0 hover:bg-primary-600 active:bg-primary-600 focus:ring-2 focus:ring-primary-200 focus:bg-primary-600 disabled:bg-primary-200 fill-neutral-0",secondary:"text-neutral-700 bg-neutral-0 border border-neutral-400 hover:border-neutral-600 hover:text-neutral-800 active:bg-neutral-100 focus:ring-2 focus:ring-primary-200 focus:text-neutral-800 disabled:text-neutral-500 disabled:border-neutral-300 disabled:bg-neutral-0 fill-neutral-0",minimal:"text-neutral-700 hover:bg-neutral-100 hover:text-neutral-800 active:bg-neutral-200 focus:ring-2 focus:ring-primary-200 focus:text-neutral-800 disabled:text-neutral-500 disabled:bg-neutral-0 fill-neutral-0 underline",danger:"text-neutral-0 bg-danger-500 hover:bg-danger-500 active:bg-danger-700 focus:ring-2 focus:ring-danger-100 focus:bg-danger-600 disabled:bg-danger-100 fill-neutral-0","danger-secondary":"bg-neutral-0 text-danger-500 border border-danger-400 hover:bg-danger-50 hover:text-danger-600 active:border-danger-700 active:text-danger-700 active:bg-danger-100 focus:ring-2 focus:ring-danger-100 focus:text-danger-600 disabled:border-danger-100 disabled:text-danger-100 disabled:bg-neutral-0 fill-danger-600 disabled:fill-danger-100"},l={primary:"text-neutral-0",secondary:"fill-neutral-600 group-hover:text-neutral-700 group-focus:text-neutral-700 group-disabled:text-neutral-400",minimal:"fill-neutral-600 group-hover:text-neutral-700 group-focus:text-neutral-700 group-disabled:text-neutral-400",danger:"","danger-secondary":""},u=({variant:e="primary",className:o,children:d,loading:a,LeftIcon:t,RightIcon:n,...i})=>{const s=g("group flex h-8 items-center gap-2 whitespace-nowrap rounded px-4 text-xs font-semibold focus:outline-none disabled:cursor-not-allowed",m[e],o);return r.jsxs("button",{className:s,...i,children:[a?r.jsx(c,{size:"small"}):null,t&&!a?r.jsx(t,{className:`${l[e]} h-3 w-3`}):null,d,n?r.jsx(n,{className:`${l[e]} h-3 w-3`}):null]})};try{u.displayName="Button",u.__docgenInfo={description:"",displayName:"Button",props:{variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"danger"'},{value:'"secondary"'},{value:'"minimal"'},{value:'"danger-secondary"'}]}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"boolean"}},LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},RightIcon:{defaultValue:null,description:"",name:"RightIcon",required:!1,type:{name:"ElementType"}}}}}catch{}export{u as B}; diff --git a/assets/button-group.stories-HkA0sHEL.js b/assets/button-group.stories-BKsJ3AIm.js similarity index 94% rename from assets/button-group.stories-HkA0sHEL.js rename to assets/button-group.stories-BKsJ3AIm.js index 8754e43d..f21fefcc 100644 --- a/assets/button-group.stories-HkA0sHEL.js +++ b/assets/button-group.stories-BKsJ3AIm.js @@ -1,4 +1,4 @@ -import{j as o}from"./jsx-runtime-DvLKfCe6.js";import{c as l}from"./class-names-J070TWId.js";import"./index-aXz8NaAs.js";const d=({children:e,type:s,isActive:i,...p})=>o.jsx("button",{"data-slot":"group-button",type:s,className:l("relative -ml-px inline-flex bg-neutral-0 px-4 py-2 font-medium text-neutral-700 ring-1 ring-inset ring-neutral-400 hover:bg-neutral-100 hover:text-neutral-800 focus:z-10 focus:outline focus:outline-2 focus:outline-offset-0 focus:outline-primary-200 active:bg-neutral-200 disabled:bg-neutral-0 disabled:text-neutral-500",i&&"bg-primary-50 text-primary-500 hover:bg-primary-50 hover:text-primary-500 active:bg-primary-50 disabled:bg-neutral-100 disabled:text-neutral-500"),...p,children:e}),t=({children:e})=>o.jsx("div",{className:"isolate inline-flex [&>[data-slot=group-button]:first-of-type]:ml-0 [&>[data-slot=group-button]:first-of-type]:rounded-l [&>[data-slot=group-button]:last-of-type]:rounded-r",children:e});t.Button=d;try{t.displayName="ButtonGroup",t.__docgenInfo={description:"",displayName:"ButtonGroup",props:{}}}catch{}const m={title:"ButtonGroup",component:t,parameters:{options:{showPanel:!1}}},n={render:()=>o.jsxs(t,{children:[o.jsx(t.Button,{type:"button",children:"Normal"}),o.jsx(t.Button,{type:"button",disabled:!0,children:"Disabled"}),o.jsx(t.Button,{type:"button",isActive:!0,children:"Active"}),o.jsx(t.Button,{type:"button",isActive:!0,disabled:!0,children:"Active & Disabled"}),o.jsx(t.Button,{type:"button",children:"Button 1"})]})};var r,u,a;n.parameters={...n.parameters,docs:{...(r=n.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{j as o}from"./jsx-runtime-B57y5fZt.js";import{c as l}from"./class-names-B8CnD4Xb.js";import"./index-ebcBgdYO.js";const d=({children:e,type:s,isActive:i,...p})=>o.jsx("button",{"data-slot":"group-button",type:s,className:l("relative -ml-px inline-flex bg-neutral-0 px-4 py-2 font-medium text-neutral-700 ring-1 ring-inset ring-neutral-400 hover:bg-neutral-100 hover:text-neutral-800 focus:z-10 focus:outline focus:outline-2 focus:outline-offset-0 focus:outline-primary-200 active:bg-neutral-200 disabled:bg-neutral-0 disabled:text-neutral-500",i&&"bg-primary-50 text-primary-500 hover:bg-primary-50 hover:text-primary-500 active:bg-primary-50 disabled:bg-neutral-100 disabled:text-neutral-500"),...p,children:e}),t=({children:e})=>o.jsx("div",{className:"isolate inline-flex [&>[data-slot=group-button]:first-of-type]:ml-0 [&>[data-slot=group-button]:first-of-type]:rounded-l [&>[data-slot=group-button]:last-of-type]:rounded-r",children:e});t.Button=d;try{t.displayName="ButtonGroup",t.__docgenInfo={description:"",displayName:"ButtonGroup",props:{}}}catch{}const m={title:"ButtonGroup",component:t,parameters:{options:{showPanel:!1}}},n={render:()=>o.jsxs(t,{children:[o.jsx(t.Button,{type:"button",children:"Normal"}),o.jsx(t.Button,{type:"button",disabled:!0,children:"Disabled"}),o.jsx(t.Button,{type:"button",isActive:!0,children:"Active"}),o.jsx(t.Button,{type:"button",isActive:!0,disabled:!0,children:"Active & Disabled"}),o.jsx(t.Button,{type:"button",children:"Button 1"})]})};var r,u,a;n.parameters={...n.parameters,docs:{...(r=n.parameters)==null?void 0:r.docs,source:{originalSource:`{ render: () => Normal diff --git a/assets/button.stories-GVuRxvlZ.js b/assets/button.stories-BpCRHXle.js similarity index 86% rename from assets/button.stories-GVuRxvlZ.js rename to assets/button.stories-BpCRHXle.js index 383fac85..dc05c96b 100644 --- a/assets/button.stories-GVuRxvlZ.js +++ b/assets/button.stories-BpCRHXle.js @@ -1,4 +1,4 @@ -import{j as c}from"./jsx-runtime-DvLKfCe6.js";import{B}from"./button-57Qwtjov.js";import{S as j,a as R,b as D}from"./zoom-to-fit-icon-D5bxa5rH.js";import{h as k}from"./storybook-utils-8tYEDzov.js";import"./index-aXz8NaAs.js";import"./class-names-J070TWId.js";import"./spinner-3qwjfHYG.js";const A=["primary","secondary","minimal","danger","danger-secondary"],s={undefined:void 0,ChatIcon:j,DiagramTreeIcon:R,LockIcon:D},i={description:"Icon component",options:Object.keys(s),mapping:s},z={title:"Button",component:B,args:{children:"Badge Label",LeftIcon:void 0,RightIcon:void 0,loading:!1},argTypes:{onClick:k,LeftIcon:i,RightIcon:i}},r={},e={args:{LeftIcon:s.ChatIcon,RightIcon:s.LockIcon}},o={args:{loading:!0}},a={args:{disabled:!0}},n={argTypes:{type:k},render:({children:C,...T})=>c.jsx("div",{className:"flex flex-col gap-4",children:A.map(t=>c.jsx(B,{...T,type:"button",variant:t,children:C},t))})};var d,p,m;r.parameters={...r.parameters,docs:{...(d=r.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(m=(p=r.parameters)==null?void 0:p.docs)==null?void 0:m.source}}};var g,l,u;e.parameters={...e.parameters,docs:{...(g=e.parameters)==null?void 0:g.docs,source:{originalSource:`{ +import{j as c}from"./jsx-runtime-B57y5fZt.js";import{B}from"./button-Cjc0aKsZ.js";import{S as j,a as R,b as D}from"./zoom-to-fit-icon-DLvbqD3B.js";import{h as k}from"./storybook-utils-C5xEhci0.js";import"./index-ebcBgdYO.js";import"./class-names-B8CnD4Xb.js";import"./spinner-BicvOdNJ.js";const A=["primary","secondary","minimal","danger","danger-secondary"],s={undefined:void 0,ChatIcon:j,DiagramTreeIcon:R,LockIcon:D},i={description:"Icon component",options:Object.keys(s),mapping:s},z={title:"Button",component:B,args:{children:"Badge Label",LeftIcon:void 0,RightIcon:void 0,loading:!1},argTypes:{onClick:k,LeftIcon:i,RightIcon:i}},r={},e={args:{LeftIcon:s.ChatIcon,RightIcon:s.LockIcon}},o={args:{loading:!0}},a={args:{disabled:!0}},n={argTypes:{type:k},render:({children:C,...T})=>c.jsx("div",{className:"flex flex-col gap-4",children:A.map(t=>c.jsx(B,{...T,type:"button",variant:t,children:C},t))})};var d,p,m;r.parameters={...r.parameters,docs:{...(d=r.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(m=(p=r.parameters)==null?void 0:p.docs)==null?void 0:m.source}}};var g,l,u;e.parameters={...e.parameters,docs:{...(g=e.parameters)==null?void 0:g.docs,source:{originalSource:`{ args: { LeftIcon: icons.ChatIcon, RightIcon: icons.LockIcon diff --git a/assets/checkbox.stories-pjEkXPB3.js b/assets/checkbox.stories-CsBL6Bjp.js similarity index 90% rename from assets/checkbox.stories-pjEkXPB3.js rename to assets/checkbox.stories-CsBL6Bjp.js index 91f164aa..215855a6 100644 --- a/assets/checkbox.stories-pjEkXPB3.js +++ b/assets/checkbox.stories-CsBL6Bjp.js @@ -1 +1 @@ -import{j as t}from"./jsx-runtime-DvLKfCe6.js";import{r as m}from"./index-aXz8NaAs.js";import{c as p}from"./class-names-J070TWId.js";import{h as c}from"./storybook-utils-8tYEDzov.js";const n=({id:e,label:o,checked:l,onChange:s,disabled:r=!1})=>t.jsxs("div",{className:"flex items-center gap-3 ",children:[t.jsx("input",{id:e,className:"h-4 w-4 rounded border-neutral-400 outline-none checked:border-none checked:bg-primary-400 hover:border-neutral-600 checked:hover:bg-primary-500 focus:ring-0 focus:ring-transparent active:border-neutral-500 active:bg-neutral-100 checked:active:bg-primary-600 disabled:border-none disabled:bg-neutral-100 disabled:checked:fill-neutral-500 disabled:hover:bg-neutral-100",type:"checkbox",checked:l,onChange:s,disabled:r}),t.jsx("label",{className:p("text-sm",r&&"text-neutral-600"),htmlFor:e,children:o})]});try{n.displayName="Checkbox",n.__docgenInfo={description:"",displayName:"Checkbox",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},checked:{defaultValue:null,description:"",name:"checked",required:!0,type:{name:"boolean"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((event: ChangeEvent) => void)"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const x={title:"Checkbox",component:n,args:{id:"checkbox-id",label:"Checkbox label",disabled:!1},argTypes:{checked:c,onChange:c},render:e=>{const[o,l]=m.useState(!1),s=()=>l(r=>!r);return t.jsx(n,{...e,checked:o,onChange:s})}},a={};var d,i,u;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(u=(i=a.parameters)==null?void 0:i.docs)==null?void 0:u.source}}};const k=["Default"];export{a as Default,k as __namedExportsOrder,x as default}; +import{j as t}from"./jsx-runtime-B57y5fZt.js";import{r as m}from"./index-ebcBgdYO.js";import{c as p}from"./class-names-B8CnD4Xb.js";import{h as c}from"./storybook-utils-C5xEhci0.js";const n=({id:e,label:o,checked:l,onChange:s,disabled:r=!1})=>t.jsxs("div",{className:"flex items-center gap-3 ",children:[t.jsx("input",{id:e,className:"h-4 w-4 rounded border-neutral-400 outline-none checked:border-none checked:bg-primary-400 hover:border-neutral-600 checked:hover:bg-primary-500 focus:ring-0 focus:ring-transparent active:border-neutral-500 active:bg-neutral-100 checked:active:bg-primary-600 disabled:border-none disabled:bg-neutral-100 disabled:checked:fill-neutral-500 disabled:hover:bg-neutral-100",type:"checkbox",checked:l,onChange:s,disabled:r}),t.jsx("label",{className:p("text-sm",r&&"text-neutral-600"),htmlFor:e,children:o})]});try{n.displayName="Checkbox",n.__docgenInfo={description:"",displayName:"Checkbox",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},checked:{defaultValue:null,description:"",name:"checked",required:!0,type:{name:"boolean"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((event: ChangeEvent) => void)"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const x={title:"Checkbox",component:n,args:{id:"checkbox-id",label:"Checkbox label",disabled:!1},argTypes:{checked:c,onChange:c},render:e=>{const[o,l]=m.useState(!1),s=()=>l(r=>!r);return t.jsx(n,{...e,checked:o,onChange:s})}},a={};var d,i,u;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(u=(i=a.parameters)==null?void 0:i.docs)==null?void 0:u.source}}};const k=["Default"];export{a as Default,k as __namedExportsOrder,x as default}; diff --git a/assets/class-names-J070TWId.js b/assets/class-names-B8CnD4Xb.js similarity index 100% rename from assets/class-names-J070TWId.js rename to assets/class-names-B8CnD4Xb.js diff --git a/assets/description-rwhSs07y.js b/assets/description-BuX7rO1I.js similarity index 82% rename from assets/description-rwhSs07y.js rename to assets/description-BuX7rO1I.js index 0406c546..6b260b34 100644 --- a/assets/description-rwhSs07y.js +++ b/assets/description-BuX7rO1I.js @@ -1 +1 @@ -import{r as a,R as m}from"./index-aXz8NaAs.js";import{I as d}from"./keyboard-NjAwe_S6.js";import{D as f,y as g,l as h,X as x,o as E}from"./render-THca3tYe.js";let u=a.createContext(null);function c(){let o=a.useContext(u);if(o===null){let t=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,c),t}return o}function P(){let[o,t]=a.useState([]);return[o.length>0?o.join(" "):void 0,a.useMemo(()=>function(e){let n=E(r=>(t(i=>[...i,r]),()=>t(i=>{let s=i.slice(),p=s.indexOf(r);return p!==-1&&s.splice(p,1),s}))),l=a.useMemo(()=>({register:n,slot:e.slot,name:e.name,props:e.props}),[n,e.slot,e.name,e.props]);return m.createElement(u.Provider,{value:l},e.children)},[t])]}let v="p";function S(o,t){let e=d(),{id:n=`headlessui-description-${e}`,...l}=o,r=c(),i=g(t);h(()=>r.register(n),[n,r.register]);let s={ref:i,...r.props,id:n};return x({ourProps:s,theirProps:l,slot:r.slot||{},defaultTag:v,name:r.name||"Description"})}let b=f(S),T=Object.assign(b,{});export{P as M,T as b}; +import{r as a,R as m}from"./index-ebcBgdYO.js";import{I as d}from"./keyboard-6YZ08te-.js";import{D as f,y as g,l as h,X as x,o as E}from"./render-BBULYOlI.js";let u=a.createContext(null);function c(){let o=a.useContext(u);if(o===null){let t=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,c),t}return o}function P(){let[o,t]=a.useState([]);return[o.length>0?o.join(" "):void 0,a.useMemo(()=>function(e){let n=E(r=>(t(i=>[...i,r]),()=>t(i=>{let s=i.slice(),p=s.indexOf(r);return p!==-1&&s.splice(p,1),s}))),l=a.useMemo(()=>({register:n,slot:e.slot,name:e.name,props:e.props}),[n,e.slot,e.name,e.props]);return m.createElement(u.Provider,{value:l},e.children)},[t])]}let v="p";function S(o,t){let e=d(),{id:n=`headlessui-description-${e}`,...l}=o,r=c(),i=g(t);h(()=>r.register(n),[n,r.register]);let s={ref:i,...r.props,id:n};return x({ourProps:s,theirProps:l,slot:r.slot||{},defaultTag:v,name:r.name||"Description"})}let b=f(S),T=Object.assign(b,{});export{P as M,T as b}; diff --git a/assets/dialog-AV4MErht.js b/assets/dialog-jscKnt9i.js similarity index 94% rename from assets/dialog-AV4MErht.js rename to assets/dialog-jscKnt9i.js index 2ef0fd1e..5b9d5273 100644 --- a/assets/dialog-AV4MErht.js +++ b/assets/dialog-jscKnt9i.js @@ -1 +1 @@ -import{r as u,R as p,$ as J}from"./index-aXz8NaAs.js";import{D as R,y as C,a as de,o as y,u as A,X as M,l as ee,S as ie}from"./render-THca3tYe.js";import{I as x,o as Ae}from"./keyboard-NjAwe_S6.js";import{r as xe}from"./bugs-DTVvle51.js";import{c as ue,p as se}from"./hidden-G4mt23Ky.js";import{O as V,M as P,y as L,N as Ie}from"./focus-management-9lqV-5sA.js";import{n as Be,s as _,c as Ne,E as fe,a as He,j as We,P as Q,p as Z}from"./use-root-containers-gvIPfwFU.js";import{f as pe}from"./use-is-mounted-JxO49gTk.js";import{n as me,h as Ye}from"./use-owner-6in2YdcT.js";import{t as ge,o as ve}from"./disposables-x8EK1kJp.js";import{m as te,t as _e}from"./platform-mHIZTaYY.js";import{p as je}from"./use-disposables-qU89AwEH.js";import{b as Ve,M as Ue}from"./description-rwhSs07y.js";import{C as qe,d as j}from"./open-closed-arTWCtx2.js";function Xe(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function he(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let ze="div";var Ee=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Ee||{});function Ge(e,t){let n=u.useRef(null),r=C(n,t),{initialFocus:o,containers:l,features:a=30,...i}=e;de()||(a=1);let s=me(n);Ze({ownerDocument:s},!!(a&16));let c=Ke({ownerDocument:s,container:n,initialFocus:o},!!(a&2));et({ownerDocument:s,container:n,containers:l,previousActiveElement:c},!!(a&8));let m=Be(),k=y(d=>{let E=n.current;E&&($=>$())(()=>{A(m.current,{[_.Forwards]:()=>{V(E,P.First,{skipElements:[d.relatedTarget]})},[_.Backwards]:()=>{V(E,P.Last,{skipElements:[d.relatedTarget]})}})})}),T=je(),g=u.useRef(!1),q={ref:r,onKeyDown(d){d.key=="Tab"&&(g.current=!0,T.requestAnimationFrame(()=>{g.current=!1}))},onBlur(d){let E=he(l);n.current instanceof HTMLElement&&E.add(n.current);let $=d.relatedTarget;$ instanceof HTMLElement&&$.dataset.headlessuiFocusGuard!=="true"&&(we(E,$)||(g.current?V(n.current,A(m.current,{[_.Forwards]:()=>P.Next,[_.Backwards]:()=>P.Previous})|P.WrapAround,{relativeTo:d.target}):d.target instanceof HTMLElement&&L(d.target)))}};return p.createElement(p.Fragment,null,!!(a&4)&&p.createElement(ue,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:k,features:se.Focusable}),M({ourProps:q,theirProps:i,defaultTag:ze,name:"FocusTrap"}),!!(a&4)&&p.createElement(ue,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:k,features:se.Focusable}))}let Je=R(Ge),O=Object.assign(Je,{features:Ee}),b=[];Xe(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&b[0]!==t.target&&(b.unshift(t.target),b=b.filter(n=>n!=null&&n.isConnected),b.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Qe(e=!0){let t=u.useRef(b.slice());return te(([n],[r])=>{r===!0&&n===!1&&ge(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=b.slice())},[e,b,t]),y(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function Ze({ownerDocument:e},t){let n=Qe(t);te(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&L(n())},[t]),Ne(()=>{t&&L(n())})}function Ke({ownerDocument:e,container:t,initialFocus:n},r){let o=u.useRef(null),l=pe();return te(()=>{if(!r)return;let a=t.current;a&&ge(()=>{if(!l.current)return;let i=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===i){o.current=i;return}}else if(a.contains(i)){o.current=i;return}n!=null&&n.current?L(n.current):V(a,P.First)===Ie.Error&&console.warn("There are no focusable elements inside the "),o.current=e==null?void 0:e.activeElement})},[r]),o}function et({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){let l=pe();fe(e==null?void 0:e.defaultView,"focus",a=>{if(!o||!l.current)return;let i=he(n);t.current instanceof HTMLElement&&i.add(t.current);let s=r.current;if(!s)return;let c=a.target;c&&c instanceof HTMLElement?we(i,c)?(r.current=c,L(c)):(a.preventDefault(),a.stopPropagation(),L(s)):L(r.current)},!0)}function we(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let ne=u.createContext(()=>{});ne.displayName="StackContext";var K=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(K||{});function tt(){return u.useContext(ne)}function nt({children:e,onUpdate:t,type:n,element:r,enabled:o}){let l=tt(),a=y((...i)=>{t==null||t(...i),l(...i)});return ee(()=>{let i=o===void 0||o===!0;return i&&a(0,n,r),()=>{i&&a(1,n,r)}},[a,n,r,o]),p.createElement(ne.Provider,{value:a},e)}function rt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const ot=typeof Object.is=="function"?Object.is:rt,{useState:at,useEffect:lt,useLayoutEffect:it,useDebugValue:ut}=J;function st(e,t,n){const r=t(),[{inst:o},l]=at({inst:{value:r,getSnapshot:t}});return it(()=>{o.value=r,o.getSnapshot=t,z(o)&&l({inst:o})},[e,r,t]),lt(()=>(z(o)&&l({inst:o}),e(()=>{z(o)&&l({inst:o})})),[e]),ut(r),r}function z(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!ot(n,r)}catch{return!0}}function ct(e,t,n){return t()}const dt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ft=!dt,pt=ft?ct:st,mt="useSyncExternalStore"in J?(e=>e.useSyncExternalStore)(J):pt;function gt(e){return mt(e.subscribe,e.getSnapshot,e.getSnapshot)}function vt(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...l){let a=t[o].call(n,...l);a&&(n=a,r.forEach(i=>i()))}}}function ht(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,o=r.clientWidth-r.offsetWidth,l=e-o;n.style(r,"paddingRight",`${l}px`)}}}function Et(){if(!_e())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function o(l){return r.containers.flatMap(a=>a()).some(a=>a.contains(l))}n.microTask(()=>{if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let a=ve();a.style(t.documentElement,"scroll-behavior","auto"),n.add(()=>n.microTask(()=>a.dispose()))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let l=null;n.addEventListener(t,"click",a=>{if(a.target instanceof HTMLElement)try{let i=a.target.closest("a");if(!i)return;let{hash:s}=new URL(i.href),c=t.querySelector(s);c&&!o(c)&&(l=c)}catch{}},!0),n.addEventListener(t,"touchmove",a=>{a.target instanceof HTMLElement&&!o(a.target)&&a.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),l&&l.isConnected&&(l.scrollIntoView({block:"nearest"}),l=null)})})}}}function wt(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function $t(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let S=vt(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:ve(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:$t(n)},o=[Et(),ht(),wt()];o.forEach(({before:l})=>l==null?void 0:l(r)),o.forEach(({after:l})=>l==null?void 0:l(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});S.subscribe(()=>{let e=S.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&S.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&S.dispatch("TEARDOWN",n)}});function bt(e,t,n){let r=gt(S),o=e?r.get(e):void 0,l=o?o.count>0:!1;return ee(()=>{if(!(!e||!t))return S.dispatch("PUSH",e,n),()=>S.dispatch("POP",e,n)},[t,e]),l}let G=new Map,F=new Map;function ce(e,t=!0){ee(()=>{var n;if(!t)return;let r=typeof e=="function"?e():e.current;if(!r)return;function o(){var a;if(!r)return;let i=(a=F.get(r))!=null?a:1;if(i===1?F.delete(r):F.set(r,i-1),i!==1)return;let s=G.get(r);s&&(s["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",s["aria-hidden"]),r.inert=s.inert,G.delete(r))}let l=(n=F.get(r))!=null?n:0;return F.set(r,l+1),l!==0||(G.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),o},[e,t])}var yt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(yt||{}),Tt=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Tt||{});let St={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},U=u.createContext(null);U.displayName="DialogContext";function I(e){let t=u.useContext(U);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,I),n}return t}function Lt(e,t,n=()=>[document.body]){bt(e,t,r=>{var o;return{containers:[...(o=r.containers)!=null?o:[],n]}})}function Dt(e,t){return A(t.type,St,e,t)}let Pt="div",Rt=ie.RenderStrategy|ie.Static;function Ct(e,t){var n;let r=x(),{id:o=`headlessui-dialog-${r}`,open:l,onClose:a,initialFocus:i,__demoMode:s=!1,...c}=e,[m,k]=u.useState(0),T=qe();l===void 0&&T!==null&&(l=(T&j.Open)===j.Open);let g=u.useRef(null),q=C(g,t),d=me(g),E=e.hasOwnProperty("open")||T!==null,$=e.hasOwnProperty("onClose");if(!E&&!$)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!E)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!$)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof l!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l}`);if(typeof a!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${a}`);let v=l?0:1,[B,$e]=u.useReducer(Dt,{titleId:null,descriptionId:null,panelRef:u.createRef()}),D=y(()=>a(!1)),re=y(f=>$e({type:0,id:f})),N=de()?s?!1:v===0:!1,H=m>1,oe=u.useContext(U)!==null,[be,ye]=He(),{resolveContainers:X,mainTreeNodeRef:W,MainTreeNode:Te}=We({portals:be,defaultContainers:[(n=B.panelRef.current)!=null?n:g.current]}),Se=H?"parent":"leaf",ae=T!==null?(T&j.Closing)===j.Closing:!1,Le=oe||ae?!1:N,De=u.useCallback(()=>{var f,w;return(w=Array.from((f=d==null?void 0:d.querySelectorAll("body > *"))!=null?f:[]).find(h=>h.id==="headlessui-portal-root"?!1:h.contains(W.current)&&h instanceof HTMLElement))!=null?w:null},[W]);ce(De,Le);let Pe=H?!0:N,Re=u.useCallback(()=>{var f,w;return(w=Array.from((f=d==null?void 0:d.querySelectorAll("[data-headlessui-portal]"))!=null?f:[]).find(h=>h.contains(W.current)&&h instanceof HTMLElement))!=null?w:null},[W]);ce(Re,Pe),Ye(X,D,!(!N||H));let Ce=!(H||v!==0);fe(d==null?void 0:d.defaultView,"keydown",f=>{Ce&&(f.defaultPrevented||f.key===Ae.Escape&&(f.preventDefault(),f.stopPropagation(),D()))}),Lt(d,!(ae||v!==0||oe),X),u.useEffect(()=>{if(v!==0||!g.current)return;let f=new ResizeObserver(w=>{for(let h of w){let Y=h.target.getBoundingClientRect();Y.x===0&&Y.y===0&&Y.width===0&&Y.height===0&&D()}});return f.observe(g.current),()=>f.disconnect()},[v,g,D]);let[Me,ke]=Ue(),Oe=u.useMemo(()=>[{dialogState:v,close:D,setTitleId:re},B],[v,B,D,re]),le=u.useMemo(()=>({open:v===0}),[v]),Fe={ref:q,id:o,role:"dialog","aria-modal":v===0?!0:void 0,"aria-labelledby":B.titleId,"aria-describedby":Me};return p.createElement(nt,{type:"Dialog",enabled:v===0,element:g,onUpdate:y((f,w)=>{w==="Dialog"&&A(f,{[K.Add]:()=>k(h=>h+1),[K.Remove]:()=>k(h=>h-1)})})},p.createElement(Q,{force:!0},p.createElement(Z,null,p.createElement(U.Provider,{value:Oe},p.createElement(Z.Group,{target:g},p.createElement(Q,{force:!1},p.createElement(ke,{slot:le,name:"Dialog.Description"},p.createElement(O,{initialFocus:i,containers:X,features:N?A(Se,{parent:O.features.RestoreFocus,leaf:O.features.All&~O.features.FocusLock}):O.features.None},p.createElement(ye,null,M({ourProps:Fe,theirProps:c,slot:le,defaultTag:Pt,features:Rt,visible:v===0,name:"Dialog"}))))))))),p.createElement(Te,null))}let Mt="div";function kt(e,t){let n=x(),{id:r=`headlessui-dialog-overlay-${n}`,...o}=e,[{dialogState:l,close:a}]=I("Dialog.Overlay"),i=C(t),s=y(m=>{if(m.target===m.currentTarget){if(xe(m.currentTarget))return m.preventDefault();m.preventDefault(),m.stopPropagation(),a()}}),c=u.useMemo(()=>({open:l===0}),[l]);return M({ourProps:{ref:i,id:r,"aria-hidden":!0,onClick:s},theirProps:o,slot:c,defaultTag:Mt,name:"Dialog.Overlay"})}let Ot="div";function Ft(e,t){let n=x(),{id:r=`headlessui-dialog-backdrop-${n}`,...o}=e,[{dialogState:l},a]=I("Dialog.Backdrop"),i=C(t);u.useEffect(()=>{if(a.panelRef.current===null)throw new Error("A component is being used, but a component is missing.")},[a.panelRef]);let s=u.useMemo(()=>({open:l===0}),[l]);return p.createElement(Q,{force:!0},p.createElement(Z,null,M({ourProps:{ref:i,id:r,"aria-hidden":!0},theirProps:o,slot:s,defaultTag:Ot,name:"Dialog.Backdrop"})))}let At="div";function xt(e,t){let n=x(),{id:r=`headlessui-dialog-panel-${n}`,...o}=e,[{dialogState:l},a]=I("Dialog.Panel"),i=C(t,a.panelRef),s=u.useMemo(()=>({open:l===0}),[l]),c=y(m=>{m.stopPropagation()});return M({ourProps:{ref:i,id:r,onClick:c},theirProps:o,slot:s,defaultTag:At,name:"Dialog.Panel"})}let It="h2";function Bt(e,t){let n=x(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:l,setTitleId:a}]=I("Dialog.Title"),i=C(t);u.useEffect(()=>(a(r),()=>a(null)),[r,a]);let s=u.useMemo(()=>({open:l===0}),[l]);return M({ourProps:{ref:i,id:r},theirProps:o,slot:s,defaultTag:It,name:"Dialog.Title"})}let Nt=R(Ct),Ht=R(Ft),Wt=R(xt),Yt=R(kt),_t=R(Bt),an=Object.assign(Nt,{Backdrop:Ht,Panel:Wt,Overlay:Yt,Title:_t,Description:Ve});export{an as _}; +import{r as u,R as p,e as J}from"./index-ebcBgdYO.js";import{D as R,y as C,a as de,o as y,u as A,X as M,l as ee,S as ie}from"./render-BBULYOlI.js";import{I as x,o as Ae}from"./keyboard-6YZ08te-.js";import{r as xe}from"./bugs-DpEN4NTH.js";import{c as ue,p as se}from"./hidden-BiaaAo9r.js";import{O as V,M as P,y as L,N as Ie}from"./focus-management-CO_y2GRp.js";import{n as Be,s as _,c as Ne,E as fe,a as He,j as We,P as Q,p as Z}from"./use-root-containers-D_EsISTQ.js";import{f as pe}from"./use-is-mounted-V11-xH6f.js";import{n as me,h as Ye}from"./use-owner-CYYYWs7j.js";import{t as ge,o as ve}from"./disposables-C2E3IOeh.js";import{m as te,t as _e}from"./platform-CkjJx1Ap.js";import{p as je}from"./use-disposables-BYdaWtl0.js";import{b as Ve,M as Ue}from"./description-BuX7rO1I.js";import{C as qe,d as j}from"./open-closed-C7VEErGe.js";function Xe(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function he(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let ze="div";var Ee=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Ee||{});function Ge(e,t){let n=u.useRef(null),r=C(n,t),{initialFocus:o,containers:l,features:a=30,...i}=e;de()||(a=1);let s=me(n);Ze({ownerDocument:s},!!(a&16));let c=Ke({ownerDocument:s,container:n,initialFocus:o},!!(a&2));et({ownerDocument:s,container:n,containers:l,previousActiveElement:c},!!(a&8));let m=Be(),k=y(d=>{let E=n.current;E&&($=>$())(()=>{A(m.current,{[_.Forwards]:()=>{V(E,P.First,{skipElements:[d.relatedTarget]})},[_.Backwards]:()=>{V(E,P.Last,{skipElements:[d.relatedTarget]})}})})}),T=je(),g=u.useRef(!1),q={ref:r,onKeyDown(d){d.key=="Tab"&&(g.current=!0,T.requestAnimationFrame(()=>{g.current=!1}))},onBlur(d){let E=he(l);n.current instanceof HTMLElement&&E.add(n.current);let $=d.relatedTarget;$ instanceof HTMLElement&&$.dataset.headlessuiFocusGuard!=="true"&&(we(E,$)||(g.current?V(n.current,A(m.current,{[_.Forwards]:()=>P.Next,[_.Backwards]:()=>P.Previous})|P.WrapAround,{relativeTo:d.target}):d.target instanceof HTMLElement&&L(d.target)))}};return p.createElement(p.Fragment,null,!!(a&4)&&p.createElement(ue,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:k,features:se.Focusable}),M({ourProps:q,theirProps:i,defaultTag:ze,name:"FocusTrap"}),!!(a&4)&&p.createElement(ue,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:k,features:se.Focusable}))}let Je=R(Ge),O=Object.assign(Je,{features:Ee}),b=[];Xe(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&b[0]!==t.target&&(b.unshift(t.target),b=b.filter(n=>n!=null&&n.isConnected),b.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Qe(e=!0){let t=u.useRef(b.slice());return te(([n],[r])=>{r===!0&&n===!1&&ge(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=b.slice())},[e,b,t]),y(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function Ze({ownerDocument:e},t){let n=Qe(t);te(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&L(n())},[t]),Ne(()=>{t&&L(n())})}function Ke({ownerDocument:e,container:t,initialFocus:n},r){let o=u.useRef(null),l=pe();return te(()=>{if(!r)return;let a=t.current;a&&ge(()=>{if(!l.current)return;let i=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===i){o.current=i;return}}else if(a.contains(i)){o.current=i;return}n!=null&&n.current?L(n.current):V(a,P.First)===Ie.Error&&console.warn("There are no focusable elements inside the "),o.current=e==null?void 0:e.activeElement})},[r]),o}function et({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){let l=pe();fe(e==null?void 0:e.defaultView,"focus",a=>{if(!o||!l.current)return;let i=he(n);t.current instanceof HTMLElement&&i.add(t.current);let s=r.current;if(!s)return;let c=a.target;c&&c instanceof HTMLElement?we(i,c)?(r.current=c,L(c)):(a.preventDefault(),a.stopPropagation(),L(s)):L(r.current)},!0)}function we(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let ne=u.createContext(()=>{});ne.displayName="StackContext";var K=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(K||{});function tt(){return u.useContext(ne)}function nt({children:e,onUpdate:t,type:n,element:r,enabled:o}){let l=tt(),a=y((...i)=>{t==null||t(...i),l(...i)});return ee(()=>{let i=o===void 0||o===!0;return i&&a(0,n,r),()=>{i&&a(1,n,r)}},[a,n,r,o]),p.createElement(ne.Provider,{value:a},e)}function rt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const ot=typeof Object.is=="function"?Object.is:rt,{useState:at,useEffect:lt,useLayoutEffect:it,useDebugValue:ut}=J;function st(e,t,n){const r=t(),[{inst:o},l]=at({inst:{value:r,getSnapshot:t}});return it(()=>{o.value=r,o.getSnapshot=t,z(o)&&l({inst:o})},[e,r,t]),lt(()=>(z(o)&&l({inst:o}),e(()=>{z(o)&&l({inst:o})})),[e]),ut(r),r}function z(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!ot(n,r)}catch{return!0}}function ct(e,t,n){return t()}const dt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ft=!dt,pt=ft?ct:st,mt="useSyncExternalStore"in J?(e=>e.useSyncExternalStore)(J):pt;function gt(e){return mt(e.subscribe,e.getSnapshot,e.getSnapshot)}function vt(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...l){let a=t[o].call(n,...l);a&&(n=a,r.forEach(i=>i()))}}}function ht(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,o=r.clientWidth-r.offsetWidth,l=e-o;n.style(r,"paddingRight",`${l}px`)}}}function Et(){if(!_e())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function o(l){return r.containers.flatMap(a=>a()).some(a=>a.contains(l))}n.microTask(()=>{if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let a=ve();a.style(t.documentElement,"scroll-behavior","auto"),n.add(()=>n.microTask(()=>a.dispose()))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let l=null;n.addEventListener(t,"click",a=>{if(a.target instanceof HTMLElement)try{let i=a.target.closest("a");if(!i)return;let{hash:s}=new URL(i.href),c=t.querySelector(s);c&&!o(c)&&(l=c)}catch{}},!0),n.addEventListener(t,"touchmove",a=>{a.target instanceof HTMLElement&&!o(a.target)&&a.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),l&&l.isConnected&&(l.scrollIntoView({block:"nearest"}),l=null)})})}}}function wt(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function $t(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let S=vt(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:ve(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:$t(n)},o=[Et(),ht(),wt()];o.forEach(({before:l})=>l==null?void 0:l(r)),o.forEach(({after:l})=>l==null?void 0:l(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});S.subscribe(()=>{let e=S.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&S.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&S.dispatch("TEARDOWN",n)}});function bt(e,t,n){let r=gt(S),o=e?r.get(e):void 0,l=o?o.count>0:!1;return ee(()=>{if(!(!e||!t))return S.dispatch("PUSH",e,n),()=>S.dispatch("POP",e,n)},[t,e]),l}let G=new Map,F=new Map;function ce(e,t=!0){ee(()=>{var n;if(!t)return;let r=typeof e=="function"?e():e.current;if(!r)return;function o(){var a;if(!r)return;let i=(a=F.get(r))!=null?a:1;if(i===1?F.delete(r):F.set(r,i-1),i!==1)return;let s=G.get(r);s&&(s["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",s["aria-hidden"]),r.inert=s.inert,G.delete(r))}let l=(n=F.get(r))!=null?n:0;return F.set(r,l+1),l!==0||(G.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),o},[e,t])}var yt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(yt||{}),Tt=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Tt||{});let St={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},U=u.createContext(null);U.displayName="DialogContext";function I(e){let t=u.useContext(U);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,I),n}return t}function Lt(e,t,n=()=>[document.body]){bt(e,t,r=>{var o;return{containers:[...(o=r.containers)!=null?o:[],n]}})}function Dt(e,t){return A(t.type,St,e,t)}let Pt="div",Rt=ie.RenderStrategy|ie.Static;function Ct(e,t){var n;let r=x(),{id:o=`headlessui-dialog-${r}`,open:l,onClose:a,initialFocus:i,__demoMode:s=!1,...c}=e,[m,k]=u.useState(0),T=qe();l===void 0&&T!==null&&(l=(T&j.Open)===j.Open);let g=u.useRef(null),q=C(g,t),d=me(g),E=e.hasOwnProperty("open")||T!==null,$=e.hasOwnProperty("onClose");if(!E&&!$)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!E)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!$)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof l!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l}`);if(typeof a!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${a}`);let v=l?0:1,[B,$e]=u.useReducer(Dt,{titleId:null,descriptionId:null,panelRef:u.createRef()}),D=y(()=>a(!1)),re=y(f=>$e({type:0,id:f})),N=de()?s?!1:v===0:!1,H=m>1,oe=u.useContext(U)!==null,[be,ye]=He(),{resolveContainers:X,mainTreeNodeRef:W,MainTreeNode:Te}=We({portals:be,defaultContainers:[(n=B.panelRef.current)!=null?n:g.current]}),Se=H?"parent":"leaf",ae=T!==null?(T&j.Closing)===j.Closing:!1,Le=oe||ae?!1:N,De=u.useCallback(()=>{var f,w;return(w=Array.from((f=d==null?void 0:d.querySelectorAll("body > *"))!=null?f:[]).find(h=>h.id==="headlessui-portal-root"?!1:h.contains(W.current)&&h instanceof HTMLElement))!=null?w:null},[W]);ce(De,Le);let Pe=H?!0:N,Re=u.useCallback(()=>{var f,w;return(w=Array.from((f=d==null?void 0:d.querySelectorAll("[data-headlessui-portal]"))!=null?f:[]).find(h=>h.contains(W.current)&&h instanceof HTMLElement))!=null?w:null},[W]);ce(Re,Pe),Ye(X,D,!(!N||H));let Ce=!(H||v!==0);fe(d==null?void 0:d.defaultView,"keydown",f=>{Ce&&(f.defaultPrevented||f.key===Ae.Escape&&(f.preventDefault(),f.stopPropagation(),D()))}),Lt(d,!(ae||v!==0||oe),X),u.useEffect(()=>{if(v!==0||!g.current)return;let f=new ResizeObserver(w=>{for(let h of w){let Y=h.target.getBoundingClientRect();Y.x===0&&Y.y===0&&Y.width===0&&Y.height===0&&D()}});return f.observe(g.current),()=>f.disconnect()},[v,g,D]);let[Me,ke]=Ue(),Oe=u.useMemo(()=>[{dialogState:v,close:D,setTitleId:re},B],[v,B,D,re]),le=u.useMemo(()=>({open:v===0}),[v]),Fe={ref:q,id:o,role:"dialog","aria-modal":v===0?!0:void 0,"aria-labelledby":B.titleId,"aria-describedby":Me};return p.createElement(nt,{type:"Dialog",enabled:v===0,element:g,onUpdate:y((f,w)=>{w==="Dialog"&&A(f,{[K.Add]:()=>k(h=>h+1),[K.Remove]:()=>k(h=>h-1)})})},p.createElement(Q,{force:!0},p.createElement(Z,null,p.createElement(U.Provider,{value:Oe},p.createElement(Z.Group,{target:g},p.createElement(Q,{force:!1},p.createElement(ke,{slot:le,name:"Dialog.Description"},p.createElement(O,{initialFocus:i,containers:X,features:N?A(Se,{parent:O.features.RestoreFocus,leaf:O.features.All&~O.features.FocusLock}):O.features.None},p.createElement(ye,null,M({ourProps:Fe,theirProps:c,slot:le,defaultTag:Pt,features:Rt,visible:v===0,name:"Dialog"}))))))))),p.createElement(Te,null))}let Mt="div";function kt(e,t){let n=x(),{id:r=`headlessui-dialog-overlay-${n}`,...o}=e,[{dialogState:l,close:a}]=I("Dialog.Overlay"),i=C(t),s=y(m=>{if(m.target===m.currentTarget){if(xe(m.currentTarget))return m.preventDefault();m.preventDefault(),m.stopPropagation(),a()}}),c=u.useMemo(()=>({open:l===0}),[l]);return M({ourProps:{ref:i,id:r,"aria-hidden":!0,onClick:s},theirProps:o,slot:c,defaultTag:Mt,name:"Dialog.Overlay"})}let Ot="div";function Ft(e,t){let n=x(),{id:r=`headlessui-dialog-backdrop-${n}`,...o}=e,[{dialogState:l},a]=I("Dialog.Backdrop"),i=C(t);u.useEffect(()=>{if(a.panelRef.current===null)throw new Error("A component is being used, but a component is missing.")},[a.panelRef]);let s=u.useMemo(()=>({open:l===0}),[l]);return p.createElement(Q,{force:!0},p.createElement(Z,null,M({ourProps:{ref:i,id:r,"aria-hidden":!0},theirProps:o,slot:s,defaultTag:Ot,name:"Dialog.Backdrop"})))}let At="div";function xt(e,t){let n=x(),{id:r=`headlessui-dialog-panel-${n}`,...o}=e,[{dialogState:l},a]=I("Dialog.Panel"),i=C(t,a.panelRef),s=u.useMemo(()=>({open:l===0}),[l]),c=y(m=>{m.stopPropagation()});return M({ourProps:{ref:i,id:r,onClick:c},theirProps:o,slot:s,defaultTag:At,name:"Dialog.Panel"})}let It="h2";function Bt(e,t){let n=x(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:l,setTitleId:a}]=I("Dialog.Title"),i=C(t);u.useEffect(()=>(a(r),()=>a(null)),[r,a]);let s=u.useMemo(()=>({open:l===0}),[l]);return M({ourProps:{ref:i,id:r},theirProps:o,slot:s,defaultTag:It,name:"Dialog.Title"})}let Nt=R(Ct),Ht=R(Ft),Wt=R(xt),Yt=R(kt),_t=R(Bt),an=Object.assign(Nt,{Backdrop:Ht,Panel:Wt,Overlay:Yt,Title:_t,Description:Ve});export{an as _}; diff --git a/assets/dialog.stories-1xlobWTI.js b/assets/dialog.stories-IvUqkbho.js similarity index 90% rename from assets/dialog.stories-1xlobWTI.js rename to assets/dialog.stories-IvUqkbho.js index 30d9a327..9a111c4f 100644 --- a/assets/dialog.stories-1xlobWTI.js +++ b/assets/dialog.stories-IvUqkbho.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-DvLKfCe6.js";import{r as l}from"./index-aXz8NaAs.js";import{g as R,h as p}from"./storybook-utils-8tYEDzov.js";import{I as M}from"./icon-button-20HJLHEq.js";import{c as y}from"./class-names-J070TWId.js";import{j as q,k as A}from"./zoom-to-fit-icon-D5bxa5rH.js";import{t as g}from"./transition-P5RH2ilL.js";import{_ as h}from"./dialog-AV4MErht.js";import{B as x}from"./button-57Qwtjov.js";import{F as a}from"./form-field-6eUfOaJj.js";import{T as F}from"./toggle-xj_yRI9R.js";import{A as W}from"./alert-AtN3QK5X.js";import"./render-THca3tYe.js";import"./open-closed-arTWCtx2.js";import"./use-is-mounted-JxO49gTk.js";import"./disposables-x8EK1kJp.js";import"./use-disposables-qU89AwEH.js";import"./use-flags-F5kSKS15.js";import"./keyboard-NjAwe_S6.js";import"./bugs-DTVvle51.js";import"./hidden-G4mt23Ky.js";import"./focus-management-9lqV-5sA.js";import"./owner-zdel76gv.js";import"./use-root-containers-gvIPfwFU.js";import"./use-owner-6in2YdcT.js";import"./index-eaBuI5Jm.js";import"./platform-mHIZTaYY.js";import"./description-rwhSs07y.js";import"./spinner-3qwjfHYG.js";import"./label-tTJj5301.js";import"./use-text-value-K_DgwPe6.js";import"./use-resolve-button-type-Iz3xK6-2.js";import"./badge-fqfuhG_-.js";import"./tag-KADc8xh0.js";const d=({isShown:o,children:s,className:r,isCloseable:n=!0,footer:t,footerPosition:i="end",onClose:v,title:L,hasBackground:H=!0,position:b="center"})=>{const f=(O=!1)=>{n&&v&&v(O)};return e.jsx(g,{show:o,as:l.Fragment,children:e.jsxs(h,{as:"div",onClose:f,children:[H?e.jsx(g.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e.jsx("div",{className:"fixed inset-0 z-40 bg-modal-background","aria-hidden":"true",onClick:()=>f(!0)})}):null,e.jsx("div",{className:y("fixed inset-0 z-50 flex overflow-y-auto p-8",b==="bottom-right"&&"items-end justify-end",b==="center"&&"items-center justify-center"),children:e.jsx(g.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4",enterTo:"opacity-100 translate-y-0",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-4",children:e.jsxs(h.Panel,{className:y("flex w-[736px] transform flex-col overflow-y-auto rounded-md bg-neutral-0 shadow-lg transition-all",!t&&"pb-8",r),children:[e.jsxs("div",{className:"relative mx-10 mt-10",children:[e.jsx(h.Title,{className:"mb-6 pr-12 text-lg font-semibold text-neutral-900",children:L}),n&&e.jsx(M,{className:"absolute right-0 top-0",Icon:q,type:"minimal",onClick:()=>f(!1)}),e.jsx(h.Description,{as:"div",children:s})]}),!!t&&e.jsx("div",{id:"dialog-footer",className:y("sticky bottom-0 left-0 flex flex-row gap-2 bg-neutral-0 px-10 pb-8 pt-8",i==="end"?"justify-end":"justify-start"),children:t})]})})})]})})};try{d.displayName="Dialog",d.__docgenInfo={description:"",displayName:"Dialog",props:{isShown:{defaultValue:null,description:"",name:"isShown",required:!1,type:{name:"boolean"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},onClose:{defaultValue:null,description:"",name:"onClose",required:!1,type:{name:"((submitted: boolean) => void)"}},isCloseable:{defaultValue:{value:"true"},description:"",name:"isCloseable",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},footer:{defaultValue:null,description:"",name:"footer",required:!1,type:{name:"ReactNode"}},footerPosition:{defaultValue:{value:"end"},description:"",name:"footerPosition",required:!1,type:{name:"enum",value:[{value:'"end"'},{value:'"start"'}]}},hasBackground:{defaultValue:{value:"true"},description:"",name:"hasBackground",required:!1,type:{name:"boolean"}},position:{defaultValue:{value:"center"},description:"",name:"position",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"bottom-right"'}]}}}}}catch{}const w=()=>{},G=()=>e.jsx("span",{children:"test footer 🍭"}),_=({onClose:o})=>e.jsxs(e.Fragment,{children:[e.jsx(x,{variant:"secondary",onClick:()=>o==null?void 0:o(!1),children:"Cancel"}),e.jsx(x,{variant:"primary",LeftIcon:A,onClick:()=>o==null?void 0:o(!0),children:"Confirm"})]}),j={undefined:void 0,SpanFooter:e.jsx(G,{}),buttons:e.jsx(_,{})},E={options:Object.keys(j),mapping:j},ke={title:"Dialog",component:d,parameters:{...R("Modal showing on top of the screen"),inlineStories:!1},args:{title:"Dialog Title",children:"Dialog Description",isShown:!1,footer:void 0},argTypes:{isShown:p,onClose:p,footer:E},render:({children:o,...s})=>{const[r,n]=l.useState(!1),t=()=>n(i=>!i);return e.jsxs("div",{className:"body-font",children:[e.jsx("button",{type:"button",onClick:t,className:"bg-neutral-100 px-4 py-2 shadow",children:"show Modal"}),e.jsx(d,{...s,isShown:r,onClose:t,children:o})]})}},m={},u={argTypes:{footer:p},render:({children:o,...s})=>{const[r,n]=l.useState(!1),t=()=>n(i=>!i);return e.jsxs("div",{className:"body-font",children:[e.jsx("button",{type:"button",onClick:t,className:"bg-neutral-100 px-4 py-2 shadow",children:"show Modal"}),e.jsx(d,{...s,footer:e.jsx(_,{onClose:()=>n(!1)}),isShown:r,onClose:t,children:o})]})}},c={args:{children:e.jsxs(e.Fragment,{children:[e.jsx(F.Switch,{checked:!0,ariaLabel:"test",onChange:w}),e.jsx("p",{className:"py-10",children:"Paragraph Content"}),e.jsxs(a,{children:[e.jsxs(a.LabelGroup,{children:[e.jsx(a.Label,{htmlFor:"value",children:"Label"}),e.jsx(a.Description,{id:"value-description",children:"Description"})]}),e.jsxs(a.RadioInput,{id:"value",value:"value_1",onChange:w,children:[e.jsx(a.RadioInput.Option,{value:"value_1",children:"Value 1"}),e.jsx(a.RadioInput.Option,{value:"value_2",children:"Value 2"}),e.jsx(a.RadioInput.Option,{value:"value_3",disabled:!0,children:"Value 3"})]})]}),e.jsx("p",{className:"py-5",children:` +import{j as e}from"./jsx-runtime-B57y5fZt.js";import{r as l}from"./index-ebcBgdYO.js";import{g as R,h as p}from"./storybook-utils-C5xEhci0.js";import{I as M}from"./icon-button-CPqMts2r.js";import{c as y}from"./class-names-B8CnD4Xb.js";import{j as q,k as A}from"./zoom-to-fit-icon-DLvbqD3B.js";import{t as g}from"./transition-BaZe4U2z.js";import{_ as h}from"./dialog-jscKnt9i.js";import{B as x}from"./button-Cjc0aKsZ.js";import{F as a}from"./form-field-DvjiF2cs.js";import{T as F}from"./toggle-Dw-zG7px.js";import{A as W}from"./alert-BT1_F7vq.js";import"./render-BBULYOlI.js";import"./open-closed-C7VEErGe.js";import"./use-is-mounted-V11-xH6f.js";import"./disposables-C2E3IOeh.js";import"./use-disposables-BYdaWtl0.js";import"./use-flags-CXYxB9RW.js";import"./keyboard-6YZ08te-.js";import"./bugs-DpEN4NTH.js";import"./hidden-BiaaAo9r.js";import"./focus-management-CO_y2GRp.js";import"./owner-Di-Chxds.js";import"./use-root-containers-D_EsISTQ.js";import"./use-owner-CYYYWs7j.js";import"./index-LVLpks_4.js";import"./platform-CkjJx1Ap.js";import"./description-BuX7rO1I.js";import"./spinner-BicvOdNJ.js";import"./label-DM5sTrnd.js";import"./use-text-value-DoNDUPYh.js";import"./use-resolve-button-type-BadQLjH2.js";import"./badge-Bpu_07Lu.js";import"./tag-BUaKHE7W.js";const d=({isShown:o,children:s,className:r,isCloseable:n=!0,footer:t,footerPosition:i="end",onClose:v,title:L,hasBackground:H=!0,position:b="center"})=>{const f=(O=!1)=>{n&&v&&v(O)};return e.jsx(g,{show:o,as:l.Fragment,children:e.jsxs(h,{as:"div",onClose:f,children:[H?e.jsx(g.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e.jsx("div",{className:"fixed inset-0 z-40 bg-modal-background","aria-hidden":"true",onClick:()=>f(!0)})}):null,e.jsx("div",{className:y("fixed inset-0 z-50 flex overflow-y-auto p-8",b==="bottom-right"&&"items-end justify-end",b==="center"&&"items-center justify-center"),children:e.jsx(g.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4",enterTo:"opacity-100 translate-y-0",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-4",children:e.jsxs(h.Panel,{className:y("flex w-[736px] transform flex-col overflow-y-auto rounded-md bg-neutral-0 shadow-lg transition-all",!t&&"pb-8",r),children:[e.jsxs("div",{className:"relative mx-10 mt-10",children:[e.jsx(h.Title,{className:"mb-6 pr-12 text-lg font-semibold text-neutral-900",children:L}),n&&e.jsx(M,{className:"absolute right-0 top-0",Icon:q,type:"minimal",onClick:()=>f(!1)}),e.jsx(h.Description,{as:"div",children:s})]}),!!t&&e.jsx("div",{id:"dialog-footer",className:y("sticky bottom-0 left-0 flex flex-row gap-2 bg-neutral-0 px-10 pb-8 pt-8",i==="end"?"justify-end":"justify-start"),children:t})]})})})]})})};try{d.displayName="Dialog",d.__docgenInfo={description:"",displayName:"Dialog",props:{isShown:{defaultValue:null,description:"",name:"isShown",required:!1,type:{name:"boolean"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},onClose:{defaultValue:null,description:"",name:"onClose",required:!1,type:{name:"((submitted: boolean) => void)"}},isCloseable:{defaultValue:{value:"true"},description:"",name:"isCloseable",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},footer:{defaultValue:null,description:"",name:"footer",required:!1,type:{name:"ReactNode"}},footerPosition:{defaultValue:{value:"end"},description:"",name:"footerPosition",required:!1,type:{name:"enum",value:[{value:'"end"'},{value:'"start"'}]}},hasBackground:{defaultValue:{value:"true"},description:"",name:"hasBackground",required:!1,type:{name:"boolean"}},position:{defaultValue:{value:"center"},description:"",name:"position",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"bottom-right"'}]}}}}}catch{}const w=()=>{},G=()=>e.jsx("span",{children:"test footer 🍭"}),_=({onClose:o})=>e.jsxs(e.Fragment,{children:[e.jsx(x,{variant:"secondary",onClick:()=>o==null?void 0:o(!1),children:"Cancel"}),e.jsx(x,{variant:"primary",LeftIcon:A,onClick:()=>o==null?void 0:o(!0),children:"Confirm"})]}),j={undefined:void 0,SpanFooter:e.jsx(G,{}),buttons:e.jsx(_,{})},E={options:Object.keys(j),mapping:j},ke={title:"Dialog",component:d,parameters:{...R("Modal showing on top of the screen"),inlineStories:!1},args:{title:"Dialog Title",children:"Dialog Description",isShown:!1,footer:void 0},argTypes:{isShown:p,onClose:p,footer:E},render:({children:o,...s})=>{const[r,n]=l.useState(!1),t=()=>n(i=>!i);return e.jsxs("div",{className:"body-font",children:[e.jsx("button",{type:"button",onClick:t,className:"bg-neutral-100 px-4 py-2 shadow",children:"show Modal"}),e.jsx(d,{...s,isShown:r,onClose:t,children:o})]})}},m={},u={argTypes:{footer:p},render:({children:o,...s})=>{const[r,n]=l.useState(!1),t=()=>n(i=>!i);return e.jsxs("div",{className:"body-font",children:[e.jsx("button",{type:"button",onClick:t,className:"bg-neutral-100 px-4 py-2 shadow",children:"show Modal"}),e.jsx(d,{...s,footer:e.jsx(_,{onClose:()=>n(!1)}),isShown:r,onClose:t,children:o})]})}},c={args:{children:e.jsxs(e.Fragment,{children:[e.jsx(F.Switch,{checked:!0,ariaLabel:"test",onChange:w}),e.jsx("p",{className:"py-10",children:"Paragraph Content"}),e.jsxs(a,{children:[e.jsxs(a.LabelGroup,{children:[e.jsx(a.Label,{htmlFor:"value",children:"Label"}),e.jsx(a.Description,{id:"value-description",children:"Description"})]}),e.jsxs(a.RadioInput,{id:"value",value:"value_1",onChange:w,children:[e.jsx(a.RadioInput.Option,{value:"value_1",children:"Value 1"}),e.jsx(a.RadioInput.Option,{value:"value_2",children:"Value 2"}),e.jsx(a.RadioInput.Option,{value:"value_3",disabled:!0,children:"Value 3"})]})]}),e.jsx("p",{className:"py-5",children:` "Oh, hush, hush, my child!" said Van Helsing. "God does not purchase souls in this wise; and the Devil, though he may purchase, does not keep faith. But God is merciful and just, and knows your pain and your devotion to that dear Madam diff --git a/assets/disclosure-bilLE81Q.js b/assets/disclosure-CfBfnIZw.js similarity index 91% rename from assets/disclosure-bilLE81Q.js rename to assets/disclosure-CfBfnIZw.js index 40796a22..13f07700 100644 --- a/assets/disclosure-bilLE81Q.js +++ b/assets/disclosure-CfBfnIZw.js @@ -1 +1 @@ -import{R as D,r as n}from"./index-aXz8NaAs.js";import{S as B,D as g,y as C,T as H,o as b,u as T,X as R}from"./render-THca3tYe.js";import{I as O,o as S}from"./keyboard-NjAwe_S6.js";import{r as K}from"./bugs-DTVvle51.js";import{c as N,d as v,C as U}from"./open-closed-arTWCtx2.js";import{s as F}from"./use-resolve-button-type-Iz3xK6-2.js";import{e as j}from"./owner-zdel76gv.js";var M;let q=(M=D.startTransition)!=null?M:function(e){e()};var z=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(z||{}),A=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(A||{});let Q={0:e=>({...e,disclosureState:T(e.disclosureState,{0:1,1:0})}),1:e=>e.disclosureState===1?e:{...e,disclosureState:1},4(e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},5(e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},2(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},3(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},$=n.createContext(null);$.displayName="DisclosureContext";function x(e){let t=n.useContext($);if(t===null){let u=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,x),u}return t}let h=n.createContext(null);h.displayName="DisclosureAPIContext";function L(e){let t=n.useContext(h);if(t===null){let u=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,L),u}return t}let w=n.createContext(null);w.displayName="DisclosurePanelContext";function V(){return n.useContext(w)}function X(e,t){return T(t.type,Q,e,t)}let Y=n.Fragment;function Z(e,t){let{defaultOpen:u=!1,...a}=e,P=n.useRef(null),l=C(t,H(c=>{P.current=c},e.as===void 0||e.as===n.Fragment)),o=n.useRef(null),m=n.useRef(null),s=n.useReducer(X,{disclosureState:u?0:1,linkedPanel:!1,buttonRef:m,panelRef:o,buttonId:null,panelId:null}),[{disclosureState:i,buttonId:p},y]=s,d=b(c=>{y({type:1});let r=j(P);if(!r||!p)return;let f=c?c instanceof HTMLElement?c:c.current instanceof HTMLElement?c.current:r.getElementById(p):r.getElementById(p);f==null||f.focus()}),I=n.useMemo(()=>({close:d}),[d]),E=n.useMemo(()=>({open:i===0,close:d}),[i,d]),k={ref:l};return D.createElement($.Provider,{value:s},D.createElement(h.Provider,{value:I},D.createElement(N,{value:T(i,{0:v.Open,1:v.Closed})},R({ourProps:k,theirProps:a,slot:E,defaultTag:Y,name:"Disclosure"}))))}let G="button";function J(e,t){let u=O(),{id:a=`headlessui-disclosure-button-${u}`,...P}=e,[l,o]=x("Disclosure.Button"),m=V(),s=m===null?!1:m===l.panelId,i=n.useRef(null),p=C(i,t,s?null:l.buttonRef);n.useEffect(()=>{if(!s)return o({type:2,buttonId:a}),()=>{o({type:2,buttonId:null})}},[a,o,s]);let y=b(r=>{var f;if(s){if(l.disclosureState===1)return;switch(r.key){case S.Space:case S.Enter:r.preventDefault(),r.stopPropagation(),o({type:0}),(f=l.buttonRef.current)==null||f.focus();break}}else switch(r.key){case S.Space:case S.Enter:r.preventDefault(),r.stopPropagation(),o({type:0});break}}),d=b(r=>{switch(r.key){case S.Space:r.preventDefault();break}}),I=b(r=>{var f;K(r.currentTarget)||e.disabled||(s?(o({type:0}),(f=l.buttonRef.current)==null||f.focus()):o({type:0}))}),E=n.useMemo(()=>({open:l.disclosureState===0}),[l]),k=F(e,i),c=s?{ref:p,type:k,onKeyDown:y,onClick:I}:{ref:p,id:a,type:k,"aria-expanded":l.disclosureState===0,"aria-controls":l.linkedPanel?l.panelId:void 0,onKeyDown:y,onKeyUp:d,onClick:I};return R({ourProps:c,theirProps:P,slot:E,defaultTag:G,name:"Disclosure.Button"})}let W="div",_=B.RenderStrategy|B.Static;function ee(e,t){let u=O(),{id:a=`headlessui-disclosure-panel-${u}`,...P}=e,[l,o]=x("Disclosure.Panel"),{close:m}=L("Disclosure.Panel"),s=C(t,l.panelRef,I=>{q(()=>o({type:I?4:5}))});n.useEffect(()=>(o({type:3,panelId:a}),()=>{o({type:3,panelId:null})}),[a,o]);let i=U(),p=i!==null?(i&v.Open)===v.Open:l.disclosureState===0,y=n.useMemo(()=>({open:l.disclosureState===0,close:m}),[l,m]),d={ref:s,id:a};return D.createElement(w.Provider,{value:l.panelId},R({ourProps:d,theirProps:P,slot:y,defaultTag:W,features:_,visible:p,name:"Disclosure.Panel"}))}let te=g(Z),ne=g(J),le=g(ee),pe=Object.assign(te,{Button:ne,Panel:le});export{pe as v}; +import{R as D,r as n}from"./index-ebcBgdYO.js";import{S as B,D as g,y as C,T as H,o as b,u as T,X as R}from"./render-BBULYOlI.js";import{I as O,o as S}from"./keyboard-6YZ08te-.js";import{r as K}from"./bugs-DpEN4NTH.js";import{c as N,d as v,C as U}from"./open-closed-C7VEErGe.js";import{s as F}from"./use-resolve-button-type-BadQLjH2.js";import{e as j}from"./owner-Di-Chxds.js";var M;let q=(M=D.startTransition)!=null?M:function(e){e()};var z=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(z||{}),A=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(A||{});let Q={0:e=>({...e,disclosureState:T(e.disclosureState,{0:1,1:0})}),1:e=>e.disclosureState===1?e:{...e,disclosureState:1},4(e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},5(e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},2(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},3(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},$=n.createContext(null);$.displayName="DisclosureContext";function x(e){let t=n.useContext($);if(t===null){let u=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,x),u}return t}let h=n.createContext(null);h.displayName="DisclosureAPIContext";function L(e){let t=n.useContext(h);if(t===null){let u=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,L),u}return t}let w=n.createContext(null);w.displayName="DisclosurePanelContext";function V(){return n.useContext(w)}function X(e,t){return T(t.type,Q,e,t)}let Y=n.Fragment;function Z(e,t){let{defaultOpen:u=!1,...a}=e,P=n.useRef(null),l=C(t,H(c=>{P.current=c},e.as===void 0||e.as===n.Fragment)),o=n.useRef(null),m=n.useRef(null),s=n.useReducer(X,{disclosureState:u?0:1,linkedPanel:!1,buttonRef:m,panelRef:o,buttonId:null,panelId:null}),[{disclosureState:i,buttonId:p},y]=s,d=b(c=>{y({type:1});let r=j(P);if(!r||!p)return;let f=c?c instanceof HTMLElement?c:c.current instanceof HTMLElement?c.current:r.getElementById(p):r.getElementById(p);f==null||f.focus()}),I=n.useMemo(()=>({close:d}),[d]),E=n.useMemo(()=>({open:i===0,close:d}),[i,d]),k={ref:l};return D.createElement($.Provider,{value:s},D.createElement(h.Provider,{value:I},D.createElement(N,{value:T(i,{0:v.Open,1:v.Closed})},R({ourProps:k,theirProps:a,slot:E,defaultTag:Y,name:"Disclosure"}))))}let G="button";function J(e,t){let u=O(),{id:a=`headlessui-disclosure-button-${u}`,...P}=e,[l,o]=x("Disclosure.Button"),m=V(),s=m===null?!1:m===l.panelId,i=n.useRef(null),p=C(i,t,s?null:l.buttonRef);n.useEffect(()=>{if(!s)return o({type:2,buttonId:a}),()=>{o({type:2,buttonId:null})}},[a,o,s]);let y=b(r=>{var f;if(s){if(l.disclosureState===1)return;switch(r.key){case S.Space:case S.Enter:r.preventDefault(),r.stopPropagation(),o({type:0}),(f=l.buttonRef.current)==null||f.focus();break}}else switch(r.key){case S.Space:case S.Enter:r.preventDefault(),r.stopPropagation(),o({type:0});break}}),d=b(r=>{switch(r.key){case S.Space:r.preventDefault();break}}),I=b(r=>{var f;K(r.currentTarget)||e.disabled||(s?(o({type:0}),(f=l.buttonRef.current)==null||f.focus()):o({type:0}))}),E=n.useMemo(()=>({open:l.disclosureState===0}),[l]),k=F(e,i),c=s?{ref:p,type:k,onKeyDown:y,onClick:I}:{ref:p,id:a,type:k,"aria-expanded":l.disclosureState===0,"aria-controls":l.linkedPanel?l.panelId:void 0,onKeyDown:y,onKeyUp:d,onClick:I};return R({ourProps:c,theirProps:P,slot:E,defaultTag:G,name:"Disclosure.Button"})}let W="div",_=B.RenderStrategy|B.Static;function ee(e,t){let u=O(),{id:a=`headlessui-disclosure-panel-${u}`,...P}=e,[l,o]=x("Disclosure.Panel"),{close:m}=L("Disclosure.Panel"),s=C(t,l.panelRef,I=>{q(()=>o({type:I?4:5}))});n.useEffect(()=>(o({type:3,panelId:a}),()=>{o({type:3,panelId:null})}),[a,o]);let i=U(),p=i!==null?(i&v.Open)===v.Open:l.disclosureState===0,y=n.useMemo(()=>({open:l.disclosureState===0,close:m}),[l,m]),d={ref:s,id:a};return D.createElement(w.Provider,{value:l.panelId},R({ourProps:d,theirProps:P,slot:y,defaultTag:W,features:_,visible:p,name:"Disclosure.Panel"}))}let te=g(Z),ne=g(J),le=g(ee),pe=Object.assign(te,{Button:ne,Panel:le});export{pe as v}; diff --git a/assets/disclosure.stories-Lzd6yTSj.js b/assets/disclosure.stories-BoDJB7zg.js similarity index 90% rename from assets/disclosure.stories-Lzd6yTSj.js rename to assets/disclosure.stories-BoDJB7zg.js index 643afb14..e56f6847 100644 --- a/assets/disclosure.stories-Lzd6yTSj.js +++ b/assets/disclosure.stories-BoDJB7zg.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-DvLKfCe6.js";import{l as h}from"./zoom-to-fit-icon-D5bxa5rH.js";import{c as f}from"./class-names-J070TWId.js";import{v as c}from"./disclosure-bilLE81Q.js";import"./index-aXz8NaAs.js";import"./render-THca3tYe.js";import"./keyboard-NjAwe_S6.js";import"./bugs-DTVvle51.js";import"./open-closed-arTWCtx2.js";import"./use-resolve-button-type-Iz3xK6-2.js";import"./owner-zdel76gv.js";const P=({children:r,...n})=>e.jsx(c.Panel,{...n,children:r}),C=({children:r,...n})=>e.jsx(c.Button,{className:"headline-300 flex w-full items-center justify-between border-b border-t border-b-neutral-300 border-t-transparent bg-neutral-50 py-3 pl-3 pr-5 text-left text-neutral-900 focus:outline focus:outline-2 focus:outline-offset-0 focus:outline-primary-200",...n,children:({open:j})=>e.jsxs(e.Fragment,{children:[e.jsx("span",{children:r}),e.jsx(h,{className:f("h-3 w-3",j&&"rotate-180 transform")})]})}),s=({children:r,defaultOpen:n=!1})=>e.jsx(c,{defaultOpen:n,children:r});s.Button=C;s.Panel=P;try{s.displayName="Disclosure",s.__docgenInfo={description:"",displayName:"Disclosure",props:{defaultOpen:{defaultValue:{value:"false"},description:"",name:"defaultOpen",required:!1,type:{name:"boolean"}}}}}catch{}const I={title:"Disclosure",component:s,parameters:{options:{showPanel:!1}}},o={render:()=>e.jsx("div",{className:"w-96",children:e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]})})},t={render:()=>e.jsxs("div",{className:"w-96",children:[e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]}),e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]}),e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]})]})},l={render:()=>e.jsxs("div",{className:"w-96",children:[e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]}),e.jsxs(s,{defaultOpen:!0,children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]}),e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]})]})};var u,i,a;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-B57y5fZt.js";import{l as h}from"./zoom-to-fit-icon-DLvbqD3B.js";import{c as f}from"./class-names-B8CnD4Xb.js";import{v as c}from"./disclosure-CfBfnIZw.js";import"./index-ebcBgdYO.js";import"./render-BBULYOlI.js";import"./keyboard-6YZ08te-.js";import"./bugs-DpEN4NTH.js";import"./open-closed-C7VEErGe.js";import"./use-resolve-button-type-BadQLjH2.js";import"./owner-Di-Chxds.js";const P=({children:r,...n})=>e.jsx(c.Panel,{...n,children:r}),C=({children:r,...n})=>e.jsx(c.Button,{className:"headline-300 flex w-full items-center justify-between border-b border-t border-b-neutral-300 border-t-transparent bg-neutral-50 py-3 pl-3 pr-5 text-left text-neutral-900 focus:outline focus:outline-2 focus:outline-offset-0 focus:outline-primary-200",...n,children:({open:j})=>e.jsxs(e.Fragment,{children:[e.jsx("span",{children:r}),e.jsx(h,{className:f("h-3 w-3",j&&"rotate-180 transform")})]})}),s=({children:r,defaultOpen:n=!1})=>e.jsx(c,{defaultOpen:n,children:r});s.Button=C;s.Panel=P;try{s.displayName="Disclosure",s.__docgenInfo={description:"",displayName:"Disclosure",props:{defaultOpen:{defaultValue:{value:"false"},description:"",name:"defaultOpen",required:!1,type:{name:"boolean"}}}}}catch{}const I={title:"Disclosure",component:s,parameters:{options:{showPanel:!1}}},o={render:()=>e.jsx("div",{className:"w-96",children:e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]})})},t={render:()=>e.jsxs("div",{className:"w-96",children:[e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]}),e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]}),e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]})]})},l={render:()=>e.jsxs("div",{className:"w-96",children:[e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]}),e.jsxs(s,{defaultOpen:!0,children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]}),e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]})]})};var u,i,a;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ render: () =>
Disclosure Button diff --git a/assets/disposables-x8EK1kJp.js b/assets/disposables-C2E3IOeh.js similarity index 100% rename from assets/disposables-x8EK1kJp.js rename to assets/disposables-C2E3IOeh.js diff --git a/assets/divider-line-4vPnWnk9.js b/assets/divider-line-DPBmJQo4.js similarity index 59% rename from assets/divider-line-4vPnWnk9.js rename to assets/divider-line-DPBmJQo4.js index 4b230886..1a8181e3 100644 --- a/assets/divider-line-4vPnWnk9.js +++ b/assets/divider-line-DPBmJQo4.js @@ -1 +1 @@ -import{j as r}from"./jsx-runtime-DvLKfCe6.js";const s=()=>r.jsx("hr",{className:"col-span-full my-8 h-px w-full border-none bg-neutral-300"});export{s as D}; +import{j as r}from"./jsx-runtime-B57y5fZt.js";const s=()=>r.jsx("hr",{className:"col-span-full my-8 h-px w-full border-none bg-neutral-300"});export{s as D}; diff --git a/assets/divider-line.stories-NPHOSH0C.js b/assets/divider-line.stories-D7IbH_7C.js similarity index 78% rename from assets/divider-line.stories-NPHOSH0C.js rename to assets/divider-line.stories-D7IbH_7C.js index 802561f7..3a866068 100644 --- a/assets/divider-line.stories-NPHOSH0C.js +++ b/assets/divider-line.stories-D7IbH_7C.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-DvLKfCe6.js";import{D as s}from"./divider-line-4vPnWnk9.js";import"./index-aXz8NaAs.js";const m={title:"DividerLine",component:s,parameters:{layout:"fullscreen"},render:()=>e.jsxs("div",{className:"p-2",children:[e.jsx("span",{children:"🌞"}),e.jsx(s,{}),e.jsx("span",{children:"🌙"})]})},r={};var a,t,o;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(o=(t=r.parameters)==null?void 0:t.docs)==null?void 0:o.source}}};const p=["Default"];export{r as Default,p as __namedExportsOrder,m as default}; +import{j as e}from"./jsx-runtime-B57y5fZt.js";import{D as s}from"./divider-line-DPBmJQo4.js";import"./index-ebcBgdYO.js";const m={title:"DividerLine",component:s,parameters:{layout:"fullscreen"},render:()=>e.jsxs("div",{className:"p-2",children:[e.jsx("span",{children:"🌞"}),e.jsx(s,{}),e.jsx("span",{children:"🌙"})]})},r={};var a,t,o;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(o=(t=r.parameters)==null?void 0:t.docs)==null?void 0:o.source}}};const p=["Default"];export{r as Default,p as __namedExportsOrder,m as default}; diff --git a/assets/entry-preview-FCJT8lh_.js b/assets/entry-preview-FCJT8lh_.js deleted file mode 100644 index fea3a4a1..00000000 --- a/assets/entry-preview-FCJT8lh_.js +++ /dev/null @@ -1 +0,0 @@ -import{R as o,r as p}from"./index-aXz8NaAs.js";import{u as d,r as E}from"./react-18-UXrK_Jj3.js";import"./index-eaBuI5Jm.js";var _=Object.defineProperty,f=(r,e)=>{for(var t in e)_(r,t,{get:e[t],enumerable:!0})};const{global:v}=__STORYBOOK_MODULE_GLOBAL__;var g={};f(g,{parameters:()=>M,render:()=>w,renderToCanvas:()=>D});var w=(r,e)=>{let{id:t,component:n}=e;if(!n)throw new Error(`Unable to render story ${t} as the component annotation is missing from the default export`);return o.createElement(n,{...r})},{FRAMEWORK_OPTIONS:s}=v,b=class extends p.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:r}=this.state,{showMain:e}=this.props;r||e()}componentDidCatch(r){let{showException:e}=this.props;e(r)}render(){let{hasError:r}=this.state,{children:e}=this.props;return r?null:e}},l=s!=null&&s.strictMode?p.StrictMode:p.Fragment;async function D({storyContext:r,unboundStoryFn:e,showMain:t,showException:n,forceRemount:h},a){var m,c;let i=o.createElement(b,{showMain:t,showException:n},o.createElement(e,{...r})),u=l?o.createElement(l,null,i):i;return h&&d(a),await E(u,a,(c=(m=r==null?void 0:r.parameters)==null?void 0:m.react)==null?void 0:c.rootOptions),()=>d(a)}var M={renderer:"react"};export{M as parameters,w as render,D as renderToCanvas}; diff --git a/assets/entry-preview-VETjq1Va.js b/assets/entry-preview-VETjq1Va.js new file mode 100644 index 00000000..187a72c3 --- /dev/null +++ b/assets/entry-preview-VETjq1Va.js @@ -0,0 +1 @@ +import{R as a,r as i}from"./index-ebcBgdYO.js";import{u as l,r as E}from"./react-18-Cy_QyFb9.js";import"./index-LVLpks_4.js";var v=Object.defineProperty,_=(r,e)=>{for(var t in e)v(r,t,{get:e[t],enumerable:!0})};const{global:f}=__STORYBOOK_MODULE_GLOBAL__;var g={};_(g,{mount:()=>M,parameters:()=>O,render:()=>w,renderToCanvas:()=>D});var w=(r,e)=>{let{id:t,component:n}=e;if(!n)throw new Error(`Unable to render story ${t} as the component annotation is missing from the default export`);return a.createElement(n,{...r})},{FRAMEWORK_OPTIONS:s}=f,b=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:r}=this.state,{showMain:e}=this.props;r||e()}componentDidCatch(r){let{showException:e}=this.props;e(r)}render(){let{hasError:r}=this.state,{children:e}=this.props;return r?null:e}},d=s!=null&&s.strictMode?i.StrictMode:i.Fragment;async function D({storyContext:r,unboundStoryFn:e,showMain:t,showException:n,forceRemount:u},o){var m,c;let p=a.createElement(b,{showMain:t,showException:n},a.createElement(e,{...r})),h=d?a.createElement(d,null,p):p;return u&&l(o),await E(h,o,(c=(m=r==null?void 0:r.parameters)==null?void 0:m.react)==null?void 0:c.rootOptions),()=>l(o)}var M=r=>async e=>(e!=null&&(r.originalStoryFn=()=>e),await r.renderToCanvas(),r.canvas),O={renderer:"react"};export{M as mount,O as parameters,w as render,D as renderToCanvas}; diff --git a/assets/entry-preview-docs-FFV1Xpem.js b/assets/entry-preview-docs-FFV1Xpem.js deleted file mode 100644 index 66d8dc63..00000000 --- a/assets/entry-preview-docs-FFV1Xpem.js +++ /dev/null @@ -1,54 +0,0 @@ -import{b as Si,c as Jn,d as _i,u as Xn,e as Hn,f as Qn,g as Yn,S as Kn,h as te,j as Ur,k as Gr,l as Wr,m as Zn,n as es,T as zr,o as ft,p as ts}from"./index-lmOu_tDR.js";import{g as pt,c as lt,a as rs,R as at,r as We}from"./index-aXz8NaAs.js";import{d as is}from"./index-PPLHz8o0.js";var ns=Si,ss=Jn,as=_i,os="[object Object]",us=Function.prototype,ls=Object.prototype,Ei=us.toString,cs=ls.hasOwnProperty,hs=Ei.call(Object);function fs(e){if(!as(e)||ns(e)!=os)return!1;var t=ss(e);if(t===null)return!0;var r=cs.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Ei.call(r)==hs}var ps=fs;const ds=pt(ps);var Ci={exports:{}},ms="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",gs=ms,ys=gs;function Ai(){}function wi(){}wi.resetWarningCache=Ai;var vs=function(){function e(i,s,a,u,f,p){if(p!==ys){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:wi,resetWarningCache:Ai};return r.PropTypes=r,r};Ci.exports=vs();var xs=Ci.exports;const $r=pt(xs),bs=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];var Ss=bs;const _s=pt(Ss);var ki={},Ti={};(function(e){(function t(r){var i,s,a,u,f,p;function y(m){var x={},_,k;for(_ in m)m.hasOwnProperty(_)&&(k=m[_],typeof k=="object"&&k!==null?x[_]=y(k):x[_]=k);return x}function g(m,x){var _,k,B,R;for(k=m.length,B=0;k;)_=k>>>1,R=B+_,x(m[R])?k=_:(B=R+1,k-=_+1);return B}i={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},a={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},u={},f={},p={},s={Break:u,Skip:f,Remove:p};function b(m,x){this.parent=m,this.key=x}b.prototype.replace=function(x){this.parent[this.key]=x},b.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function E(m,x,_,k){this.node=m,this.path=x,this.wrap=_,this.ref=k}function S(){}S.prototype.path=function(){var x,_,k,B,R,G;function q(D,H){if(Array.isArray(H))for(k=0,B=H.length;k=0;--_)if(m[_].node===x)return!0;return!1}S.prototype.traverse=function(x,_){var k,B,R,G,q,D,H,ne,ue,ie,Q,xe;for(this.__initialize(x,_),xe={},k=this.__worklist,B=this.__leavelist,k.push(new E(x,null,null,null)),B.push(new E(null,null,null,null));k.length;){if(R=k.pop(),R===xe){if(R=B.pop(),D=this.__execute(_.leave,R),this.__state===u||D===u)return;continue}if(R.node){if(D=this.__execute(_.enter,R),this.__state===u||D===u)return;if(k.push(xe),B.push(R),this.__state===f||D===f)continue;if(G=R.node,q=G.type||R.wrap,ie=this.__keys[q],!ie)if(this.__fallback)ie=this.__fallback(G);else throw new Error("Unknown node type "+q+".");for(ne=ie.length;(ne-=1)>=0;)if(H=ie[ne],Q=G[H],!!Q){if(Array.isArray(Q)){for(ue=Q.length;(ue-=1)>=0;)if(Q[ue]&&!P(B,Q[ue])){if(v(q,ie[ne]))R=new E(Q[ue],[H,ue],"Property",null);else if(C(Q[ue]))R=new E(Q[ue],[H,ue],null,null);else continue;k.push(R)}}else if(C(Q)){if(P(B,Q))continue;k.push(new E(Q,H,null,null))}}}}},S.prototype.replace=function(x,_){var k,B,R,G,q,D,H,ne,ue,ie,Q,xe,Te;function Je(M){var Ve,xt,Fe,ee;if(M.ref.remove()){for(xt=M.ref.key,ee=M.ref.parent,Ve=k.length;Ve--;)if(Fe=k[Ve],Fe.ref&&Fe.ref.parent===ee){if(Fe.ref.key=0;)if(Te=ue[H],ie=R[Te],!!ie)if(Array.isArray(ie)){for(ne=ie.length;(ne-=1)>=0;)if(ie[ne]){if(v(G,ue[H]))D=new E(ie[ne],[Te,ne],"Property",new b(ie,ne));else if(C(ie[ne]))D=new E(ie[ne],[Te,ne],null,new b(ie,ne));else continue;k.push(D)}}else C(ie)&&k.push(new E(ie,Te,null,new b(R,Te)))}}return xe.root};function O(m,x){var _=new S;return _.traverse(m,x)}function L(m,x){var _=new S;return _.replace(m,x)}function V(m,x){var _;return _=g(x,function(B){return B.range[0]>m.range[0]}),m.extendedRange=[m.range[0],m.range[1]],_!==x.length&&(m.extendedRange[1]=x[_].range[0]),_-=1,_>=0&&(m.extendedRange[0]=x[_].range[1]),m}function A(m,x,_){var k=[],B,R,G,q;if(!m.range)throw new Error("attachComments needs range information");if(!_.length){if(x.length){for(G=0,R=x.length;GD.range[0]));)H.extendedRange[1]===D.range[0]?(D.leadingComments||(D.leadingComments=[]),D.leadingComments.push(H),k.splice(q,1)):q+=1;if(q===k.length)return s.Break;if(k[q].extendedRange[0]>D.range[1])return s.Skip}}),q=0,O(m,{leave:function(D){for(var H;qD.range[1])return s.Skip}}),m}return r.Syntax=i,r.traverse=O,r.replace=L,r.attachComments=A,r.VisitorKeys=a,r.VisitorOption=s,r.Controller=S,r.cloneEnvironment=function(){return t({})},r})(e)})(Ti);var it={},Kt={},Et={},Ct={},Jr;function Es(){if(Jr)return Ct;Jr=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Ct.encode=function(t){if(0<=t&&t>1;return p?-y:y}return Et.encode=function(p){var y="",g,b=a(p);do g=b&i,b>>>=t,b>0&&(g|=s),y+=e.encode(g);while(b>0);return y},Et.decode=function(p,y,g){var b=p.length,E=0,S=0,C,v;do{if(y>=b)throw new Error("Expected more digits in base 64 VLQ value.");if(v=e.decode(p.charCodeAt(y++)),v===-1)throw new Error("Invalid base64 digit: "+p.charAt(y-1));C=!!(v&s),v&=i,E=E+(v<=0;G--)B=k[G],B==="."?k.splice(G,1):B===".."?R++:R>0&&(B===""?(k.splice(G+1,R),R=0):(k.splice(G,2),R--));return m=k.join("/"),m===""&&(m=_?"/":"."),x?(x.path=m,a(x)):m}e.normalize=u;function f(A,m){A===""&&(A="."),m===""&&(m=".");var x=s(m),_=s(A);if(_&&(A=_.path||"/"),x&&!x.scheme)return _&&(x.scheme=_.scheme),a(x);if(x||m.match(i))return m;if(_&&!_.host&&!_.path)return _.host=m,a(_);var k=m.charAt(0)==="/"?m:u(A.replace(/\/+$/,"")+"/"+m);return _?(_.path=k,a(_)):k}e.join=f,e.isAbsolute=function(A){return A.charAt(0)==="/"||r.test(A)};function p(A,m){A===""&&(A="."),A=A.replace(/\/$/,"");for(var x=0;m.indexOf(A+"/")!==0;){var _=A.lastIndexOf("/");if(_<0||(A=A.slice(0,_),A.match(/^([^\/]+:\/)?\/*$/)))return m;++x}return Array(x+1).join("../")+m.substr(A.length+1)}e.relative=p;var y=function(){var A=Object.create(null);return!("__proto__"in A)}();function g(A){return A}function b(A){return S(A)?"$"+A:A}e.toSetString=y?g:b;function E(A){return S(A)?A.slice(1):A}e.fromSetString=y?g:E;function S(A){if(!A)return!1;var m=A.length;if(m<9||A.charCodeAt(m-1)!==95||A.charCodeAt(m-2)!==95||A.charCodeAt(m-3)!==111||A.charCodeAt(m-4)!==116||A.charCodeAt(m-5)!==111||A.charCodeAt(m-6)!==114||A.charCodeAt(m-7)!==112||A.charCodeAt(m-8)!==95||A.charCodeAt(m-9)!==95)return!1;for(var x=m-10;x>=0;x--)if(A.charCodeAt(x)!==36)return!1;return!0}function C(A,m,x){var _=P(A.source,m.source);return _!==0||(_=A.originalLine-m.originalLine,_!==0)||(_=A.originalColumn-m.originalColumn,_!==0||x)||(_=A.generatedColumn-m.generatedColumn,_!==0)||(_=A.generatedLine-m.generatedLine,_!==0)?_:P(A.name,m.name)}e.compareByOriginalPositions=C;function v(A,m,x){var _=A.generatedLine-m.generatedLine;return _!==0||(_=A.generatedColumn-m.generatedColumn,_!==0||x)||(_=P(A.source,m.source),_!==0)||(_=A.originalLine-m.originalLine,_!==0)||(_=A.originalColumn-m.originalColumn,_!==0)?_:P(A.name,m.name)}e.compareByGeneratedPositionsDeflated=v;function P(A,m){return A===m?0:A===null?1:m===null?-1:A>m?1:-1}function O(A,m){var x=A.generatedLine-m.generatedLine;return x!==0||(x=A.generatedColumn-m.generatedColumn,x!==0)||(x=P(A.source,m.source),x!==0)||(x=A.originalLine-m.originalLine,x!==0)||(x=A.originalColumn-m.originalColumn,x!==0)?x:P(A.name,m.name)}e.compareByGeneratedPositionsInflated=O;function L(A){return JSON.parse(A.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=L;function V(A,m,x){if(m=m||"",A&&(A[A.length-1]!=="/"&&m[0]!=="/"&&(A+="/"),m=A+m),x){var _=s(x);if(!_)throw new Error("sourceMapURL could not be parsed");if(_.path){var k=_.path.lastIndexOf("/");k>=0&&(_.path=_.path.substring(0,k+1))}m=f(a(_),m)}return u(m)}e.computeSourceURL=V}(Zt)),Zt}var er={},Qr;function Ii(){if(Qr)return er;Qr=1;var e=dt(),t=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(a,u){for(var f=new i,p=0,y=a.length;p=0)return u}else{var f=e.toSetString(a);if(t.call(this._set,f))return this._set[f]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&aa||u==a&&p>=f||e.compareByGeneratedPositionsInflated(i,s)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(s,a){this._array.forEach(s,a)},r.prototype.add=function(s){t(this._last,s)?(this._last=s,this._array.push(s)):(this._sorted=!1,this._array.push(s))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},tr.MappingList=r,tr}var Kr;function Ni(){if(Kr)return Kt;Kr=1;var e=Pi(),t=dt(),r=Ii().ArraySet,i=Cs().MappingList;function s(a){a||(a={}),this._file=t.getArg(a,"file",null),this._sourceRoot=t.getArg(a,"sourceRoot",null),this._skipValidation=t.getArg(a,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return s.prototype._version=3,s.fromSourceMap=function(u){var f=u.sourceRoot,p=new s({file:u.file,sourceRoot:f});return u.eachMapping(function(y){var g={generated:{line:y.generatedLine,column:y.generatedColumn}};y.source!=null&&(g.source=y.source,f!=null&&(g.source=t.relative(f,g.source)),g.original={line:y.originalLine,column:y.originalColumn},y.name!=null&&(g.name=y.name)),p.addMapping(g)}),u.sources.forEach(function(y){var g=y;f!==null&&(g=t.relative(f,y)),p._sources.has(g)||p._sources.add(g);var b=u.sourceContentFor(y);b!=null&&p.setSourceContent(y,b)}),p},s.prototype.addMapping=function(u){var f=t.getArg(u,"generated"),p=t.getArg(u,"original",null),y=t.getArg(u,"source",null),g=t.getArg(u,"name",null);this._skipValidation||this._validateMapping(f,p,y,g),y!=null&&(y=String(y),this._sources.has(y)||this._sources.add(y)),g!=null&&(g=String(g),this._names.has(g)||this._names.add(g)),this._mappings.add({generatedLine:f.line,generatedColumn:f.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:y,name:g})},s.prototype.setSourceContent=function(u,f){var p=u;this._sourceRoot!=null&&(p=t.relative(this._sourceRoot,p)),f!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(p)]=f):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(u,f,p){var y=f;if(f==null){if(u.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);y=u.file}var g=this._sourceRoot;g!=null&&(y=t.relative(g,y));var b=new r,E=new r;this._mappings.unsortedForEach(function(S){if(S.source===y&&S.originalLine!=null){var C=u.originalPositionFor({line:S.originalLine,column:S.originalColumn});C.source!=null&&(S.source=C.source,p!=null&&(S.source=t.join(p,S.source)),g!=null&&(S.source=t.relative(g,S.source)),S.originalLine=C.line,S.originalColumn=C.column,C.name!=null&&(S.name=C.name))}var v=S.source;v!=null&&!b.has(v)&&b.add(v);var P=S.name;P!=null&&!E.has(P)&&E.add(P)},this),this._sources=b,this._names=E,u.sources.forEach(function(S){var C=u.sourceContentFor(S);C!=null&&(p!=null&&(S=t.join(p,S)),g!=null&&(S=t.relative(g,S)),this.setSourceContent(S,C))},this)},s.prototype._validateMapping=function(u,f,p,y){if(f&&typeof f.line!="number"&&typeof f.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(u&&"line"in u&&"column"in u&&u.line>0&&u.column>=0&&!f&&!p&&!y)){if(u&&"line"in u&&"column"in u&&f&&"line"in f&&"column"in f&&u.line>0&&u.column>=0&&f.line>0&&f.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:u,source:p,original:f,name:y}))}},s.prototype._serializeMappings=function(){for(var u=0,f=1,p=0,y=0,g=0,b=0,E="",S,C,v,P,O=this._mappings.toArray(),L=0,V=O.length;L0){if(!t.compareByGeneratedPositionsInflated(C,O[L-1]))continue;S+=","}S+=e.encode(C.generatedColumn-u),u=C.generatedColumn,C.source!=null&&(P=this._sources.indexOf(C.source),S+=e.encode(P-b),b=P,S+=e.encode(C.originalLine-1-y),y=C.originalLine-1,S+=e.encode(C.originalColumn-p),p=C.originalColumn,C.name!=null&&(v=this._names.indexOf(C.name),S+=e.encode(v-g),g=v)),E+=S}return E},s.prototype._generateSourcesContent=function(u,f){return u.map(function(p){if(!this._sourcesContents)return null;f!=null&&(p=t.relative(f,p));var y=t.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,y)?this._sourcesContents[y]:null},this)},s.prototype.toJSON=function(){var u={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(u.file=this._file),this._sourceRoot!=null&&(u.sourceRoot=this._sourceRoot),this._sourcesContents&&(u.sourcesContent=this._generateSourcesContent(u.sources,u.sourceRoot)),u},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},Kt.SourceMapGenerator=s,Kt}var nt={},rr={},Zr;function As(){return Zr||(Zr=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,i,s,a,u,f){var p=Math.floor((i-r)/2)+r,y=u(s,a[p],!0);return y===0?p:y>0?i-p>1?t(p,i,s,a,u,f):f==e.LEAST_UPPER_BOUND?i1?t(r,p,s,a,u,f):f==e.LEAST_UPPER_BOUND?p:r<0?-1:r}e.search=function(i,s,a,u){if(s.length===0)return-1;var f=t(-1,s.length,i,s,a,u||e.GREATEST_LOWER_BOUND);if(f<0)return-1;for(;f-1>=0&&a(s[f],s[f-1],!0)===0;)--f;return f}}(rr)),rr}var ir={},ei;function ws(){if(ei)return ir;ei=1;function e(i,s,a){var u=i[s];i[s]=i[a],i[a]=u}function t(i,s){return Math.round(i+Math.random()*(s-i))}function r(i,s,a,u){if(a=0){var v=this._originalMappings[C];if(g.column===void 0)for(var P=v.originalLine;v&&v.originalLine===P;)S.push({line:e.getArg(v,"generatedLine",null),column:e.getArg(v,"generatedColumn",null),lastColumn:e.getArg(v,"lastGeneratedColumn",null)}),v=this._originalMappings[++C];else for(var O=v.originalColumn;v&&v.originalLine===b&&v.originalColumn==O;)S.push({line:e.getArg(v,"generatedLine",null),column:e.getArg(v,"generatedColumn",null),lastColumn:e.getArg(v,"lastGeneratedColumn",null)}),v=this._originalMappings[++C]}return S},nt.SourceMapConsumer=a;function u(y,g){var b=y;typeof y=="string"&&(b=e.parseSourceMapInput(y));var E=e.getArg(b,"version"),S=e.getArg(b,"sources"),C=e.getArg(b,"names",[]),v=e.getArg(b,"sourceRoot",null),P=e.getArg(b,"sourcesContent",null),O=e.getArg(b,"mappings"),L=e.getArg(b,"file",null);if(E!=this._version)throw new Error("Unsupported version: "+E);v&&(v=e.normalize(v)),S=S.map(String).map(e.normalize).map(function(V){return v&&e.isAbsolute(v)&&e.isAbsolute(V)?e.relative(v,V):V}),this._names=r.fromArray(C.map(String),!0),this._sources=r.fromArray(S,!0),this._absoluteSources=this._sources.toArray().map(function(V){return e.computeSourceURL(v,V,g)}),this.sourceRoot=v,this.sourcesContent=P,this._mappings=O,this._sourceMapURL=g,this.file=L}u.prototype=Object.create(a.prototype),u.prototype.consumer=a,u.prototype._findSourceIndex=function(y){var g=y;if(this.sourceRoot!=null&&(g=e.relative(this.sourceRoot,g)),this._sources.has(g))return this._sources.indexOf(g);var b;for(b=0;b1&&(k.source=P+R[1],P+=R[1],k.originalLine=C+R[2],C=k.originalLine,k.originalLine+=1,k.originalColumn=v+R[3],v=k.originalColumn,R.length>4&&(k.name=O+R[4],O+=R[4])),_.push(k),typeof k.originalLine=="number"&&x.push(k)}s(_,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=_,s(x,e.compareByOriginalPositions),this.__originalMappings=x},u.prototype._findMapping=function(g,b,E,S,C,v){if(g[E]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+g[E]);if(g[S]<0)throw new TypeError("Column must be greater than or equal to 0, got "+g[S]);return t.search(g,b,C,v)},u.prototype.computeColumnSpans=function(){for(var g=0;g=0){var S=this._generatedMappings[E];if(S.generatedLine===b.generatedLine){var C=e.getArg(S,"source",null);C!==null&&(C=this._sources.at(C),C=e.computeSourceURL(this.sourceRoot,C,this._sourceMapURL));var v=e.getArg(S,"name",null);return v!==null&&(v=this._names.at(v)),{source:C,line:e.getArg(S,"originalLine",null),column:e.getArg(S,"originalColumn",null),name:v}}}return{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(g){return g==null}):!1},u.prototype.sourceContentFor=function(g,b){if(!this.sourcesContent)return null;var E=this._findSourceIndex(g);if(E>=0)return this.sourcesContent[E];var S=g;this.sourceRoot!=null&&(S=e.relative(this.sourceRoot,S));var C;if(this.sourceRoot!=null&&(C=e.urlParse(this.sourceRoot))){var v=S.replace(/^file:\/\//,"");if(C.scheme=="file"&&this._sources.has(v))return this.sourcesContent[this._sources.indexOf(v)];if((!C.path||C.path=="/")&&this._sources.has("/"+S))return this.sourcesContent[this._sources.indexOf("/"+S)]}if(b)return null;throw new Error('"'+S+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(g){var b=e.getArg(g,"source");if(b=this._findSourceIndex(b),b<0)return{line:null,column:null,lastColumn:null};var E={source:b,originalLine:e.getArg(g,"line"),originalColumn:e.getArg(g,"column")},S=this._findMapping(E,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(g,"bias",a.GREATEST_LOWER_BOUND));if(S>=0){var C=this._originalMappings[S];if(C.source===E.source)return{line:e.getArg(C,"generatedLine",null),column:e.getArg(C,"generatedColumn",null),lastColumn:e.getArg(C,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},nt.BasicSourceMapConsumer=u;function p(y,g){var b=y;typeof y=="string"&&(b=e.parseSourceMapInput(y));var E=e.getArg(b,"version"),S=e.getArg(b,"sections");if(E!=this._version)throw new Error("Unsupported version: "+E);this._sources=new r,this._names=new r;var C={line:-1,column:0};this._sections=S.map(function(v){if(v.url)throw new Error("Support for url field in sections not implemented.");var P=e.getArg(v,"offset"),O=e.getArg(P,"line"),L=e.getArg(P,"column");if(O=0;p--)this.prepend(f[p]);else if(f[s]||typeof f=="string")this.children.unshift(f);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+f);return this},a.prototype.walk=function(f){for(var p,y=0,g=this.children.length;y0){for(p=[],y=0;y=6.0"},Ds=[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],Vs={type:"git",url:"http://github.com/estools/escodegen.git"},js={estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},qs={"source-map":"~0.6.1"},Us={acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},Gs="BSD-2-Clause",Ws={test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"},zs={name:Is,description:Ns,homepage:Ls,main:Os,bin:Rs,files:Fs,version:Ms,engines:Bs,maintainers:Ds,repository:Vs,dependencies:js,optionalDependencies:qs,devDependencies:Us,license:Gs,scripts:Ws};(function(e){(function(){var t,r,i,s,a,u,f,p,y,g,b,E,S,C,v,P,O,L,V,A,m,x,_,k,B,R;a=Ti,u=Xn,t=a.Syntax;function G(n){return oe.Expression.hasOwnProperty(n.type)}function q(n){return oe.Statement.hasOwnProperty(n.type)}r={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},i={"??":r.Coalesce,"||":r.LogicalOR,"&&":r.LogicalAND,"|":r.BitwiseOR,"^":r.BitwiseXOR,"&":r.BitwiseAND,"==":r.Equality,"!=":r.Equality,"===":r.Equality,"!==":r.Equality,is:r.Equality,isnt:r.Equality,"<":r.Relational,">":r.Relational,"<=":r.Relational,">=":r.Relational,in:r.Relational,instanceof:r.Relational,"<<":r.BitwiseSHIFT,">>":r.BitwiseSHIFT,">>>":r.BitwiseSHIFT,"+":r.Additive,"-":r.Additive,"*":r.Multiplicative,"%":r.Multiplicative,"/":r.Multiplicative,"**":r.Exponentiation};var D=1,H=2,ne=4,ue=8,ie=16,Q=32,xe=64,Te=H|ne,Je=D|H,M=D|H|ne,Ve=D,xt=ne,Fe=D|ne,ee=D,Ae=D|Q,bt=0,On=D|ie,Rn=D|ue;function Or(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:` -`,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function je(n,l){var o="";for(l|=0;l>0;l>>>=1,n+=n)l&1&&(o+=n);return o}function Fn(n){return/[\r\n]/g.test(n)}function he(n){var l=n.length;return l&&u.code.isLineTerminator(n.charCodeAt(l-1))}function Rr(n,l){var o;for(o in l)l.hasOwnProperty(o)&&(n[o]=l[o]);return n}function St(n,l){var o,c;function d(w){return typeof w=="object"&&w instanceof Object&&!(w instanceof RegExp)}for(o in l)l.hasOwnProperty(o)&&(c=l[o],d(c)?d(n[o])?St(n[o],c):n[o]=St({},c):n[o]=c);return n}function Mn(n){var l,o,c,d,w;if(n!==n)throw new Error("Numeric literal whose value is NaN");if(n<0||n===0&&1/n<0)throw new Error("Numeric literal whose value is negative");if(n===1/0)return y?"null":g?"1e400":"1e+400";if(l=""+n,!g||l.length<3)return l;for(o=l.indexOf("."),!y&&l.charCodeAt(0)===48&&o===1&&(o=0,l=l.slice(1)),c=l,l=l.replace("e+","e"),d=0,(w=c.indexOf("e"))>0&&(d=+c.slice(w+1),c=c.slice(0,w)),o>=0&&(d-=c.length-o-1,c=+(c.slice(0,o)+c.slice(o+1))+""),w=0;c.charCodeAt(c.length+w-1)===48;)--w;return w!==0&&(d-=w,c=c.slice(0,w)),d!==0&&(c+="e"+d),(c.length1e12&&Math.floor(n)===n&&(c="0x"+n.toString(16)).length255?"\\u"+"0000".slice(o.length)+o:n===0&&!u.code.isDecimalDigit(l)?"\\0":n===11?"\\x0B":"\\x"+"00".slice(o.length)+o)}function Vn(n){if(n===92)return"\\\\";if(n===10)return"\\n";if(n===13)return"\\r";if(n===8232)return"\\u2028";if(n===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function jn(n){var l,o,c,d;for(d=E==="double"?'"':"'",l=0,o=n.length;l126))){l+=Dn(d,n.charCodeAt(o+1));continue}l+=String.fromCharCode(d)}if(I=!(E==="double"||E==="auto"&&T=0&&!u.code.isLineTerminator(n.charCodeAt(l));--l);return n.length-1-l}function Gn(n,l){var o,c,d,w,T,I,F,J;for(o=n.split(/\r\n|[\r\n]/),I=Number.MAX_VALUE,c=1,d=o.length;cT&&(I=T)}for(typeof l<"u"?(F=f,o[1][I]==="*"&&(l+=" "),f=l):(I&1&&--I,F=f),c=1,d=o.length;c0){if(w=l,k){for(d=n.leadingComments[0],l=[],J=d.extendedRange,ce=d.range,He=_.substring(J[0],ce[0]),we=(He.match(/\n/g)||[]).length,we>0?(l.push(je(` -`,we)),l.push(pe(Pe(d)))):(l.push(He),l.push(Pe(d))),qe=ce,o=1,c=n.leadingComments.length;o0?(l.push(je(` -`,we)),l.push(pe(Pe(d)))):(l.push(He),l.push(Pe(d)));else for(T=!he(K(l).toString()),I=je(" ",Un(K([f,l,p]).toString())),o=0,c=n.trailingComments.length;o")),n.expression?(l.push(v),o=this.generateExpression(n.body,r.Assignment,M),o.toString().charAt(0)==="{"&&(o=["(",o,")"]),l.push(o)):l.push(this.maybeBlock(n.body,Rn)),l},oe.prototype.generateIterationForStatement=function(n,l,o){var c=["for"+(l.await?fe()+"await":"")+v+"("],d=this;return ae(function(){l.left.type===t.VariableDeclaration?ae(function(){c.push(l.left.kind+fe()),c.push(d.generateStatement(l.left.declarations[0],bt))}):c.push(d.generateExpression(l.left,r.Call,M)),c=U(c,n),c=[U(c,d.generateExpression(l.right,r.Assignment,M)),")"]}),c.push(this.maybeBlock(l.body,o)),c},oe.prototype.generatePropertyKey=function(n,l){var o=[];return l&&o.push("["),o.push(this.generateExpression(n,r.Assignment,M)),l&&o.push("]"),o},oe.prototype.generateAssignment=function(n,l,o,c,d){return r.Assignment2&&(c=_.substring(o[0]+1,o[1]-1),c[0]===` -`&&(d=["{"]),d.push(c)));var T,I,F,J;for(J=ee,l&ue&&(J|=ie),T=0,I=n.body.length;T0&&!n.body[T-1].trailingComments&&!n.body[T].leadingComments&&Xe(n.body[T-1].range[1],n.body[T].range[0],d)),T===I-1&&(J|=Q),n.body[T].leadingComments&&k?F=w.generateStatement(n.body[T],J):F=pe(w.generateStatement(n.body[T],J)),d.push(F),he(K(F).toString())||k&&T1?ae(F):F(),o.push(this.semicolon(l)),o},ThrowStatement:function(n,l){return[U("throw",this.generateExpression(n.argument,r.Sequence,M)),this.semicolon(l)]},TryStatement:function(n,l){var o,c,d,w;if(o=["try",this.maybeBlock(n.block,ee)],o=this.maybeBlockSuffix(n.block,o),n.handlers)for(c=0,d=n.handlers.length;c0?` -`:""],T=On,d=0;d0&&!n.body[d-1].trailingComments&&!n.body[d].leadingComments&&Xe(n.body[d-1].range[1],n.body[d].range[0],o)),c=pe(this.generateStatement(n.body[d],T)),o.push(c),d+10){for(c.push("("),w=0,T=d;w=2&&d.charCodeAt(0)===48)&&c.push(" ")),c.push(n.optional?"?.":"."),c.push(ge(n.property))),le(c,r.Member,l)},MetaProperty:function(n,l,o){var c;return c=[],c.push(typeof n.meta=="string"?n.meta:ge(n.meta)),c.push("."),c.push(typeof n.property=="string"?n.property:ge(n.property)),le(c,r.Member,l)},UnaryExpression:function(n,l,o){var c,d,w,T,I;return d=this.generateExpression(n.argument,r.Unary,M),v===""?c=U(n.operator,d):(c=[n.operator],n.operator.length>2?c=U(c,d):(T=K(c).toString(),I=T.charCodeAt(T.length-1),w=d.toString().charCodeAt(0),((I===43||I===45)&&I===w||u.code.isIdentifierPartES5(I)&&u.code.isIdentifierPartES5(w))&&c.push(fe()),c.push(d))),le(c,r.Unary,l)},YieldExpression:function(n,l,o){var c;return n.delegate?c="yield*":c="yield",n.argument&&(c=U(c,this.generateExpression(n.argument,r.Yield,M))),le(c,r.Yield,l)},AwaitExpression:function(n,l,o){var c=U(n.all?"await*":"await",this.generateExpression(n.argument,r.Await,M));return le(c,r.Await,l)},UpdateExpression:function(n,l,o){return n.prefix?le([n.operator,this.generateExpression(n.argument,r.Unary,M)],r.Unary,l):le([this.generateExpression(n.argument,r.Postfix,M),n.operator],r.Postfix,l)},FunctionExpression:function(n,l,o){var c=[rt(n,!0),"function"];return n.id?(c.push(_t(n)||fe()),c.push(ge(n.id))):c.push(_t(n)||v),c.push(this.generateFunctionBody(n)),c},ArrayPattern:function(n,l,o){return this.ArrayExpression(n,l,o,!0)},ArrayExpression:function(n,l,o,c){var d,w,T=this;return n.elements.length?(w=c?!1:n.elements.length>1,d=["[",w?C:""],ae(function(I){var F,J;for(F=0,J=n.elements.length;F1,ae(function(){w=T.generateExpression(n.properties[0],r.Sequence,M)}),!c&&!Fn(K(w).toString())?["{",v,w,v,"}"]:(ae(function(I){var F,J;if(d=["{",C,I,w],c)for(d.push(","+C),F=1,J=n.properties.length;F0||A.moz.comprehensionExpressionStartsWithAssignment?c=U(c,T):c.push(T)}),n.filter&&(c=U(c,"if"+v),T=this.generateExpression(n.filter,r.Sequence,M),c=U(c,["(",T,")"])),A.moz.comprehensionExpressionStartsWithAssignment||(T=this.generateExpression(n.body,r.Assignment,M),c=U(c,T)),c.push(n.type===t.GeneratorExpression?")":"]"),c},ComprehensionBlock:function(n,l,o){var c;return n.left.type===t.VariableDeclaration?c=[n.left.kind,fe(),this.generateStatement(n.left.declarations[0],bt)]:c=this.generateExpression(n.left,r.Call,M),c=U(c,n.of?"of":"in"),c=U(c,this.generateExpression(n.right,r.Sequence,M)),["for"+v+"(",c,")"]},SpreadElement:function(n,l,o){return["...",this.generateExpression(n.argument,r.Assignment,M)]},TaggedTemplateExpression:function(n,l,o){var c=Je;o&H||(c=Ve);var d=[this.generateExpression(n.tag,r.Call,c),this.generateExpression(n.quasi,r.Primary,xt)];return le(d,r.TaggedTemplate,l)},TemplateElement:function(n,l,o){return n.value.raw},TemplateLiteral:function(n,l,o){var c,d,w;for(c=["`"],d=0,w=n.quasis.length;de)return!1;if(r+=t[i+1],r>=e)return!0}}function Le(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Xs.test(String.fromCharCode(e)):t===!1?!1:ur(e,Oi)}function Ge(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Hs.test(String.fromCharCode(e)):t===!1?!1:ur(e,Oi)||ur(e,Qs)}var Y=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function be(e,t){return new Y(e,{beforeExpr:!0,binop:t})}var Se={beforeExpr:!0},ye={startsExpr:!0},Lt={};function X(e,t){return t===void 0&&(t={}),t.keyword=e,Lt[e]=new Y(e,t)}var h={num:new Y("num",ye),regexp:new Y("regexp",ye),string:new Y("string",ye),name:new Y("name",ye),eof:new Y("eof"),bracketL:new Y("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Y("]"),braceL:new Y("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Y("}"),parenL:new Y("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Y(")"),comma:new Y(",",Se),semi:new Y(";",Se),colon:new Y(":",Se),dot:new Y("."),question:new Y("?",Se),questionDot:new Y("?."),arrow:new Y("=>",Se),template:new Y("template"),invalidTemplate:new Y("invalidTemplate"),ellipsis:new Y("...",Se),backQuote:new Y("`",ye),dollarBraceL:new Y("${",{beforeExpr:!0,startsExpr:!0}),eq:new Y("=",{beforeExpr:!0,isAssign:!0}),assign:new Y("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Y("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Y("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:be("||",1),logicalAND:be("&&",2),bitwiseOR:be("|",3),bitwiseXOR:be("^",4),bitwiseAND:be("&",5),equality:be("==/!=/===/!==",6),relational:be("/<=/>=",7),bitShift:be("<>/>>>",8),plusMin:new Y("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:be("%",10),star:be("*",10),slash:be("/",10),starstar:new Y("**",{beforeExpr:!0}),coalesce:be("??",1),_break:X("break"),_case:X("case",Se),_catch:X("catch"),_continue:X("continue"),_debugger:X("debugger"),_default:X("default",Se),_do:X("do",{isLoop:!0,beforeExpr:!0}),_else:X("else",Se),_finally:X("finally"),_for:X("for",{isLoop:!0}),_function:X("function",ye),_if:X("if"),_return:X("return",Se),_switch:X("switch"),_throw:X("throw",Se),_try:X("try"),_var:X("var"),_const:X("const"),_while:X("while",{isLoop:!0}),_with:X("with"),_new:X("new",{beforeExpr:!0,startsExpr:!0}),_this:X("this",ye),_super:X("super",ye),_class:X("class",ye),_extends:X("extends",Se),_export:X("export"),_import:X("import",ye),_null:X("null",ye),_true:X("true",ye),_false:X("false",ye),_in:X("in",{beforeExpr:!0,binop:7}),_instanceof:X("instanceof",{beforeExpr:!0,binop:7}),_typeof:X("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:X("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:X("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},ve=/\r\n?|\n|\u2028|\u2029/,Qe=new RegExp(ve.source,"g");function et(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var yr=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ee=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ri=Object.prototype,Ys=Ri.hasOwnProperty,Ks=Ri.toString;function Ot(e,t){return Ys.call(e,t)}var ni=Array.isArray||function(e){return Ks.call(e)==="[object Array]"};function Ue(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var Ye=function(t,r){this.line=t,this.column=r};Ye.prototype.offset=function(t){return new Ye(this.line,this.column+t)};var mt=function(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function vr(e,t){for(var r=1,i=0;;){Qe.lastIndex=i;var s=Qe.exec(e);if(s&&s.index=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),ni(t.onToken)){var i=t.onToken;t.onToken=function(s){return i.push(s)}}return ni(t.onComment)&&(t.onComment=ea(t,t.onComment)),t}function ea(e,t){return function(r,i,s,a,u,f){var p={type:r?"Block":"Line",value:i,start:s,end:a};e.locations&&(p.loc=new mt(this,u,f)),e.ranges&&(p.range=[s,a]),t.push(p)}}var ct=1,gt=2,xr=ct|gt,Fi=4,Mi=8,Bi=16,Di=32,Vi=64,ji=128;function br(e,t){return gt|(e?Fi:0)|(t?Mi:0)}var si=0,Sr=1,Ne=2,qi=3,Ui=4,Gi=5,re=function(t,r,i){this.options=t=Zs(t),this.sourceFile=t.sourceFile,this.keywords=Ue($s[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var s="";if(t.allowReserved!==!0){for(var a=t.ecmaVersion;!(s=sr[a]);a--);t.sourceType==="module"&&(s+=" await")}this.reservedWords=Ue(s);var u=(s?s+" ":"")+sr.strict;this.reservedWordsStrict=Ue(u),this.reservedWordsStrictBind=Ue(u+" "+sr.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf(` -`,i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(ve).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=h.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ct),this.regexpState=null},ze={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};re.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};ze.inFunction.get=function(){return(this.currentVarScope().flags>)>0};ze.inGenerator.get=function(){return(this.currentVarScope().flags&Mi)>0};ze.inAsync.get=function(){return(this.currentVarScope().flags&Fi)>0};ze.allowSuper.get=function(){return(this.currentThisScope().flags&Vi)>0};ze.allowDirectSuper.get=function(){return(this.currentThisScope().flags&ji)>0};ze.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};re.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags>)>0};re.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,s=0;s=,?^&]/.test(s)||s==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,Ee.lastIndex=e,e+=Ee.exec(this.input)[0].length,this.input[e]===";"&&e++}};me.eat=function(e){return this.type===e?(this.next(),!0):!1};me.isContextual=function(e){return this.type===h.name&&this.value===e&&!this.containsEsc};me.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};me.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};me.canInsertSemicolon=function(){return this.type===h.eof||this.type===h.braceR||ve.test(this.input.slice(this.lastTokEnd,this.start))};me.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};me.semicolon=function(){!this.eat(h.semi)&&!this.insertSemicolon()&&this.unexpected()};me.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};me.expect=function(e){this.eat(e)||this.unexpected()};me.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};function Rt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}me.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}};me.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")};me.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case h._class:return e&&this.unexpected(),this.parseClass(s,!0);case h._if:return this.parseIfStatement(s);case h._return:return this.parseReturnStatement(s);case h._switch:return this.parseSwitchStatement(s);case h._throw:return this.parseThrowStatement(s);case h._try:return this.parseTryStatement(s);case h._const:case h._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(s,a);case h._while:return this.parseWhileStatement(s);case h._with:return this.parseWithStatement(s);case h.braceL:return this.parseBlock(!0,s);case h.semi:return this.parseEmptyStatement(s);case h._export:case h._import:if(this.options.ecmaVersion>10&&i===h._import){Ee.lastIndex=this.pos;var u=Ee.exec(this.input),f=this.pos+u[0].length,p=this.input.charCodeAt(f);if(p===40||p===46)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===h._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var y=this.value,g=this.parseExpression();return i===h.name&&g.type==="Identifier"&&this.eat(h.colon)?this.parseLabeledStatement(s,y,g,e):this.parseExpressionStatement(s,g)}};W.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(h.semi)||this.insertSemicolon()?e.label=null:this.type!==h.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i=6?this.eat(h.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};W.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(_r),this.enterScope(0),this.expect(h.parenL),this.type===h.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===h._var||this.type===h._const||r){var i=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(i,!0,s),this.finishNode(i,"VariableDeclaration"),(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===h._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var a=new Rt,u=this.parseExpression(!0,a);return this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===h._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(u,!1,a),this.checkLVal(u),this.parseForIn(e,u)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))};W.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,ot|(r?0:lr),!1,t)};W.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(h._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};W.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(h.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};W.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(h.braceL),this.labels.push(ra),this.enterScope(0);for(var t,r=!1;this.type!==h.braceR;)if(this.type===h._case||this.type===h._default){var i=this.type===h._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(h.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};W.parseThrowStatement=function(e){return this.next(),ve.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var ia=[];W.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===h._catch){var t=this.startNode();if(this.next(),this.eat(h.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?Di:0),this.checkLVal(t.param,r?Ui:Ne),this.expect(h.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(h._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};W.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};W.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(_r),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};W.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};W.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};W.parseLabeledStatement=function(e,t,r,i){for(var s=0,a=this.labels;s=0;p--){var y=this.labels[p];if(y.statementStart===e.start)y.statementStart=this.start,y.kind=f;else break}return this.labels.push({name:t,kind:f,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};W.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};W.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(h.braceL),e&&this.enterScope(0);this.type!==h.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};W.parseFor=function(e,t){return e.init=t,this.expect(h.semi),e.test=this.type===h.semi?null:this.parseExpression(),this.expect(h.semi),e.update=this.type===h.parenR?null:this.parseExpression(),this.expect(h.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};W.parseForIn=function(e,t){var r=this.type===h._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(h.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};W.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(h.eq)?i.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():i.id.type!=="Identifier"&&!(t&&(this.type===h._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(h.comma))break}return e};W.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?Sr:Ne,!1)};var ot=1,lr=2,Wi=4;W.parseFunction=function(e,t,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===h.star&&t&lr&&this.unexpected(),e.generator=this.eat(h.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&ot&&(e.id=t&Wi&&this.type!==h.name?null:this.parseIdent(),e.id&&!(t&lr)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Sr:Ne:qi));var s=this.yieldPos,a=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(br(e.async,e.generator)),t&ot||(e.id=this.type===h.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=u,this.finishNode(e,t&ot?"FunctionDeclaration":"FunctionExpression")};W.parseFunctionParams=function(e){this.expect(h.parenL),e.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};W.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),s=!1;for(i.body=[],this.expect(h.braceL);this.type!==h.braceR;){var a=this.parseClassElement(e.superClass!==null);a&&(i.body.push(a),a.type==="MethodDefinition"&&a.kind==="constructor"&&(s&&this.raise(a.start,"Duplicate constructor in the same class"),s=!0))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};W.parseClassElement=function(e){var t=this;if(this.eat(h.semi))return null;var r=this.startNode(),i=function(p,y){y===void 0&&(y=!1);var g=t.start,b=t.startLoc;return t.eatContextual(p)?t.type!==h.parenL&&(!y||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(g,b),r.key.name=p,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=i("static");var s=this.eat(h.star),a=!1;s||(this.options.ecmaVersion>=8&&i("async",!0)?(a=!0,s=this.options.ecmaVersion>=9&&this.eat(h.star)):i("get")?r.kind="get":i("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var u=r.key,f=!1;return!r.computed&&!r.static&&(u.type==="Identifier"&&u.name==="constructor"||u.type==="Literal"&&u.value==="constructor")?(r.kind!=="method"&&this.raise(u.start,"Constructor can't have get/set modifier"),s&&this.raise(u.start,"Constructor can't be a generator"),a&&this.raise(u.start,"Constructor can't be an async method"),r.kind="constructor",f=e):r.static&&u.type==="Identifier"&&u.name==="prototype"&&this.raise(u.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,s,a,f),r.kind==="get"&&r.value.params.length!==0&&this.raiseRecoverable(r.value.start,"getter should have no params"),r.kind==="set"&&r.value.params.length!==1&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r};W.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")};W.parseClassId=function(e,t){this.type===h.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Ne,!1)):(t===!0&&this.unexpected(),e.id=null)};W.parseClassSuper=function(e){e.superClass=this.eat(h._extends)?this.parseExprSubscripts():null};W.parseExport=function(e,t){if(this.next(),this.eat(h.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==h.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(h._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===h._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,ot|Wi,!1,r)}else if(this.type===h._class){var s=this.startNode();e.declaration=this.parseClass(s,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==h.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,u=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,s=e.properties;i=8&&!a&&u.name==="async"&&!this.canInsertSemicolon()&&this.eat(h._function))return this.parseFunction(this.startNodeAt(i,s),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(h.arrow))return this.parseArrowExpression(this.startNodeAt(i,s),[u],!1);if(this.options.ecmaVersion>=8&&u.name==="async"&&this.type===h.name&&!a)return u=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(h.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,s),[u],!0)}return u;case h.regexp:var f=this.value;return t=this.parseLiteral(f.value),t.regex={pattern:f.pattern,flags:f.flags},t;case h.num:case h.string:return this.parseLiteral(this.value);case h._null:case h._true:case h._false:return t=this.startNode(),t.value=this.type===h._null?null:this.type===h._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case h.parenL:var p=this.start,y=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(y)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),y;case h.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(h.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case h.braceL:return this.parseObj(!1,e);case h._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case h._class:return this.parseClass(this.startNode(),!1);case h._new:return this.parseNew();case h.backQuote:return this.parseTemplate();case h._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}};z.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case h.parenL:return this.parseDynamicImport(e);case h.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}};z.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(h.parenR)){var t=this.start;this.eat(h.comma)&&this.eat(h.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};z.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};z.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};z.parseParenExpression=function(){this.expect(h.parenL);var e=this.parseExpression();return this.expect(h.parenR),e};z.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,i,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,u=this.startLoc,f=[],p=!0,y=!1,g=new Rt,b=this.yieldPos,E=this.awaitPos,S;for(this.yieldPos=0,this.awaitPos=0;this.type!==h.parenR;)if(p?p=!1:this.expect(h.comma),s&&this.afterTrailingComma(h.parenR,!0)){y=!0;break}else if(this.type===h.ellipsis){S=this.start,f.push(this.parseParenItem(this.parseRestBinding())),this.type===h.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else f.push(this.parseMaybeAssign(!1,g,this.parseParenItem));var C=this.start,v=this.startLoc;if(this.expect(h.parenR),e&&!this.canInsertSemicolon()&&this.eat(h.arrow))return this.checkPatternErrors(g,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=b,this.awaitPos=E,this.parseParenArrowList(t,r,f);(!f.length||y)&&this.unexpected(this.lastTokStart),S&&this.unexpected(S),this.checkExpressionErrors(g,!0),this.yieldPos=b||this.yieldPos,this.awaitPos=E||this.awaitPos,f.length>1?(i=this.startNodeAt(a,u),i.expressions=f,this.finishNodeAt(i,"SequenceExpression",C,v)):i=f[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var P=this.startNodeAt(t,r);return P.expression=i,this.finishNode(P,"ParenthesizedExpression")}else return i};z.parseParenItem=function(e){return e};z.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var na=[];z.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(h.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var i=this.start,s=this.startLoc,a=this.type===h._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,s,!0),a&&e.callee.type==="ImportExpression"&&this.raise(i,"Cannot use new with import()"),this.eat(h.parenL)?e.arguments=this.parseExprList(h.parenR,this.options.ecmaVersion>=8,!1):e.arguments=na,this.finishNode(e,"NewExpression")};z.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===h.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` -`),cooked:this.value},this.next(),r.tail=this.type===h.backQuote,this.finishNode(r,"TemplateElement")};z.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===h.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(h.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(h.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};z.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===h.name||this.type===h.num||this.type===h.string||this.type===h.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===h.star)&&!ve.test(this.input.slice(this.lastTokEnd,this.start))};z.parseObj=function(e,t){var r=this.startNode(),i=!0,s={};for(r.properties=[],this.next();!this.eat(h.braceR);){if(i)i=!1;else if(this.expect(h.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(h.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,s,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};z.parseProperty=function(e,t){var r=this.startNode(),i,s,a,u;if(this.options.ecmaVersion>=9&&this.eat(h.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===h.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===h.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===h.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(a=this.start,u=this.startLoc),e||(i=this.eat(h.star)));var f=this.containsEsc;return this.parsePropertyName(r),!e&&!f&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(h.star),this.parsePropertyName(r,t)):s=!1,this.parsePropertyValue(r,e,i,s,a,u,t,f),this.finishNode(r,"Property")};z.parsePropertyValue=function(e,t,r,i,s,a,u,f){if((r||i)&&this.type===h.colon&&this.unexpected(),this.eat(h.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,u),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===h.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i);else if(!t&&!f&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==h.comma&&this.type!==h.braceR&&this.type!==h.eq){(r||i)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var p=e.kind==="get"?0:1;if(e.value.params.length!==p){var y=e.value.start;e.kind==="get"?this.raiseRecoverable(y,"getter should have no params"):this.raiseRecoverable(y,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,a,e.key):this.type===h.eq&&u?(u.shorthandAssign<0&&(u.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()};z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(h.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(h.bracketR),e.key;e.computed=!1}return e.key=this.type===h.num||this.type===h.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};z.parseMethod=function(e,t,r){var i=this.startNode(),s=this.yieldPos,a=this.awaitPos,u=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(br(t,i.generator)|Vi|(r?ji:0)),this.expect(h.parenL),i.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=u,this.finishNode(i,"FunctionExpression")};z.parseArrowExpression=function(e,t,r){var i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(br(r,!1)|Bi),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")};z.parseFunctionBody=function(e,t,r){var i=t&&this.type!==h.braceL,s=this.strict,a=!1;if(i)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!s||u)&&(a=this.strictDirective(this.end),a&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var f=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!s&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Gi),e.body=this.parseBlock(!1,void 0,a&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=f}this.exitScope()};z.isSimpleParamList=function(e){for(var t=0,r=e;t-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&s.flags&ct&&delete this.undefinedExports[e]}else if(t===Ui){var a=this.currentScope();a.lexical.push(e)}else if(t===qi){var u=this.currentScope();this.treatFunctionsAsVar?i=u.lexical.indexOf(e)>-1:i=u.lexical.indexOf(e)>-1||u.var.indexOf(e)>-1,u.functions.push(e)}else for(var f=this.scopeStack.length-1;f>=0;--f){var p=this.scopeStack[f];if(p.lexical.indexOf(e)>-1&&!(p.flags&Di&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){i=!0;break}if(p.var.push(e),this.inModule&&p.flags&ct&&delete this.undefinedExports[e],p.flags&xr)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};De.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};De.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};De.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&xr)return t}};De.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&xr&&!(t.flags&Bi))return t}};var Ft=function(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new mt(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Mt=re.prototype;Mt.startNode=function(){return new Ft(this,this.start,this.startLoc)};Mt.startNodeAt=function(e,t){return new Ft(this,e,t)};function zi(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}Mt.finishNode=function(e,t){return zi.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Mt.finishNodeAt=function(e,t,r,i){return zi.call(this,e,t,r,i)};var _e=function(t,r,i,s,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=s,this.generator=!!a},se={b_stat:new _e("{",!1),b_expr:new _e("{",!0),b_tmpl:new _e("${",!1),p_stat:new _e("(",!1),p_expr:new _e("(",!0),q_tmpl:new _e("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new _e("function",!1),f_expr:new _e("function",!0),f_expr_gen:new _e("function",!0,!1,null,!0),f_gen:new _e("function",!1,!1,null,!0)},Bt=re.prototype;Bt.initialContext=function(){return[se.b_stat]};Bt.braceIsBlock=function(e){var t=this.curContext();return t===se.f_expr||t===se.f_stat?!0:e===h.colon&&(t===se.b_stat||t===se.b_expr)?!t.isExpr:e===h._return||e===h.name&&this.exprAllowed?ve.test(this.input.slice(this.lastTokEnd,this.start)):e===h._else||e===h.semi||e===h.eof||e===h.parenR||e===h.arrow?!0:e===h.braceL?t===se.b_stat:e===h._var||e===h._const||e===h.name?!1:!this.exprAllowed};Bt.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};Bt.updateContext=function(e){var t,r=this.type;r.keyword&&e===h.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};h.parenR.updateContext=h.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===se.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};h.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?se.b_stat:se.b_expr),this.exprAllowed=!0};h.dollarBraceL.updateContext=function(){this.context.push(se.b_tmpl),this.exprAllowed=!0};h.parenL.updateContext=function(e){var t=e===h._if||e===h._for||e===h._with||e===h._while;this.context.push(t?se.p_stat:se.p_expr),this.exprAllowed=!0};h.incDec.updateContext=function(){};h._function.updateContext=h._class.updateContext=function(e){e.beforeExpr&&e!==h.semi&&e!==h._else&&!(e===h._return&&ve.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===h.colon||e===h.braceL)&&this.curContext()===se.b_stat)?this.context.push(se.f_expr):this.context.push(se.f_stat),this.exprAllowed=!1};h.backQuote.updateContext=function(){this.curContext()===se.q_tmpl?this.context.pop():this.context.push(se.q_tmpl),this.exprAllowed=!1};h.star.updateContext=function(e){if(e===h._function){var t=this.context.length-1;this.context[t]===se.f_expr?this.context[t]=se.f_expr_gen:this.context[t]=se.f_gen}this.exprAllowed=!0};h.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==h.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var $i="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Ji=$i+" Extended_Pictographic",aa=Ji,oa={9:$i,10:Ji,11:aa},ai="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Xi="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Hi=Xi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ua=Hi+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",la={9:Xi,10:Hi,11:ua},Qi={};function Er(e){var t=Qi[e]={binary:Ue(oa[e]+" "+ai),nonBinary:{General_Category:Ue(ai),Script:Ue(la[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}Er(9);Er(10);Er(11);var j=re.prototype,Re=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=Qi[t.options.ecmaVersion>=11?11:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Re.prototype.reset=function(t,r,i){var s=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchN=s&&this.parser.options.ecmaVersion>=9};Re.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Re.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return-1;var a=i.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=s)return a;var u=i.charCodeAt(t+1);return u>=56320&&u<=57343?(a<<10)+u-56613888:a};Re.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return s;var a=i.charCodeAt(t),u;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=s||(u=i.charCodeAt(t+1))<56320||u>57343?t+1:t+2};Re.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Re.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Re.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Re.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};function Pt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}j.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=0;i-1&&this.raise(e.start,"Duplicate regular expression flag")}};j.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};j.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};j.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};j.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};j.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return s!==-1&&s=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};j.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};j.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};j.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Yi(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Yi(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}j.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!Yi(r);)e.advance();return e.pos!==t};j.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};j.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};j.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};j.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Pt(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Pt(e.lastIntValue);return!0}return!1};j.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ca(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ca(e){return Le(e,!0)||e===36||e===95}j.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ha(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ha(e){return Ge(e,!0)||e===36||e===95||e===8204||e===8205}j.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};j.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};j.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};j.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};j.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};j.regexp_eatZero=function(e){return e.current()===48&&!Dt(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};j.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};j.regexp_eatControlLetter=function(e){var t=e.current();return Ki(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Ki(e){return e>=65&&e<=90||e>=97&&e<=122}j.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(i&&s>=55296&&s<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(u>=56320&&u<=57343)return e.lastIntValue=(s-55296)*1024+(u-56320)+65536,!0}e.pos=a,e.lastIntValue=s}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&fa(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function fa(e){return e>=0&&e<=1114111}j.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};j.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};j.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(pa(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1};function pa(e){return e===100||e===68||e===115||e===83||e===119||e===87}j.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s),!0}return!1};j.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Ot(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};j.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")};j.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Zi(t=e.current());)e.lastStringValue+=Pt(t),e.advance();return e.lastStringValue!==""};function Zi(e){return Ki(e)||e===95}j.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";da(t=e.current());)e.lastStringValue+=Pt(t),e.advance();return e.lastStringValue!==""};function da(e){return Zi(e)||Dt(e)}j.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};j.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1};j.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};j.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||rn(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1};j.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};j.regexp_eatClassControlLetter=function(e){var t=e.current();return Dt(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};j.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};j.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Dt(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function Dt(e){return e>=48&&e<=57}j.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;en(r=e.current());)e.lastIntValue=16*e.lastIntValue+tn(r),e.advance();return e.pos!==t};function en(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function tn(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}j.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};j.regexp_eatOctalDigit=function(e){var t=e.current();return rn(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function rn(e){return e>=48&&e<=55}j.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i=this.input.length)return this.finishToken(h.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};$.readToken=function(e){return Le(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};$.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};$.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){Qe.lastIndex=t;for(var i;(i=Qe.exec(this.input))&&i.index8&&e<14||e>=5760&&yr.test(String.fromCharCode(e)))++this.pos;else break e}}};$.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};$.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(h.ellipsis)):(++this.pos,this.finishToken(h.dot))};$.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(h.assign,2):this.finishOp(h.slash,1)};$.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?h.star:h.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=h.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(h.assign,r+1):this.finishOp(i,r)};$.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(h.assign,3)}return this.finishOp(e===124?h.logicalOR:h.logicalAND,2)}return t===61?this.finishOp(h.assign,2):this.finishOp(e===124?h.bitwiseOR:h.bitwiseAND,1)};$.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(h.assign,2):this.finishOp(h.bitwiseXOR,1)};$.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||ve.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(h.incDec,2):t===61?this.finishOp(h.assign,2):this.finishOp(h.plusMin,1)};$.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(h.assign,r+1):this.finishOp(h.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(h.relational,r))};$.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(h.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(h.arrow)):this.finishOp(e===61?h.eq:h.prefix,1)};$.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(h.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(h.assign,3)}return this.finishOp(h.coalesce,2)}}return this.finishOp(h.question,1)};$.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(h.parenL);case 41:return++this.pos,this.finishToken(h.parenR);case 59:return++this.pos,this.finishToken(h.semi);case 44:return++this.pos,this.finishToken(h.comma);case 91:return++this.pos,this.finishToken(h.bracketL);case 93:return++this.pos,this.finishToken(h.bracketR);case 123:return++this.pos,this.finishToken(h.braceL);case 125:return++this.pos,this.finishToken(h.braceR);case 58:return++this.pos,this.finishToken(h.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(h.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(h.prefix,1)}this.raise(this.pos,"Unexpected character '"+Cr(e)+"'")};$.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};$.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(ve.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(i==="[")t=!0;else if(i==="]"&&t)t=!1;else if(i==="/"&&!t)break;e=i==="\\"}++this.pos}var s=this.input.slice(r,this.pos);++this.pos;var a=this.pos,u=this.readWord1();this.containsEsc&&this.unexpected(a);var f=this.regexpState||(this.regexpState=new Re(this));f.reset(r,s,u),this.validateRegExpFlags(f),this.validateRegExpPattern(f);var p=null;try{p=new RegExp(s,u)}catch{}return this.finishToken(h.regexp,{pattern:s,flags:u,value:p})};$.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,s=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,u=0,f=0,p=0,y=t??1/0;p=97?b=g-97+10:g>=65?b=g-65+10:g>=48&&g<=57?b=g-48:b=1/0,b>=e)break;f=g,u=u*e+b}return i&&f===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:u};function ma(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function nn(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}$.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=nn(this.input.slice(t,this.pos)),++this.pos):Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(h.num,r)};$.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var s=nn(this.input.slice(t,this.pos));return++this.pos,Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(h.num,s)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=ma(this.input.slice(t,this.pos),r);return this.finishToken(h.num,a)};$.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};function Cr(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}$.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(et(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(h.string,t)};var sn={};$.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===sn)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};$.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw sn;this.raise(e,t)};$.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===h.template||this.type===h.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(h.dollarBraceL)):(++this.pos,this.finishToken(h.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(h.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(et(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` -`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};$.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(i,8);return s>255&&(i=i.slice(0,-1),s=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return et(t)?"":String.fromCharCode(t)}};$.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};$.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};const oi=rs(xa);(function(e){const t=ba,r=/^[\da-fA-F]+$/,i=/^\d+$/,s=new WeakMap;function a(p){p=p.Parser.acorn||p;let y=s.get(p);if(!y){const g=p.tokTypes,b=p.TokContext,E=p.TokenType,S=new b("...",!0,!0),P={tc_oTag:S,tc_cTag:C,tc_expr:v},O={jsxName:new E("jsxName"),jsxText:new E("jsxText",{beforeExpr:!0}),jsxTagStart:new E("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new E("jsxTagEnd")};O.jsxTagStart.updateContext=function(){this.context.push(v),this.context.push(S),this.exprAllowed=!1},O.jsxTagEnd.updateContext=function(L){let V=this.context.pop();V===S&&L===g.slash||V===C?(this.context.pop(),this.exprAllowed=this.curContext()===v):this.exprAllowed=!0},y={tokContexts:P,tokTypes:O},s.set(p,y)}return y}function u(p){if(!p)return p;if(p.type==="JSXIdentifier")return p.name;if(p.type==="JSXNamespacedName")return p.namespace.name+":"+p.name.name;if(p.type==="JSXMemberExpression")return u(p.object)+"."+u(p.property)}e.exports=function(p){return p=p||{},function(y){return f({allowNamespaces:p.allowNamespaces!==!1,allowNamespacedObjects:!!p.allowNamespacedObjects},y)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return a(oi).tokTypes},configurable:!0,enumerable:!0});function f(p,y){const g=y.acorn||oi,b=a(g),E=g.tokTypes,S=b.tokTypes,C=g.tokContexts,v=b.tokContexts.tc_oTag,P=b.tokContexts.tc_cTag,O=b.tokContexts.tc_expr,L=g.isNewLine,V=g.isIdentifierStart,A=g.isIdentifierChar;return class extends y{static get acornJsx(){return b}jsx_readToken(){let m="",x=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let _=this.input.charCodeAt(this.pos);switch(_){case 60:case 123:return this.pos===this.start?_===60&&this.exprAllowed?(++this.pos,this.finishToken(S.jsxTagStart)):this.getTokenFromCode(_):(m+=this.input.slice(x,this.pos),this.finishToken(S.jsxText,m));case 38:m+=this.input.slice(x,this.pos),m+=this.jsx_readEntity(),x=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(_===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:L(_)?(m+=this.input.slice(x,this.pos),m+=this.jsx_readNewLine(!0),x=this.pos):++this.pos}}}jsx_readNewLine(m){let x=this.input.charCodeAt(this.pos),_;return++this.pos,x===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,_=m?` -`:`\r -`):_=String.fromCharCode(x),this.options.locations&&(++this.curLine,this.lineStart=this.pos),_}jsx_readString(m){let x="",_=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let k=this.input.charCodeAt(this.pos);if(k===m)break;k===38?(x+=this.input.slice(_,this.pos),x+=this.jsx_readEntity(),_=this.pos):L(k)?(x+=this.input.slice(_,this.pos),x+=this.jsx_readNewLine(!1),_=this.pos):++this.pos}return x+=this.input.slice(_,this.pos++),this.finishToken(E.string,x)}jsx_readEntity(){let m="",x=0,_,k=this.input[this.pos];k!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let B=++this.pos;for(;this.pos")}let G=B.name?"Element":"Fragment";return _["opening"+G]=B,_["closing"+G]=R,_.children=k,this.type===E.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(_,"JSX"+G)}jsx_parseText(){let m=this.parseLiteral(this.value);return m.type="JSXText",m}jsx_parseElement(){let m=this.start,x=this.startLoc;return this.next(),this.jsx_parseElementAt(m,x)}parseExprAtom(m){return this.type===S.jsxText?this.jsx_parseText():this.type===S.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(m)}readToken(m){let x=this.curContext();if(x===O)return this.jsx_readToken();if(x===v||x===P){if(V(m))return this.jsx_readWord();if(m==62)return++this.pos,this.finishToken(S.jsxTagEnd);if((m===34||m===39)&&x==v)return this.jsx_readString(m)}return m===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(S.jsxTagStart)):super.readToken(m)}updateContext(m){if(this.type==E.braceL){var x=this.curContext();x==v?this.context.push(C.b_expr):x==O?this.context.push(C.b_tmpl):super.updateContext(m),this.exprAllowed=!0}else if(this.type===E.slash&&m===S.jsxTagStart)this.context.length-=2,this.context.push(P),this.exprAllowed=!1;else return super.updateContext(m)}}}})(on);var Sa=on.exports;const _a=pt(Sa);function un(e,t,r,i,s){r||(r=N),function a(u,f,p){var y=p||u.type,g=t[y];r[y](u,f,a),g&&g(u,f)}(e,i,s)}function Ea(e,t,r,i,s){var a=[];r||(r=N),function u(f,p,y){var g=y||f.type,b=t[g],E=f!==a[a.length-1];E&&a.push(f),r[g](f,p,u),b&&b(f,p||a,a),E&&a.pop()}(e,i,s)}function Ar(e,t,r){r(e,t)}function $e(e,t,r){}var N={};N.Program=N.BlockStatement=function(e,t,r){for(var i=0,s=e.body;i - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */function ui(e){return Object.prototype.toString.call(e)==="[object Object]"}function Na(e){var t,r;return ui(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(ui(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var ln={},It=lt&<.__assign||function(){return It=Object.assign||function(e){for(var t,r=1,i=arguments.length;re.length)&&(t=e.length);for(var r=0,i=new Array(t);r0?e.length-1:0),i=e[e.length-1];return i&&(t.type==="string"||t.type==="number")&&(i.type==="string"||i.type==="number")?r.push(fn(String(i.value)+String(t.value))):(i&&r.push(i),r.push(t)),r},no=function(t){return["key","ref"].includes(t)},so=function(e){return function(t){var r=t.includes("key"),i=t.includes("ref"),s=t.filter(function(u){return!no(u)}),a=li(e?s.sort():s);return i&&a.unshift("ref"),r&&a.unshift("key"),a}};function ao(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var oo=function(t,r,i,s,a){var u=a.tabStop;return t.type==="string"?r.split(` -`).map(function(f,p){return p===0?f:"".concat(Ie(s,u)).concat(f)}).join(` -`):r},uo=function(t,r,i){return function(s){return oo(s,Qt(s,t,r,i),t,r,i)}},lo=function(t,r){return function(i){var s=Object.keys(t).includes(i);return!s||s&&t[i]!==r[i]}},mn=function(t,r,i,s,a){return a?Ie(i,s).length+r.length>a:t.length>1},co=function(t,r,i,s,a,u,f){return(mn(t,r,a,u,f)||i)&&!s},gn=function(e,t,r,i){var s=e.type,a=e.displayName,u=a===void 0?"":a,f=e.childrens,p=e.props,y=p===void 0?{}:p,g=e.defaultProps,b=g===void 0?{}:g;if(s!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(s));var E=i.filterProps,S=i.maxInlineAttributesLineLength,C=i.showDefaultProps,v=i.sortProps,P=i.tabStop,O="<".concat(u),L=O,V=O,A=!1,m=[],x=ao(y,E);Object.keys(y).filter(x).filter(lo(b,y)).forEach(function(B){return m.push(B)}),Object.keys(b).filter(x).filter(function(){return C}).filter(function(B){return!m.includes(B)}).forEach(function(B){return m.push(B)});var _=so(v)(m);if(_.forEach(function(B){var R=ro(B,Object.keys(y).includes(B),y[B],Object.keys(b).includes(B),b[B],t,r,i),G=R.attributeFormattedInline,q=R.attributeFormattedMultiline,D=R.isMultilineAttribute;D&&(A=!0),L+=G,V+=q}),V+=` -`.concat(Ie(r,P)),co(_,L,A,t,r,P,S)?O=V:O=L,f&&f.length>0){var k=r+1;O+=">",t||(O+=` -`,O+=Ie(k,P)),O+=f.reduce(io,[]).map(uo(t,k,i)).join(t?"":` -`.concat(Ie(k,P))),t||(O+=` -`,O+=Ie(k-1,P)),O+="")}else mn(_,L,r,P,S)||(O+=" "),O+="/>";return O},ho="",pi="React.Fragment",fo=function(t,r,i){var s={};return r&&(s={key:r}),{type:"ReactElement",displayName:t,props:s,defaultProps:{},childrens:i}},po=function(t){var r=t.key;return!!r},mo=function(t){var r=t.childrens;return r.length===0},go=function(e,t,r,i){var s=e.type,a=e.key,u=e.childrens;if(s!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(s));var f=i.useFragmentShortSyntax,p;return f?mo(e)||po(e)?p=pi:p=ho:p=pi,gn(fo(p,a,u),t,r,i)},yo=["<",">","{","}"],vo=function(t){return yo.some(function(r){return t.includes(r)})},xo=function(t){return vo(t)?"{`".concat(t,"`}"):t},bo=function(t){var r=t;return r.endsWith(" ")&&(r=r.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),r.startsWith(" ")&&(r=r.replace(/^(\s+)(.*)$/,"{'$1'}$2")),r},Qt=function(e,t,r,i){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(bo(xo(String(e.value)))):"";if(e.type==="ReactElement")return gn(e,t,r,i);if(e.type==="ReactFragment")return go(e,t,r,i);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},So=function(e,t){return Qt(e,!1,0,t)},ut=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.filterProps,s=i===void 0?[]:i,a=r.showDefaultProps,u=a===void 0?!0:a,f=r.showFunctions,p=f===void 0?!1:f,y=r.functionValue,g=r.tabStop,b=g===void 0?2:g,E=r.useBooleanShorthandSyntax,S=E===void 0?!0:E,C=r.useFragmentShortSyntax,v=C===void 0?!0:C,P=r.sortProps,O=P===void 0?!0:P,L=r.maxInlineAttributesLineLength,V=r.displayName;if(!t)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var A={filterProps:s,showDefaultProps:u,showFunctions:p,functionValue:y,tabStop:b,useBooleanShorthandSyntax:S,useFragmentShortSyntax:v,sortProps:O,maxInlineAttributesLineLength:L,displayName:V};return So(Tr(t,A),A)};const{defaultDecorateStory:_o,addons:Eo,useEffect:Co}=__STORYBOOK_MODULE_PREVIEW_API__,{logger:At}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function Ao(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let s=[];if(r){let a=e.map(u=>{let f=u.getPrettyName(),p=u.getTypeName();return p!=null?`${f}: ${p}`:f});s.push(`(${a.join(", ")})`)}else s.push("()");return i&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function wo(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let s=[];return r?s.push("( ... )"):s.push("()"),i&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function ko(e){return e.replace(/,/g,`,\r -`)}var fr="custom",yt="object",Pr="array",To="class",Ke="func",tt="element";function Ir(e){return _s.includes(e.toLowerCase())}var yn={format:{indent:{style:" "},semicolons:!1}},Po={...yn,format:{newline:""}},Io={...yn};function Me(e,t=!1){return ki.generate(e,t?Po:Io)}function pr(e,t=!1){return t?No(e):Me(e)}function No(e){let t=Me(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function di(e,t=!1){return t?Oo(e):Lo(e)}function Lo(e){let t=Me(e);return t.endsWith(" }]")&&(t=is(t)),t}function Oo(e){let t=Me(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}var vn=e=>e.$$typeof===Symbol.for("react.memo"),Ro=e=>e.$$typeof===Symbol.for("react.forward_ref"),Nr={...N,JSXElement:()=>{}},Fo=re.extend(_a());function vt(e){return e!=null?e.name:null}function mi(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function xn(e){let t=[];return Ea(e,{ObjectExpression(r,i){t.push(mi(i).length)},ArrayExpression(r,i){t.push(mi(i).length)}},Nr),Math.max(...t)}function Mo(e){return{inferredType:{type:"Identifier",identifier:vt(e)},ast:e}}function Bo(e){return{inferredType:{type:"Literal"},ast:e}}function Do(e){let t;un(e.body,{JSXElement(s){t=s}},Nr);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},i=vt(e.id);return i!=null&&(r.identifier=i),{inferredType:r,ast:e}}function Vo(e){let t;return un(e.body,{JSXElement(r){t=r}},Nr),{inferredType:{type:t!=null?"Element":"Class",identifier:vt(e.id)},ast:e}}function jo(e){let t={type:"Element"},r=vt(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function qo(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return vt(t)==="shape"?bn(e.arguments[0]):null}function bn(e){return{inferredType:{type:"Object",depth:xn(e)},ast:e}}function Uo(e){return{inferredType:{type:"Array",depth:xn(e)},ast:e}}function Go(e){switch(e.type){case"Identifier":return Mo(e);case"Literal":return Bo(e);case"FunctionExpression":case"ArrowFunctionExpression":return Do(e);case"ClassExpression":return Vo(e);case"JSXElement":return jo(e);case"CallExpression":return qo(e);case"ObjectExpression":return bn(e);case"ArrayExpression":return Uo(e);default:return null}}function Wo(e){let t=Fo.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let i=t.body[0];switch(i.type){case"ExpressionStatement":{let s=Go(i.expression);s!=null&&(r=s);break}}}return r}function Be(e){try{return{...Wo(e)}}catch{}return{inferredType:{type:"Unknown"}}}var zo=150;function de({name:e,short:t,compact:r,full:i,inferredType:s}){return{name:e,short:t,compact:r,full:i??t,inferredType:s}}function Sn(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function gi(e){return e.split(/\r?\n/)}function Nt(e,t=!1){return Sn(pr(e,t))}function yi(e,t=!1){return Sn(Me(e,t))}function $o(e){switch(e){case"Object":return yt;case"Array":return Pr;case"Class":return To;case"Function":return Ke;case"Element":return tt;default:return fr}}function _n(e,t){let{inferredType:r,ast:i}=Be(e),{type:s}=r,a,u,f;switch(s){case"Identifier":case"Literal":a=e,u=e;break;case"Object":{let{depth:p}=r;a=yt,u=p===1?Nt(i,!0):null,f=Nt(i);break}case"Element":{let{identifier:p}=r;a=p!=null&&!Ir(p)?p:tt,u=gi(e).length===1?e:null,f=e;break}case"Array":{let{depth:p}=r;a=Pr,u=p<=2?yi(i,!0):null,f=yi(i);break}default:a=$o(s),u=gi(e).length===1?e:null,f=e;break}return de({name:t,short:a,compact:u,full:f,inferredType:s})}function Jo({raw:e}){return e!=null?_n(e,"custom"):de({name:"custom",short:fr,compact:fr})}function Xo(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?de({name:"func",short:wo(t.params,t.returns),compact:null,full:Ao(t.params,t.returns)}):de({name:"func",short:Ke,compact:Ke})}function Ho(e,t){let r=Object.keys(e.value).map(u=>`${u}: ${Ze(e.value[u],t).full}`).join(", "),{inferredType:i,ast:s}=Be(`{ ${r} }`),{depth:a}=i;return de({name:"shape",short:yt,compact:a===1&&s?Nt(s,!0):null,full:s?Nt(s):null})}function or(e){return`objectOf(${e})`}function Qo(e,t){let{short:r,compact:i,full:s}=Ze(e.value,t);return de({name:"objectOf",short:or(r),compact:i!=null?or(i):null,full:s&&or(s)})}function Yo(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((i,s)=>{let{short:a,compact:u,full:f}=Ze(s,t);return i.short.push(a),i.compact.push(u),i.full.push(f),i},{short:[],compact:[],full:[]});return de({name:"union",short:r.short.join(" | "),compact:r.compact.every(i=>i!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return de({name:"union",short:e.value,compact:null})}function Ko({value:e,computed:t}){return t?_n(e,"enumvalue"):de({name:"enumvalue",short:e,compact:e})}function Zo(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,i)=>{let{short:s,compact:a,full:u}=Ko(i);return r.short.push(s),r.compact.push(a),r.full.push(u),r},{short:[],compact:[],full:[]});return de({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return de({name:"enum",short:e.value,compact:e.value})}function dr(e){return`${e}[]`}function vi(e){return`[${e}]`}function xi(e,t,r){return de({name:"arrayOf",short:dr(e),compact:t!=null?vi(t):null,full:r&&vi(r)})}function eu(e,t){let{name:r,short:i,compact:s,full:a,inferredType:u}=Ze(e.value,t);if(r==="custom"){if(u==="Object")return xi(i,s,a)}else if(r==="shape")return xi(i,s,a);return de({name:"arrayOf",short:dr(i),compact:dr(i)})}function Ze(e,t){try{switch(e.name){case"custom":return Jo(e);case"func":return Xo(t);case"shape":return Ho(e,t);case"instanceOf":return de({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return Qo(e,t);case"union":return Yo(e,t);case"enum":return Zo(e);case"arrayOf":return eu(e,t);default:return de({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return de({name:"unknown",short:"unknown",compact:"unknown"})}function tu(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:r,compact:i,full:s}=Ze(t,e);return i!=null&&!ts(i)?te(i):s?te(r,s):te(r)}case"func":{let{short:r,full:i}=Ze(t,e),s=r,a;return i&&i.length`}function An(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Lr(r,e.hasParams);case"Element":return Yt(r);default:return r}}function ru({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return te(An(e),Me(t));let i=Me(t,!0);return ft(i)?te(Ke,Me(t)):te(i)}function iu(e,t){let{inferredType:r}=t,{identifier:i}=r;if(i!=null&&!Ir(i)){let s=An(r);return te(s,e)}return ft(e)?te(tt,e):te(e)}function wn(e){try{let t=Be(e);switch(t.inferredType.type){case"Object":return En(t);case"Function":return ru(t);case"Element":return iu(e,t);case"Array":return Cn(t);default:return null}}catch(t){console.error(t)}return null}function kn(e){return e.$$typeof!=null}function Tn(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var nu=e=>te(JSON.stringify(e));function su(e){let{type:t}=e,{displayName:r}=t,i=ut(e,{});if(r!=null){let s=Yt(r);return te(s,i)}if(Ia(t)&&Ir(t)){let s=ut(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!ft(s))return te(s)}return te(tt,i)}var au=e=>{if(kn(e)&&e.type!=null)return su(e);if(ds(e)){let t=Be(JSON.stringify(e));return En(t)}if(Array.isArray(e)){let t=Be(JSON.stringify(e));return Cn(t)}return te(yt)},ou=(e,t)=>{let r=!1,i;if(Wr(e.render))r=!0;else if(e.prototype!=null&&Wr(e.prototype.render))r=!0;else{let a;try{i=Be(e.toString());let{hasParams:u,params:f}=i.inferredType;u?f.length===1&&f[0].type==="ObjectPattern"&&(a=e({})):a=e(),a!=null&&kn(a)&&(r=!0)}catch{}}let s=Tn(e,t.name);if(s!=null){if(r)return te(Yt(s));i!=null&&(i=Be(e.toString()));let{hasParams:a}=i.inferredType;return te(Lr(s,a))}return te(r?tt:Ke)},uu=e=>te(e.toString()),Pn={string:nu,object:au,function:ou,default:uu};function lu(e={}){return{...Pn,...e}}function In(e,t,r=Pn){try{switch(typeof e){case"string":return r.string(e,t);case"object":return r.object(e,t);case"function":return r.function(e,t);default:return r.default(e,t)}}catch(i){console.error(i)}return null}function cu(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(i=>e.find(s=>s.name===i)).filter(Boolean):e}var hu=(e,{name:t,type:r})=>{let i=(r==null?void 0:r.summary)==="element"||(r==null?void 0:r.summary)==="elementType",s=Tn(e,t);if(s!=null){if(i)return te(Yt(s));let{hasParams:a}=Be(e.toString()).inferredType;return te(Lr(s,a))}return te(i?tt:Ke)},fu=lu({function:hu});function pu(e,t){let{propDef:r}=e,i=tu(e);i!=null&&(r.type=i);let{defaultValue:s}=e.docgenInfo;if(s!=null&&s.value!=null){let a=wn(s.value);a!=null&&(r.defaultValue=a)}else if(t!=null){let a=In(t,r,fu);a!=null&&(r.defaultValue=a)}return r}function du(e,t){let r=t.defaultProps!=null?t.defaultProps:{},i=e.map(s=>pu(s,r[s.propDef.name]));return cu(i,t)}function mu(e,t){let{propDef:r}=e,{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let s=wn(i.value);s!=null&&(r.defaultValue=s)}else if(t!=null){let s=In(t,r);s!=null&&(r.defaultValue=s)}return r}function gu(e){return e.map(t=>mu(t))}var bi=new Map;Object.keys($r).forEach(e=>{let t=$r[e];bi.set(t,e),bi.set(t.isRequired,e)});function yu(e,t){let r=e;!Zn(e)&&!e.propTypes&&vn(e)&&(r=e.type);let i=es(r,t);if(i.length===0)return[];switch(i[0].typeSystem){case zr.JAVASCRIPT:return du(i,e);case zr.TYPESCRIPT:return gu(i);default:return i.map(s=>s.propDef)}}var vu=e=>({rows:yu(e,"props")}),xu=e=>{if(e){let{rows:t}=vu(e);if(t)return t.reduce((r,i)=>{let{name:s,description:a,type:u,sbType:f,defaultValue:p,jsDocTags:y,required:g}=i;return r[s]={name:s,description:a,type:{required:g,...f},table:{type:u??void 0,jsDocTags:y,defaultValue:p??void 0}},r},{})}return null},bu=e=>e.charAt(0).toUpperCase()+e.slice(1),Su=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(bu).join("")).join(".");function mr(e){if(We.isValidElement(e)){let t=Object.keys(e.props).reduce((r,i)=>(r[i]=mr(e.props[i]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(mr):e}var _u=(e,t)=>{if(typeof e>"u")return At.warn("Too many skip or undefined component"),null;let r=e,i=r.type;for(let u=0;u<(t==null?void 0:t.skip);u+=1){if(typeof r>"u")return At.warn("Cannot skip undefined element"),null;if(at.Children.count(r)>1)return At.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(At.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=at.createElement(i,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let s;typeof(t==null?void 0:t.displayName)=="string"?s={showFunctions:!0,displayName:()=>t.displayName}:s={displayName:u=>{var f;return u.type.displayName?u.type.displayName:Ur(u.type,"displayName")?Ur(u.type,"displayName"):(f=u.type.render)!=null&&f.displayName?u.type.render.displayName:typeof u.type=="symbol"||u.type.$$typeof&&typeof u.type.$$typeof=="symbol"?Su(u.type):u.type.name&&u.type.name!=="_default"?u.type.name:typeof u.type=="function"?"No Display Name":Ro(u.type)?u.type.render.name:vn(u.type)?u.type.type.name:u.type}};let a={...s,filterProps:(u,f)=>u!==void 0,...t};return at.Children.map(e,u=>{let f=typeof u=="number"?u.toString():u,p=(typeof ut=="function"?ut:ut.default)(mr(f),a);if(p.indexOf(""")>-1){let y=p.match(/\S+=\\"([^"]*)\\"/g);y&&y.forEach(g=>{p=p.replace(g,g.replace(/"/g,"'"))})}return p}).join(` -`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},Eu={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},Cu=e=>{var i;let t=(i=e==null?void 0:e.parameters.docs)==null?void 0:i.source,r=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Gr.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Gr.CODE},Au=e=>{var t,r;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((r=e.props)!=null&&r.mdxType)},Nn=e=>{if(!Au(e))return e;let{mdxType:t,originalType:r,children:i,...s}=e.props,a=[];return i&&(a=(Array.isArray(i)?i:[i]).map(Nn)),We.createElement(r,s,...a)},Ln=(e,t)=>{var g,b;let r=Eo.getChannel(),i=Cu(t),s="";Co(()=>{if(!i){let{id:E,unmappedArgs:S}=t;r.emit(Kn,{id:E,source:s,args:S})}});let a=e();if(i)return a;let u={...Eu,...(t==null?void 0:t.parameters.jsx)||{}},f=(b=(g=t==null?void 0:t.parameters.docs)==null?void 0:g.source)!=null&&b.excludeDecorators?t.originalStoryFn(t.args,t):a,p=Nn(f),y=_u(p,u);return y&&(s=y),a},Pu=(e,t)=>{let r=t.findIndex(s=>s.originalFn===Ln),i=r===-1?t:[...t.splice(r,1),...t];return _o(e,i)},Iu={docs:{story:{inline:!0},extractArgTypes:xu,extractComponentDescription:Qn}},Nu=[Ln],Lu=[Yn];export{Pu as applyDecorators,Lu as argTypesEnhancers,Nu as decorators,Iu as parameters}; diff --git a/assets/entry-preview-docs-TNOXop-0.js b/assets/entry-preview-docs-TNOXop-0.js new file mode 100644 index 00000000..d06df4a3 --- /dev/null +++ b/assets/entry-preview-docs-TNOXop-0.js @@ -0,0 +1,54 @@ +import{a as xi,b as Kn,c as Fi,d as Yn,$ as Zn,z as eu,e as tu,O as te,s as Wr,f as Gr,K as ru,B as iu,P as zr,g as $r,o as ft,H as nu}from"./index-CK28Drts.js";import{g as pt,c as lt,a as uu,R as st,r as Ge}from"./index-ebcBgdYO.js";import{d as su}from"./index-DrFu-skq.js";var vi={exports:{}},au="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ou=au,lu=ou;function bi(){}function Si(){}Si.resetWarningCache=bi;var cu=function(){function e(i,u,s,a,f,p){if(p!==lu){var D=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw D.name="Invariant Violation",D}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Si,resetWarningCache:bi};return r.PropTypes=r,r};vi.exports=cu();var hu=vi.exports;const Jr=pt(hu),fu=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];var pu=fu;const du=pt(pu);var _i={},Bi={};(function(e){(function t(r){var i,u,s,a,f,p;function D(g){var x={},F,B;for(F in g)g.hasOwnProperty(F)&&(B=g[F],typeof B=="object"&&B!==null?x[F]=D(B):x[F]=B);return x}function m(g,x){var F,B,R,N;for(B=g.length,R=0;B;)F=B>>>1,N=R+F,x(g[N])?B=F:(R=N+1,B-=F+1);return R}i={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},s={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},a={},f={},p={},u={Break:a,Skip:f,Remove:p};function y(g,x){this.parent=g,this.key=x}y.prototype.replace=function(x){this.parent[this.key]=x},y.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function A(g,x,F,B){this.node=g,this.path=x,this.wrap=F,this.ref=B}function C(){}C.prototype.path=function(){var x,F,B,R,N,W;function q(M,X){if(Array.isArray(X))for(B=0,R=X.length;B=0;--F)if(g[F].node===x)return!0;return!1}C.prototype.traverse=function(x,F){var B,R,N,W,q,M,X,ne,oe,ie,Q,Ce;for(this.__initialize(x,F),Ce={},B=this.__worklist,R=this.__leavelist,B.push(new A(x,null,null,null)),R.push(new A(null,null,null,null));B.length;){if(N=B.pop(),N===Ce){if(N=R.pop(),M=this.__execute(F.leave,N),this.__state===a||M===a)return;continue}if(N.node){if(M=this.__execute(F.enter,N),this.__state===a||M===a)return;if(B.push(Ce),R.push(N),this.__state===f||M===f)continue;if(W=N.node,q=W.type||N.wrap,ie=this.__keys[q],!ie)if(this.__fallback)ie=this.__fallback(W);else throw new Error("Unknown node type "+q+".");for(ne=ie.length;(ne-=1)>=0;)if(X=ie[ne],Q=W[X],!!Q){if(Array.isArray(Q)){for(oe=Q.length;(oe-=1)>=0;)if(Q[oe]&&!b(R,Q[oe])){if(E(q,ie[ne]))N=new A(Q[oe],[X,oe],"Property",null);else if(v(Q[oe]))N=new A(Q[oe],[X,oe],null,null);else continue;B.push(N)}}else if(v(Q)){if(b(R,Q))continue;B.push(new A(Q,X,null,null))}}}}},C.prototype.replace=function(x,F){var B,R,N,W,q,M,X,ne,oe,ie,Q,Ce,Be;function Je(O){var Ve,Ct,Le,ee;if(O.ref.remove()){for(Ct=O.ref.key,ee=O.ref.parent,Ve=B.length;Ve--;)if(Le=B[Ve],Le.ref&&Le.ref.parent===ee){if(Le.ref.key=0;)if(Be=oe[X],ie=N[Be],!!ie)if(Array.isArray(ie)){for(ne=ie.length;(ne-=1)>=0;)if(ie[ne]){if(E(W,oe[X]))M=new A(ie[ne],[Be,ne],"Property",new y(ie,ne));else if(v(ie[ne]))M=new A(ie[ne],[Be,ne],null,new y(ie,ne));else continue;B.push(M)}}else v(ie)&&B.push(new A(ie,Be,null,new y(N,Be)))}}return Ce.root};function T(g,x){var F=new C;return F.traverse(g,x)}function I(g,x){var F=new C;return F.replace(g,x)}function V(g,x){var F;return F=m(x,function(R){return R.range[0]>g.range[0]}),g.extendedRange=[g.range[0],g.range[1]],F!==x.length&&(g.extendedRange[1]=x[F].range[0]),F-=1,F>=0&&(g.extendedRange[0]=x[F].range[1]),g}function S(g,x,F){var B=[],R,N,W,q;if(!g.range)throw new Error("attachComments needs range information");if(!F.length){if(x.length){for(W=0,N=x.length;WM.range[0]));)X.extendedRange[1]===M.range[0]?(M.leadingComments||(M.leadingComments=[]),M.leadingComments.push(X),B.splice(q,1)):q+=1;if(q===B.length)return u.Break;if(B[q].extendedRange[0]>M.range[1])return u.Skip}}),q=0,T(g,{leave:function(M){for(var X;qM.range[1])return u.Skip}}),g}return r.Syntax=i,r.traverse=T,r.replace=I,r.attachComments=S,r.VisitorKeys=s,r.VisitorOption=u,r.Controller=C,r.cloneEnvironment=function(){return t({})},r})(e)})(Bi);var St={},wi={exports:{}};(function(){function e(a){if(a==null)return!1;switch(a.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function t(a){if(a==null)return!1;switch(a.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(a){if(a==null)return!1;switch(a.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function i(a){return r(a)||a!=null&&a.type==="FunctionDeclaration"}function u(a){switch(a.type){case"IfStatement":return a.alternate!=null?a.alternate:a.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return a.body}return null}function s(a){var f;if(a.type!=="IfStatement"||a.alternate==null)return!1;f=a.consequent;do{if(f.type==="IfStatement"&&f.alternate==null)return!0;f=u(f)}while(f);return!1}wi.exports={isExpression:e,isStatement:r,isIterationStatement:t,isSourceElement:i,isProblematicIfStatement:s,trailingStatement:u}})();var mu=wi.exports,ki={exports:{}};(function(){var e,t,r,i,u,s;t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function a(b){return 48<=b&&b<=57}function f(b){return 48<=b&&b<=57||97<=b&&b<=102||65<=b&&b<=70}function p(b){return b>=48&&b<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function D(b){return b===32||b===9||b===11||b===12||b===160||b>=5760&&r.indexOf(b)>=0}function m(b){return b===10||b===13||b===8232||b===8233}function y(b){if(b<=65535)return String.fromCharCode(b);var T=String.fromCharCode(Math.floor((b-65536)/1024)+55296),I=String.fromCharCode((b-65536)%1024+56320);return T+I}for(i=new Array(128),s=0;s<128;++s)i[s]=s>=97&&s<=122||s>=65&&s<=90||s===36||s===95;for(u=new Array(128),s=0;s<128;++s)u[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===36||s===95;function A(b){return b<128?i[b]:t.NonAsciiIdentifierStart.test(y(b))}function C(b){return b<128?u[b]:t.NonAsciiIdentifierPart.test(y(b))}function v(b){return b<128?i[b]:e.NonAsciiIdentifierStart.test(y(b))}function E(b){return b<128?u[b]:e.NonAsciiIdentifierPart.test(y(b))}ki.exports={isDecimalDigit:a,isHexDigit:f,isOctalDigit:p,isWhiteSpace:D,isLineTerminator:m,isIdentifierStartES5:A,isIdentifierPartES5:C,isIdentifierStartES6:v,isIdentifierPartES6:E}})();var Ii=ki.exports,Ti={exports:{}};(function(){var e=Ii;function t(A){switch(A){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(A,C){return!C&&A==="yield"?!1:i(A,C)}function i(A,C){if(C&&t(A))return!0;switch(A.length){case 2:return A==="if"||A==="in"||A==="do";case 3:return A==="var"||A==="for"||A==="new"||A==="try";case 4:return A==="this"||A==="else"||A==="case"||A==="void"||A==="with"||A==="enum";case 5:return A==="while"||A==="break"||A==="catch"||A==="throw"||A==="const"||A==="yield"||A==="class"||A==="super";case 6:return A==="return"||A==="typeof"||A==="delete"||A==="switch"||A==="export"||A==="import";case 7:return A==="default"||A==="finally"||A==="extends";case 8:return A==="function"||A==="continue"||A==="debugger";case 10:return A==="instanceof";default:return!1}}function u(A,C){return A==="null"||A==="true"||A==="false"||r(A,C)}function s(A,C){return A==="null"||A==="true"||A==="false"||i(A,C)}function a(A){return A==="eval"||A==="arguments"}function f(A){var C,v,E;if(A.length===0||(E=A.charCodeAt(0),!e.isIdentifierStartES5(E)))return!1;for(C=1,v=A.length;C=v||(b=A.charCodeAt(C),!(56320<=b&&b<=57343)))return!1;E=p(E,b)}if(!T(E))return!1;T=e.isIdentifierPartES6}return!0}function m(A,C){return f(A)&&!u(A,C)}function y(A,C){return D(A)&&!s(A,C)}Ti.exports={isKeywordES5:r,isKeywordES6:i,isReservedWordES5:u,isReservedWordES6:s,isRestrictedWord:a,isIdentifierNameES5:f,isIdentifierNameES6:D,isIdentifierES5:m,isIdentifierES6:y}})();var gu=Ti.exports;(function(){St.ast=mu,St.code=Ii,St.keyword=gu})();var it={},Zt={},Ft={},vt={},Hr;function Du(){if(Hr)return vt;Hr=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return vt.encode=function(t){if(0<=t&&t>1;return p?-D:D}return Ft.encode=function(p){var D="",m,y=s(p);do m=y&i,y>>>=t,y>0&&(m|=u),D+=e.encode(m);while(y>0);return D},Ft.decode=function(p,D,m){var y=p.length,A=0,C=0,v,E;do{if(D>=y)throw new Error("Expected more digits in base 64 VLQ value.");if(E=e.decode(p.charCodeAt(D++)),E===-1)throw new Error("Invalid base64 digit: "+p.charAt(D-1));v=!!(E&u),E&=i,A=A+(E<=0;W--)R=B[W],R==="."?B.splice(W,1):R===".."?N++:N>0&&(R===""?(B.splice(W+1,N),N=0):(B.splice(W,2),N--));return g=B.join("/"),g===""&&(g=F?"/":"."),x?(x.path=g,s(x)):g}e.normalize=a;function f(S,g){S===""&&(S="."),g===""&&(g=".");var x=u(g),F=u(S);if(F&&(S=F.path||"/"),x&&!x.scheme)return F&&(x.scheme=F.scheme),s(x);if(x||g.match(i))return g;if(F&&!F.host&&!F.path)return F.host=g,s(F);var B=g.charAt(0)==="/"?g:a(S.replace(/\/+$/,"")+"/"+g);return F?(F.path=B,s(F)):B}e.join=f,e.isAbsolute=function(S){return S.charAt(0)==="/"||r.test(S)};function p(S,g){S===""&&(S="."),S=S.replace(/\/$/,"");for(var x=0;g.indexOf(S+"/")!==0;){var F=S.lastIndexOf("/");if(F<0||(S=S.slice(0,F),S.match(/^([^\/]+:\/)?\/*$/)))return g;++x}return Array(x+1).join("../")+g.substr(S.length+1)}e.relative=p;var D=function(){var S=Object.create(null);return!("__proto__"in S)}();function m(S){return S}function y(S){return C(S)?"$"+S:S}e.toSetString=D?m:y;function A(S){return C(S)?S.slice(1):S}e.fromSetString=D?m:A;function C(S){if(!S)return!1;var g=S.length;if(g<9||S.charCodeAt(g-1)!==95||S.charCodeAt(g-2)!==95||S.charCodeAt(g-3)!==111||S.charCodeAt(g-4)!==116||S.charCodeAt(g-5)!==111||S.charCodeAt(g-6)!==114||S.charCodeAt(g-7)!==112||S.charCodeAt(g-8)!==95||S.charCodeAt(g-9)!==95)return!1;for(var x=g-10;x>=0;x--)if(S.charCodeAt(x)!==36)return!1;return!0}function v(S,g,x){var F=b(S.source,g.source);return F!==0||(F=S.originalLine-g.originalLine,F!==0)||(F=S.originalColumn-g.originalColumn,F!==0||x)||(F=S.generatedColumn-g.generatedColumn,F!==0)||(F=S.generatedLine-g.generatedLine,F!==0)?F:b(S.name,g.name)}e.compareByOriginalPositions=v;function E(S,g,x){var F=S.generatedLine-g.generatedLine;return F!==0||(F=S.generatedColumn-g.generatedColumn,F!==0||x)||(F=b(S.source,g.source),F!==0)||(F=S.originalLine-g.originalLine,F!==0)||(F=S.originalColumn-g.originalColumn,F!==0)?F:b(S.name,g.name)}e.compareByGeneratedPositionsDeflated=E;function b(S,g){return S===g?0:S===null?1:g===null?-1:S>g?1:-1}function T(S,g){var x=S.generatedLine-g.generatedLine;return x!==0||(x=S.generatedColumn-g.generatedColumn,x!==0)||(x=b(S.source,g.source),x!==0)||(x=S.originalLine-g.originalLine,x!==0)||(x=S.originalColumn-g.originalColumn,x!==0)?x:b(S.name,g.name)}e.compareByGeneratedPositionsInflated=T;function I(S){return JSON.parse(S.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=I;function V(S,g,x){if(g=g||"",S&&(S[S.length-1]!=="/"&&g[0]!=="/"&&(S+="/"),g=S+g),x){var F=u(x);if(!F)throw new Error("sourceMapURL could not be parsed");if(F.path){var B=F.path.lastIndexOf("/");B>=0&&(F.path=F.path.substring(0,B+1))}g=f(s(F),g)}return a(g)}e.computeSourceURL=V}(er)),er}var tr={},Kr;function Ni(){if(Kr)return tr;Kr=1;var e=dt(),t=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(s,a){for(var f=new i,p=0,D=s.length;p=0)return a}else{var f=e.toSetString(s);if(t.call(this._set,f))return this._set[f]}throw new Error('"'+s+'" is not in the set.')},i.prototype.at=function(s){if(s>=0&&ss||a==s&&p>=f||e.compareByGeneratedPositionsInflated(i,u)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(u,s){this._array.forEach(u,s)},r.prototype.add=function(u){t(this._last,u)?(this._last=u,this._array.push(u)):(this._sorted=!1,this._array.push(u))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},rr.MappingList=r,rr}var Zr;function Li(){if(Zr)return Zt;Zr=1;var e=Pi(),t=dt(),r=Ni().ArraySet,i=Au().MappingList;function u(s){s||(s={}),this._file=t.getArg(s,"file",null),this._sourceRoot=t.getArg(s,"sourceRoot",null),this._skipValidation=t.getArg(s,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return u.prototype._version=3,u.fromSourceMap=function(a){var f=a.sourceRoot,p=new u({file:a.file,sourceRoot:f});return a.eachMapping(function(D){var m={generated:{line:D.generatedLine,column:D.generatedColumn}};D.source!=null&&(m.source=D.source,f!=null&&(m.source=t.relative(f,m.source)),m.original={line:D.originalLine,column:D.originalColumn},D.name!=null&&(m.name=D.name)),p.addMapping(m)}),a.sources.forEach(function(D){var m=D;f!==null&&(m=t.relative(f,D)),p._sources.has(m)||p._sources.add(m);var y=a.sourceContentFor(D);y!=null&&p.setSourceContent(D,y)}),p},u.prototype.addMapping=function(a){var f=t.getArg(a,"generated"),p=t.getArg(a,"original",null),D=t.getArg(a,"source",null),m=t.getArg(a,"name",null);this._skipValidation||this._validateMapping(f,p,D,m),D!=null&&(D=String(D),this._sources.has(D)||this._sources.add(D)),m!=null&&(m=String(m),this._names.has(m)||this._names.add(m)),this._mappings.add({generatedLine:f.line,generatedColumn:f.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:D,name:m})},u.prototype.setSourceContent=function(a,f){var p=a;this._sourceRoot!=null&&(p=t.relative(this._sourceRoot,p)),f!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(p)]=f):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},u.prototype.applySourceMap=function(a,f,p){var D=f;if(f==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);D=a.file}var m=this._sourceRoot;m!=null&&(D=t.relative(m,D));var y=new r,A=new r;this._mappings.unsortedForEach(function(C){if(C.source===D&&C.originalLine!=null){var v=a.originalPositionFor({line:C.originalLine,column:C.originalColumn});v.source!=null&&(C.source=v.source,p!=null&&(C.source=t.join(p,C.source)),m!=null&&(C.source=t.relative(m,C.source)),C.originalLine=v.line,C.originalColumn=v.column,v.name!=null&&(C.name=v.name))}var E=C.source;E!=null&&!y.has(E)&&y.add(E);var b=C.name;b!=null&&!A.has(b)&&A.add(b)},this),this._sources=y,this._names=A,a.sources.forEach(function(C){var v=a.sourceContentFor(C);v!=null&&(p!=null&&(C=t.join(p,C)),m!=null&&(C=t.relative(m,C)),this.setSourceContent(C,v))},this)},u.prototype._validateMapping=function(a,f,p,D){if(f&&typeof f.line!="number"&&typeof f.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!f&&!p&&!D)){if(a&&"line"in a&&"column"in a&&f&&"line"in f&&"column"in f&&a.line>0&&a.column>=0&&f.line>0&&f.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:a,source:p,original:f,name:D}))}},u.prototype._serializeMappings=function(){for(var a=0,f=1,p=0,D=0,m=0,y=0,A="",C,v,E,b,T=this._mappings.toArray(),I=0,V=T.length;I0){if(!t.compareByGeneratedPositionsInflated(v,T[I-1]))continue;C+=","}C+=e.encode(v.generatedColumn-a),a=v.generatedColumn,v.source!=null&&(b=this._sources.indexOf(v.source),C+=e.encode(b-y),y=b,C+=e.encode(v.originalLine-1-D),D=v.originalLine-1,C+=e.encode(v.originalColumn-p),p=v.originalColumn,v.name!=null&&(E=this._names.indexOf(v.name),C+=e.encode(E-m),m=E)),A+=C}return A},u.prototype._generateSourcesContent=function(a,f){return a.map(function(p){if(!this._sourcesContents)return null;f!=null&&(p=t.relative(f,p));var D=t.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,D)?this._sourcesContents[D]:null},this)},u.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},u.prototype.toString=function(){return JSON.stringify(this.toJSON())},Zt.SourceMapGenerator=u,Zt}var nt={},ir={},ei;function Cu(){return ei||(ei=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,i,u,s,a,f){var p=Math.floor((i-r)/2)+r,D=a(u,s[p],!0);return D===0?p:D>0?i-p>1?t(p,i,u,s,a,f):f==e.LEAST_UPPER_BOUND?i1?t(r,p,u,s,a,f):f==e.LEAST_UPPER_BOUND?p:r<0?-1:r}e.search=function(i,u,s,a){if(u.length===0)return-1;var f=t(-1,u.length,i,u,s,a||e.GREATEST_LOWER_BOUND);if(f<0)return-1;for(;f-1>=0&&s(u[f],u[f-1],!0)===0;)--f;return f}}(ir)),ir}var nr={},ti;function Eu(){if(ti)return nr;ti=1;function e(i,u,s){var a=i[u];i[u]=i[s],i[s]=a}function t(i,u){return Math.round(i+Math.random()*(u-i))}function r(i,u,s,a){if(s=0){var E=this._originalMappings[v];if(m.column===void 0)for(var b=E.originalLine;E&&E.originalLine===b;)C.push({line:e.getArg(E,"generatedLine",null),column:e.getArg(E,"generatedColumn",null),lastColumn:e.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++v];else for(var T=E.originalColumn;E&&E.originalLine===y&&E.originalColumn==T;)C.push({line:e.getArg(E,"generatedLine",null),column:e.getArg(E,"generatedColumn",null),lastColumn:e.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++v]}return C},nt.SourceMapConsumer=s;function a(D,m){var y=D;typeof D=="string"&&(y=e.parseSourceMapInput(D));var A=e.getArg(y,"version"),C=e.getArg(y,"sources"),v=e.getArg(y,"names",[]),E=e.getArg(y,"sourceRoot",null),b=e.getArg(y,"sourcesContent",null),T=e.getArg(y,"mappings"),I=e.getArg(y,"file",null);if(A!=this._version)throw new Error("Unsupported version: "+A);E&&(E=e.normalize(E)),C=C.map(String).map(e.normalize).map(function(V){return E&&e.isAbsolute(E)&&e.isAbsolute(V)?e.relative(E,V):V}),this._names=r.fromArray(v.map(String),!0),this._sources=r.fromArray(C,!0),this._absoluteSources=this._sources.toArray().map(function(V){return e.computeSourceURL(E,V,m)}),this.sourceRoot=E,this.sourcesContent=b,this._mappings=T,this._sourceMapURL=m,this.file=I}a.prototype=Object.create(s.prototype),a.prototype.consumer=s,a.prototype._findSourceIndex=function(D){var m=D;if(this.sourceRoot!=null&&(m=e.relative(this.sourceRoot,m)),this._sources.has(m))return this._sources.indexOf(m);var y;for(y=0;y1&&(B.source=b+N[1],b+=N[1],B.originalLine=v+N[2],v=B.originalLine,B.originalLine+=1,B.originalColumn=E+N[3],E=B.originalColumn,N.length>4&&(B.name=T+N[4],T+=N[4])),F.push(B),typeof B.originalLine=="number"&&x.push(B)}u(F,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=F,u(x,e.compareByOriginalPositions),this.__originalMappings=x},a.prototype._findMapping=function(m,y,A,C,v,E){if(m[A]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+m[A]);if(m[C]<0)throw new TypeError("Column must be greater than or equal to 0, got "+m[C]);return t.search(m,y,v,E)},a.prototype.computeColumnSpans=function(){for(var m=0;m=0){var C=this._generatedMappings[A];if(C.generatedLine===y.generatedLine){var v=e.getArg(C,"source",null);v!==null&&(v=this._sources.at(v),v=e.computeSourceURL(this.sourceRoot,v,this._sourceMapURL));var E=e.getArg(C,"name",null);return E!==null&&(E=this._names.at(E)),{source:v,line:e.getArg(C,"originalLine",null),column:e.getArg(C,"originalColumn",null),name:E}}}return{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(m){return m==null}):!1},a.prototype.sourceContentFor=function(m,y){if(!this.sourcesContent)return null;var A=this._findSourceIndex(m);if(A>=0)return this.sourcesContent[A];var C=m;this.sourceRoot!=null&&(C=e.relative(this.sourceRoot,C));var v;if(this.sourceRoot!=null&&(v=e.urlParse(this.sourceRoot))){var E=C.replace(/^file:\/\//,"");if(v.scheme=="file"&&this._sources.has(E))return this.sourcesContent[this._sources.indexOf(E)];if((!v.path||v.path=="/")&&this._sources.has("/"+C))return this.sourcesContent[this._sources.indexOf("/"+C)]}if(y)return null;throw new Error('"'+C+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(m){var y=e.getArg(m,"source");if(y=this._findSourceIndex(y),y<0)return{line:null,column:null,lastColumn:null};var A={source:y,originalLine:e.getArg(m,"line"),originalColumn:e.getArg(m,"column")},C=this._findMapping(A,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(m,"bias",s.GREATEST_LOWER_BOUND));if(C>=0){var v=this._originalMappings[C];if(v.source===A.source)return{line:e.getArg(v,"generatedLine",null),column:e.getArg(v,"generatedColumn",null),lastColumn:e.getArg(v,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},nt.BasicSourceMapConsumer=a;function p(D,m){var y=D;typeof D=="string"&&(y=e.parseSourceMapInput(D));var A=e.getArg(y,"version"),C=e.getArg(y,"sections");if(A!=this._version)throw new Error("Unsupported version: "+A);this._sources=new r,this._names=new r;var v={line:-1,column:0};this._sections=C.map(function(E){if(E.url)throw new Error("Support for url field in sections not implemented.");var b=e.getArg(E,"offset"),T=e.getArg(b,"line"),I=e.getArg(b,"column");if(T=0;p--)this.prepend(f[p]);else if(f[u]||typeof f=="string")this.children.unshift(f);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+f);return this},s.prototype.walk=function(f){for(var p,D=0,m=this.children.length;D0){for(p=[],D=0;D=6.0"},Tu=[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],Pu={type:"git",url:"http://github.com/estools/escodegen.git"},Nu={estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},Lu={"source-map":"~0.6.1"},Ou={acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},Ru="BSD-2-Clause",Mu={test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"},Vu={name:vu,description:bu,homepage:Su,main:_u,bin:Bu,files:wu,version:ku,engines:Iu,maintainers:Tu,repository:Pu,dependencies:Nu,optionalDependencies:Lu,devDependencies:Ou,license:Ru,scripts:Mu};(function(e){(function(){var t,r,i,u,s,a,f,p,D,m,y,A,C,v,E,b,T,I,V,S,g,x,F,B,R,N;s=Bi,a=St,t=s.Syntax;function W(n){return ae.Expression.hasOwnProperty(n.type)}function q(n){return ae.Statement.hasOwnProperty(n.type)}r={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},i={"??":r.Coalesce,"||":r.LogicalOR,"&&":r.LogicalAND,"|":r.BitwiseOR,"^":r.BitwiseXOR,"&":r.BitwiseAND,"==":r.Equality,"!=":r.Equality,"===":r.Equality,"!==":r.Equality,is:r.Equality,isnt:r.Equality,"<":r.Relational,">":r.Relational,"<=":r.Relational,">=":r.Relational,in:r.Relational,instanceof:r.Relational,"<<":r.BitwiseSHIFT,">>":r.BitwiseSHIFT,">>>":r.BitwiseSHIFT,"+":r.Additive,"-":r.Additive,"*":r.Multiplicative,"%":r.Multiplicative,"/":r.Multiplicative,"**":r.Exponentiation};var M=1,X=2,ne=4,oe=8,ie=16,Q=32,Ce=64,Be=X|ne,Je=M|X,O=M|X|ne,Ve=M,Ct=ne,Le=M|ne,ee=M,be=M|Q,Et=0,Rn=M|ie,Mn=M|oe;function Nr(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:` +`,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function je(n,l){var o="";for(l|=0;l>0;l>>>=1,n+=n)l&1&&(o+=n);return o}function Vn(n){return/[\r\n]/g.test(n)}function he(n){var l=n.length;return l&&a.code.isLineTerminator(n.charCodeAt(l-1))}function Lr(n,l){var o;for(o in l)l.hasOwnProperty(o)&&(n[o]=l[o]);return n}function yt(n,l){var o,c;function d(_){return typeof _=="object"&&_ instanceof Object&&!(_ instanceof RegExp)}for(o in l)l.hasOwnProperty(o)&&(c=l[o],d(c)?d(n[o])?yt(n[o],c):n[o]=yt({},c):n[o]=c);return n}function jn(n){var l,o,c,d,_;if(n!==n)throw new Error("Numeric literal whose value is NaN");if(n<0||n===0&&1/n<0)throw new Error("Numeric literal whose value is negative");if(n===1/0)return D?"null":m?"1e400":"1e+400";if(l=""+n,!m||l.length<3)return l;for(o=l.indexOf("."),!D&&l.charCodeAt(0)===48&&o===1&&(o=0,l=l.slice(1)),c=l,l=l.replace("e+","e"),d=0,(_=c.indexOf("e"))>0&&(d=+c.slice(_+1),c=c.slice(0,_)),o>=0&&(d-=c.length-o-1,c=+(c.slice(0,o)+c.slice(o+1))+""),_=0;c.charCodeAt(c.length+_-1)===48;)--_;return _!==0&&(d-=_,c=c.slice(0,_)),d!==0&&(c+="e"+d),(c.length1e12&&Math.floor(n)===n&&(c="0x"+n.toString(16)).length255?"\\u"+"0000".slice(o.length)+o:n===0&&!a.code.isDecimalDigit(l)?"\\0":n===11?"\\x0B":"\\x"+"00".slice(o.length)+o)}function Wn(n){if(n===92)return"\\\\";if(n===10)return"\\n";if(n===13)return"\\r";if(n===8232)return"\\u2028";if(n===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function Gn(n){var l,o,c,d;for(d=A==="double"?'"':"'",l=0,o=n.length;l126))){l+=Un(d,n.charCodeAt(o+1));continue}l+=String.fromCharCode(d)}if(k=!(A==="double"||A==="auto"&&w<_),L=k?"'":'"',!(k?_:w))return L+l+L;for(n=l,l=L,o=0,c=n.length;o=0&&!a.code.isLineTerminator(n.charCodeAt(l));--l);return n.length-1-l}function Jn(n,l){var o,c,d,_,w,k,L,J;for(o=n.split(/\r\n|[\r\n]/),k=Number.MAX_VALUE,c=1,d=o.length;cw&&(k=w)}for(typeof l<"u"?(L=f,o[1][k]==="*"&&(l+=" "),f=l):(k&1&&--k,L=f),c=1,d=o.length;c0){if(_=l,B){for(d=n.leadingComments[0],l=[],J=d.extendedRange,ce=d.range,Xe=F.substring(J[0],ce[0]),Se=(Xe.match(/\n/g)||[]).length,Se>0?(l.push(je(` +`,Se)),l.push(pe(we(d)))):(l.push(Xe),l.push(we(d))),qe=ce,o=1,c=n.leadingComments.length;o0?(l.push(je(` +`,Se)),l.push(pe(we(d)))):(l.push(Xe),l.push(we(d)));else for(w=!he(Y(l).toString()),k=je(" ",$n(Y([f,l,p]).toString())),o=0,c=n.trailingComments.length;o")),n.expression?(l.push(E),o=this.generateExpression(n.body,r.Assignment,O),o.toString().charAt(0)==="{"&&(o=["(",o,")"]),l.push(o)):l.push(this.maybeBlock(n.body,Mn)),l},ae.prototype.generateIterationForStatement=function(n,l,o){var c=["for"+(l.await?fe()+"await":"")+E+"("],d=this;return se(function(){l.left.type===t.VariableDeclaration?se(function(){c.push(l.left.kind+fe()),c.push(d.generateStatement(l.left.declarations[0],Et))}):c.push(d.generateExpression(l.left,r.Call,O)),c=U(c,n),c=[U(c,d.generateExpression(l.right,r.Assignment,O)),")"]}),c.push(this.maybeBlock(l.body,o)),c},ae.prototype.generatePropertyKey=function(n,l){var o=[];return l&&o.push("["),o.push(this.generateExpression(n,r.Assignment,O)),l&&o.push("]"),o},ae.prototype.generateAssignment=function(n,l,o,c,d){return r.Assignment2&&(c=F.substring(o[0]+1,o[1]-1),c[0]===` +`&&(d=["{"]),d.push(c)));var w,k,L,J;for(J=ee,l&oe&&(J|=ie),w=0,k=n.body.length;w0&&!n.body[w-1].trailingComments&&!n.body[w].leadingComments&&He(n.body[w-1].range[1],n.body[w].range[0],d)),w===k-1&&(J|=Q),n.body[w].leadingComments&&B?L=_.generateStatement(n.body[w],J):L=pe(_.generateStatement(n.body[w],J)),d.push(L),he(Y(L).toString())||B&&w1?se(L):L(),o.push(this.semicolon(l)),o},ThrowStatement:function(n,l){return[U("throw",this.generateExpression(n.argument,r.Sequence,O)),this.semicolon(l)]},TryStatement:function(n,l){var o,c,d,_;if(o=["try",this.maybeBlock(n.block,ee)],o=this.maybeBlockSuffix(n.block,o),n.handlers)for(c=0,d=n.handlers.length;c0?` +`:""],w=Rn,d=0;d<_;++d)!I&&d===_-1&&(w|=Q),B&&(d===0&&(n.body[0].leadingComments||He(n.range[0],n.body[d].range[0],o)),d>0&&!n.body[d-1].trailingComments&&!n.body[d].leadingComments&&He(n.body[d-1].range[1],n.body[d].range[0],o)),c=pe(this.generateStatement(n.body[d],w)),o.push(c),d+1<_&&!he(Y(c).toString())&&(B&&n.body[d+1].leadingComments||o.push(v)),B&&d===_-1&&(n.body[d].trailingComments||He(n.body[d].range[1],n.range[1],o));return o},FunctionDeclaration:function(n,l){return[rt(n,!0),"function",xt(n)||fe(),n.id?ge(n.id):"",this.generateFunctionBody(n)]},ReturnStatement:function(n,l){return n.argument?[U("return",this.generateExpression(n.argument,r.Sequence,O)),this.semicolon(l)]:["return"+this.semicolon(l)]},WhileStatement:function(n,l){var o,c=this;return se(function(){o=["while"+E+"(",c.generateExpression(n.test,r.Sequence,O),")"]}),o.push(this.maybeBlock(n.body,l&Q?be:ee)),o},WithStatement:function(n,l){var o,c=this;return se(function(){o=["with"+E+"(",c.generateExpression(n.object,r.Sequence,O),")"]}),o.push(this.maybeBlock(n.body,l&Q?be:ee)),o}},Lr(ae.prototype,ae.Statement),ae.Expression={SequenceExpression:function(n,l,o){var c,d,_;for(r.Sequence0){for(c.push("("),_=0,w=d;_=2&&d.charCodeAt(0)===48)&&c.push(" ")),c.push(n.optional?"?.":"."),c.push(ge(n.property))),le(c,r.Member,l)},MetaProperty:function(n,l,o){var c;return c=[],c.push(typeof n.meta=="string"?n.meta:ge(n.meta)),c.push("."),c.push(typeof n.property=="string"?n.property:ge(n.property)),le(c,r.Member,l)},UnaryExpression:function(n,l,o){var c,d,_,w,k;return d=this.generateExpression(n.argument,r.Unary,O),E===""?c=U(n.operator,d):(c=[n.operator],n.operator.length>2?c=U(c,d):(w=Y(c).toString(),k=w.charCodeAt(w.length-1),_=d.toString().charCodeAt(0),((k===43||k===45)&&k===_||a.code.isIdentifierPartES5(k)&&a.code.isIdentifierPartES5(_))&&c.push(fe()),c.push(d))),le(c,r.Unary,l)},YieldExpression:function(n,l,o){var c;return n.delegate?c="yield*":c="yield",n.argument&&(c=U(c,this.generateExpression(n.argument,r.Yield,O))),le(c,r.Yield,l)},AwaitExpression:function(n,l,o){var c=U(n.all?"await*":"await",this.generateExpression(n.argument,r.Await,O));return le(c,r.Await,l)},UpdateExpression:function(n,l,o){return n.prefix?le([n.operator,this.generateExpression(n.argument,r.Unary,O)],r.Unary,l):le([this.generateExpression(n.argument,r.Postfix,O),n.operator],r.Postfix,l)},FunctionExpression:function(n,l,o){var c=[rt(n,!0),"function"];return n.id?(c.push(xt(n)||fe()),c.push(ge(n.id))):c.push(xt(n)||E),c.push(this.generateFunctionBody(n)),c},ArrayPattern:function(n,l,o){return this.ArrayExpression(n,l,o,!0)},ArrayExpression:function(n,l,o,c){var d,_,w=this;return n.elements.length?(_=c?!1:n.elements.length>1,d=["[",_?v:""],se(function(k){var L,J;for(L=0,J=n.elements.length;L1,se(function(){_=w.generateExpression(n.properties[0],r.Sequence,O)}),!c&&!Vn(Y(_).toString())?["{",E,_,E,"}"]:(se(function(k){var L,J;if(d=["{",v,k,_],c)for(d.push(","+v),L=1,J=n.properties.length;L0||S.moz.comprehensionExpressionStartsWithAssignment?c=U(c,w):c.push(w)}),n.filter&&(c=U(c,"if"+E),w=this.generateExpression(n.filter,r.Sequence,O),c=U(c,["(",w,")"])),S.moz.comprehensionExpressionStartsWithAssignment||(w=this.generateExpression(n.body,r.Assignment,O),c=U(c,w)),c.push(n.type===t.GeneratorExpression?")":"]"),c},ComprehensionBlock:function(n,l,o){var c;return n.left.type===t.VariableDeclaration?c=[n.left.kind,fe(),this.generateStatement(n.left.declarations[0],Et)]:c=this.generateExpression(n.left,r.Call,O),c=U(c,n.of?"of":"in"),c=U(c,this.generateExpression(n.right,r.Sequence,O)),["for"+E+"(",c,")"]},SpreadElement:function(n,l,o){return["...",this.generateExpression(n.argument,r.Assignment,O)]},TaggedTemplateExpression:function(n,l,o){var c=Je;o&X||(c=Ve);var d=[this.generateExpression(n.tag,r.Call,c),this.generateExpression(n.quasi,r.Primary,Ct)];return le(d,r.TaggedTemplate,l)},TemplateElement:function(n,l,o){return n.value.raw},TemplateLiteral:function(n,l,o){var c,d,_;for(c=["`"],d=0,_=n.quasis.length;d<_;++d)c.push(this.generateExpression(n.quasis[d],r.Primary,O)),d+1<_&&(c.push("${"+E),c.push(this.generateExpression(n.expressions[d],r.Sequence,O)),c.push(E+"}"));return c.push("`"),c},ModuleSpecifier:function(n,l,o){return this.Literal(n,l,o)},ImportExpression:function(n,l,o){return le(["import(",this.generateExpression(n.source,r.Assignment,O),")"],r.Call,l)}},Lr(ae.prototype,ae.Expression),ae.prototype.generateExpression=function(n,l,o){var c,d;return d=n.type||t.Property,S.verbatim&&n.hasOwnProperty(S.verbatim)?Hn(n,l):(c=this[d](n,l,o),S.comment&&(c=Mr(n,c)),Y(c,n))},ae.prototype.generateStatement=function(n,l){var o,c;return o=this[n.type](n,l),S.comment&&(o=Mr(n,o)),c=Y(o).toString(),n.type===t.Program&&!I&&v===""&&c.charAt(c.length-1)===` +`&&(o=x?Y(o).replaceRight(/\s+$/,""):c.replace(/\s+$/,"")),Y(o,n)};function Xn(n){var l;if(l=new ae,q(n))return l.generateStatement(n,ee);if(W(n))return l.generateExpression(n,r.Sequence,O);throw new Error("Unknown node type: "+n.type)}function Qn(n,l){var o=Nr(),c,d;return l!=null?(typeof l.indent=="string"&&(o.format.indent.style=l.indent),typeof l.base=="number"&&(o.format.indent.base=l.base),l=yt(o,l),p=l.format.indent.style,typeof l.base=="string"?f=l.base:f=je(p,l.format.indent.base)):(l=o,p=l.format.indent.style,f=je(p,l.format.indent.base)),D=l.format.json,m=l.format.renumber,y=D?!1:l.format.hexadecimal,A=D?"double":l.format.quotes,C=l.format.escapeless,v=l.format.newline,E=l.format.space,l.format.compact&&(v=E=p=f=""),b=l.format.parentheses,T=l.format.semicolons,I=l.format.safeConcatenation,V=l.directive,g=D?null:l.parse,x=l.sourceMap,F=l.sourceCode,B=l.format.preserveBlankLines&&F!==null,S=l,x&&(e.browser?u=lt.sourceMap.SourceNode:u=Fu().SourceNode),c=Xn(n),x?(d=c.toStringWithSourceMap({file:l.file,sourceRoot:l.sourceMapRoot}),l.sourceContent&&d.map.setSourceContent(l.sourceMap,l.sourceContent),l.sourceMapWithCode?d:d.map.toString()):(d={code:c.toString(),map:null},l.sourceMapWithCode?d:d.code)}R={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},N=Nr().format,e.version=Vu.version,e.generate=Qn,e.attachComments=s.attachComments,e.Precedence=yt({},r),e.browser=!1,e.FORMAT_MINIFY=R,e.FORMAT_DEFAULTS=N})()})(_i);var sr={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ar="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",ju={5:ar,"5module":ar+" export import",6:ar+" const class extends export import super"},qu=/^in(stanceof)?$/,Dr="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Oi="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Uu=new RegExp("["+Dr+"]"),Wu=new RegExp("["+Dr+Oi+"]");Dr=Oi=null;var Ri=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],Gu=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function lr(e,t){for(var r=65536,i=0;ie)return!1;if(r+=t[i+1],r>=e)return!0}}function Te(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Uu.test(String.fromCharCode(e)):t===!1?!1:lr(e,Ri)}function We(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Wu.test(String.fromCharCode(e)):t===!1?!1:lr(e,Ri)||lr(e,Gu)}var K=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function Ee(e,t){return new K(e,{beforeExpr:!0,binop:t})}var ye={beforeExpr:!0},De={startsExpr:!0},Pt={};function H(e,t){return t===void 0&&(t={}),t.keyword=e,Pt[e]=new K(e,t)}var h={num:new K("num",De),regexp:new K("regexp",De),string:new K("string",De),name:new K("name",De),eof:new K("eof"),bracketL:new K("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new K("]"),braceL:new K("{",{beforeExpr:!0,startsExpr:!0}),braceR:new K("}"),parenL:new K("(",{beforeExpr:!0,startsExpr:!0}),parenR:new K(")"),comma:new K(",",ye),semi:new K(";",ye),colon:new K(":",ye),dot:new K("."),question:new K("?",ye),questionDot:new K("?."),arrow:new K("=>",ye),template:new K("template"),invalidTemplate:new K("invalidTemplate"),ellipsis:new K("...",ye),backQuote:new K("`",De),dollarBraceL:new K("${",{beforeExpr:!0,startsExpr:!0}),eq:new K("=",{beforeExpr:!0,isAssign:!0}),assign:new K("_=",{beforeExpr:!0,isAssign:!0}),incDec:new K("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new K("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Ee("||",1),logicalAND:Ee("&&",2),bitwiseOR:Ee("|",3),bitwiseXOR:Ee("^",4),bitwiseAND:Ee("&",5),equality:Ee("==/!=/===/!==",6),relational:Ee("/<=/>=",7),bitShift:Ee("<>/>>>",8),plusMin:new K("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Ee("%",10),star:Ee("*",10),slash:Ee("/",10),starstar:new K("**",{beforeExpr:!0}),coalesce:Ee("??",1),_break:H("break"),_case:H("case",ye),_catch:H("catch"),_continue:H("continue"),_debugger:H("debugger"),_default:H("default",ye),_do:H("do",{isLoop:!0,beforeExpr:!0}),_else:H("else",ye),_finally:H("finally"),_for:H("for",{isLoop:!0}),_function:H("function",De),_if:H("if"),_return:H("return",ye),_switch:H("switch"),_throw:H("throw",ye),_try:H("try"),_var:H("var"),_const:H("const"),_while:H("while",{isLoop:!0}),_with:H("with"),_new:H("new",{beforeExpr:!0,startsExpr:!0}),_this:H("this",De),_super:H("super",De),_class:H("class",De),_extends:H("extends",ye),_export:H("export"),_import:H("import",De),_null:H("null",De),_true:H("true",De),_false:H("false",De),_in:H("in",{beforeExpr:!0,binop:7}),_instanceof:H("instanceof",{beforeExpr:!0,binop:7}),_typeof:H("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:H("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:H("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Ae=/\r\n?|\n|\u2028|\u2029/,Qe=new RegExp(Ae.source,"g");function et(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var Ar=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Fe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Mi=Object.prototype,zu=Mi.hasOwnProperty,$u=Mi.toString;function Nt(e,t){return zu.call(e,t)}var ui=Array.isArray||function(e){return $u.call(e)==="[object Array]"};function Ue(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var Ke=function(t,r){this.line=t,this.column=r};Ke.prototype.offset=function(t){return new Ke(this.line,this.column+t)};var mt=function(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function Cr(e,t){for(var r=1,i=0;;){Qe.lastIndex=i;var u=Qe.exec(e);if(u&&u.index=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),ui(t.onToken)){var i=t.onToken;t.onToken=function(u){return i.push(u)}}return ui(t.onComment)&&(t.onComment=Hu(t,t.onComment)),t}function Hu(e,t){return function(r,i,u,s,a,f){var p={type:r?"Block":"Line",value:i,start:u,end:s};e.locations&&(p.loc=new mt(this,a,f)),e.ranges&&(p.range=[u,s]),t.push(p)}}var ct=1,gt=2,Er=ct|gt,Vi=4,ji=8,qi=16,Ui=32,Wi=64,Gi=128;function yr(e,t){return gt|(e?Vi:0)|(t?ji:0)}var si=0,xr=1,Ie=2,zi=3,$i=4,Ji=5,re=function(t,r,i){this.options=t=Ju(t),this.sourceFile=t.sourceFile,this.keywords=Ue(ju[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var u="";if(t.allowReserved!==!0){for(var s=t.ecmaVersion;!(u=sr[s]);s--);t.sourceType==="module"&&(u+=" await")}this.reservedWords=Ue(u);var a=(u?u+" ":"")+sr.strict;this.reservedWordsStrict=Ue(a),this.reservedWordsStrictBind=Ue(a+" "+sr.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf(` +`,i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Ae).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=h.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ct),this.regexpState=null},ze={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};re.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};ze.inFunction.get=function(){return(this.currentVarScope().flags>)>0};ze.inGenerator.get=function(){return(this.currentVarScope().flags&ji)>0};ze.inAsync.get=function(){return(this.currentVarScope().flags&Vi)>0};ze.allowSuper.get=function(){return(this.currentThisScope().flags&Wi)>0};ze.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Gi)>0};ze.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};re.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags>)>0};re.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,u=0;u=,?^&]/.test(u)||u==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,Fe.lastIndex=e,e+=Fe.exec(this.input)[0].length,this.input[e]===";"&&e++}};me.eat=function(e){return this.type===e?(this.next(),!0):!1};me.isContextual=function(e){return this.type===h.name&&this.value===e&&!this.containsEsc};me.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};me.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};me.canInsertSemicolon=function(){return this.type===h.eof||this.type===h.braceR||Ae.test(this.input.slice(this.lastTokEnd,this.start))};me.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};me.semicolon=function(){!this.eat(h.semi)&&!this.insertSemicolon()&&this.unexpected()};me.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};me.expect=function(e){this.eat(e)||this.unexpected()};me.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};function Lt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}me.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}};me.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")};me.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(u,!1,!e);case h._class:return e&&this.unexpected(),this.parseClass(u,!0);case h._if:return this.parseIfStatement(u);case h._return:return this.parseReturnStatement(u);case h._switch:return this.parseSwitchStatement(u);case h._throw:return this.parseThrowStatement(u);case h._try:return this.parseTryStatement(u);case h._const:case h._var:return s=s||this.value,e&&s!=="var"&&this.unexpected(),this.parseVarStatement(u,s);case h._while:return this.parseWhileStatement(u);case h._with:return this.parseWithStatement(u);case h.braceL:return this.parseBlock(!0,u);case h.semi:return this.parseEmptyStatement(u);case h._export:case h._import:if(this.options.ecmaVersion>10&&i===h._import){Fe.lastIndex=this.pos;var a=Fe.exec(this.input),f=this.pos+a[0].length,p=this.input.charCodeAt(f);if(p===40||p===46)return this.parseExpressionStatement(u,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===h._import?this.parseImport(u):this.parseExport(u,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(u,!0,!e);var D=this.value,m=this.parseExpression();return i===h.name&&m.type==="Identifier"&&this.eat(h.colon)?this.parseLabeledStatement(u,D,m,e):this.parseExpressionStatement(u,m)}};G.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(h.semi)||this.insertSemicolon()?e.label=null:this.type!==h.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i=6?this.eat(h.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};G.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Fr),this.enterScope(0),this.expect(h.parenL),this.type===h.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===h._var||this.type===h._const||r){var i=this.startNode(),u=r?"let":this.value;return this.next(),this.parseVar(i,!0,u),this.finishNode(i,"VariableDeclaration"),(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===h._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var s=new Lt,a=this.parseExpression(!0,s);return this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===h._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(a,!1,s),this.checkLVal(a),this.parseForIn(e,a)):(this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,a))};G.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,at|(r?0:cr),!1,t)};G.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(h._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};G.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(h.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};G.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(h.braceL),this.labels.push(Qu),this.enterScope(0);for(var t,r=!1;this.type!==h.braceR;)if(this.type===h._case||this.type===h._default){var i=this.type===h._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(h.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};G.parseThrowStatement=function(e){return this.next(),Ae.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Ku=[];G.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===h._catch){var t=this.startNode();if(this.next(),this.eat(h.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?Ui:0),this.checkLVal(t.param,r?$i:Ie),this.expect(h.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(h._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};G.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};G.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Fr),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};G.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};G.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};G.parseLabeledStatement=function(e,t,r,i){for(var u=0,s=this.labels;u=0;p--){var D=this.labels[p];if(D.statementStart===e.start)D.statementStart=this.start,D.kind=f;else break}return this.labels.push({name:t,kind:f,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};G.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};G.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(h.braceL),e&&this.enterScope(0);this.type!==h.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};G.parseFor=function(e,t){return e.init=t,this.expect(h.semi),e.test=this.type===h.semi?null:this.parseExpression(),this.expect(h.semi),e.update=this.type===h.parenR?null:this.parseExpression(),this.expect(h.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};G.parseForIn=function(e,t){var r=this.type===h._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(h.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};G.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(h.eq)?i.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():i.id.type!=="Identifier"&&!(t&&(this.type===h._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(h.comma))break}return e};G.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?xr:Ie,!1)};var at=1,cr=2,Hi=4;G.parseFunction=function(e,t,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===h.star&&t&cr&&this.unexpected(),e.generator=this.eat(h.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&at&&(e.id=t&Hi&&this.type!==h.name?null:this.parseIdent(),e.id&&!(t&cr)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?xr:Ie:zi));var u=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(yr(e.async,e.generator)),t&at||(e.id=this.type===h.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=u,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&at?"FunctionDeclaration":"FunctionExpression")};G.parseFunctionParams=function(e){this.expect(h.parenL),e.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};G.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),u=!1;for(i.body=[],this.expect(h.braceL);this.type!==h.braceR;){var s=this.parseClassElement(e.superClass!==null);s&&(i.body.push(s),s.type==="MethodDefinition"&&s.kind==="constructor"&&(u&&this.raise(s.start,"Duplicate constructor in the same class"),u=!0))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};G.parseClassElement=function(e){var t=this;if(this.eat(h.semi))return null;var r=this.startNode(),i=function(p,D){D===void 0&&(D=!1);var m=t.start,y=t.startLoc;return t.eatContextual(p)?t.type!==h.parenL&&(!D||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(m,y),r.key.name=p,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=i("static");var u=this.eat(h.star),s=!1;u||(this.options.ecmaVersion>=8&&i("async",!0)?(s=!0,u=this.options.ecmaVersion>=9&&this.eat(h.star)):i("get")?r.kind="get":i("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var a=r.key,f=!1;return!r.computed&&!r.static&&(a.type==="Identifier"&&a.name==="constructor"||a.type==="Literal"&&a.value==="constructor")?(r.kind!=="method"&&this.raise(a.start,"Constructor can't have get/set modifier"),u&&this.raise(a.start,"Constructor can't be a generator"),s&&this.raise(a.start,"Constructor can't be an async method"),r.kind="constructor",f=e):r.static&&a.type==="Identifier"&&a.name==="prototype"&&this.raise(a.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,u,s,f),r.kind==="get"&&r.value.params.length!==0&&this.raiseRecoverable(r.value.start,"getter should have no params"),r.kind==="set"&&r.value.params.length!==1&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r};G.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")};G.parseClassId=function(e,t){this.type===h.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Ie,!1)):(t===!0&&this.unexpected(),e.id=null)};G.parseClassSuper=function(e){e.superClass=this.eat(h._extends)?this.parseExprSubscripts():null};G.parseExport=function(e,t){if(this.next(),this.eat(h.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==h.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(h._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===h._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,at|Hi,!1,r)}else if(this.type===h._class){var u=this.startNode();e.declaration=this.parseClass(u,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==h.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var s=0,a=e.specifiers;s=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,u=e.properties;i=8&&!s&&a.name==="async"&&!this.canInsertSemicolon()&&this.eat(h._function))return this.parseFunction(this.startNodeAt(i,u),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(h.arrow))return this.parseArrowExpression(this.startNodeAt(i,u),[a],!1);if(this.options.ecmaVersion>=8&&a.name==="async"&&this.type===h.name&&!s)return a=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(h.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,u),[a],!0)}return a;case h.regexp:var f=this.value;return t=this.parseLiteral(f.value),t.regex={pattern:f.pattern,flags:f.flags},t;case h.num:case h.string:return this.parseLiteral(this.value);case h._null:case h._true:case h._false:return t=this.startNode(),t.value=this.type===h._null?null:this.type===h._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case h.parenL:var p=this.start,D=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(D)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),D;case h.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(h.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case h.braceL:return this.parseObj(!1,e);case h._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case h._class:return this.parseClass(this.startNode(),!1);case h._new:return this.parseNew();case h.backQuote:return this.parseTemplate();case h._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}};z.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case h.parenL:return this.parseDynamicImport(e);case h.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}};z.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(h.parenR)){var t=this.start;this.eat(h.comma)&&this.eat(h.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};z.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};z.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};z.parseParenExpression=function(){this.expect(h.parenL);var e=this.parseExpression();return this.expect(h.parenR),e};z.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,i,u=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,a=this.startLoc,f=[],p=!0,D=!1,m=new Lt,y=this.yieldPos,A=this.awaitPos,C;for(this.yieldPos=0,this.awaitPos=0;this.type!==h.parenR;)if(p?p=!1:this.expect(h.comma),u&&this.afterTrailingComma(h.parenR,!0)){D=!0;break}else if(this.type===h.ellipsis){C=this.start,f.push(this.parseParenItem(this.parseRestBinding())),this.type===h.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else f.push(this.parseMaybeAssign(!1,m,this.parseParenItem));var v=this.start,E=this.startLoc;if(this.expect(h.parenR),e&&!this.canInsertSemicolon()&&this.eat(h.arrow))return this.checkPatternErrors(m,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=y,this.awaitPos=A,this.parseParenArrowList(t,r,f);(!f.length||D)&&this.unexpected(this.lastTokStart),C&&this.unexpected(C),this.checkExpressionErrors(m,!0),this.yieldPos=y||this.yieldPos,this.awaitPos=A||this.awaitPos,f.length>1?(i=this.startNodeAt(s,a),i.expressions=f,this.finishNodeAt(i,"SequenceExpression",v,E)):i=f[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var b=this.startNodeAt(t,r);return b.expression=i,this.finishNode(b,"ParenthesizedExpression")}else return i};z.parseParenItem=function(e){return e};z.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var Yu=[];z.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(h.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var i=this.start,u=this.startLoc,s=this.type===h._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,u,!0),s&&e.callee.type==="ImportExpression"&&this.raise(i,"Cannot use new with import()"),this.eat(h.parenL)?e.arguments=this.parseExprList(h.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Yu,this.finishNode(e,"NewExpression")};z.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===h.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` +`),cooked:this.value},this.next(),r.tail=this.type===h.backQuote,this.finishNode(r,"TemplateElement")};z.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===h.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(h.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(h.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};z.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===h.name||this.type===h.num||this.type===h.string||this.type===h.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===h.star)&&!Ae.test(this.input.slice(this.lastTokEnd,this.start))};z.parseObj=function(e,t){var r=this.startNode(),i=!0,u={};for(r.properties=[],this.next();!this.eat(h.braceR);){if(i)i=!1;else if(this.expect(h.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(h.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,u,t),r.properties.push(s)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};z.parseProperty=function(e,t){var r=this.startNode(),i,u,s,a;if(this.options.ecmaVersion>=9&&this.eat(h.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===h.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===h.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===h.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(s=this.start,a=this.startLoc),e||(i=this.eat(h.star)));var f=this.containsEsc;return this.parsePropertyName(r),!e&&!f&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(u=!0,i=this.options.ecmaVersion>=9&&this.eat(h.star),this.parsePropertyName(r,t)):u=!1,this.parsePropertyValue(r,e,i,u,s,a,t,f),this.finishNode(r,"Property")};z.parsePropertyValue=function(e,t,r,i,u,s,a,f){if((r||i)&&this.type===h.colon&&this.unexpected(),this.eat(h.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===h.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i);else if(!t&&!f&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==h.comma&&this.type!==h.braceR&&this.type!==h.eq){(r||i)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var p=e.kind==="get"?0:1;if(e.value.params.length!==p){var D=e.value.start;e.kind==="get"?this.raiseRecoverable(D,"getter should have no params"):this.raiseRecoverable(D,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=u),e.kind="init",t?e.value=this.parseMaybeDefault(u,s,e.key):this.type===h.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(u,s,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()};z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(h.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(h.bracketR),e.key;e.computed=!1}return e.key=this.type===h.num||this.type===h.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};z.parseMethod=function(e,t,r){var i=this.startNode(),u=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(yr(t,i.generator)|Wi|(r?Gi:0)),this.expect(h.parenL),i.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=u,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")};z.parseArrowExpression=function(e,t,r){var i=this.yieldPos,u=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(yr(r,!1)|qi),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=i,this.awaitPos=u,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")};z.parseFunctionBody=function(e,t,r){var i=t&&this.type!==h.braceL,u=this.strict,s=!1;if(i)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!u||a)&&(s=this.strictDirective(this.end),s&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var f=this.labels;this.labels=[],s&&(this.strict=!0),this.checkParams(e,!u&&!s&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Ji),e.body=this.parseBlock(!1,void 0,s&&!u),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=f}this.exitScope()};z.isSimpleParamList=function(e){for(var t=0,r=e;t-1||u.functions.indexOf(e)>-1||u.var.indexOf(e)>-1,u.lexical.push(e),this.inModule&&u.flags&ct&&delete this.undefinedExports[e]}else if(t===$i){var s=this.currentScope();s.lexical.push(e)}else if(t===zi){var a=this.currentScope();this.treatFunctionsAsVar?i=a.lexical.indexOf(e)>-1:i=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.functions.push(e)}else for(var f=this.scopeStack.length-1;f>=0;--f){var p=this.scopeStack[f];if(p.lexical.indexOf(e)>-1&&!(p.flags&Ui&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){i=!0;break}if(p.var.push(e),this.inModule&&p.flags&ct&&delete this.undefinedExports[e],p.flags&Er)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};Me.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Me.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Me.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Er)return t}};Me.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Er&&!(t.flags&qi))return t}};var Ot=function(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new mt(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Rt=re.prototype;Rt.startNode=function(){return new Ot(this,this.start,this.startLoc)};Rt.startNodeAt=function(e,t){return new Ot(this,e,t)};function Xi(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}Rt.finishNode=function(e,t){return Xi.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Rt.finishNodeAt=function(e,t,r,i){return Xi.call(this,e,t,r,i)};var xe=function(t,r,i,u,s){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=u,this.generator=!!s},ue={b_stat:new xe("{",!1),b_expr:new xe("{",!0),b_tmpl:new xe("${",!1),p_stat:new xe("(",!1),p_expr:new xe("(",!0),q_tmpl:new xe("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new xe("function",!1),f_expr:new xe("function",!0),f_expr_gen:new xe("function",!0,!1,null,!0),f_gen:new xe("function",!1,!1,null,!0)},Mt=re.prototype;Mt.initialContext=function(){return[ue.b_stat]};Mt.braceIsBlock=function(e){var t=this.curContext();return t===ue.f_expr||t===ue.f_stat?!0:e===h.colon&&(t===ue.b_stat||t===ue.b_expr)?!t.isExpr:e===h._return||e===h.name&&this.exprAllowed?Ae.test(this.input.slice(this.lastTokEnd,this.start)):e===h._else||e===h.semi||e===h.eof||e===h.parenR||e===h.arrow?!0:e===h.braceL?t===ue.b_stat:e===h._var||e===h._const||e===h.name?!1:!this.exprAllowed};Mt.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};Mt.updateContext=function(e){var t,r=this.type;r.keyword&&e===h.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};h.parenR.updateContext=h.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ue.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};h.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ue.b_stat:ue.b_expr),this.exprAllowed=!0};h.dollarBraceL.updateContext=function(){this.context.push(ue.b_tmpl),this.exprAllowed=!0};h.parenL.updateContext=function(e){var t=e===h._if||e===h._for||e===h._with||e===h._while;this.context.push(t?ue.p_stat:ue.p_expr),this.exprAllowed=!0};h.incDec.updateContext=function(){};h._function.updateContext=h._class.updateContext=function(e){e.beforeExpr&&e!==h.semi&&e!==h._else&&!(e===h._return&&Ae.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===h.colon||e===h.braceL)&&this.curContext()===ue.b_stat)?this.context.push(ue.f_expr):this.context.push(ue.f_stat),this.exprAllowed=!1};h.backQuote.updateContext=function(){this.curContext()===ue.q_tmpl?this.context.pop():this.context.push(ue.q_tmpl),this.exprAllowed=!1};h.star.updateContext=function(e){if(e===h._function){var t=this.context.length-1;this.context[t]===ue.f_expr?this.context[t]=ue.f_expr_gen:this.context[t]=ue.f_gen}this.exprAllowed=!0};h.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==h.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Qi="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Ki=Qi+" Extended_Pictographic",es=Ki,ts={9:Qi,10:Ki,11:es},ai="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Yi="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Zi=Yi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",rs=Zi+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",is={9:Yi,10:Zi,11:rs},en={};function vr(e){var t=en[e]={binary:Ue(ts[e]+" "+ai),nonBinary:{General_Category:Ue(ai),Script:Ue(is[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}vr(9);vr(10);vr(11);var j=re.prototype,Ne=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=en[t.options.ecmaVersion>=11?11:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Ne.prototype.reset=function(t,r,i){var u=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,this.switchU=u&&this.parser.options.ecmaVersion>=6,this.switchN=u&&this.parser.options.ecmaVersion>=9};Ne.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Ne.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,u=i.length;if(t>=u)return-1;var s=i.charCodeAt(t);if(!(r||this.switchU)||s<=55295||s>=57344||t+1>=u)return s;var a=i.charCodeAt(t+1);return a>=56320&&a<=57343?(s<<10)+a-56613888:s};Ne.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,u=i.length;if(t>=u)return u;var s=i.charCodeAt(t),a;return!(r||this.switchU)||s<=55295||s>=57344||t+1>=u||(a=i.charCodeAt(t+1))<56320||a>57343?t+1:t+2};Ne.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Ne.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Ne.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Ne.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};function kt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}j.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=0;i-1&&this.raise(e.start,"Duplicate regular expression flag")}};j.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};j.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};j.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};j.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};j.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,u=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(u=e.lastIntValue),e.eat(125)))return u!==-1&&u=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};j.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};j.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};j.regexp_eatSyntaxCharacter=function(e){var t=e.current();return tn(t)?(e.lastIntValue=t,e.advance(),!0):!1};function tn(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}j.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!tn(r);)e.advance();return e.pos!==t};j.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};j.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};j.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};j.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=kt(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=kt(e.lastIntValue);return!0}return!1};j.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ns(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ns(e){return Te(e,!0)||e===36||e===95}j.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),us(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function us(e){return We(e,!0)||e===36||e===95||e===8204||e===8205}j.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};j.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};j.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};j.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};j.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};j.regexp_eatZero=function(e){return e.current()===48&&!Vt(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};j.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};j.regexp_eatControlLetter=function(e){var t=e.current();return rn(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function rn(e){return e>=65&&e<=90||e>=97&&e<=122}j.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(i&&u>=55296&&u<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=(u-55296)*1024+(a-56320)+65536,!0}e.pos=s,e.lastIntValue=u}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&ss(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function ss(e){return e>=0&&e<=1114111}j.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};j.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};j.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(as(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1};function as(e){return e===100||e===68||e===115||e===83||e===119||e===87}j.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var u=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,u),!0}return!1};j.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Nt(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};j.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")};j.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";nn(t=e.current());)e.lastStringValue+=kt(t),e.advance();return e.lastStringValue!==""};function nn(e){return rn(e)||e===95}j.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";os(t=e.current());)e.lastStringValue+=kt(t),e.advance();return e.lastStringValue!==""};function os(e){return nn(e)||Vt(e)}j.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};j.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1};j.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};j.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||an(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1};j.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};j.regexp_eatClassControlLetter=function(e){var t=e.current();return Vt(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};j.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};j.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Vt(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function Vt(e){return e>=48&&e<=57}j.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;un(r=e.current());)e.lastIntValue=16*e.lastIntValue+sn(r),e.advance();return e.pos!==t};function un(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function sn(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}j.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};j.regexp_eatOctalDigit=function(e){var t=e.current();return an(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function an(e){return e>=48&&e<=55}j.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i=this.input.length)return this.finishToken(h.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};$.readToken=function(e){return Te(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};$.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};$.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){Qe.lastIndex=t;for(var i;(i=Qe.exec(this.input))&&i.index8&&e<14||e>=5760&&Ar.test(String.fromCharCode(e)))++this.pos;else break e}}};$.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};$.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(h.ellipsis)):(++this.pos,this.finishToken(h.dot))};$.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(h.assign,2):this.finishOp(h.slash,1)};$.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?h.star:h.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=h.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(h.assign,r+1):this.finishOp(i,r)};$.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(h.assign,3)}return this.finishOp(e===124?h.logicalOR:h.logicalAND,2)}return t===61?this.finishOp(h.assign,2):this.finishOp(e===124?h.bitwiseOR:h.bitwiseAND,1)};$.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(h.assign,2):this.finishOp(h.bitwiseXOR,1)};$.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ae.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(h.incDec,2):t===61?this.finishOp(h.assign,2):this.finishOp(h.plusMin,1)};$.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(h.assign,r+1):this.finishOp(h.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(h.relational,r))};$.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(h.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(h.arrow)):this.finishOp(e===61?h.eq:h.prefix,1)};$.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(h.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(h.assign,3)}return this.finishOp(h.coalesce,2)}}return this.finishOp(h.question,1)};$.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(h.parenL);case 41:return++this.pos,this.finishToken(h.parenR);case 59:return++this.pos,this.finishToken(h.semi);case 44:return++this.pos,this.finishToken(h.comma);case 91:return++this.pos,this.finishToken(h.bracketL);case 93:return++this.pos,this.finishToken(h.bracketR);case 123:return++this.pos,this.finishToken(h.braceL);case 125:return++this.pos,this.finishToken(h.braceR);case 58:return++this.pos,this.finishToken(h.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(h.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(h.prefix,1)}this.raise(this.pos,"Unexpected character '"+br(e)+"'")};$.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};$.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(Ae.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(i==="[")t=!0;else if(i==="]"&&t)t=!1;else if(i==="/"&&!t)break;e=i==="\\"}++this.pos}var u=this.input.slice(r,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var f=this.regexpState||(this.regexpState=new Ne(this));f.reset(r,u,a),this.validateRegExpFlags(f),this.validateRegExpPattern(f);var p=null;try{p=new RegExp(u,a)}catch{}return this.finishToken(h.regexp,{pattern:u,flags:a,value:p})};$.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,u=r&&this.input.charCodeAt(this.pos)===48,s=this.pos,a=0,f=0,p=0,D=t??1/0;p=97?y=m-97+10:m>=65?y=m-65+10:m>=48&&m<=57?y=m-48:y=1/0,y>=e)break;f=m,a=a*e+y}return i&&f===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||t!=null&&this.pos-s!==t?null:a};function ls(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function on(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}$.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=on(this.input.slice(t,this.pos)),++this.pos):Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(h.num,r)};$.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var u=on(this.input.slice(t,this.pos));return++this.pos,Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(h.num,u)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=ls(this.input.slice(t,this.pos),r);return this.finishToken(h.num,s)};$.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};function br(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}$.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(et(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(h.string,t)};var ln={};$.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===ln)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};$.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ln;this.raise(e,t)};$.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===h.template||this.type===h.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(h.dollarBraceL)):(++this.pos,this.finishToken(h.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(h.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(et(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` +`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};$.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],u=parseInt(i,8);return u>255&&(i=i.slice(0,-1),u=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(u)}return et(t)?"":String.fromCharCode(t)}};$.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};$.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};const oi=uu(ps);(function(e){const t=ds,r=/^[\da-fA-F]+$/,i=/^\d+$/,u=new WeakMap;function s(p){p=p.Parser.acorn||p;let D=u.get(p);if(!D){const m=p.tokTypes,y=p.TokContext,A=p.TokenType,C=new y("...",!0,!0),b={tc_oTag:C,tc_cTag:v,tc_expr:E},T={jsxName:new A("jsxName"),jsxText:new A("jsxText",{beforeExpr:!0}),jsxTagStart:new A("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new A("jsxTagEnd")};T.jsxTagStart.updateContext=function(){this.context.push(E),this.context.push(C),this.exprAllowed=!1},T.jsxTagEnd.updateContext=function(I){let V=this.context.pop();V===C&&I===m.slash||V===v?(this.context.pop(),this.exprAllowed=this.curContext()===E):this.exprAllowed=!0},D={tokContexts:b,tokTypes:T},u.set(p,D)}return D}function a(p){if(!p)return p;if(p.type==="JSXIdentifier")return p.name;if(p.type==="JSXNamespacedName")return p.namespace.name+":"+p.name.name;if(p.type==="JSXMemberExpression")return a(p.object)+"."+a(p.property)}e.exports=function(p){return p=p||{},function(D){return f({allowNamespaces:p.allowNamespaces!==!1,allowNamespacedObjects:!!p.allowNamespacedObjects},D)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return s(oi).tokTypes},configurable:!0,enumerable:!0});function f(p,D){const m=D.acorn||oi,y=s(m),A=m.tokTypes,C=y.tokTypes,v=m.tokContexts,E=y.tokContexts.tc_oTag,b=y.tokContexts.tc_cTag,T=y.tokContexts.tc_expr,I=m.isNewLine,V=m.isIdentifierStart,S=m.isIdentifierChar;return class extends D{static get acornJsx(){return y}jsx_readToken(){let g="",x=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let F=this.input.charCodeAt(this.pos);switch(F){case 60:case 123:return this.pos===this.start?F===60&&this.exprAllowed?(++this.pos,this.finishToken(C.jsxTagStart)):this.getTokenFromCode(F):(g+=this.input.slice(x,this.pos),this.finishToken(C.jsxText,g));case 38:g+=this.input.slice(x,this.pos),g+=this.jsx_readEntity(),x=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(F===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:I(F)?(g+=this.input.slice(x,this.pos),g+=this.jsx_readNewLine(!0),x=this.pos):++this.pos}}}jsx_readNewLine(g){let x=this.input.charCodeAt(this.pos),F;return++this.pos,x===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,F=g?` +`:`\r +`):F=String.fromCharCode(x),this.options.locations&&(++this.curLine,this.lineStart=this.pos),F}jsx_readString(g){let x="",F=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let B=this.input.charCodeAt(this.pos);if(B===g)break;B===38?(x+=this.input.slice(F,this.pos),x+=this.jsx_readEntity(),F=this.pos):I(B)?(x+=this.input.slice(F,this.pos),x+=this.jsx_readNewLine(!1),F=this.pos):++this.pos}return x+=this.input.slice(F,this.pos++),this.finishToken(A.string,x)}jsx_readEntity(){let g="",x=0,F,B=this.input[this.pos];B!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let R=++this.pos;for(;this.pos")}let W=R.name?"Element":"Fragment";return F["opening"+W]=R,F["closing"+W]=N,F.children=B,this.type===A.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(F,"JSX"+W)}jsx_parseText(){let g=this.parseLiteral(this.value);return g.type="JSXText",g}jsx_parseElement(){let g=this.start,x=this.startLoc;return this.next(),this.jsx_parseElementAt(g,x)}parseExprAtom(g){return this.type===C.jsxText?this.jsx_parseText():this.type===C.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(g)}readToken(g){let x=this.curContext();if(x===T)return this.jsx_readToken();if(x===E||x===b){if(V(g))return this.jsx_readWord();if(g==62)return++this.pos,this.finishToken(C.jsxTagEnd);if((g===34||g===39)&&x==E)return this.jsx_readString(g)}return g===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(C.jsxTagStart)):super.readToken(g)}updateContext(g){if(this.type==A.braceL){var x=this.curContext();x==E?this.context.push(v.b_expr):x==T?this.context.push(v.b_tmpl):super.updateContext(g),this.exprAllowed=!0}else if(this.type===A.slash&&g===C.jsxTagStart)this.context.length-=2,this.context.push(b),this.exprAllowed=!1;else return super.updateContext(g)}}}})(hn);var ms=hn.exports;const gs=pt(ms);function fn(e,t,r,i,u){r||(r=P),function s(a,f,p){var D=p||a.type,m=t[D];r[D](a,f,s),m&&m(a,f)}(e,i,u)}function Ds(e,t,r,i,u){var s=[];r||(r=P),function a(f,p,D){var m=D||f.type,y=t[m],A=f!==s[s.length-1];A&&s.push(f),r[m](f,p,a),y&&y(f,p||s,s),A&&s.pop()}(e,i,u)}function Sr(e,t,r){r(e,t)}function $e(e,t,r){}var P={};P.Program=P.BlockStatement=function(e,t,r){for(var i=0,u=e.body;i + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */function li(e){return Object.prototype.toString.call(e)==="[object Object]"}function Os(e){var t,r;return li(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(li(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var dn={},It=lt&<.__assign||function(){return It=Object.assign||function(e){for(var t,r=1,i=arguments.length;re.length)&&(t=e.length);for(var r=0,i=new Array(t);r0?e.length-1:0),i=e[e.length-1];return i&&(t.type==="string"||t.type==="number")&&(i.type==="string"||i.type==="number")?r.push(Dn(String(i.value)+String(t.value))):(i&&r.push(i),r.push(t)),r},la=function(t){return["key","ref"].includes(t)},ca=function(e){return function(t){var r=t.includes("key"),i=t.includes("ref"),u=t.filter(function(a){return!la(a)}),s=ci(e?u.sort():u);return i&&s.unshift("ref"),r&&s.unshift("key"),s}};function ha(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var fa=function(t,r,i,u,s){var a=s.tabStop;return t.type==="string"?r.split(` +`).map(function(f,p){return p===0?f:"".concat(ke(u,a)).concat(f)}).join(` +`):r},pa=function(t,r,i){return function(u){return fa(u,Kt(u,t,r,i),t,r,i)}},da=function(t,r){return function(i){var u=Object.keys(t).includes(i);return!u||u&&t[i]!==r[i]}},En=function(t,r,i,u,s){return s?ke(i,u).length+r.length>s:t.length>1},ma=function(t,r,i,u,s,a,f){return(En(t,r,s,a,f)||i)&&!u},yn=function(e,t,r,i){var u=e.type,s=e.displayName,a=s===void 0?"":s,f=e.childrens,p=e.props,D=p===void 0?{}:p,m=e.defaultProps,y=m===void 0?{}:m;if(u!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(u));var A=i.filterProps,C=i.maxInlineAttributesLineLength,v=i.showDefaultProps,E=i.sortProps,b=i.tabStop,T="<".concat(a),I=T,V=T,S=!1,g=[],x=ha(D,A);Object.keys(D).filter(x).filter(da(y,D)).forEach(function(R){return g.push(R)}),Object.keys(y).filter(x).filter(function(){return v}).filter(function(R){return!g.includes(R)}).forEach(function(R){return g.push(R)});var F=ca(E)(g);if(F.forEach(function(R){var N=aa(R,Object.keys(D).includes(R),D[R],Object.keys(y).includes(R),y[R],t,r,i),W=N.attributeFormattedInline,q=N.attributeFormattedMultiline,M=N.isMultilineAttribute;M&&(S=!0),I+=W,V+=q}),V+=` +`.concat(ke(r,b)),ma(F,I,S,t,r,b,C)?T=V:T=I,f&&f.length>0){var B=r+1;T+=">",t||(T+=` +`,T+=ke(B,b)),T+=f.reduce(oa,[]).map(pa(t,B,i)).join(t?"":` +`.concat(ke(B,b))),t||(T+=` +`,T+=ke(B-1,b)),T+="")}else En(F,I,r,b,C)||(T+=" "),T+="/>";return T},ga="",di="React.Fragment",Da=function(t,r,i){var u={};return r&&(u={key:r}),{type:"ReactElement",displayName:t,props:u,defaultProps:{},childrens:i}},Aa=function(t){var r=t.key;return!!r},Ca=function(t){var r=t.childrens;return r.length===0},Ea=function(e,t,r,i){var u=e.type,s=e.key,a=e.childrens;if(u!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(u));var f=i.useFragmentShortSyntax,p;return f?Ca(e)||Aa(e)?p=di:p=ga:p=di,yn(Da(p,s,a),t,r,i)},ya=["<",">","{","}"],xa=function(t){return ya.some(function(r){return t.includes(r)})},Fa=function(t){return xa(t)?"{`".concat(t,"`}"):t},va=function(t){var r=t;return r.endsWith(" ")&&(r=r.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),r.startsWith(" ")&&(r=r.replace(/^(\s+)(.*)$/,"{'$1'}$2")),r},Kt=function(e,t,r,i){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(va(Fa(String(e.value)))):"";if(e.type==="ReactElement")return yn(e,t,r,i);if(e.type==="ReactFragment")return Ea(e,t,r,i);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},ba=function(e,t){return Kt(e,!1,0,t)},ot=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.filterProps,u=i===void 0?[]:i,s=r.showDefaultProps,a=s===void 0?!0:s,f=r.showFunctions,p=f===void 0?!1:f,D=r.functionValue,m=r.tabStop,y=m===void 0?2:m,A=r.useBooleanShorthandSyntax,C=A===void 0?!0:A,v=r.useFragmentShortSyntax,E=v===void 0?!0:v,b=r.sortProps,T=b===void 0?!0:b,I=r.maxInlineAttributesLineLength,V=r.displayName;if(!t)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var S={filterProps:u,showDefaultProps:a,showFunctions:p,functionValue:D,tabStop:y,useBooleanShorthandSyntax:C,useFragmentShortSyntax:E,sortProps:T,maxInlineAttributesLineLength:I,displayName:V};return ba(wr(t,S),S)};const{defaultDecorateStory:Sa,addons:_a,useEffect:Ba}=__STORYBOOK_MODULE_PREVIEW_API__,{logger:bt}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function wa(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let u=[];if(r){let s=e.map(a=>{let f=a.getPrettyName(),p=a.getTypeName();return p!=null?`${f}: ${p}`:f});u.push(`(${s.join(", ")})`)}else u.push("()");return i&&u.push(`=> ${t.getTypeName()}`),u.join(" ")}function ka(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let u=[];return r?u.push("( ... )"):u.push("()"),i&&u.push(`=> ${t.getTypeName()}`),u.join(" ")}function Ia(e){return e.replace(/,/g,`,\r +`)}var pr="custom",Dt="object",kr="array",Ta="class",Ye="func",tt="element";function Ir(e){return du.includes(e.toLowerCase())}var xn={format:{indent:{style:" "},semicolons:!1}},Pa={...xn,format:{newline:""}},Na={...xn};function Oe(e,t=!1){return _i.generate(e,t?Pa:Na)}function dr(e,t=!1){return t?La(e):Oe(e)}function La(e){let t=Oe(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function mi(e,t=!1){return t?Ra(e):Oa(e)}function Oa(e){let t=Oe(e);return t.endsWith(" }]")&&(t=su(t)),t}function Ra(e){let t=Oe(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}var Fn=e=>e.$$typeof===Symbol.for("react.memo"),Ma=e=>e.$$typeof===Symbol.for("react.forward_ref"),Tr={...P,JSXElement:()=>{}},Va=re.extend(gs());function At(e){return e!=null?e.name:null}function gi(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function vn(e){let t=[];return Ds(e,{ObjectExpression(r,i){t.push(gi(i).length)},ArrayExpression(r,i){t.push(gi(i).length)}},Tr),Math.max(...t)}function ja(e){return{inferredType:{type:"Identifier",identifier:At(e)},ast:e}}function qa(e){return{inferredType:{type:"Literal"},ast:e}}function Ua(e){let t;fn(e.body,{JSXElement(u){t=u}},Tr);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},i=At(e.id);return i!=null&&(r.identifier=i),{inferredType:r,ast:e}}function Wa(e){let t;return fn(e.body,{JSXElement(r){t=r}},Tr),{inferredType:{type:t!=null?"Element":"Class",identifier:At(e.id)},ast:e}}function Ga(e){let t={type:"Element"},r=At(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function za(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return At(t)==="shape"?bn(e.arguments[0]):null}function bn(e){return{inferredType:{type:"Object",depth:vn(e)},ast:e}}function $a(e){return{inferredType:{type:"Array",depth:vn(e)},ast:e}}function Ja(e){switch(e.type){case"Identifier":return ja(e);case"Literal":return qa(e);case"FunctionExpression":case"ArrowFunctionExpression":return Ua(e);case"ClassExpression":return Wa(e);case"JSXElement":return Ga(e);case"CallExpression":return za(e);case"ObjectExpression":return bn(e);case"ArrayExpression":return $a(e);default:return null}}function Ha(e){let t=Va.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let i=t.body[0];switch(i.type){case"ExpressionStatement":{let u=Ja(i.expression);u!=null&&(r=u);break}}}return r}function Re(e){try{return{...Ha(e)}}catch{}return{inferredType:{type:"Unknown"}}}var Xa=150;function de({name:e,short:t,compact:r,full:i,inferredType:u}){return{name:e,short:t,compact:r,full:i??t,inferredType:u}}function Sn(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function Di(e){return e.split(/\r?\n/)}function Tt(e,t=!1){return Sn(dr(e,t))}function Ai(e,t=!1){return Sn(Oe(e,t))}function Qa(e){switch(e){case"Object":return Dt;case"Array":return kr;case"Class":return Ta;case"Function":return Ye;case"Element":return tt;default:return pr}}function _n(e,t){let{inferredType:r,ast:i}=Re(e),{type:u}=r,s,a,f;switch(u){case"Identifier":case"Literal":s=e,a=e;break;case"Object":{let{depth:p}=r;s=Dt,a=p===1?Tt(i,!0):null,f=Tt(i);break}case"Element":{let{identifier:p}=r;s=p!=null&&!Ir(p)?p:tt,a=Di(e).length===1?e:null,f=e;break}case"Array":{let{depth:p}=r;s=kr,a=p<=2?Ai(i,!0):null,f=Ai(i);break}default:s=Qa(u),a=Di(e).length===1?e:null,f=e;break}return de({name:t,short:s,compact:a,full:f,inferredType:u})}function Ka({raw:e}){return e!=null?_n(e,"custom"):de({name:"custom",short:pr,compact:pr})}function Ya(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?de({name:"func",short:ka(t.params,t.returns),compact:null,full:wa(t.params,t.returns)}):de({name:"func",short:Ye,compact:Ye})}function Za(e,t){let r=Object.keys(e.value).map(a=>`${a}: ${Ze(e.value[a],t).full}`).join(", "),{inferredType:i,ast:u}=Re(`{ ${r} }`),{depth:s}=i;return de({name:"shape",short:Dt,compact:s===1&&u?Tt(u,!0):null,full:u?Tt(u):null})}function or(e){return`objectOf(${e})`}function eo(e,t){let{short:r,compact:i,full:u}=Ze(e.value,t);return de({name:"objectOf",short:or(r),compact:i!=null?or(i):null,full:u&&or(u)})}function to(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((i,u)=>{let{short:s,compact:a,full:f}=Ze(u,t);return i.short.push(s),i.compact.push(a),i.full.push(f),i},{short:[],compact:[],full:[]});return de({name:"union",short:r.short.join(" | "),compact:r.compact.every(i=>i!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return de({name:"union",short:e.value,compact:null})}function ro({value:e,computed:t}){return t?_n(e,"enumvalue"):de({name:"enumvalue",short:e,compact:e})}function io(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,i)=>{let{short:u,compact:s,full:a}=ro(i);return r.short.push(u),r.compact.push(s),r.full.push(a),r},{short:[],compact:[],full:[]});return de({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return de({name:"enum",short:e.value,compact:e.value})}function mr(e){return`${e}[]`}function Ci(e){return`[${e}]`}function Ei(e,t,r){return de({name:"arrayOf",short:mr(e),compact:t!=null?Ci(t):null,full:r&&Ci(r)})}function no(e,t){let{name:r,short:i,compact:u,full:s,inferredType:a}=Ze(e.value,t);if(r==="custom"){if(a==="Object")return Ei(i,u,s)}else if(r==="shape")return Ei(i,u,s);return de({name:"arrayOf",short:mr(i),compact:mr(i)})}function Ze(e,t){try{switch(e.name){case"custom":return Ka(e);case"func":return Ya(t);case"shape":return Za(e,t);case"instanceOf":return de({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return eo(e,t);case"union":return to(e,t);case"enum":return io(e);case"arrayOf":return no(e,t);default:return de({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return de({name:"unknown",short:"unknown",compact:"unknown"})}function uo(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:r,compact:i,full:u}=Ze(t,e);return i!=null&&!nu(i)?te(i):u?te(r,u):te(r)}case"func":{let{short:r,full:i}=Ze(t,e),u=r,s;return i&&i.length`}function kn(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Pr(r,e.hasParams);case"Element":return Yt(r);default:return r}}function so({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return te(kn(e),Oe(t));let i=Oe(t,!0);return ft(i)?te(Ye,Oe(t)):te(i)}function ao(e,t){let{inferredType:r}=t,{identifier:i}=r;if(i!=null&&!Ir(i)){let u=kn(r);return te(u,e)}return ft(e)?te(tt,e):te(e)}function In(e){try{let t=Re(e);switch(t.inferredType.type){case"Object":return Bn(t);case"Function":return so(t);case"Element":return ao(e,t);case"Array":return wn(t);default:return null}}catch(t){console.error(t)}return null}function Tn(e){return e.$$typeof!=null}function Pn(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var oo=e=>te(JSON.stringify(e));function lo(e){let{type:t}=e,{displayName:r}=t,i=ot(e,{});if(r!=null){let u=Yt(r);return te(u,i)}if(Ls(t)&&Ir(t)){let u=ot(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!ft(u))return te(u)}return te(tt,i)}var co=e=>{if(Tn(e)&&e.type!=null)return lo(e);if(Bs(e)){let t=Re(JSON.stringify(e));return Bn(t)}if(Array.isArray(e)){let t=Re(JSON.stringify(e));return wn(t)}return te(Dt)},ho=(e,t)=>{let r=!1,i;if(Gr(e.render))r=!0;else if(e.prototype!=null&&Gr(e.prototype.render))r=!0;else{let s;try{i=Re(e.toString());let{hasParams:a,params:f}=i.inferredType;a?f.length===1&&f[0].type==="ObjectPattern"&&(s=e({})):s=e(),s!=null&&Tn(s)&&(r=!0)}catch{}}let u=Pn(e,t.name);if(u!=null){if(r)return te(Yt(u));i!=null&&(i=Re(e.toString()));let{hasParams:s}=i.inferredType;return te(Pr(u,s))}return te(r?tt:Ye)},fo=e=>te(e.toString()),Nn={string:oo,object:co,function:ho,default:fo};function po(e={}){return{...Nn,...e}}function mo(e,t,r=Nn){try{switch(typeof e){case"string":return r.string(e,t);case"object":return r.object(e,t);case"function":return r.function(e,t);default:return r.default(e,t)}}catch(i){console.error(i)}return null}function go(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(i=>e.find(u=>u.name===i)).filter(Boolean):e}var Do=(e,{name:t,type:r})=>{let i=(r==null?void 0:r.summary)==="element"||(r==null?void 0:r.summary)==="elementType",u=Pn(e,t);if(u!=null){if(i)return te(Yt(u));let{hasParams:s}=Re(e.toString()).inferredType;return te(Pr(u,s))}return te(i?tt:Ye)},Ao=po({function:Do});function Co(e,t){let{propDef:r}=e,i=uo(e);i!=null&&(r.type=i);let{defaultValue:u}=e.docgenInfo;if(u!=null&&u.value!=null){let s=In(u.value);s!=null&&(r.defaultValue=s)}else if(t!=null){let s=mo(t,r,Ao);s!=null&&(r.defaultValue=s)}return r}function Eo(e,t){let r=t.defaultProps!=null?t.defaultProps:{},i=e.map(u=>Co(u,r[u.propDef.name]));return go(i,t)}function yo(e,t){let{propDef:r}=e,{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let u=In(i.value);u!=null&&(r.defaultValue=u)}return r}function xo(e){return e.map(t=>yo(t))}var yi=new Map;Object.keys(Jr).forEach(e=>{let t=Jr[e];yi.set(t,e),yi.set(t.isRequired,e)});function Fo(e,t){let r=e;!ru(e)&&!e.propTypes&&Fn(e)&&(r=e.type);let i=iu(r,t);if(i.length===0)return[];switch(i[0].typeSystem){case zr.JAVASCRIPT:return Eo(i,e);case zr.TYPESCRIPT:return xo(i);default:return i.map(u=>u.propDef)}}var vo=e=>({rows:Fo(e,"props")}),bo=e=>{if(e){let{rows:t}=vo(e);if(t)return t.reduce((r,i)=>{let{name:u,description:s,type:a,sbType:f,defaultValue:p,jsDocTags:D,required:m}=i;return r[u]={name:u,description:s,type:{required:m,...f},table:{type:a??void 0,jsDocTags:D,defaultValue:p??void 0}},r},{})}return null},So=e=>e.charAt(0).toUpperCase()+e.slice(1),_o=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(So).join("")).join(".");function gr(e){if(Ge.isValidElement(e)){let t=Object.keys(e.props).reduce((r,i)=>(r[i]=gr(e.props[i]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(gr):e}var Bo=(e,t)=>{if(typeof e>"u")return bt.warn("Too many skip or undefined component"),null;let r=e,i=r.type;for(let a=0;a<(t==null?void 0:t.skip);a+=1){if(typeof r>"u")return bt.warn("Cannot skip undefined element"),null;if(st.Children.count(r)>1)return bt.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(bt.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=st.createElement(i,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let u;typeof(t==null?void 0:t.displayName)=="string"?u={showFunctions:!0,displayName:()=>t.displayName}:u={displayName:a=>{var f;return a.type.displayName?a.type.displayName:$r(a.type,"displayName")?$r(a.type,"displayName"):(f=a.type.render)!=null&&f.displayName?a.type.render.displayName:typeof a.type=="symbol"||a.type.$$typeof&&typeof a.type.$$typeof=="symbol"?_o(a.type):a.type.name&&a.type.name!=="_default"?a.type.name:typeof a.type=="function"?"No Display Name":Ma(a.type)?a.type.render.name:Fn(a.type)?a.type.type.name:a.type}};let s={...u,filterProps:(a,f)=>a!==void 0,...t};return st.Children.map(e,a=>{let f=typeof a=="number"?a.toString():a,p=(typeof ot=="function"?ot:ot.default)(gr(f),s);if(p.indexOf(""")>-1){let D=p.match(/\S+=\\"([^"]*)\\"/g);D&&D.forEach(m=>{p=p.replace(m,m.replace(/"/g,"'"))})}return p}).join(` +`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},wo={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},ko=e=>{var i;let t=(i=e==null?void 0:e.parameters.docs)==null?void 0:i.source,r=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Wr.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Wr.CODE},Io=e=>{var t,r;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((r=e.props)!=null&&r.mdxType)},Ln=e=>{if(!Io(e))return e;let{mdxType:t,originalType:r,children:i,...u}=e.props,s=[];return i&&(s=(Array.isArray(i)?i:[i]).map(Ln)),Ge.createElement(r,u,...s)},On=(e,t)=>{var m,y;let r=_a.getChannel(),i=ko(t),u="";Ba(()=>{if(!i){let{id:A,unmappedArgs:C}=t;r.emit(tu,{id:A,source:u,args:C})}});let s=e();if(i)return s;let a={...wo,...(t==null?void 0:t.parameters.jsx)||{}},f=(y=(m=t==null?void 0:t.parameters.docs)==null?void 0:m.source)!=null&&y.excludeDecorators?t.originalStoryFn(t.args,t):s,p=Ln(f),D=Bo(p,a);return D&&(u=D),s},Lo=(e,t)=>{let r=t.findIndex(u=>u.originalFn===On),i=r===-1?t:[...t.splice(r,1),...t];return Sa(e,i)},Oo={docs:{story:{inline:!0},extractArgTypes:bo,extractComponentDescription:Zn}},Ro=[On],Mo=[eu];export{Lo as applyDecorators,Mo as argTypesEnhancers,Ro as decorators,Oo as parameters}; diff --git a/assets/featured-tag-qlYek531.js b/assets/featured-tag-CWHGYRe3.js similarity index 76% rename from assets/featured-tag-qlYek531.js rename to assets/featured-tag-CWHGYRe3.js index d0fb1808..bb918635 100644 --- a/assets/featured-tag-qlYek531.js +++ b/assets/featured-tag-CWHGYRe3.js @@ -1 +1 @@ -import{j as t}from"./jsx-runtime-DvLKfCe6.js";import{c as s}from"./class-names-J070TWId.js";const r=({children:e,className:a})=>t.jsx("span",{className:s("absolute right-4 top-0 z-10 -translate-y-1/2 rounded border border-primary-600 bg-primary-50 px-1 text-xs font-medium uppercase tracking-wide text-primary-600",a),children:e});try{r.displayName="FeaturedTag",r.__docgenInfo={description:"",displayName:"FeaturedTag",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}export{r as F}; +import{j as t}from"./jsx-runtime-B57y5fZt.js";import{c as s}from"./class-names-B8CnD4Xb.js";const r=({children:e,className:a})=>t.jsx("span",{className:s("absolute right-4 top-0 z-10 -translate-y-1/2 rounded border border-primary-600 bg-primary-50 px-1 text-xs font-medium uppercase tracking-wide text-primary-600",a),children:e});try{r.displayName="FeaturedTag",r.__docgenInfo={description:"",displayName:"FeaturedTag",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}export{r as F}; diff --git a/assets/featured-tag.stories-bInCR4MF.js b/assets/featured-tag.stories-cpzg6gtW.js similarity index 59% rename from assets/featured-tag.stories-bInCR4MF.js rename to assets/featured-tag.stories-cpzg6gtW.js index 7b03dbb2..68e9af97 100644 --- a/assets/featured-tag.stories-bInCR4MF.js +++ b/assets/featured-tag.stories-cpzg6gtW.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-DvLKfCe6.js";import{r as x}from"./index-aXz8NaAs.js";import{F as t}from"./featured-tag-qlYek531.js";import{P as h}from"./panel-D9tNMj6A.js";import{F as r}from"./form-field-6eUfOaJj.js";import"./class-names-J070TWId.js";import"./zoom-to-fit-icon-D5bxa5rH.js";import"./render-THca3tYe.js";import"./keyboard-NjAwe_S6.js";import"./focus-management-9lqV-5sA.js";import"./disposables-x8EK1kJp.js";import"./owner-zdel76gv.js";import"./use-flags-F5kSKS15.js";import"./use-is-mounted-JxO49gTk.js";import"./label-tTJj5301.js";import"./description-rwhSs07y.js";import"./use-text-value-K_DgwPe6.js";import"./hidden-G4mt23Ky.js";import"./bugs-DTVvle51.js";import"./use-disposables-qU89AwEH.js";import"./open-closed-arTWCtx2.js";import"./use-resolve-button-type-Iz3xK6-2.js";import"./use-owner-6in2YdcT.js";import"./badge-fqfuhG_-.js";import"./platform-mHIZTaYY.js";import"./tag-KADc8xh0.js";const H={title:"Input/FeaturedTag",component:t},j=()=>{const[c,l]=x.useState("value_1");return e.jsx("div",{className:"w-96",children:e.jsx(r,{children:e.jsxs(r.RadioBox,{value:c,onChange:u=>{l(u)},id:"value",children:[e.jsxs(r.RadioBox.Option,{value:"option_1",children:["Option 1",e.jsx(t,{children:"Recommended!"})]}),e.jsx(r.RadioBox.Option,{value:"option_2",children:"Option 2"}),e.jsx(r.RadioBox.Option,{value:"option_3",children:"Option 3"})]})})})},o={render:()=>e.jsx(j,{})},a={render:()=>e.jsx("div",{className:"w-96",children:e.jsxs(h,{className:"relative",children:[e.jsx("p",{children:"This example uses a Panel component"}),e.jsx(t,{children:"Recommended!"})]})})};var i,n,s;o.parameters={...o.parameters,docs:{...(i=o.parameters)==null?void 0:i.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-B57y5fZt.js";import{r as x}from"./index-ebcBgdYO.js";import{F as t}from"./featured-tag-CWHGYRe3.js";import{P as h}from"./panel-sXU1EDOq.js";import{F as r}from"./form-field-DvjiF2cs.js";import"./class-names-B8CnD4Xb.js";import"./zoom-to-fit-icon-DLvbqD3B.js";import"./render-BBULYOlI.js";import"./keyboard-6YZ08te-.js";import"./focus-management-CO_y2GRp.js";import"./disposables-C2E3IOeh.js";import"./owner-Di-Chxds.js";import"./use-flags-CXYxB9RW.js";import"./use-is-mounted-V11-xH6f.js";import"./label-DM5sTrnd.js";import"./description-BuX7rO1I.js";import"./use-text-value-DoNDUPYh.js";import"./hidden-BiaaAo9r.js";import"./bugs-DpEN4NTH.js";import"./use-disposables-BYdaWtl0.js";import"./open-closed-C7VEErGe.js";import"./use-resolve-button-type-BadQLjH2.js";import"./use-owner-CYYYWs7j.js";import"./badge-Bpu_07Lu.js";import"./platform-CkjJx1Ap.js";import"./tag-BUaKHE7W.js";const H={title:"Input/FeaturedTag",component:t},j=()=>{const[c,l]=x.useState("value_1");return e.jsx("div",{className:"w-96",children:e.jsx(r,{children:e.jsxs(r.RadioBox,{value:c,onChange:u=>{l(u)},id:"value",children:[e.jsxs(r.RadioBox.Option,{value:"option_1",children:["Option 1",e.jsx(t,{children:"Recommended!"})]}),e.jsx(r.RadioBox.Option,{value:"option_2",children:"Option 2"}),e.jsx(r.RadioBox.Option,{value:"option_3",children:"Option 3"})]})})})},o={render:()=>e.jsx(j,{})},a={render:()=>e.jsx("div",{className:"w-96",children:e.jsxs(h,{className:"relative",children:[e.jsx("p",{children:"This example uses a Panel component"}),e.jsx(t,{children:"Recommended!"})]})})};var i,n,s;o.parameters={...o.parameters,docs:{...(i=o.parameters)==null?void 0:i.docs,source:{originalSource:`{ render: () => { return ; } diff --git a/assets/focus-management-9lqV-5sA.js b/assets/focus-management-CO_y2GRp.js similarity index 95% rename from assets/focus-management-9lqV-5sA.js rename to assets/focus-management-CO_y2GRp.js index ade5b182..4295e589 100644 --- a/assets/focus-management-9lqV-5sA.js +++ b/assets/focus-management-CO_y2GRp.js @@ -1 +1 @@ -import{o as h}from"./disposables-x8EK1kJp.js";import{u as F}from"./render-THca3tYe.js";import{e as f}from"./owner-zdel76gv.js";let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var b=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(b||{}),x=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(x||{}),p=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(p||{});function m(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(d)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var y=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(y||{});function w(e,t=0){var r;return e===((r=f(e))==null?void 0:r.body)?!1:F(t,{0(){return e.matches(d)},1(){let n=e;for(;n!==null;){if(n.matches(d))return!0;n=n.parentElement}return!1}})}function g(e){let t=f(e);h().nextFrame(()=>{t&&!w(t.activeElement,0)&&O(e)})}var S=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(S||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function O(e){e==null||e.focus({preventScroll:!0})}let A=["textarea","input"].join(",");function M(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,A))!=null?r:!1}function I(e,t=r=>r){return e.slice().sort((r,n)=>{let l=t(r),s=t(n);if(l===null||s===null)return 0;let o=l.compareDocumentPosition(s);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function D(e,t){return L(m(),t,{relativeTo:e})}function L(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:l=[]}={}){let s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?r?I(e):e:m(e);l.length>0&&o.length>1&&(o=o.filter(u=>!l.includes(u))),n=n??s.activeElement;let E=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),v=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(n))-1;if(t&4)return Math.max(0,o.indexOf(n))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),N=t&32?{preventScroll:!0}:{},c=0,a=o.length,i;do{if(c>=a||c+a<=0)return 0;let u=v+c;if(t&16)u=(u+a)%a;else{if(u<0)return 3;if(u>=a)return 1}i=o[u],i==null||i.focus(N),c+=E}while(i!==s.activeElement);return t&6&&M(i)&&i.select(),2}export{g as D,I,b as M,x as N,L as O,y as T,D as _,m as f,w as h,O as y}; +import{o as h}from"./disposables-C2E3IOeh.js";import{u as F}from"./render-BBULYOlI.js";import{e as f}from"./owner-Di-Chxds.js";let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var b=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(b||{}),x=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(x||{}),p=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(p||{});function m(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(d)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var y=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(y||{});function w(e,t=0){var r;return e===((r=f(e))==null?void 0:r.body)?!1:F(t,{0(){return e.matches(d)},1(){let n=e;for(;n!==null;){if(n.matches(d))return!0;n=n.parentElement}return!1}})}function g(e){let t=f(e);h().nextFrame(()=>{t&&!w(t.activeElement,0)&&O(e)})}var S=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(S||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function O(e){e==null||e.focus({preventScroll:!0})}let A=["textarea","input"].join(",");function M(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,A))!=null?r:!1}function I(e,t=r=>r){return e.slice().sort((r,n)=>{let l=t(r),s=t(n);if(l===null||s===null)return 0;let o=l.compareDocumentPosition(s);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function D(e,t){return L(m(),t,{relativeTo:e})}function L(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:l=[]}={}){let s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?r?I(e):e:m(e);l.length>0&&o.length>1&&(o=o.filter(u=>!l.includes(u))),n=n??s.activeElement;let E=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),v=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(n))-1;if(t&4)return Math.max(0,o.indexOf(n))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),N=t&32?{preventScroll:!0}:{},c=0,a=o.length,i;do{if(c>=a||c+a<=0)return 0;let u=v+c;if(t&16)u=(u+a)%a;else{if(u<0)return 3;if(u>=a)return 1}i=o[u],i==null||i.focus(N),c+=E}while(i!==s.activeElement);return t&6&&M(i)&&i.select(),2}export{g as D,I,b as M,x as N,L as O,y as T,D as _,m as f,w as h,O as y}; diff --git a/assets/form-field-6eUfOaJj.js b/assets/form-field-DvjiF2cs.js similarity index 98% rename from assets/form-field-6eUfOaJj.js rename to assets/form-field-DvjiF2cs.js index 765942b7..87ccd54d 100644 --- a/assets/form-field-6eUfOaJj.js +++ b/assets/form-field-DvjiF2cs.js @@ -1 +1 @@ -import{j as l}from"./jsx-runtime-DvLKfCe6.js";import{e as qt,as as we,gz as Dt,g as Bt,j as At}from"./zoom-to-fit-icon-D5bxa5rH.js";import{c as M}from"./class-names-J070TWId.js";import{r as u,R as U}from"./index-aXz8NaAs.js";import{b as Ve,l as z,S as Ie,D as J,o as v,u as Q,R as pt,X,y as ee}from"./render-THca3tYe.js";import{I as te,o as T}from"./keyboard-NjAwe_S6.js";import{I as ct,h as Gt,T as Ut,O as Rt,M as Oe,N as Nt}from"./focus-management-9lqV-5sA.js";import{c as Ht}from"./use-flags-F5kSKS15.js";import{T as mt,e as bt,M as Kt,H as It,p as zt}from"./label-tTJj5301.js";import{b as Qt,M as St}from"./description-rwhSs07y.js";import{F as Tt,u as wt,a as L,x as Vt,b as Wt}from"./use-text-value-K_DgwPe6.js";import{c as ft,p as xt}from"./hidden-G4mt23Ky.js";import{e as Lt}from"./owner-zdel76gv.js";import{r as Se}from"./bugs-DTVvle51.js";import{p as ue}from"./use-disposables-qU89AwEH.js";import{o as fe}from"./disposables-x8EK1kJp.js";import{c as jt,d as se,C as Et}from"./open-closed-arTWCtx2.js";import{s as $t}from"./use-resolve-button-type-Iz3xK6-2.js";import{h as Mt,n as Jt}from"./use-owner-6in2YdcT.js";import{B as Pt}from"./badge-fqfuhG_-.js";import{m as Ct,n as Xt}from"./platform-mHIZTaYY.js";import{T as Yt}from"./tag-KADc8xh0.js";function ve(e,t){let[o,r]=u.useState(e),n=Ve(e);return z(()=>r(n.current),[n,r,...t]),o}var Zt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Zt||{}),er=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(er||{}),tr=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(tr||{}),rr=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(rr||{});function Ee(e,t=o=>o){let o=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=ct(t(e.options.slice()),i=>i.dataRef.current.domRef.current),n=o?r.indexOf(o):null;return n===-1&&(n=null),{options:r,activeOptionIndex:n}}let or={1(e){var t;return(t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===0)return e;let o=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:r}=e.dataRef.current,n=e.options.findIndex(i=>r(i.dataRef.current.value));n!==-1&&(o=n)}return{...e,comboboxState:0,activeOptionIndex:o}},2(e,t){var o,r,n,i;if((o=e.dataRef.current)!=null&&o.disabled||(r=e.dataRef.current)!=null&&r.optionsRef.current&&!((n=e.dataRef.current)!=null&&n.optionsPropsRef.current.static)&&e.comboboxState===1)return e;let a=Ee(e);if(a.activeOptionIndex===null){let x=a.options.findIndex(d=>!d.dataRef.current.disabled);x!==-1&&(a.activeOptionIndex=x)}let s=Vt(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:x=>x.id,resolveDisabled:x=>x.dataRef.current.disabled});return{...e,...a,activeOptionIndex:s,activationTrigger:(i=t.trigger)!=null?i:1}},3:(e,t)=>{var o,r;let n={id:t.id,dataRef:t.dataRef},i=Ee(e,s=>[...s,n]);e.activeOptionIndex===null&&(o=e.dataRef.current)!=null&&o.isSelected(t.dataRef.current.value)&&(i.activeOptionIndex=i.options.indexOf(n));let a={...e,...i,activationTrigger:1};return(r=e.dataRef.current)!=null&&r.__demoMode&&e.dataRef.current.value===void 0&&(a.activeOptionIndex=0),a},4:(e,t)=>{let o=Ee(e,r=>{let n=r.findIndex(i=>i.id===t.id);return n!==-1&&r.splice(n,1),r});return{...e,...o,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},gt=u.createContext(null);gt.displayName="ComboboxActionsContext";function ye(e){let t=u.useContext(gt);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,ye),o}return t}let vt=u.createContext(null);vt.displayName="ComboboxDataContext";function me(e){let t=u.useContext(vt);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,me),o}return t}function ar(e,t){return Q(t.type,or,e,t)}let nr=u.Fragment;function lr(e,t){let{value:o,defaultValue:r,onChange:n,form:i,name:a,by:s=(c,h)=>c===h,disabled:x=!1,__demoMode:d=!1,nullable:_=!1,multiple:R=!1,...p}=e,[m=R?[]:void 0,N]=mt(o,n,r),[y,f]=u.useReducer(ar,{dataRef:u.createRef(),comboboxState:d?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),b=u.useRef(!1),S=u.useRef({static:!1,hold:!1}),F=u.useRef(null),P=u.useRef(null),H=u.useRef(null),w=u.useRef(null),E=v(typeof s=="string"?(c,h)=>{let V=s;return(c==null?void 0:c[V])===(h==null?void 0:h[V])}:s),I=u.useCallback(c=>Q(g.mode,{1:()=>m.some(h=>E(h,c)),0:()=>E(m,c)}),[m]),g=u.useMemo(()=>({...y,optionsPropsRef:S,labelRef:F,inputRef:P,buttonRef:H,optionsRef:w,value:m,defaultValue:r,disabled:x,mode:R?1:0,get activeOptionIndex(){if(b.current&&y.activeOptionIndex===null&&y.options.length>0){let c=y.options.findIndex(h=>!h.dataRef.current.disabled);if(c!==-1)return c}return y.activeOptionIndex},compare:E,isSelected:I,nullable:_,__demoMode:d}),[m,r,x,R,_,d,y]),j=u.useRef(g.activeOptionIndex!==null?g.options[g.activeOptionIndex]:null);u.useEffect(()=>{let c=g.activeOptionIndex!==null?g.options[g.activeOptionIndex]:null;j.current!==c&&(j.current=c)}),z(()=>{y.dataRef.current=g},[g]),Mt([g.buttonRef,g.inputRef,g.optionsRef],()=>k.closeCombobox(),g.comboboxState===0);let Y=u.useMemo(()=>({open:g.comboboxState===0,disabled:x,activeIndex:g.activeOptionIndex,activeOption:g.activeOptionIndex===null?null:g.options[g.activeOptionIndex].dataRef.current.value,value:m}),[g,x,m]),K=v(c=>{let h=g.options.find(V=>V.id===c);h&&O(h.dataRef.current.value)}),C=v(()=>{if(g.activeOptionIndex!==null){let{dataRef:c,id:h}=g.options[g.activeOptionIndex];O(c.current.value),k.goToOption(L.Specific,h)}}),re=v(()=>{f({type:0}),b.current=!0}),G=v(()=>{f({type:1}),b.current=!1}),oe=v((c,h,V)=>(b.current=!1,c===L.Specific?f({type:2,focus:L.Specific,id:h,trigger:V}):f({type:2,focus:c,trigger:V}))),$=v((c,h)=>(f({type:3,id:c,dataRef:h}),()=>{var V;((V=j.current)==null?void 0:V.id)===c&&(b.current=!0),f({type:4,id:c})})),Z=v(c=>(f({type:5,id:c}),()=>f({type:5,id:null}))),O=v(c=>Q(g.mode,{0(){return N==null?void 0:N(c)},1(){let h=g.value.slice(),V=h.findIndex(ae=>E(ae,c));return V===-1?h.push(c):h.splice(V,1),N==null?void 0:N(h)}})),k=u.useMemo(()=>({onChange:O,registerOption:$,registerLabel:Z,goToOption:oe,closeCombobox:G,openCombobox:re,selectActiveOption:C,selectOption:K}),[]),D=t===null?{}:{ref:t},B=u.useRef(null),q=ue();return u.useEffect(()=>{B.current&&r!==void 0&&q.addEventListener(B.current,"reset",()=>{N==null||N(r)})},[B,N]),U.createElement(gt.Provider,{value:k},U.createElement(vt.Provider,{value:g},U.createElement(jt,{value:Q(g.comboboxState,{0:se.Open,1:se.Closed})},a!=null&&m!=null&&bt({[a]:m}).map(([c,h],V)=>U.createElement(ft,{features:xt.Hidden,ref:V===0?ae=>{var be;B.current=(be=ae==null?void 0:ae.closest("form"))!=null?be:null}:void 0,...pt({key:c,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,name:c,value:h})})),X({ourProps:D,theirProps:p,slot:Y,defaultTag:nr,name:"Combobox"}))))}let ir="input";function ur(e,t){var o,r,n,i;let a=te(),{id:s=`headlessui-combobox-input-${a}`,onChange:x,displayValue:d,type:_="text",...R}=e,p=me("Combobox.Input"),m=ye("Combobox.Input"),N=ee(p.inputRef,t),y=Jt(p.inputRef),f=u.useRef(!1),b=ue(),S=v(()=>{m.onChange(null),p.optionsRef.current&&(p.optionsRef.current.scrollTop=0),m.goToOption(L.Nothing)}),F=function(){var C;return typeof d=="function"&&p.value!==void 0?(C=d(p.value))!=null?C:"":typeof p.value=="string"?p.value:""}();Ct(([C,re],[G,oe])=>{if(f.current)return;let $=p.inputRef.current;$&&((oe===0&&re===1||C!==G)&&($.value=C),requestAnimationFrame(()=>{if(f.current||!$||(y==null?void 0:y.activeElement)!==$)return;let{selectionStart:Z,selectionEnd:O}=$;Math.abs((O??0)-(Z??0))===0&&Z===0&&$.setSelectionRange($.value.length,$.value.length)}))},[F,p.comboboxState,y]),Ct(([C],[re])=>{if(C===0&&re===1){if(f.current)return;let G=p.inputRef.current;if(!G)return;let oe=G.value,{selectionStart:$,selectionEnd:Z,selectionDirection:O}=G;G.value="",G.value=oe,O!==null?G.setSelectionRange($,Z,O):G.setSelectionRange($,Z)}},[p.comboboxState]);let P=u.useRef(!1),H=v(()=>{P.current=!0}),w=v(()=>{b.nextFrame(()=>{P.current=!1})}),E=v(C=>{switch(f.current=!0,C.key){case T.Enter:if(f.current=!1,p.comboboxState!==0||P.current)return;if(C.preventDefault(),C.stopPropagation(),p.activeOptionIndex===null){m.closeCombobox();return}m.selectActiveOption(),p.mode===0&&m.closeCombobox();break;case T.ArrowDown:return f.current=!1,C.preventDefault(),C.stopPropagation(),Q(p.comboboxState,{0:()=>{m.goToOption(L.Next)},1:()=>{m.openCombobox()}});case T.ArrowUp:return f.current=!1,C.preventDefault(),C.stopPropagation(),Q(p.comboboxState,{0:()=>{m.goToOption(L.Previous)},1:()=>{m.openCombobox(),b.nextFrame(()=>{p.value||m.goToOption(L.Last)})}});case T.Home:if(C.shiftKey)break;return f.current=!1,C.preventDefault(),C.stopPropagation(),m.goToOption(L.First);case T.PageUp:return f.current=!1,C.preventDefault(),C.stopPropagation(),m.goToOption(L.First);case T.End:if(C.shiftKey)break;return f.current=!1,C.preventDefault(),C.stopPropagation(),m.goToOption(L.Last);case T.PageDown:return f.current=!1,C.preventDefault(),C.stopPropagation(),m.goToOption(L.Last);case T.Escape:return f.current=!1,p.comboboxState!==0?void 0:(C.preventDefault(),p.optionsRef.current&&!p.optionsPropsRef.current.static&&C.stopPropagation(),p.nullable&&p.mode===0&&p.value===null&&S(),m.closeCombobox());case T.Tab:if(f.current=!1,p.comboboxState!==0)return;p.mode===0&&m.selectActiveOption(),m.closeCombobox();break}}),I=v(C=>{x==null||x(C),p.nullable&&p.mode===0&&C.target.value===""&&S(),m.openCombobox()}),g=v(()=>{f.current=!1}),j=ve(()=>{if(p.labelId)return[p.labelId].join(" ")},[p.labelId]),Y=u.useMemo(()=>({open:p.comboboxState===0,disabled:p.disabled}),[p]),K={ref:N,id:s,role:"combobox",type:_,"aria-controls":(o=p.optionsRef.current)==null?void 0:o.id,"aria-expanded":p.comboboxState===0,"aria-activedescendant":p.activeOptionIndex===null||(r=p.options[p.activeOptionIndex])==null?void 0:r.id,"aria-labelledby":j,"aria-autocomplete":"list",defaultValue:(i=(n=e.defaultValue)!=null?n:p.defaultValue!==void 0?d==null?void 0:d(p.defaultValue):null)!=null?i:p.defaultValue,disabled:p.disabled,onCompositionStart:H,onCompositionEnd:w,onKeyDown:E,onChange:I,onBlur:g};return X({ourProps:K,theirProps:R,slot:Y,defaultTag:ir,name:"Combobox.Input"})}let sr="button";function dr(e,t){var o;let r=me("Combobox.Button"),n=ye("Combobox.Button"),i=ee(r.buttonRef,t),a=te(),{id:s=`headlessui-combobox-button-${a}`,...x}=e,d=ue(),_=v(y=>{switch(y.key){case T.ArrowDown:return y.preventDefault(),y.stopPropagation(),r.comboboxState===1&&n.openCombobox(),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})});case T.ArrowUp:return y.preventDefault(),y.stopPropagation(),r.comboboxState===1&&(n.openCombobox(),d.nextFrame(()=>{r.value||n.goToOption(L.Last)})),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})});case T.Escape:return r.comboboxState!==0?void 0:(y.preventDefault(),r.optionsRef.current&&!r.optionsPropsRef.current.static&&y.stopPropagation(),n.closeCombobox(),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})}));default:return}}),R=v(y=>{if(Se(y.currentTarget))return y.preventDefault();r.comboboxState===0?n.closeCombobox():(y.preventDefault(),n.openCombobox()),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})})}),p=ve(()=>{if(r.labelId)return[r.labelId,s].join(" ")},[r.labelId,s]),m=u.useMemo(()=>({open:r.comboboxState===0,disabled:r.disabled,value:r.value}),[r]),N={ref:i,id:s,type:$t(e,r.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(o=r.optionsRef.current)==null?void 0:o.id,"aria-expanded":r.comboboxState===0,"aria-labelledby":p,disabled:r.disabled,onClick:R,onKeyDown:_};return X({ourProps:N,theirProps:x,slot:m,defaultTag:sr,name:"Combobox.Button"})}let pr="label";function cr(e,t){let o=te(),{id:r=`headlessui-combobox-label-${o}`,...n}=e,i=me("Combobox.Label"),a=ye("Combobox.Label"),s=ee(i.labelRef,t);z(()=>a.registerLabel(r),[r]);let x=v(()=>{var _;return(_=i.inputRef.current)==null?void 0:_.focus({preventScroll:!0})}),d=u.useMemo(()=>({open:i.comboboxState===0,disabled:i.disabled}),[i]);return X({ourProps:{ref:s,id:r,onClick:x},theirProps:n,slot:d,defaultTag:pr,name:"Combobox.Label"})}let mr="ul",br=Ie.RenderStrategy|Ie.Static;function fr(e,t){let o=te(),{id:r=`headlessui-combobox-options-${o}`,hold:n=!1,...i}=e,a=me("Combobox.Options"),s=ee(a.optionsRef,t),x=Et(),d=x!==null?(x&se.Open)===se.Open:a.comboboxState===0;z(()=>{var m;a.optionsPropsRef.current.static=(m=e.static)!=null?m:!1},[a.optionsPropsRef,e.static]),z(()=>{a.optionsPropsRef.current.hold=n},[a.optionsPropsRef,n]),Tt({container:a.optionsRef.current,enabled:a.comboboxState===0,accept(m){return m.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:m.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(m){m.setAttribute("role","none")}});let _=ve(()=>{var m,N;return(N=a.labelId)!=null?N:(m=a.buttonRef.current)==null?void 0:m.id},[a.labelId,a.buttonRef.current]),R=u.useMemo(()=>({open:a.comboboxState===0}),[a]),p={"aria-labelledby":_,role:"listbox","aria-multiselectable":a.mode===1?!0:void 0,id:r,ref:s};return X({ourProps:p,theirProps:i,slot:R,defaultTag:mr,features:br,visible:d,name:"Combobox.Options"})}let xr="li";function gr(e,t){var o,r;let n=te(),{id:i=`headlessui-combobox-option-${n}`,disabled:a=!1,value:s,...x}=e,d=me("Combobox.Option"),_=ye("Combobox.Option"),R=d.activeOptionIndex!==null?d.options[d.activeOptionIndex].id===i:!1,p=d.isSelected(s),m=u.useRef(null),N=Ve({disabled:a,value:s,domRef:m,textValue:(r=(o=m.current)==null?void 0:o.textContent)==null?void 0:r.toLowerCase()}),y=ee(t,m),f=v(()=>_.selectOption(i));z(()=>_.registerOption(i,N),[N,i]);let b=u.useRef(!d.__demoMode);z(()=>{if(!d.__demoMode)return;let g=fe();return g.requestAnimationFrame(()=>{b.current=!0}),g.dispose},[]),z(()=>{if(d.comboboxState!==0||!R||!b.current||d.activationTrigger===0)return;let g=fe();return g.requestAnimationFrame(()=>{var j,Y;(Y=(j=m.current)==null?void 0:j.scrollIntoView)==null||Y.call(j,{block:"nearest"})}),g.dispose},[m,R,d.comboboxState,d.activationTrigger,d.activeOptionIndex]);let S=v(g=>{if(a)return g.preventDefault();f(),d.mode===0&&_.closeCombobox(),Xt()||requestAnimationFrame(()=>{var j;return(j=d.inputRef.current)==null?void 0:j.focus()})}),F=v(()=>{if(a)return _.goToOption(L.Nothing);_.goToOption(L.Specific,i)}),P=wt(),H=v(g=>P.update(g)),w=v(g=>{P.wasMoved(g)&&(a||R||_.goToOption(L.Specific,i,0))}),E=v(g=>{P.wasMoved(g)&&(a||R&&(d.optionsPropsRef.current.hold||_.goToOption(L.Nothing)))}),I=u.useMemo(()=>({active:R,selected:p,disabled:a}),[R,p,a]);return X({ourProps:{id:i,ref:y,role:"option",tabIndex:a===!0?void 0:-1,"aria-disabled":a===!0?!0:void 0,"aria-selected":p,disabled:void 0,onClick:S,onFocus:F,onPointerEnter:H,onMouseEnter:H,onPointerMove:w,onMouseMove:w,onPointerLeave:E,onMouseLeave:E},theirProps:x,slot:I,defaultTag:xr,name:"Combobox.Option"})}let vr=J(lr),yr=J(dr),_r=J(ur),hr=J(cr),Or=J(fr),Rr=J(gr),W=Object.assign(vr,{Input:_r,Button:yr,Label:hr,Options:Or,Option:Rr});var Nr=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Nr||{}),Cr=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Cr||{}),Ir=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ir||{}),Sr=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.RegisterLabel=7]="RegisterLabel",e))(Sr||{});function $e(e,t=o=>o){let o=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=ct(t(e.options.slice()),i=>i.dataRef.current.domRef.current),n=o?r.indexOf(o):null;return n===-1&&(n=null),{options:r,activeOptionIndex:n}}let Tr={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:o}=e.dataRef.current,r=e.options.findIndex(n=>o(n.dataRef.current.value));return r!==-1&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var o;if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=$e(e),n=Vt(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:i=>i.id,resolveDisabled:i=>i.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:n,activationTrigger:(o=t.trigger)!=null?o:1}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let o=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),n=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+o).concat(e.options.slice(0,e.activeOptionIndex+o)):e.options).find(a=>{var s;return!a.dataRef.current.disabled&&((s=a.dataRef.current.textValue)==null?void 0:s.startsWith(r))}),i=n?e.options.indexOf(n):-1;return i===-1||i===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:i,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let o={id:t.id,dataRef:t.dataRef},r=$e(e,n=>[...n,o]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(o)),{...e,...r}},6:(e,t)=>{let o=$e(e,r=>{let n=r.findIndex(i=>i.id===t.id);return n!==-1&&r.splice(n,1),r});return{...e,...o,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},yt=u.createContext(null);yt.displayName="ListboxActionsContext";function _e(e){let t=u.useContext(yt);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,_e),o}return t}let _t=u.createContext(null);_t.displayName="ListboxDataContext";function he(e){let t=u.useContext(_t);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,he),o}return t}function wr(e,t){return Q(t.type,Tr,e,t)}let Vr=u.Fragment;function Lr(e,t){let{value:o,defaultValue:r,form:n,name:i,onChange:a,by:s=(c,h)=>c===h,disabled:x=!1,horizontal:d=!1,multiple:_=!1,...R}=e;const p=d?"horizontal":"vertical";let m=ee(t),[N=_?[]:void 0,y]=mt(o,a,r),[f,b]=u.useReducer(wr,{dataRef:u.createRef(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),S=u.useRef({static:!1,hold:!1}),F=u.useRef(null),P=u.useRef(null),H=u.useRef(null),w=v(typeof s=="string"?(c,h)=>{let V=s;return(c==null?void 0:c[V])===(h==null?void 0:h[V])}:s),E=u.useCallback(c=>Q(I.mode,{1:()=>N.some(h=>w(h,c)),0:()=>w(N,c)}),[N]),I=u.useMemo(()=>({...f,value:N,disabled:x,mode:_?1:0,orientation:p,compare:w,isSelected:E,optionsPropsRef:S,labelRef:F,buttonRef:P,optionsRef:H}),[N,x,_,f]);z(()=>{f.dataRef.current=I},[I]),Mt([I.buttonRef,I.optionsRef],(c,h)=>{var V;b({type:1}),Gt(h,Ut.Loose)||(c.preventDefault(),(V=I.buttonRef.current)==null||V.focus())},I.listboxState===0);let g=u.useMemo(()=>({open:I.listboxState===0,disabled:x,value:N}),[I,x,N]),j=v(c=>{let h=I.options.find(V=>V.id===c);h&&$(h.dataRef.current.value)}),Y=v(()=>{if(I.activeOptionIndex!==null){let{dataRef:c,id:h}=I.options[I.activeOptionIndex];$(c.current.value),b({type:2,focus:L.Specific,id:h})}}),K=v(()=>b({type:0})),C=v(()=>b({type:1})),re=v((c,h,V)=>c===L.Specific?b({type:2,focus:L.Specific,id:h,trigger:V}):b({type:2,focus:c,trigger:V})),G=v((c,h)=>(b({type:5,id:c,dataRef:h}),()=>b({type:6,id:c}))),oe=v(c=>(b({type:7,id:c}),()=>b({type:7,id:null}))),$=v(c=>Q(I.mode,{0(){return y==null?void 0:y(c)},1(){let h=I.value.slice(),V=h.findIndex(ae=>w(ae,c));return V===-1?h.push(c):h.splice(V,1),y==null?void 0:y(h)}})),Z=v(c=>b({type:3,value:c})),O=v(()=>b({type:4})),k=u.useMemo(()=>({onChange:$,registerOption:G,registerLabel:oe,goToOption:re,closeListbox:C,openListbox:K,selectActiveOption:Y,selectOption:j,search:Z,clearSearch:O}),[]),D={ref:m},B=u.useRef(null),q=ue();return u.useEffect(()=>{B.current&&r!==void 0&&q.addEventListener(B.current,"reset",()=>{y==null||y(r)})},[B,y]),U.createElement(yt.Provider,{value:k},U.createElement(_t.Provider,{value:I},U.createElement(jt,{value:Q(I.listboxState,{0:se.Open,1:se.Closed})},i!=null&&N!=null&&bt({[i]:N}).map(([c,h],V)=>U.createElement(ft,{features:xt.Hidden,ref:V===0?ae=>{var be;B.current=(be=ae==null?void 0:ae.closest("form"))!=null?be:null}:void 0,...pt({key:c,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:n,name:c,value:h})})),X({ourProps:D,theirProps:R,slot:g,defaultTag:Vr,name:"Listbox"}))))}let jr="button";function Er(e,t){var o;let r=te(),{id:n=`headlessui-listbox-button-${r}`,...i}=e,a=he("Listbox.Button"),s=_e("Listbox.Button"),x=ee(a.buttonRef,t),d=ue(),_=v(f=>{switch(f.key){case T.Space:case T.Enter:case T.ArrowDown:f.preventDefault(),s.openListbox(),d.nextFrame(()=>{a.value||s.goToOption(L.First)});break;case T.ArrowUp:f.preventDefault(),s.openListbox(),d.nextFrame(()=>{a.value||s.goToOption(L.Last)});break}}),R=v(f=>{switch(f.key){case T.Space:f.preventDefault();break}}),p=v(f=>{if(Se(f.currentTarget))return f.preventDefault();a.listboxState===0?(s.closeListbox(),d.nextFrame(()=>{var b;return(b=a.buttonRef.current)==null?void 0:b.focus({preventScroll:!0})})):(f.preventDefault(),s.openListbox())}),m=ve(()=>{if(a.labelId)return[a.labelId,n].join(" ")},[a.labelId,n]),N=u.useMemo(()=>({open:a.listboxState===0,disabled:a.disabled,value:a.value}),[a]),y={ref:x,id:n,type:$t(e,a.buttonRef),"aria-haspopup":"listbox","aria-controls":(o=a.optionsRef.current)==null?void 0:o.id,"aria-expanded":a.listboxState===0,"aria-labelledby":m,disabled:a.disabled,onKeyDown:_,onKeyUp:R,onClick:p};return X({ourProps:y,theirProps:i,slot:N,defaultTag:jr,name:"Listbox.Button"})}let $r="label";function Mr(e,t){let o=te(),{id:r=`headlessui-listbox-label-${o}`,...n}=e,i=he("Listbox.Label"),a=_e("Listbox.Label"),s=ee(i.labelRef,t);z(()=>a.registerLabel(r),[r]);let x=v(()=>{var _;return(_=i.buttonRef.current)==null?void 0:_.focus({preventScroll:!0})}),d=u.useMemo(()=>({open:i.listboxState===0,disabled:i.disabled}),[i]);return X({ourProps:{ref:s,id:r,onClick:x},theirProps:n,slot:d,defaultTag:$r,name:"Listbox.Label"})}let Pr="ul",Fr=Ie.RenderStrategy|Ie.Static;function kr(e,t){var o;let r=te(),{id:n=`headlessui-listbox-options-${r}`,...i}=e,a=he("Listbox.Options"),s=_e("Listbox.Options"),x=ee(a.optionsRef,t),d=ue(),_=ue(),R=Et(),p=R!==null?(R&se.Open)===se.Open:a.listboxState===0;u.useEffect(()=>{var b;let S=a.optionsRef.current;S&&a.listboxState===0&&S!==((b=Lt(S))==null?void 0:b.activeElement)&&S.focus({preventScroll:!0})},[a.listboxState,a.optionsRef]);let m=v(b=>{switch(_.dispose(),b.key){case T.Space:if(a.searchQuery!=="")return b.preventDefault(),b.stopPropagation(),s.search(b.key);case T.Enter:if(b.preventDefault(),b.stopPropagation(),a.activeOptionIndex!==null){let{dataRef:S}=a.options[a.activeOptionIndex];s.onChange(S.current.value)}a.mode===0&&(s.closeListbox(),fe().nextFrame(()=>{var S;return(S=a.buttonRef.current)==null?void 0:S.focus({preventScroll:!0})}));break;case Q(a.orientation,{vertical:T.ArrowDown,horizontal:T.ArrowRight}):return b.preventDefault(),b.stopPropagation(),s.goToOption(L.Next);case Q(a.orientation,{vertical:T.ArrowUp,horizontal:T.ArrowLeft}):return b.preventDefault(),b.stopPropagation(),s.goToOption(L.Previous);case T.Home:case T.PageUp:return b.preventDefault(),b.stopPropagation(),s.goToOption(L.First);case T.End:case T.PageDown:return b.preventDefault(),b.stopPropagation(),s.goToOption(L.Last);case T.Escape:return b.preventDefault(),b.stopPropagation(),s.closeListbox(),d.nextFrame(()=>{var S;return(S=a.buttonRef.current)==null?void 0:S.focus({preventScroll:!0})});case T.Tab:b.preventDefault(),b.stopPropagation();break;default:b.key.length===1&&(s.search(b.key),_.setTimeout(()=>s.clearSearch(),350));break}}),N=ve(()=>{var b,S,F;return(F=(b=a.labelRef.current)==null?void 0:b.id)!=null?F:(S=a.buttonRef.current)==null?void 0:S.id},[a.labelRef.current,a.buttonRef.current]),y=u.useMemo(()=>({open:a.listboxState===0}),[a]),f={"aria-activedescendant":a.activeOptionIndex===null||(o=a.options[a.activeOptionIndex])==null?void 0:o.id,"aria-multiselectable":a.mode===1?!0:void 0,"aria-labelledby":N,"aria-orientation":a.orientation,id:n,onKeyDown:m,role:"listbox",tabIndex:0,ref:x};return X({ourProps:f,theirProps:i,slot:y,defaultTag:Pr,features:Fr,visible:p,name:"Listbox.Options"})}let qr="li";function Dr(e,t){let o=te(),{id:r=`headlessui-listbox-option-${o}`,disabled:n=!1,value:i,...a}=e,s=he("Listbox.Option"),x=_e("Listbox.Option"),d=s.activeOptionIndex!==null?s.options[s.activeOptionIndex].id===r:!1,_=s.isSelected(i),R=u.useRef(null),p=Wt(R),m=Ve({disabled:n,value:i,domRef:R,get textValue(){return p()}}),N=ee(t,R);z(()=>{if(s.listboxState!==0||!d||s.activationTrigger===0)return;let w=fe();return w.requestAnimationFrame(()=>{var E,I;(I=(E=R.current)==null?void 0:E.scrollIntoView)==null||I.call(E,{block:"nearest"})}),w.dispose},[R,d,s.listboxState,s.activationTrigger,s.activeOptionIndex]),z(()=>x.registerOption(r,m),[m,r]);let y=v(w=>{if(n)return w.preventDefault();x.onChange(i),s.mode===0&&(x.closeListbox(),fe().nextFrame(()=>{var E;return(E=s.buttonRef.current)==null?void 0:E.focus({preventScroll:!0})}))}),f=v(()=>{if(n)return x.goToOption(L.Nothing);x.goToOption(L.Specific,r)}),b=wt(),S=v(w=>b.update(w)),F=v(w=>{b.wasMoved(w)&&(n||d||x.goToOption(L.Specific,r,0))}),P=v(w=>{b.wasMoved(w)&&(n||d&&x.goToOption(L.Nothing))}),H=u.useMemo(()=>({active:d,selected:_,disabled:n}),[d,_,n]);return X({ourProps:{id:r,ref:N,role:"option",tabIndex:n===!0?void 0:-1,"aria-disabled":n===!0?!0:void 0,"aria-selected":_,disabled:void 0,onClick:y,onFocus:f,onPointerEnter:S,onMouseEnter:S,onPointerMove:F,onMouseMove:F,onPointerLeave:P,onMouseLeave:P},theirProps:a,slot:H,defaultTag:qr,name:"Listbox.Option"})}let Br=J(Lr),Ar=J(Er),Gr=J(Mr),Ur=J(kr),Hr=J(Dr),Le=Object.assign(Br,{Button:Ar,Label:Gr,Options:Ur,Option:Hr});var Kr=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(Kr||{});let zr={0(e,t){let o=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:ct(o,r=>r.element.current)}},1(e,t){let o=e.options.slice(),r=e.options.findIndex(n=>n.id===t.id);return r===-1?e:(o.splice(r,1),{...e,options:o})}},ht=u.createContext(null);ht.displayName="RadioGroupDataContext";function Ft(e){let t=u.useContext(ht);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,Ft),o}return t}let Ot=u.createContext(null);Ot.displayName="RadioGroupActionsContext";function kt(e){let t=u.useContext(Ot);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,kt),o}return t}function Qr(e,t){return Q(t.type,zr,e,t)}let Wr="div";function Jr(e,t){let o=te(),{id:r=`headlessui-radiogroup-${o}`,value:n,defaultValue:i,form:a,name:s,onChange:x,by:d=(O,k)=>O===k,disabled:_=!1,...R}=e,p=v(typeof d=="string"?(O,k)=>{let D=d;return(O==null?void 0:O[D])===(k==null?void 0:k[D])}:d),[m,N]=u.useReducer(Qr,{options:[]}),y=m.options,[f,b]=It(),[S,F]=St(),P=u.useRef(null),H=ee(P,t),[w,E]=mt(n,x,i),I=u.useMemo(()=>y.find(O=>!O.propsRef.current.disabled),[y]),g=u.useMemo(()=>y.some(O=>p(O.propsRef.current.value,w)),[y,w]),j=v(O=>{var k;if(_||p(O,w))return!1;let D=(k=y.find(B=>p(B.propsRef.current.value,O)))==null?void 0:k.propsRef.current;return D!=null&&D.disabled?!1:(E==null||E(O),!0)});Tt({container:P.current,accept(O){return O.getAttribute("role")==="radio"?NodeFilter.FILTER_REJECT:O.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(O){O.setAttribute("role","none")}});let Y=v(O=>{let k=P.current;if(!k)return;let D=Lt(k),B=y.filter(q=>q.propsRef.current.disabled===!1).map(q=>q.element.current);switch(O.key){case T.Enter:zt(O.currentTarget);break;case T.ArrowLeft:case T.ArrowUp:if(O.preventDefault(),O.stopPropagation(),Rt(B,Oe.Previous|Oe.WrapAround)===Nt.Success){let q=y.find(c=>c.element.current===(D==null?void 0:D.activeElement));q&&j(q.propsRef.current.value)}break;case T.ArrowRight:case T.ArrowDown:if(O.preventDefault(),O.stopPropagation(),Rt(B,Oe.Next|Oe.WrapAround)===Nt.Success){let q=y.find(c=>c.element.current===(D==null?void 0:D.activeElement));q&&j(q.propsRef.current.value)}break;case T.Space:{O.preventDefault(),O.stopPropagation();let q=y.find(c=>c.element.current===(D==null?void 0:D.activeElement));q&&j(q.propsRef.current.value)}break}}),K=v(O=>(N({type:0,...O}),()=>N({type:1,id:O.id}))),C=u.useMemo(()=>({value:w,firstOption:I,containsCheckedOption:g,disabled:_,compare:p,...m}),[w,I,g,_,p,m]),re=u.useMemo(()=>({registerOption:K,change:j}),[K,j]),G={ref:H,id:r,role:"radiogroup","aria-labelledby":f,"aria-describedby":S,onKeyDown:Y},oe=u.useMemo(()=>({value:w}),[w]),$=u.useRef(null),Z=ue();return u.useEffect(()=>{$.current&&i!==void 0&&Z.addEventListener($.current,"reset",()=>{j(i)})},[$,j]),U.createElement(F,{name:"RadioGroup.Description"},U.createElement(b,{name:"RadioGroup.Label"},U.createElement(Ot.Provider,{value:re},U.createElement(ht.Provider,{value:C},s!=null&&w!=null&&bt({[s]:w}).map(([O,k],D)=>U.createElement(ft,{features:xt.Hidden,ref:D===0?B=>{var q;$.current=(q=B==null?void 0:B.closest("form"))!=null?q:null}:void 0,...pt({key:O,as:"input",type:"radio",checked:k!=null,hidden:!0,readOnly:!0,form:a,name:O,value:k})})),X({ourProps:G,theirProps:R,slot:oe,defaultTag:Wr,name:"RadioGroup"})))))}var Xr=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(Xr||{});let Yr="div";function Zr(e,t){var o;let r=te(),{id:n=`headlessui-radiogroup-option-${r}`,value:i,disabled:a=!1,...s}=e,x=u.useRef(null),d=ee(x,t),[_,R]=It(),[p,m]=St(),{addFlag:N,removeFlag:y,hasFlag:f}=Ht(1),b=Ve({value:i,disabled:a}),S=Ft("RadioGroup.Option"),F=kt("RadioGroup.Option");z(()=>F.registerOption({id:n,element:x,propsRef:b}),[n,F,x,e]);let P=v(K=>{var C;if(Se(K.currentTarget))return K.preventDefault();F.change(i)&&(N(2),(C=x.current)==null||C.focus())}),H=v(K=>{if(Se(K.currentTarget))return K.preventDefault();N(2)}),w=v(()=>y(2)),E=((o=S.firstOption)==null?void 0:o.id)===n,I=S.disabled||a,g=S.compare(S.value,i),j={ref:d,id:n,role:"radio","aria-checked":g?"true":"false","aria-labelledby":_,"aria-describedby":p,"aria-disabled":I?!0:void 0,tabIndex:I?-1:g||!S.containsCheckedOption&&E?0:-1,onClick:I?void 0:P,onFocus:I?void 0:H,onBlur:I?void 0:w},Y=u.useMemo(()=>({checked:g,disabled:I,active:f(2)}),[g,I,f]);return U.createElement(m,{name:"RadioGroup.Description"},U.createElement(R,{name:"RadioGroup.Label"},X({ourProps:j,theirProps:s,slot:Y,defaultTag:Yr,name:"RadioGroup.Option"})))}let eo=J(Jr),to=J(Zr),je=Object.assign(eo,{Option:to,Label:Kt,Description:Qt});const Me=({id:e,children:t})=>l.jsx("p",{id:`${e}-description`,className:"paragraph-100 text-neutral-700",children:t});try{Me.displayName="FormFieldDescription",Me.__docgenInfo={description:"",displayName:"FormFieldDescription",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}}}}}catch{}const Pe=({children:e})=>l.jsxs("div",{className:"mt-0.5 flex items-center gap-1",children:[l.jsx(qt,{className:"h-3 w-3 fill-danger-500"}),l.jsx("p",{className:"paragraph-100 text-danger-500 ",children:e})]});try{Pe.displayName="FormFieldErrorMessage",Pe.__docgenInfo={description:"",displayName:"FormFieldErrorMessage",props:{}}}catch{}const Fe=({htmlFor:e,children:t,optional:o})=>l.jsxs("div",{className:"flex items-baseline gap-1 text-neutral-800",children:[l.jsx("label",{htmlFor:e,className:"headline-400",children:t}),o?l.jsx("div",{className:"paragraph-100",children:"(Optional)"}):null]});try{Fe.displayName="FormFieldLabel",Fe.__docgenInfo={description:"",displayName:"FormFieldLabel",props:{htmlFor:{defaultValue:null,description:"",name:"htmlFor",required:!0,type:{name:"string"}},optional:{defaultValue:null,description:"",name:"optional",required:!1,type:{name:"boolean"}}}}}catch{}const ke=({children:e})=>l.jsx("div",{className:"mb-2 flex flex-col gap-1",children:e});try{ke.displayName="FormFieldLabelGroup",ke.__docgenInfo={description:"",displayName:"FormFieldLabelGroup",props:{}}}catch{}const qe=({children:e,value:t,disabled:o})=>l.jsx(je.Option,{value:t,className:"max-w-fit cursor-pointer focus:outline-none",disabled:o,children:({checked:r,disabled:n})=>l.jsxs("div",{className:"flex items-center gap-3",children:[r?l.jsx("span",{className:M("relative inline-block h-4 w-4 rounded-full bg-primary-400 hover:bg-primary-500 active:bg-primary-600",n&&"bg-neutral-100 hover:bg-neutral-100 active:bg-neutral-100"),children:l.jsx("span",{className:M("absolute inset-0 m-auto block h-2 w-2 rounded-full bg-neutral-0",n&&"bg-neutral-500")})}):l.jsx("span",{className:M("inline-block h-4 w-4 rounded-full border border-neutral-400 hover:border-neutral-600 active:border-neutral-500 active:bg-neutral-100",n&&"border-0 bg-neutral-100")}),l.jsx("p",{className:M("paragraph-200",n&&"text-neutral-600"),children:e})]})});try{qe.displayName="RadioInputOption",qe.__docgenInfo={description:"",displayName:"RadioInputOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const Te=({id:e,children:t,value:o,onChange:r})=>l.jsx(je,{id:e,value:o,onChange:r,children:t});Te.Option=qe;try{Te.displayName="RadioInput",Te.__docgenInfo={description:"",displayName:"RadioInput",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: string) => void"}}}}}catch{}const ro="target-field",oo=M("[.group.form-field-group_&:first-child_.target-field]:rounded-r-none [.group.form-field-group_&:first-child_.target-field]:border-r-0","[.group.form-field-group_&:not(:first-child):not(:last-child)_.target-field]:rounded-none [.group.form-field-group_&:not(:first-child):not(:last-child)_.target-field]:border-r-0","[.group.form-field-group_&:last-child_.target-field]:border-l-1 [.group.form-field-group_&:last-child_.target-field]:rounded-l-none"),De=({ariaDescribedBy:e,type:t="text",LeftIcon:o,readOnly:r,autoSelect:n,error:i,disabled:a,className:s,...x})=>{const d=u.useRef(null),_=()=>{n&&d.current&&d.current.select()};return l.jsxs("div",{className:M("relative w-full",oo),children:[o?l.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center pl-3","aria-hidden":"true",children:l.jsx(o,{className:"text-gray-400 h-3.5 w-3.5 fill-neutral-600"})}):null,l.jsx("input",{ref:d,"aria-describedby":e,onMouseOver:_,onFocus:_,onClick:_,type:t,className:M(ro,"paragraph-100 relative block h-8 w-full rounded border border-neutral-400 py-2 pl-3 pr-2 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",o&&"pl-9",r&&"bg-primary-50",a&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!i&&!a&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",i&&!a&&"border-danger-500",s),readOnly:r,disabled:a,...x})]})};try{De.displayName="TextInput",De.__docgenInfo={description:"",displayName:"TextInput",props:{type:{defaultValue:{value:"text"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"email"'},{value:'"password"'}]}},autoSelect:{defaultValue:null,description:"",name:"autoSelect",required:!1,type:{name:"boolean"}},ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!1,type:{name:"string"}},LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}}}}}catch{}const Be=({id:e,value:t,onChange:o,placeholder:r,ariaDescribedBy:n,error:i,disabled:a,rows:s,cols:x,className:d})=>l.jsx("textarea",{id:e,name:e,value:t,onChange:o,placeholder:r,"aria-describedby":n,className:M("paragraph-100 block min-h-[2rem] w-full rounded border border-neutral-400 py-2 pl-3 pr-2 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",a&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!i&&!a&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",i&&!a&&"border-danger-500",d),disabled:a,rows:s,cols:x});try{Be.displayName="Textarea",Be.__docgenInfo={description:"",displayName:"Textarea",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(event: ChangeEvent) => void"}},ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!1,type:{name:"string"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},rows:{defaultValue:null,description:"",name:"rows",required:!1,type:{name:"number"}},cols:{defaultValue:null,description:"",name:"cols",required:!1,type:{name:"number"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const ao={left:"text-left",center:"text-center",right:"text-right"},Ae=({id:e,placeholder:t,value:o,min:r,max:n,onChange:i,ariaDescribedBy:a,LeftIcon:s,textAlign:x="left",readOnly:d,error:_,disabled:R})=>l.jsxs("div",{className:"relative w-full",children:[s?l.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3","aria-hidden":"true",children:l.jsx(s,{className:"text-gray-400 h-4 w-4 fill-neutral-600"})}):null,l.jsx("input",{id:e,name:e,value:o,readOnly:d,onChange:i,placeholder:t,"aria-describedby":a,type:"number",min:r,max:n,className:M("paragraph-100 block w-full rounded border border-neutral-400 py-2 pl-3 pr-2 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",ao[x],s&&"pl-9",d&&"bg-neutral-100",R&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!_&&!R&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",_&&!R&&"border-danger-500"),disabled:R})]});try{Ae.displayName="NumberInput",Ae.__docgenInfo={description:"",displayName:"NumberInput",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"number"}},textAlign:{defaultValue:{value:"left"},description:"",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"left"'},{value:'"right"'}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((event: ChangeEvent) => void)"}},readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"boolean"}},ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!0,type:{name:"string"}},LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},min:{defaultValue:null,description:"",name:"min",required:!1,type:{name:"number"}},max:{defaultValue:null,description:"",name:"max",required:!1,type:{name:"number"}}}}}catch{}const Ge=({children:e})=>l.jsx(Le.Options,{className:"absolute mt-1 max-h-60 w-full overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",children:e});try{Ge.displayName="ListboxOptions",Ge.__docgenInfo={description:"",displayName:"ListboxOptions",props:{}}}catch{}const Ue=({children:e,badgeType:t="neutral"})=>l.jsx("div",{className:"flex items-center",children:l.jsx(Pt,{type:t,children:e})});try{Ue.displayName="ListboxBadgeOption",Ue.__docgenInfo={description:"",displayName:"ListboxBadgeOption",props:{badgeType:{defaultValue:{value:"neutral"},description:"",name:"badgeType",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"neutral"'},{value:'"violet"'},{value:'"green"'},{value:'"yellow"'},{value:'"teal"'},{value:'"orange"'},{value:'"pink"'},{value:'"red"'},{value:'"purple"'}]}}}}}catch{}const He=({children:e,LeftIcon:t})=>l.jsxs("div",{className:"flex items-center gap-2",children:[t?l.jsx(t,{className:"h-3 w-3 fill-neutral-500 ui-selected:fill-primary-500"}):null,l.jsx("div",{className:"paragraph-100",children:e})]});try{He.displayName="ListboxTextOption",He.__docgenInfo={description:"",displayName:"ListboxTextOption",props:{LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}}}}}catch{}const Re={base:"relative cursor-pointer px-3 py-2 ",selected:"bg-primary-100 text-primary-500 before:absolute before:bottom-0 before:left-0 before:top-0 before:block before:w-[2px] before:rounded-r-md before:bg-primary-400",active:"bg-neutral-50 bg-primary-100",disabled:"cursor-not-allowed bg-neutral-50 text-neutral-400"},xe=({value:e,disabled:t,children:o})=>l.jsx(Le.Option,{value:e,as:u.Fragment,disabled:t,children:({active:r,selected:n})=>l.jsx("li",{className:M(Re.base,r&&Re.active,n&&Re.selected,t&&Re.disabled),children:o})});xe.BadgeOption=Ue;xe.TextOption=He;try{xe.displayName="ListboxOption",xe.__docgenInfo={description:"",displayName:"ListboxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const Ke=({placeholder:e,value:t,badgeType:o="neutral"})=>t?l.jsx(Pt,{type:o,children:t}):l.jsx("div",{className:"paragraph-100 text-neutral-600",children:e});try{Ke.displayName="ListboxButtonBadgeValue",Ke.__docgenInfo={description:"",displayName:"ListboxButtonBadgeValue",props:{placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | number | null"}},badgeType:{defaultValue:{value:"neutral"},description:"",name:"badgeType",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"neutral"'},{value:'"violet"'},{value:'"green"'},{value:'"yellow"'},{value:'"teal"'},{value:'"orange"'},{value:'"pink"'},{value:'"red"'},{value:'"purple"'}]}}}}}catch{}const ze=({placeholder:e,value:t})=>t?l.jsx("div",{className:"paragraph-100",children:t}):l.jsx("div",{className:"paragraph-100 text-neutral-600 group-hover:text-neutral-700",children:e});try{ze.displayName="ListboxButtonTextValue",ze.__docgenInfo={description:"",displayName:"ListboxButtonTextValue",props:{placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | number | null"}}}}}catch{}const ge=({children:e})=>l.jsxs(Le.Button,{className:"group flex h-8 w-full cursor-pointer items-center rounded border border-neutral-400 bg-neutral-0 py-2 pl-3 pr-8 outline-none hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200 ui-open:border-primary-400 ui-open:ring-2 ui-open:ring-primary-200",children:[e,l.jsx("div",{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:l.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100 focus:outline-none",children:l.jsx(we,{className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})})]});ge.BadgeValue=Ke;ge.TextValue=ze;try{ge.displayName="ListboxButton",ge.__docgenInfo={description:"",displayName:"ListboxButton",props:{}}}catch{}const no=M("[.group.form-field-group_&:first-child_button]:rounded-r-none [.group.form-field-group_&:first-child_button]:border-r-0","[.group.form-field-group_&:not(:first-child):not(:last-child)_button]:rounded-none [.group.form-field-group_&:not(:first-child):not(:last-child)_button]:border-r-0","[.group.form-field-group_&:last-child_button]:rounded-l-none"),pe=({children:e,value:t,onChange:o,className:r})=>l.jsx(Le,{value:t,onChange:o,children:l.jsx("div",{className:M("relative w-full",no,r),children:e})});pe.Button=ge;pe.Options=Ge;pe.Option=xe;try{pe.displayName="Listbox",pe.__docgenInfo={description:"",displayName:"Listbox",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: TValue) => void"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const Qe=({value:e,children:t})=>l.jsx(W.Option,{value:e,className:"paragraph-100 flex cursor-pointer items-center gap-1 px-3 py-2 text-neutral-700 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:t});try{Qe.displayName="MultiComboboxCustomOption",Qe.__docgenInfo={description:"",displayName:"MultiComboboxCustomOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const We=({children:e})=>l.jsx("div",{className:"px-3 py-2 ui-selected:bg-primary-100",children:e});try{We.displayName="MultiComboboxEmptyOption",We.__docgenInfo={description:"",displayName:"MultiComboboxEmptyOption",props:{}}}catch{}const Je=({id:e,displayValue:t,placeholder:o,onChange:r,showButton:n=!0})=>l.jsxs("div",{className:"relative",children:[l.jsx(W.Input,{id:e,name:e,placeholder:o,displayValue:()=>t,onChange:r,className:"paragraph-100 flex h-8 w-full items-center rounded border border-neutral-400 py-2 pl-3 pr-8 focus-visible:border-primary-400 focus-visible:ring-2 focus-visible:ring-primary-200"}),n?l.jsx(W.Button,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:l.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:l.jsx(we,{name:"caret-down",className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})}):null]});try{Je.displayName="MultiComboboxInput",Je.__docgenInfo={description:"",displayName:"MultiComboboxInput",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},displayValue:{defaultValue:null,description:"",name:"displayValue",required:!0,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(event: ChangeEvent) => void"}},showButton:{defaultValue:{value:"true"},description:"",name:"showButton",required:!1,type:{name:"boolean"}}}}}catch{}const Xe=({value:e,children:t})=>l.jsxs(W.Option,{value:e,className:"relative flex cursor-pointer items-center px-3 py-2 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:[t,l.jsx("div",{className:"absolute inset-y-0 right-3 hidden items-center fill-primary-500 ui-selected:flex",children:l.jsx(Dt,{})})]});try{Xe.displayName="MultiComboboxOption",Xe.__docgenInfo={description:"",displayName:"MultiComboboxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const Ye=({children:e,className:t})=>l.jsx(W.Options,{hold:!0,className:M("absolute mt-1 max-h-60 w-full overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",t),children:e});try{Ye.displayName="MultiComboboxOptions",Ye.__docgenInfo={description:"",displayName:"MultiComboboxOptions",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const Ze=({children:e})=>l.jsx("div",{className:"flex flex-wrap gap-2",children:e});try{Ze.displayName="MultiComboboxResultsBadges",Ze.__docgenInfo={description:"",displayName:"MultiComboboxResultsBadges",props:{}}}catch{}const et=({children:e})=>l.jsx("div",{className:"paragraph-100 mt-2 text-neutral-900",children:e});try{et.displayName="MultiComboboxResultsLabel",et.__docgenInfo={description:"",displayName:"MultiComboboxResultsLabel",props:{}}}catch{}const tt=({children:e})=>l.jsx("div",{className:"flex flex-wrap gap-2",children:e});try{tt.displayName="MultiComboboxResultsTags",tt.__docgenInfo={description:"",displayName:"MultiComboboxResultsTags",props:{}}}catch{}const rt=({children:e})=>l.jsx("div",{className:"paragraph-100",children:e});try{rt.displayName="MultiComboboxResultsText",rt.__docgenInfo={description:"",displayName:"MultiComboboxResultsText",props:{}}}catch{}const de=({children:e})=>l.jsx("div",{className:"flex flex-col gap-2",children:e});de.Label=et;de.Text=rt;de.Badges=Ze;de.Tags=tt;try{de.displayName="MultiComboboxResults",de.__docgenInfo={description:"",displayName:"MultiComboboxResults",props:{}}}catch{}const ne=({value:e,onChange:t,children:o})=>l.jsx(W,{multiple:!0,value:e,onChange:t,children:l.jsx("div",{className:"relative",children:o})});ne.Input=Je;ne.Options=Ye;ne.Option=Xe;ne.CustomOption=Qe;ne.EmptyOption=We;ne.Results=de;try{ne.displayName="MultiCombobox",ne.__docgenInfo={description:"",displayName:"MultiCombobox",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue[]"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: TValue[]) => void"}}}}}catch{}const ot=({id:e,displayValue:t,placeholder:o,onChange:r,showButton:n=!0})=>l.jsxs("div",{className:"relative",children:[l.jsx(W.Input,{id:e,name:e,placeholder:o,displayValue:t,onChange:r,className:"paragraph-100 flex h-8 w-full items-center rounded border border-neutral-400 py-2 pl-3 pr-8 focus-visible:border-primary-400 focus-visible:ring-2 focus-visible:ring-primary-200 disabled:border-neutral-300 disabled:bg-neutral-100 disabled:text-neutral-600"}),n?l.jsx(W.Button,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:l.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:l.jsx(we,{name:"caret-down",className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})}):null]});try{ot.displayName="SingleComboboxInput",ot.__docgenInfo={description:"",displayName:"SingleComboboxInput",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},displayValue:{defaultValue:null,description:"",name:"displayValue",required:!1,type:{name:"((item: TValue) => string)"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(event: ChangeEvent) => void"}},showButton:{defaultValue:{value:"true"},description:"",name:"showButton",required:!1,type:{name:"boolean"}}}}}catch{}const at=({children:e})=>l.jsx(W.Options,{hold:!0,className:"absolute mt-1 max-h-60 w-full overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",children:e});try{at.displayName="SingleComboboxOptions",at.__docgenInfo={description:"",displayName:"SingleComboboxOptions",props:{}}}catch{}const nt=({value:e,children:t})=>l.jsx(W.Option,{value:e,className:"relative flex cursor-pointer items-center px-3 py-2 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:t});try{nt.displayName="SingleComboboxOption",nt.__docgenInfo={description:"",displayName:"SingleComboboxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const lt=({onUnselect:e,children:t})=>l.jsx("div",{className:"relative",children:l.jsxs("div",{className:"paragraph-100 flex h-8 w-full items-center rounded border border-neutral-400 py-2 pl-3 pr-8 focus-visible:border-primary-400 focus-visible:ring-2 focus-visible:ring-primary-200",children:[l.jsx(Yt,{onClick:e,children:t}),l.jsx(W.Button,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:l.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:l.jsx(we,{className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})})]})});try{lt.displayName="SingleComboboxResultInput",lt.__docgenInfo={description:"",displayName:"SingleComboboxResultInput",props:{onUnselect:{defaultValue:null,description:"",name:"onUnselect",required:!0,type:{name:"() => void"}}}}}catch{}const it=({value:e,children:t})=>l.jsx(W.Option,{value:e,className:"paragraph-100 flex cursor-pointer items-center gap-1 px-3 py-2 text-neutral-700 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:t});try{it.displayName="SingleComboboxCustomOption",it.__docgenInfo={description:"",displayName:"SingleComboboxCustomOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const ut=({children:e})=>l.jsx("div",{className:"px-3 py-2 ui-selected:bg-primary-100",children:e});try{ut.displayName="SingleComboboxEmptyOption",ut.__docgenInfo={description:"",displayName:"SingleComboboxEmptyOption",props:{}}}catch{}const le=({value:e,onChange:t,children:o,disabled:r})=>l.jsx(W,{value:e,onChange:t,disabled:r,children:l.jsx("div",{className:"relative",children:o})});le.Input=ot;le.ResultInput=lt;le.Options=at;le.Option=nt;le.EmptyOption=ut;le.CustomOption=it;try{le.displayName="SingleCombobox",le.__docgenInfo={description:"",displayName:"SingleCombobox",props:{value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"TValue"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: TValue) => void"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const st=({children:e})=>l.jsx("div",{className:"form-field-group group flex w-full flex-row",children:e});try{st.displayName="FormFieldGroup",st.__docgenInfo={description:"",displayName:"FormFieldGroup",props:{}}}catch{}const dt=({ariaDescribedBy:e,readOnly:t,autoSelect:o,onClear:r,error:n,value:i,disabled:a,className:s,...x})=>{const d=u.useRef(null),_=!t&&!a&&i!==void 0&&i!=="",R=u.useCallback(()=>{o&&d.current&&d.current.select()},[o]),p=u.useCallback(m=>{(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),m.stopPropagation(),r())},[r]);return l.jsxs("div",{className:M("relative w-full"),children:[l.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center pl-3","aria-hidden":"true",children:l.jsx(Bt,{className:"text-gray-400 h-3.5 w-3.5 fill-neutral-600"})}),l.jsx("input",{ref:d,"aria-describedby":e,onMouseOver:R,onFocus:R,onClick:R,type:"search",className:M("paragraph-100 relative block h-8 w-full rounded border border-neutral-400 py-2 pl-9 pr-8 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",t&&"bg-neutral-100",a&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!n&&!a&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",n&&!a&&"border-danger-500",s),readOnly:t,disabled:a,value:i,...x}),_?l.jsx("div",{className:"absolute inset-y-0 right-0 z-10 flex items-center justify-center pr-2",children:l.jsx("button",{type:"button","aria-label":"Clear search input",tabIndex:0,onClick:r,onKeyDown:p,className:"rounded bg-neutral-100 p-0.5 hover:bg-neutral-200",children:l.jsx(At,{className:"h-3 w-3 fill-neutral-600"})})}):null]})};try{dt.displayName="SearchInput",dt.__docgenInfo={description:"",displayName:"SearchInput",props:{autoSelect:{defaultValue:null,description:"",name:"autoSelect",required:!1,type:{name:"boolean"}},ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!1,type:{name:"string"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}},onClear:{defaultValue:null,description:"",name:"onClear",required:!0,type:{name:"() => void"}}}}}catch{}const Ne={base:"group relative flex items-center gap-3 rounded-lg bg-neutral-0 border p-4 border-neutral-300 hover:border-primary-600 hover:bg-primary-50 cursor-pointer focus:outline-none",checked:"border-primary-600 bg-primary-600 hover:bg-primary-600 hover:text-neutral-0",disabled:"bg-neutral-100 group-hover:border-neutral-300 group-hover:bg-neutral-100 hover:border-neutral-300 hover:bg-neutral-100 cursor-not-allowed",active:"ring-2 ring-primary-200"},Ce={base:"relative inline-block h-4 w-4 shrink-0 rounded-full bg-neutral-0 border border-neutral-300",unchecked:"group-hover:border-primary-600 group-hover:bg-neutral-0",checked:"border-transparent",disabled:"bg-neutral-200 border-neutral-200 group-hover:border-neutral-200 group-hover:bg-neutral-200"},lo=({children:e})=>l.jsx("h2",{className:"headline-500 text-neutral-900 group-[.is-checked]:text-neutral-0 group-[.is-disabled]:text-neutral-500",children:e}),io=({children:e})=>l.jsx("p",{className:"paragraph-200 text-neutral-800 group-[.is-checked]:text-neutral-0 group-[.is-disabled]:text-neutral-500",children:e}),ie=({children:e,value:t,disabled:o,className:r})=>l.jsx(je.Option,{value:t,disabled:o,as:u.Fragment,children:({checked:n,disabled:i,active:a})=>l.jsxs("div",{className:M(Ne.base,n&&M("is-checked",Ne.checked),i&&M("is-disabled",Ne.disabled),a&&Ne.active),children:[l.jsx("div",{className:M(Ce.base,!n&&Ce.unchecked,n&&Ce.checked,i&&Ce.disabled),children:n&&l.jsx("div",{className:M("absolute inset-0 m-auto block h-2 w-2 rounded-full bg-primary-600",i&&"bg-neutral-500")})}),l.jsx("div",{className:M("flex flex-col",r),children:e})]})});ie.Title=lo;ie.Description=io;try{ie.displayName="RadioBoxOption",ie.__docgenInfo={description:"",displayName:"RadioBoxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}try{ie.Title.displayName="RadioBoxOption.Title",ie.Title.__docgenInfo={description:"",displayName:"RadioBoxOption.Title",props:{}}}catch{}try{ie.Description.displayName="RadioBoxOption.Description",ie.Description.__docgenInfo={description:"",displayName:"RadioBoxOption.Description",props:{}}}catch{}const ce=({id:e,value:t,children:o,onChange:r,className:n})=>l.jsx(je,{id:e,value:t,onChange:r,className:n,children:o});ce.Option=ie;try{ce.displayName="RadioBox",ce.__docgenInfo={description:"",displayName:"RadioBox",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: string) => void"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}try{ce.Option.displayName="RadioBox.Option",ce.Option.__docgenInfo={description:"",displayName:"RadioBox.Option",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const A=({children:e})=>l.jsx("div",{className:"w-full",children:e});A.LabelGroup=ke;A.Label=Fe;A.Description=Me;A.ErrorMessage=Pe;A.TextInput=De;A.Textarea=Be;A.RadioInput=Te;A.NumberInput=Ae;A.Listbox=pe;A.MultiCombobox=ne;A.SingleCombobox=le;A.Group=st;A.SearchInput=dt;A.RadioBox=ce;try{A.displayName="FormField",A.__docgenInfo={description:"",displayName:"FormField",props:{}}}catch{}export{A as F,ce as R,le as S,st as a}; +import{j as l}from"./jsx-runtime-B57y5fZt.js";import{e as qt,as as we,gz as Dt,g as Bt,j as At}from"./zoom-to-fit-icon-DLvbqD3B.js";import{c as M}from"./class-names-B8CnD4Xb.js";import{r as u,R as U}from"./index-ebcBgdYO.js";import{b as Ve,l as z,S as Ie,D as J,o as v,u as Q,R as pt,X,y as ee}from"./render-BBULYOlI.js";import{I as te,o as T}from"./keyboard-6YZ08te-.js";import{I as ct,h as Gt,T as Ut,O as Rt,M as Oe,N as Nt}from"./focus-management-CO_y2GRp.js";import{c as Ht}from"./use-flags-CXYxB9RW.js";import{T as mt,e as bt,M as Kt,H as It,p as zt}from"./label-DM5sTrnd.js";import{b as Qt,M as St}from"./description-BuX7rO1I.js";import{F as Tt,u as wt,a as L,x as Vt,b as Wt}from"./use-text-value-DoNDUPYh.js";import{c as ft,p as xt}from"./hidden-BiaaAo9r.js";import{e as Lt}from"./owner-Di-Chxds.js";import{r as Se}from"./bugs-DpEN4NTH.js";import{p as ue}from"./use-disposables-BYdaWtl0.js";import{o as fe}from"./disposables-C2E3IOeh.js";import{c as jt,d as se,C as Et}from"./open-closed-C7VEErGe.js";import{s as $t}from"./use-resolve-button-type-BadQLjH2.js";import{h as Mt,n as Jt}from"./use-owner-CYYYWs7j.js";import{B as Pt}from"./badge-Bpu_07Lu.js";import{m as Ct,n as Xt}from"./platform-CkjJx1Ap.js";import{T as Yt}from"./tag-BUaKHE7W.js";function ve(e,t){let[o,r]=u.useState(e),n=Ve(e);return z(()=>r(n.current),[n,r,...t]),o}var Zt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Zt||{}),er=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(er||{}),tr=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(tr||{}),rr=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(rr||{});function Ee(e,t=o=>o){let o=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=ct(t(e.options.slice()),i=>i.dataRef.current.domRef.current),n=o?r.indexOf(o):null;return n===-1&&(n=null),{options:r,activeOptionIndex:n}}let or={1(e){var t;return(t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===0)return e;let o=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:r}=e.dataRef.current,n=e.options.findIndex(i=>r(i.dataRef.current.value));n!==-1&&(o=n)}return{...e,comboboxState:0,activeOptionIndex:o}},2(e,t){var o,r,n,i;if((o=e.dataRef.current)!=null&&o.disabled||(r=e.dataRef.current)!=null&&r.optionsRef.current&&!((n=e.dataRef.current)!=null&&n.optionsPropsRef.current.static)&&e.comboboxState===1)return e;let a=Ee(e);if(a.activeOptionIndex===null){let x=a.options.findIndex(d=>!d.dataRef.current.disabled);x!==-1&&(a.activeOptionIndex=x)}let s=Vt(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:x=>x.id,resolveDisabled:x=>x.dataRef.current.disabled});return{...e,...a,activeOptionIndex:s,activationTrigger:(i=t.trigger)!=null?i:1}},3:(e,t)=>{var o,r;let n={id:t.id,dataRef:t.dataRef},i=Ee(e,s=>[...s,n]);e.activeOptionIndex===null&&(o=e.dataRef.current)!=null&&o.isSelected(t.dataRef.current.value)&&(i.activeOptionIndex=i.options.indexOf(n));let a={...e,...i,activationTrigger:1};return(r=e.dataRef.current)!=null&&r.__demoMode&&e.dataRef.current.value===void 0&&(a.activeOptionIndex=0),a},4:(e,t)=>{let o=Ee(e,r=>{let n=r.findIndex(i=>i.id===t.id);return n!==-1&&r.splice(n,1),r});return{...e,...o,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},gt=u.createContext(null);gt.displayName="ComboboxActionsContext";function ye(e){let t=u.useContext(gt);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,ye),o}return t}let vt=u.createContext(null);vt.displayName="ComboboxDataContext";function me(e){let t=u.useContext(vt);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,me),o}return t}function ar(e,t){return Q(t.type,or,e,t)}let nr=u.Fragment;function lr(e,t){let{value:o,defaultValue:r,onChange:n,form:i,name:a,by:s=(c,h)=>c===h,disabled:x=!1,__demoMode:d=!1,nullable:_=!1,multiple:R=!1,...p}=e,[m=R?[]:void 0,N]=mt(o,n,r),[y,f]=u.useReducer(ar,{dataRef:u.createRef(),comboboxState:d?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),b=u.useRef(!1),S=u.useRef({static:!1,hold:!1}),F=u.useRef(null),P=u.useRef(null),H=u.useRef(null),w=u.useRef(null),E=v(typeof s=="string"?(c,h)=>{let V=s;return(c==null?void 0:c[V])===(h==null?void 0:h[V])}:s),I=u.useCallback(c=>Q(g.mode,{1:()=>m.some(h=>E(h,c)),0:()=>E(m,c)}),[m]),g=u.useMemo(()=>({...y,optionsPropsRef:S,labelRef:F,inputRef:P,buttonRef:H,optionsRef:w,value:m,defaultValue:r,disabled:x,mode:R?1:0,get activeOptionIndex(){if(b.current&&y.activeOptionIndex===null&&y.options.length>0){let c=y.options.findIndex(h=>!h.dataRef.current.disabled);if(c!==-1)return c}return y.activeOptionIndex},compare:E,isSelected:I,nullable:_,__demoMode:d}),[m,r,x,R,_,d,y]),j=u.useRef(g.activeOptionIndex!==null?g.options[g.activeOptionIndex]:null);u.useEffect(()=>{let c=g.activeOptionIndex!==null?g.options[g.activeOptionIndex]:null;j.current!==c&&(j.current=c)}),z(()=>{y.dataRef.current=g},[g]),Mt([g.buttonRef,g.inputRef,g.optionsRef],()=>k.closeCombobox(),g.comboboxState===0);let Y=u.useMemo(()=>({open:g.comboboxState===0,disabled:x,activeIndex:g.activeOptionIndex,activeOption:g.activeOptionIndex===null?null:g.options[g.activeOptionIndex].dataRef.current.value,value:m}),[g,x,m]),K=v(c=>{let h=g.options.find(V=>V.id===c);h&&O(h.dataRef.current.value)}),C=v(()=>{if(g.activeOptionIndex!==null){let{dataRef:c,id:h}=g.options[g.activeOptionIndex];O(c.current.value),k.goToOption(L.Specific,h)}}),re=v(()=>{f({type:0}),b.current=!0}),G=v(()=>{f({type:1}),b.current=!1}),oe=v((c,h,V)=>(b.current=!1,c===L.Specific?f({type:2,focus:L.Specific,id:h,trigger:V}):f({type:2,focus:c,trigger:V}))),$=v((c,h)=>(f({type:3,id:c,dataRef:h}),()=>{var V;((V=j.current)==null?void 0:V.id)===c&&(b.current=!0),f({type:4,id:c})})),Z=v(c=>(f({type:5,id:c}),()=>f({type:5,id:null}))),O=v(c=>Q(g.mode,{0(){return N==null?void 0:N(c)},1(){let h=g.value.slice(),V=h.findIndex(ae=>E(ae,c));return V===-1?h.push(c):h.splice(V,1),N==null?void 0:N(h)}})),k=u.useMemo(()=>({onChange:O,registerOption:$,registerLabel:Z,goToOption:oe,closeCombobox:G,openCombobox:re,selectActiveOption:C,selectOption:K}),[]),D=t===null?{}:{ref:t},B=u.useRef(null),q=ue();return u.useEffect(()=>{B.current&&r!==void 0&&q.addEventListener(B.current,"reset",()=>{N==null||N(r)})},[B,N]),U.createElement(gt.Provider,{value:k},U.createElement(vt.Provider,{value:g},U.createElement(jt,{value:Q(g.comboboxState,{0:se.Open,1:se.Closed})},a!=null&&m!=null&&bt({[a]:m}).map(([c,h],V)=>U.createElement(ft,{features:xt.Hidden,ref:V===0?ae=>{var be;B.current=(be=ae==null?void 0:ae.closest("form"))!=null?be:null}:void 0,...pt({key:c,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,name:c,value:h})})),X({ourProps:D,theirProps:p,slot:Y,defaultTag:nr,name:"Combobox"}))))}let ir="input";function ur(e,t){var o,r,n,i;let a=te(),{id:s=`headlessui-combobox-input-${a}`,onChange:x,displayValue:d,type:_="text",...R}=e,p=me("Combobox.Input"),m=ye("Combobox.Input"),N=ee(p.inputRef,t),y=Jt(p.inputRef),f=u.useRef(!1),b=ue(),S=v(()=>{m.onChange(null),p.optionsRef.current&&(p.optionsRef.current.scrollTop=0),m.goToOption(L.Nothing)}),F=function(){var C;return typeof d=="function"&&p.value!==void 0?(C=d(p.value))!=null?C:"":typeof p.value=="string"?p.value:""}();Ct(([C,re],[G,oe])=>{if(f.current)return;let $=p.inputRef.current;$&&((oe===0&&re===1||C!==G)&&($.value=C),requestAnimationFrame(()=>{if(f.current||!$||(y==null?void 0:y.activeElement)!==$)return;let{selectionStart:Z,selectionEnd:O}=$;Math.abs((O??0)-(Z??0))===0&&Z===0&&$.setSelectionRange($.value.length,$.value.length)}))},[F,p.comboboxState,y]),Ct(([C],[re])=>{if(C===0&&re===1){if(f.current)return;let G=p.inputRef.current;if(!G)return;let oe=G.value,{selectionStart:$,selectionEnd:Z,selectionDirection:O}=G;G.value="",G.value=oe,O!==null?G.setSelectionRange($,Z,O):G.setSelectionRange($,Z)}},[p.comboboxState]);let P=u.useRef(!1),H=v(()=>{P.current=!0}),w=v(()=>{b.nextFrame(()=>{P.current=!1})}),E=v(C=>{switch(f.current=!0,C.key){case T.Enter:if(f.current=!1,p.comboboxState!==0||P.current)return;if(C.preventDefault(),C.stopPropagation(),p.activeOptionIndex===null){m.closeCombobox();return}m.selectActiveOption(),p.mode===0&&m.closeCombobox();break;case T.ArrowDown:return f.current=!1,C.preventDefault(),C.stopPropagation(),Q(p.comboboxState,{0:()=>{m.goToOption(L.Next)},1:()=>{m.openCombobox()}});case T.ArrowUp:return f.current=!1,C.preventDefault(),C.stopPropagation(),Q(p.comboboxState,{0:()=>{m.goToOption(L.Previous)},1:()=>{m.openCombobox(),b.nextFrame(()=>{p.value||m.goToOption(L.Last)})}});case T.Home:if(C.shiftKey)break;return f.current=!1,C.preventDefault(),C.stopPropagation(),m.goToOption(L.First);case T.PageUp:return f.current=!1,C.preventDefault(),C.stopPropagation(),m.goToOption(L.First);case T.End:if(C.shiftKey)break;return f.current=!1,C.preventDefault(),C.stopPropagation(),m.goToOption(L.Last);case T.PageDown:return f.current=!1,C.preventDefault(),C.stopPropagation(),m.goToOption(L.Last);case T.Escape:return f.current=!1,p.comboboxState!==0?void 0:(C.preventDefault(),p.optionsRef.current&&!p.optionsPropsRef.current.static&&C.stopPropagation(),p.nullable&&p.mode===0&&p.value===null&&S(),m.closeCombobox());case T.Tab:if(f.current=!1,p.comboboxState!==0)return;p.mode===0&&m.selectActiveOption(),m.closeCombobox();break}}),I=v(C=>{x==null||x(C),p.nullable&&p.mode===0&&C.target.value===""&&S(),m.openCombobox()}),g=v(()=>{f.current=!1}),j=ve(()=>{if(p.labelId)return[p.labelId].join(" ")},[p.labelId]),Y=u.useMemo(()=>({open:p.comboboxState===0,disabled:p.disabled}),[p]),K={ref:N,id:s,role:"combobox",type:_,"aria-controls":(o=p.optionsRef.current)==null?void 0:o.id,"aria-expanded":p.comboboxState===0,"aria-activedescendant":p.activeOptionIndex===null||(r=p.options[p.activeOptionIndex])==null?void 0:r.id,"aria-labelledby":j,"aria-autocomplete":"list",defaultValue:(i=(n=e.defaultValue)!=null?n:p.defaultValue!==void 0?d==null?void 0:d(p.defaultValue):null)!=null?i:p.defaultValue,disabled:p.disabled,onCompositionStart:H,onCompositionEnd:w,onKeyDown:E,onChange:I,onBlur:g};return X({ourProps:K,theirProps:R,slot:Y,defaultTag:ir,name:"Combobox.Input"})}let sr="button";function dr(e,t){var o;let r=me("Combobox.Button"),n=ye("Combobox.Button"),i=ee(r.buttonRef,t),a=te(),{id:s=`headlessui-combobox-button-${a}`,...x}=e,d=ue(),_=v(y=>{switch(y.key){case T.ArrowDown:return y.preventDefault(),y.stopPropagation(),r.comboboxState===1&&n.openCombobox(),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})});case T.ArrowUp:return y.preventDefault(),y.stopPropagation(),r.comboboxState===1&&(n.openCombobox(),d.nextFrame(()=>{r.value||n.goToOption(L.Last)})),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})});case T.Escape:return r.comboboxState!==0?void 0:(y.preventDefault(),r.optionsRef.current&&!r.optionsPropsRef.current.static&&y.stopPropagation(),n.closeCombobox(),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})}));default:return}}),R=v(y=>{if(Se(y.currentTarget))return y.preventDefault();r.comboboxState===0?n.closeCombobox():(y.preventDefault(),n.openCombobox()),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})})}),p=ve(()=>{if(r.labelId)return[r.labelId,s].join(" ")},[r.labelId,s]),m=u.useMemo(()=>({open:r.comboboxState===0,disabled:r.disabled,value:r.value}),[r]),N={ref:i,id:s,type:$t(e,r.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(o=r.optionsRef.current)==null?void 0:o.id,"aria-expanded":r.comboboxState===0,"aria-labelledby":p,disabled:r.disabled,onClick:R,onKeyDown:_};return X({ourProps:N,theirProps:x,slot:m,defaultTag:sr,name:"Combobox.Button"})}let pr="label";function cr(e,t){let o=te(),{id:r=`headlessui-combobox-label-${o}`,...n}=e,i=me("Combobox.Label"),a=ye("Combobox.Label"),s=ee(i.labelRef,t);z(()=>a.registerLabel(r),[r]);let x=v(()=>{var _;return(_=i.inputRef.current)==null?void 0:_.focus({preventScroll:!0})}),d=u.useMemo(()=>({open:i.comboboxState===0,disabled:i.disabled}),[i]);return X({ourProps:{ref:s,id:r,onClick:x},theirProps:n,slot:d,defaultTag:pr,name:"Combobox.Label"})}let mr="ul",br=Ie.RenderStrategy|Ie.Static;function fr(e,t){let o=te(),{id:r=`headlessui-combobox-options-${o}`,hold:n=!1,...i}=e,a=me("Combobox.Options"),s=ee(a.optionsRef,t),x=Et(),d=x!==null?(x&se.Open)===se.Open:a.comboboxState===0;z(()=>{var m;a.optionsPropsRef.current.static=(m=e.static)!=null?m:!1},[a.optionsPropsRef,e.static]),z(()=>{a.optionsPropsRef.current.hold=n},[a.optionsPropsRef,n]),Tt({container:a.optionsRef.current,enabled:a.comboboxState===0,accept(m){return m.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:m.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(m){m.setAttribute("role","none")}});let _=ve(()=>{var m,N;return(N=a.labelId)!=null?N:(m=a.buttonRef.current)==null?void 0:m.id},[a.labelId,a.buttonRef.current]),R=u.useMemo(()=>({open:a.comboboxState===0}),[a]),p={"aria-labelledby":_,role:"listbox","aria-multiselectable":a.mode===1?!0:void 0,id:r,ref:s};return X({ourProps:p,theirProps:i,slot:R,defaultTag:mr,features:br,visible:d,name:"Combobox.Options"})}let xr="li";function gr(e,t){var o,r;let n=te(),{id:i=`headlessui-combobox-option-${n}`,disabled:a=!1,value:s,...x}=e,d=me("Combobox.Option"),_=ye("Combobox.Option"),R=d.activeOptionIndex!==null?d.options[d.activeOptionIndex].id===i:!1,p=d.isSelected(s),m=u.useRef(null),N=Ve({disabled:a,value:s,domRef:m,textValue:(r=(o=m.current)==null?void 0:o.textContent)==null?void 0:r.toLowerCase()}),y=ee(t,m),f=v(()=>_.selectOption(i));z(()=>_.registerOption(i,N),[N,i]);let b=u.useRef(!d.__demoMode);z(()=>{if(!d.__demoMode)return;let g=fe();return g.requestAnimationFrame(()=>{b.current=!0}),g.dispose},[]),z(()=>{if(d.comboboxState!==0||!R||!b.current||d.activationTrigger===0)return;let g=fe();return g.requestAnimationFrame(()=>{var j,Y;(Y=(j=m.current)==null?void 0:j.scrollIntoView)==null||Y.call(j,{block:"nearest"})}),g.dispose},[m,R,d.comboboxState,d.activationTrigger,d.activeOptionIndex]);let S=v(g=>{if(a)return g.preventDefault();f(),d.mode===0&&_.closeCombobox(),Xt()||requestAnimationFrame(()=>{var j;return(j=d.inputRef.current)==null?void 0:j.focus()})}),F=v(()=>{if(a)return _.goToOption(L.Nothing);_.goToOption(L.Specific,i)}),P=wt(),H=v(g=>P.update(g)),w=v(g=>{P.wasMoved(g)&&(a||R||_.goToOption(L.Specific,i,0))}),E=v(g=>{P.wasMoved(g)&&(a||R&&(d.optionsPropsRef.current.hold||_.goToOption(L.Nothing)))}),I=u.useMemo(()=>({active:R,selected:p,disabled:a}),[R,p,a]);return X({ourProps:{id:i,ref:y,role:"option",tabIndex:a===!0?void 0:-1,"aria-disabled":a===!0?!0:void 0,"aria-selected":p,disabled:void 0,onClick:S,onFocus:F,onPointerEnter:H,onMouseEnter:H,onPointerMove:w,onMouseMove:w,onPointerLeave:E,onMouseLeave:E},theirProps:x,slot:I,defaultTag:xr,name:"Combobox.Option"})}let vr=J(lr),yr=J(dr),_r=J(ur),hr=J(cr),Or=J(fr),Rr=J(gr),W=Object.assign(vr,{Input:_r,Button:yr,Label:hr,Options:Or,Option:Rr});var Nr=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Nr||{}),Cr=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Cr||{}),Ir=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ir||{}),Sr=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.RegisterLabel=7]="RegisterLabel",e))(Sr||{});function $e(e,t=o=>o){let o=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=ct(t(e.options.slice()),i=>i.dataRef.current.domRef.current),n=o?r.indexOf(o):null;return n===-1&&(n=null),{options:r,activeOptionIndex:n}}let Tr={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:o}=e.dataRef.current,r=e.options.findIndex(n=>o(n.dataRef.current.value));return r!==-1&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var o;if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=$e(e),n=Vt(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:i=>i.id,resolveDisabled:i=>i.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:n,activationTrigger:(o=t.trigger)!=null?o:1}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let o=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),n=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+o).concat(e.options.slice(0,e.activeOptionIndex+o)):e.options).find(a=>{var s;return!a.dataRef.current.disabled&&((s=a.dataRef.current.textValue)==null?void 0:s.startsWith(r))}),i=n?e.options.indexOf(n):-1;return i===-1||i===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:i,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let o={id:t.id,dataRef:t.dataRef},r=$e(e,n=>[...n,o]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(o)),{...e,...r}},6:(e,t)=>{let o=$e(e,r=>{let n=r.findIndex(i=>i.id===t.id);return n!==-1&&r.splice(n,1),r});return{...e,...o,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},yt=u.createContext(null);yt.displayName="ListboxActionsContext";function _e(e){let t=u.useContext(yt);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,_e),o}return t}let _t=u.createContext(null);_t.displayName="ListboxDataContext";function he(e){let t=u.useContext(_t);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,he),o}return t}function wr(e,t){return Q(t.type,Tr,e,t)}let Vr=u.Fragment;function Lr(e,t){let{value:o,defaultValue:r,form:n,name:i,onChange:a,by:s=(c,h)=>c===h,disabled:x=!1,horizontal:d=!1,multiple:_=!1,...R}=e;const p=d?"horizontal":"vertical";let m=ee(t),[N=_?[]:void 0,y]=mt(o,a,r),[f,b]=u.useReducer(wr,{dataRef:u.createRef(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),S=u.useRef({static:!1,hold:!1}),F=u.useRef(null),P=u.useRef(null),H=u.useRef(null),w=v(typeof s=="string"?(c,h)=>{let V=s;return(c==null?void 0:c[V])===(h==null?void 0:h[V])}:s),E=u.useCallback(c=>Q(I.mode,{1:()=>N.some(h=>w(h,c)),0:()=>w(N,c)}),[N]),I=u.useMemo(()=>({...f,value:N,disabled:x,mode:_?1:0,orientation:p,compare:w,isSelected:E,optionsPropsRef:S,labelRef:F,buttonRef:P,optionsRef:H}),[N,x,_,f]);z(()=>{f.dataRef.current=I},[I]),Mt([I.buttonRef,I.optionsRef],(c,h)=>{var V;b({type:1}),Gt(h,Ut.Loose)||(c.preventDefault(),(V=I.buttonRef.current)==null||V.focus())},I.listboxState===0);let g=u.useMemo(()=>({open:I.listboxState===0,disabled:x,value:N}),[I,x,N]),j=v(c=>{let h=I.options.find(V=>V.id===c);h&&$(h.dataRef.current.value)}),Y=v(()=>{if(I.activeOptionIndex!==null){let{dataRef:c,id:h}=I.options[I.activeOptionIndex];$(c.current.value),b({type:2,focus:L.Specific,id:h})}}),K=v(()=>b({type:0})),C=v(()=>b({type:1})),re=v((c,h,V)=>c===L.Specific?b({type:2,focus:L.Specific,id:h,trigger:V}):b({type:2,focus:c,trigger:V})),G=v((c,h)=>(b({type:5,id:c,dataRef:h}),()=>b({type:6,id:c}))),oe=v(c=>(b({type:7,id:c}),()=>b({type:7,id:null}))),$=v(c=>Q(I.mode,{0(){return y==null?void 0:y(c)},1(){let h=I.value.slice(),V=h.findIndex(ae=>w(ae,c));return V===-1?h.push(c):h.splice(V,1),y==null?void 0:y(h)}})),Z=v(c=>b({type:3,value:c})),O=v(()=>b({type:4})),k=u.useMemo(()=>({onChange:$,registerOption:G,registerLabel:oe,goToOption:re,closeListbox:C,openListbox:K,selectActiveOption:Y,selectOption:j,search:Z,clearSearch:O}),[]),D={ref:m},B=u.useRef(null),q=ue();return u.useEffect(()=>{B.current&&r!==void 0&&q.addEventListener(B.current,"reset",()=>{y==null||y(r)})},[B,y]),U.createElement(yt.Provider,{value:k},U.createElement(_t.Provider,{value:I},U.createElement(jt,{value:Q(I.listboxState,{0:se.Open,1:se.Closed})},i!=null&&N!=null&&bt({[i]:N}).map(([c,h],V)=>U.createElement(ft,{features:xt.Hidden,ref:V===0?ae=>{var be;B.current=(be=ae==null?void 0:ae.closest("form"))!=null?be:null}:void 0,...pt({key:c,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:n,name:c,value:h})})),X({ourProps:D,theirProps:R,slot:g,defaultTag:Vr,name:"Listbox"}))))}let jr="button";function Er(e,t){var o;let r=te(),{id:n=`headlessui-listbox-button-${r}`,...i}=e,a=he("Listbox.Button"),s=_e("Listbox.Button"),x=ee(a.buttonRef,t),d=ue(),_=v(f=>{switch(f.key){case T.Space:case T.Enter:case T.ArrowDown:f.preventDefault(),s.openListbox(),d.nextFrame(()=>{a.value||s.goToOption(L.First)});break;case T.ArrowUp:f.preventDefault(),s.openListbox(),d.nextFrame(()=>{a.value||s.goToOption(L.Last)});break}}),R=v(f=>{switch(f.key){case T.Space:f.preventDefault();break}}),p=v(f=>{if(Se(f.currentTarget))return f.preventDefault();a.listboxState===0?(s.closeListbox(),d.nextFrame(()=>{var b;return(b=a.buttonRef.current)==null?void 0:b.focus({preventScroll:!0})})):(f.preventDefault(),s.openListbox())}),m=ve(()=>{if(a.labelId)return[a.labelId,n].join(" ")},[a.labelId,n]),N=u.useMemo(()=>({open:a.listboxState===0,disabled:a.disabled,value:a.value}),[a]),y={ref:x,id:n,type:$t(e,a.buttonRef),"aria-haspopup":"listbox","aria-controls":(o=a.optionsRef.current)==null?void 0:o.id,"aria-expanded":a.listboxState===0,"aria-labelledby":m,disabled:a.disabled,onKeyDown:_,onKeyUp:R,onClick:p};return X({ourProps:y,theirProps:i,slot:N,defaultTag:jr,name:"Listbox.Button"})}let $r="label";function Mr(e,t){let o=te(),{id:r=`headlessui-listbox-label-${o}`,...n}=e,i=he("Listbox.Label"),a=_e("Listbox.Label"),s=ee(i.labelRef,t);z(()=>a.registerLabel(r),[r]);let x=v(()=>{var _;return(_=i.buttonRef.current)==null?void 0:_.focus({preventScroll:!0})}),d=u.useMemo(()=>({open:i.listboxState===0,disabled:i.disabled}),[i]);return X({ourProps:{ref:s,id:r,onClick:x},theirProps:n,slot:d,defaultTag:$r,name:"Listbox.Label"})}let Pr="ul",Fr=Ie.RenderStrategy|Ie.Static;function kr(e,t){var o;let r=te(),{id:n=`headlessui-listbox-options-${r}`,...i}=e,a=he("Listbox.Options"),s=_e("Listbox.Options"),x=ee(a.optionsRef,t),d=ue(),_=ue(),R=Et(),p=R!==null?(R&se.Open)===se.Open:a.listboxState===0;u.useEffect(()=>{var b;let S=a.optionsRef.current;S&&a.listboxState===0&&S!==((b=Lt(S))==null?void 0:b.activeElement)&&S.focus({preventScroll:!0})},[a.listboxState,a.optionsRef]);let m=v(b=>{switch(_.dispose(),b.key){case T.Space:if(a.searchQuery!=="")return b.preventDefault(),b.stopPropagation(),s.search(b.key);case T.Enter:if(b.preventDefault(),b.stopPropagation(),a.activeOptionIndex!==null){let{dataRef:S}=a.options[a.activeOptionIndex];s.onChange(S.current.value)}a.mode===0&&(s.closeListbox(),fe().nextFrame(()=>{var S;return(S=a.buttonRef.current)==null?void 0:S.focus({preventScroll:!0})}));break;case Q(a.orientation,{vertical:T.ArrowDown,horizontal:T.ArrowRight}):return b.preventDefault(),b.stopPropagation(),s.goToOption(L.Next);case Q(a.orientation,{vertical:T.ArrowUp,horizontal:T.ArrowLeft}):return b.preventDefault(),b.stopPropagation(),s.goToOption(L.Previous);case T.Home:case T.PageUp:return b.preventDefault(),b.stopPropagation(),s.goToOption(L.First);case T.End:case T.PageDown:return b.preventDefault(),b.stopPropagation(),s.goToOption(L.Last);case T.Escape:return b.preventDefault(),b.stopPropagation(),s.closeListbox(),d.nextFrame(()=>{var S;return(S=a.buttonRef.current)==null?void 0:S.focus({preventScroll:!0})});case T.Tab:b.preventDefault(),b.stopPropagation();break;default:b.key.length===1&&(s.search(b.key),_.setTimeout(()=>s.clearSearch(),350));break}}),N=ve(()=>{var b,S,F;return(F=(b=a.labelRef.current)==null?void 0:b.id)!=null?F:(S=a.buttonRef.current)==null?void 0:S.id},[a.labelRef.current,a.buttonRef.current]),y=u.useMemo(()=>({open:a.listboxState===0}),[a]),f={"aria-activedescendant":a.activeOptionIndex===null||(o=a.options[a.activeOptionIndex])==null?void 0:o.id,"aria-multiselectable":a.mode===1?!0:void 0,"aria-labelledby":N,"aria-orientation":a.orientation,id:n,onKeyDown:m,role:"listbox",tabIndex:0,ref:x};return X({ourProps:f,theirProps:i,slot:y,defaultTag:Pr,features:Fr,visible:p,name:"Listbox.Options"})}let qr="li";function Dr(e,t){let o=te(),{id:r=`headlessui-listbox-option-${o}`,disabled:n=!1,value:i,...a}=e,s=he("Listbox.Option"),x=_e("Listbox.Option"),d=s.activeOptionIndex!==null?s.options[s.activeOptionIndex].id===r:!1,_=s.isSelected(i),R=u.useRef(null),p=Wt(R),m=Ve({disabled:n,value:i,domRef:R,get textValue(){return p()}}),N=ee(t,R);z(()=>{if(s.listboxState!==0||!d||s.activationTrigger===0)return;let w=fe();return w.requestAnimationFrame(()=>{var E,I;(I=(E=R.current)==null?void 0:E.scrollIntoView)==null||I.call(E,{block:"nearest"})}),w.dispose},[R,d,s.listboxState,s.activationTrigger,s.activeOptionIndex]),z(()=>x.registerOption(r,m),[m,r]);let y=v(w=>{if(n)return w.preventDefault();x.onChange(i),s.mode===0&&(x.closeListbox(),fe().nextFrame(()=>{var E;return(E=s.buttonRef.current)==null?void 0:E.focus({preventScroll:!0})}))}),f=v(()=>{if(n)return x.goToOption(L.Nothing);x.goToOption(L.Specific,r)}),b=wt(),S=v(w=>b.update(w)),F=v(w=>{b.wasMoved(w)&&(n||d||x.goToOption(L.Specific,r,0))}),P=v(w=>{b.wasMoved(w)&&(n||d&&x.goToOption(L.Nothing))}),H=u.useMemo(()=>({active:d,selected:_,disabled:n}),[d,_,n]);return X({ourProps:{id:r,ref:N,role:"option",tabIndex:n===!0?void 0:-1,"aria-disabled":n===!0?!0:void 0,"aria-selected":_,disabled:void 0,onClick:y,onFocus:f,onPointerEnter:S,onMouseEnter:S,onPointerMove:F,onMouseMove:F,onPointerLeave:P,onMouseLeave:P},theirProps:a,slot:H,defaultTag:qr,name:"Listbox.Option"})}let Br=J(Lr),Ar=J(Er),Gr=J(Mr),Ur=J(kr),Hr=J(Dr),Le=Object.assign(Br,{Button:Ar,Label:Gr,Options:Ur,Option:Hr});var Kr=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(Kr||{});let zr={0(e,t){let o=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:ct(o,r=>r.element.current)}},1(e,t){let o=e.options.slice(),r=e.options.findIndex(n=>n.id===t.id);return r===-1?e:(o.splice(r,1),{...e,options:o})}},ht=u.createContext(null);ht.displayName="RadioGroupDataContext";function Ft(e){let t=u.useContext(ht);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,Ft),o}return t}let Ot=u.createContext(null);Ot.displayName="RadioGroupActionsContext";function kt(e){let t=u.useContext(Ot);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,kt),o}return t}function Qr(e,t){return Q(t.type,zr,e,t)}let Wr="div";function Jr(e,t){let o=te(),{id:r=`headlessui-radiogroup-${o}`,value:n,defaultValue:i,form:a,name:s,onChange:x,by:d=(O,k)=>O===k,disabled:_=!1,...R}=e,p=v(typeof d=="string"?(O,k)=>{let D=d;return(O==null?void 0:O[D])===(k==null?void 0:k[D])}:d),[m,N]=u.useReducer(Qr,{options:[]}),y=m.options,[f,b]=It(),[S,F]=St(),P=u.useRef(null),H=ee(P,t),[w,E]=mt(n,x,i),I=u.useMemo(()=>y.find(O=>!O.propsRef.current.disabled),[y]),g=u.useMemo(()=>y.some(O=>p(O.propsRef.current.value,w)),[y,w]),j=v(O=>{var k;if(_||p(O,w))return!1;let D=(k=y.find(B=>p(B.propsRef.current.value,O)))==null?void 0:k.propsRef.current;return D!=null&&D.disabled?!1:(E==null||E(O),!0)});Tt({container:P.current,accept(O){return O.getAttribute("role")==="radio"?NodeFilter.FILTER_REJECT:O.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(O){O.setAttribute("role","none")}});let Y=v(O=>{let k=P.current;if(!k)return;let D=Lt(k),B=y.filter(q=>q.propsRef.current.disabled===!1).map(q=>q.element.current);switch(O.key){case T.Enter:zt(O.currentTarget);break;case T.ArrowLeft:case T.ArrowUp:if(O.preventDefault(),O.stopPropagation(),Rt(B,Oe.Previous|Oe.WrapAround)===Nt.Success){let q=y.find(c=>c.element.current===(D==null?void 0:D.activeElement));q&&j(q.propsRef.current.value)}break;case T.ArrowRight:case T.ArrowDown:if(O.preventDefault(),O.stopPropagation(),Rt(B,Oe.Next|Oe.WrapAround)===Nt.Success){let q=y.find(c=>c.element.current===(D==null?void 0:D.activeElement));q&&j(q.propsRef.current.value)}break;case T.Space:{O.preventDefault(),O.stopPropagation();let q=y.find(c=>c.element.current===(D==null?void 0:D.activeElement));q&&j(q.propsRef.current.value)}break}}),K=v(O=>(N({type:0,...O}),()=>N({type:1,id:O.id}))),C=u.useMemo(()=>({value:w,firstOption:I,containsCheckedOption:g,disabled:_,compare:p,...m}),[w,I,g,_,p,m]),re=u.useMemo(()=>({registerOption:K,change:j}),[K,j]),G={ref:H,id:r,role:"radiogroup","aria-labelledby":f,"aria-describedby":S,onKeyDown:Y},oe=u.useMemo(()=>({value:w}),[w]),$=u.useRef(null),Z=ue();return u.useEffect(()=>{$.current&&i!==void 0&&Z.addEventListener($.current,"reset",()=>{j(i)})},[$,j]),U.createElement(F,{name:"RadioGroup.Description"},U.createElement(b,{name:"RadioGroup.Label"},U.createElement(Ot.Provider,{value:re},U.createElement(ht.Provider,{value:C},s!=null&&w!=null&&bt({[s]:w}).map(([O,k],D)=>U.createElement(ft,{features:xt.Hidden,ref:D===0?B=>{var q;$.current=(q=B==null?void 0:B.closest("form"))!=null?q:null}:void 0,...pt({key:O,as:"input",type:"radio",checked:k!=null,hidden:!0,readOnly:!0,form:a,name:O,value:k})})),X({ourProps:G,theirProps:R,slot:oe,defaultTag:Wr,name:"RadioGroup"})))))}var Xr=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(Xr||{});let Yr="div";function Zr(e,t){var o;let r=te(),{id:n=`headlessui-radiogroup-option-${r}`,value:i,disabled:a=!1,...s}=e,x=u.useRef(null),d=ee(x,t),[_,R]=It(),[p,m]=St(),{addFlag:N,removeFlag:y,hasFlag:f}=Ht(1),b=Ve({value:i,disabled:a}),S=Ft("RadioGroup.Option"),F=kt("RadioGroup.Option");z(()=>F.registerOption({id:n,element:x,propsRef:b}),[n,F,x,e]);let P=v(K=>{var C;if(Se(K.currentTarget))return K.preventDefault();F.change(i)&&(N(2),(C=x.current)==null||C.focus())}),H=v(K=>{if(Se(K.currentTarget))return K.preventDefault();N(2)}),w=v(()=>y(2)),E=((o=S.firstOption)==null?void 0:o.id)===n,I=S.disabled||a,g=S.compare(S.value,i),j={ref:d,id:n,role:"radio","aria-checked":g?"true":"false","aria-labelledby":_,"aria-describedby":p,"aria-disabled":I?!0:void 0,tabIndex:I?-1:g||!S.containsCheckedOption&&E?0:-1,onClick:I?void 0:P,onFocus:I?void 0:H,onBlur:I?void 0:w},Y=u.useMemo(()=>({checked:g,disabled:I,active:f(2)}),[g,I,f]);return U.createElement(m,{name:"RadioGroup.Description"},U.createElement(R,{name:"RadioGroup.Label"},X({ourProps:j,theirProps:s,slot:Y,defaultTag:Yr,name:"RadioGroup.Option"})))}let eo=J(Jr),to=J(Zr),je=Object.assign(eo,{Option:to,Label:Kt,Description:Qt});const Me=({id:e,children:t})=>l.jsx("p",{id:`${e}-description`,className:"paragraph-100 text-neutral-700",children:t});try{Me.displayName="FormFieldDescription",Me.__docgenInfo={description:"",displayName:"FormFieldDescription",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}}}}}catch{}const Pe=({children:e})=>l.jsxs("div",{className:"mt-0.5 flex items-center gap-1",children:[l.jsx(qt,{className:"h-3 w-3 fill-danger-500"}),l.jsx("p",{className:"paragraph-100 text-danger-500 ",children:e})]});try{Pe.displayName="FormFieldErrorMessage",Pe.__docgenInfo={description:"",displayName:"FormFieldErrorMessage",props:{}}}catch{}const Fe=({htmlFor:e,children:t,optional:o})=>l.jsxs("div",{className:"flex items-baseline gap-1 text-neutral-800",children:[l.jsx("label",{htmlFor:e,className:"headline-400",children:t}),o?l.jsx("div",{className:"paragraph-100",children:"(Optional)"}):null]});try{Fe.displayName="FormFieldLabel",Fe.__docgenInfo={description:"",displayName:"FormFieldLabel",props:{htmlFor:{defaultValue:null,description:"",name:"htmlFor",required:!0,type:{name:"string"}},optional:{defaultValue:null,description:"",name:"optional",required:!1,type:{name:"boolean"}}}}}catch{}const ke=({children:e})=>l.jsx("div",{className:"mb-2 flex flex-col gap-1",children:e});try{ke.displayName="FormFieldLabelGroup",ke.__docgenInfo={description:"",displayName:"FormFieldLabelGroup",props:{}}}catch{}const qe=({children:e,value:t,disabled:o})=>l.jsx(je.Option,{value:t,className:"max-w-fit cursor-pointer focus:outline-none",disabled:o,children:({checked:r,disabled:n})=>l.jsxs("div",{className:"flex items-center gap-3",children:[r?l.jsx("span",{className:M("relative inline-block h-4 w-4 rounded-full bg-primary-400 hover:bg-primary-500 active:bg-primary-600",n&&"bg-neutral-100 hover:bg-neutral-100 active:bg-neutral-100"),children:l.jsx("span",{className:M("absolute inset-0 m-auto block h-2 w-2 rounded-full bg-neutral-0",n&&"bg-neutral-500")})}):l.jsx("span",{className:M("inline-block h-4 w-4 rounded-full border border-neutral-400 hover:border-neutral-600 active:border-neutral-500 active:bg-neutral-100",n&&"border-0 bg-neutral-100")}),l.jsx("p",{className:M("paragraph-200",n&&"text-neutral-600"),children:e})]})});try{qe.displayName="RadioInputOption",qe.__docgenInfo={description:"",displayName:"RadioInputOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const Te=({id:e,children:t,value:o,onChange:r})=>l.jsx(je,{id:e,value:o,onChange:r,children:t});Te.Option=qe;try{Te.displayName="RadioInput",Te.__docgenInfo={description:"",displayName:"RadioInput",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: string) => void"}}}}}catch{}const ro="target-field",oo=M("[.group.form-field-group_&:first-child_.target-field]:rounded-r-none [.group.form-field-group_&:first-child_.target-field]:border-r-0","[.group.form-field-group_&:not(:first-child):not(:last-child)_.target-field]:rounded-none [.group.form-field-group_&:not(:first-child):not(:last-child)_.target-field]:border-r-0","[.group.form-field-group_&:last-child_.target-field]:border-l-1 [.group.form-field-group_&:last-child_.target-field]:rounded-l-none"),De=({ariaDescribedBy:e,type:t="text",LeftIcon:o,readOnly:r,autoSelect:n,error:i,disabled:a,className:s,...x})=>{const d=u.useRef(null),_=()=>{n&&d.current&&d.current.select()};return l.jsxs("div",{className:M("relative w-full",oo),children:[o?l.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center pl-3","aria-hidden":"true",children:l.jsx(o,{className:"text-gray-400 h-3.5 w-3.5 fill-neutral-600"})}):null,l.jsx("input",{ref:d,"aria-describedby":e,onMouseOver:_,onFocus:_,onClick:_,type:t,className:M(ro,"paragraph-100 relative block h-8 w-full rounded border border-neutral-400 py-2 pl-3 pr-2 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",o&&"pl-9",r&&"bg-primary-50",a&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!i&&!a&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",i&&!a&&"border-danger-500",s),readOnly:r,disabled:a,...x})]})};try{De.displayName="TextInput",De.__docgenInfo={description:"",displayName:"TextInput",props:{type:{defaultValue:{value:"text"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"email"'},{value:'"password"'}]}},autoSelect:{defaultValue:null,description:"",name:"autoSelect",required:!1,type:{name:"boolean"}},ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!1,type:{name:"string"}},LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}}}}}catch{}const Be=({id:e,value:t,onChange:o,placeholder:r,ariaDescribedBy:n,error:i,disabled:a,rows:s,cols:x,className:d})=>l.jsx("textarea",{id:e,name:e,value:t,onChange:o,placeholder:r,"aria-describedby":n,className:M("paragraph-100 block min-h-[2rem] w-full rounded border border-neutral-400 py-2 pl-3 pr-2 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",a&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!i&&!a&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",i&&!a&&"border-danger-500",d),disabled:a,rows:s,cols:x});try{Be.displayName="Textarea",Be.__docgenInfo={description:"",displayName:"Textarea",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(event: ChangeEvent) => void"}},ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!1,type:{name:"string"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},rows:{defaultValue:null,description:"",name:"rows",required:!1,type:{name:"number"}},cols:{defaultValue:null,description:"",name:"cols",required:!1,type:{name:"number"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const ao={left:"text-left",center:"text-center",right:"text-right"},Ae=({id:e,placeholder:t,value:o,min:r,max:n,onChange:i,ariaDescribedBy:a,LeftIcon:s,textAlign:x="left",readOnly:d,error:_,disabled:R})=>l.jsxs("div",{className:"relative w-full",children:[s?l.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3","aria-hidden":"true",children:l.jsx(s,{className:"text-gray-400 h-4 w-4 fill-neutral-600"})}):null,l.jsx("input",{id:e,name:e,value:o,readOnly:d,onChange:i,placeholder:t,"aria-describedby":a,type:"number",min:r,max:n,className:M("paragraph-100 block w-full rounded border border-neutral-400 py-2 pl-3 pr-2 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",ao[x],s&&"pl-9",d&&"bg-neutral-100",R&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!_&&!R&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",_&&!R&&"border-danger-500"),disabled:R})]});try{Ae.displayName="NumberInput",Ae.__docgenInfo={description:"",displayName:"NumberInput",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"number"}},textAlign:{defaultValue:{value:"left"},description:"",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"left"'},{value:'"right"'}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((event: ChangeEvent) => void)"}},readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"boolean"}},ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!0,type:{name:"string"}},LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},min:{defaultValue:null,description:"",name:"min",required:!1,type:{name:"number"}},max:{defaultValue:null,description:"",name:"max",required:!1,type:{name:"number"}}}}}catch{}const Ge=({children:e})=>l.jsx(Le.Options,{className:"absolute mt-1 max-h-60 w-full overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",children:e});try{Ge.displayName="ListboxOptions",Ge.__docgenInfo={description:"",displayName:"ListboxOptions",props:{}}}catch{}const Ue=({children:e,badgeType:t="neutral"})=>l.jsx("div",{className:"flex items-center",children:l.jsx(Pt,{type:t,children:e})});try{Ue.displayName="ListboxBadgeOption",Ue.__docgenInfo={description:"",displayName:"ListboxBadgeOption",props:{badgeType:{defaultValue:{value:"neutral"},description:"",name:"badgeType",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"neutral"'},{value:'"violet"'},{value:'"green"'},{value:'"yellow"'},{value:'"teal"'},{value:'"orange"'},{value:'"pink"'},{value:'"red"'},{value:'"purple"'}]}}}}}catch{}const He=({children:e,LeftIcon:t})=>l.jsxs("div",{className:"flex items-center gap-2",children:[t?l.jsx(t,{className:"h-3 w-3 fill-neutral-500 ui-selected:fill-primary-500"}):null,l.jsx("div",{className:"paragraph-100",children:e})]});try{He.displayName="ListboxTextOption",He.__docgenInfo={description:"",displayName:"ListboxTextOption",props:{LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}}}}}catch{}const Re={base:"relative cursor-pointer px-3 py-2 ",selected:"bg-primary-100 text-primary-500 before:absolute before:bottom-0 before:left-0 before:top-0 before:block before:w-[2px] before:rounded-r-md before:bg-primary-400",active:"bg-neutral-50 bg-primary-100",disabled:"cursor-not-allowed bg-neutral-50 text-neutral-400"},xe=({value:e,disabled:t,children:o})=>l.jsx(Le.Option,{value:e,as:u.Fragment,disabled:t,children:({active:r,selected:n})=>l.jsx("li",{className:M(Re.base,r&&Re.active,n&&Re.selected,t&&Re.disabled),children:o})});xe.BadgeOption=Ue;xe.TextOption=He;try{xe.displayName="ListboxOption",xe.__docgenInfo={description:"",displayName:"ListboxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const Ke=({placeholder:e,value:t,badgeType:o="neutral"})=>t?l.jsx(Pt,{type:o,children:t}):l.jsx("div",{className:"paragraph-100 text-neutral-600",children:e});try{Ke.displayName="ListboxButtonBadgeValue",Ke.__docgenInfo={description:"",displayName:"ListboxButtonBadgeValue",props:{placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | number | null"}},badgeType:{defaultValue:{value:"neutral"},description:"",name:"badgeType",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"neutral"'},{value:'"violet"'},{value:'"green"'},{value:'"yellow"'},{value:'"teal"'},{value:'"orange"'},{value:'"pink"'},{value:'"red"'},{value:'"purple"'}]}}}}}catch{}const ze=({placeholder:e,value:t})=>t?l.jsx("div",{className:"paragraph-100",children:t}):l.jsx("div",{className:"paragraph-100 text-neutral-600 group-hover:text-neutral-700",children:e});try{ze.displayName="ListboxButtonTextValue",ze.__docgenInfo={description:"",displayName:"ListboxButtonTextValue",props:{placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | number | null"}}}}}catch{}const ge=({children:e})=>l.jsxs(Le.Button,{className:"group flex h-8 w-full cursor-pointer items-center rounded border border-neutral-400 bg-neutral-0 py-2 pl-3 pr-8 outline-none hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200 ui-open:border-primary-400 ui-open:ring-2 ui-open:ring-primary-200",children:[e,l.jsx("div",{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:l.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100 focus:outline-none",children:l.jsx(we,{className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})})]});ge.BadgeValue=Ke;ge.TextValue=ze;try{ge.displayName="ListboxButton",ge.__docgenInfo={description:"",displayName:"ListboxButton",props:{}}}catch{}const no=M("[.group.form-field-group_&:first-child_button]:rounded-r-none [.group.form-field-group_&:first-child_button]:border-r-0","[.group.form-field-group_&:not(:first-child):not(:last-child)_button]:rounded-none [.group.form-field-group_&:not(:first-child):not(:last-child)_button]:border-r-0","[.group.form-field-group_&:last-child_button]:rounded-l-none"),pe=({children:e,value:t,onChange:o,className:r})=>l.jsx(Le,{value:t,onChange:o,children:l.jsx("div",{className:M("relative w-full",no,r),children:e})});pe.Button=ge;pe.Options=Ge;pe.Option=xe;try{pe.displayName="Listbox",pe.__docgenInfo={description:"",displayName:"Listbox",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: TValue) => void"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const Qe=({value:e,children:t})=>l.jsx(W.Option,{value:e,className:"paragraph-100 flex cursor-pointer items-center gap-1 px-3 py-2 text-neutral-700 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:t});try{Qe.displayName="MultiComboboxCustomOption",Qe.__docgenInfo={description:"",displayName:"MultiComboboxCustomOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const We=({children:e})=>l.jsx("div",{className:"px-3 py-2 ui-selected:bg-primary-100",children:e});try{We.displayName="MultiComboboxEmptyOption",We.__docgenInfo={description:"",displayName:"MultiComboboxEmptyOption",props:{}}}catch{}const Je=({id:e,displayValue:t,placeholder:o,onChange:r,showButton:n=!0})=>l.jsxs("div",{className:"relative",children:[l.jsx(W.Input,{id:e,name:e,placeholder:o,displayValue:()=>t,onChange:r,className:"paragraph-100 flex h-8 w-full items-center rounded border border-neutral-400 py-2 pl-3 pr-8 focus-visible:border-primary-400 focus-visible:ring-2 focus-visible:ring-primary-200"}),n?l.jsx(W.Button,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:l.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:l.jsx(we,{name:"caret-down",className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})}):null]});try{Je.displayName="MultiComboboxInput",Je.__docgenInfo={description:"",displayName:"MultiComboboxInput",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},displayValue:{defaultValue:null,description:"",name:"displayValue",required:!0,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(event: ChangeEvent) => void"}},showButton:{defaultValue:{value:"true"},description:"",name:"showButton",required:!1,type:{name:"boolean"}}}}}catch{}const Xe=({value:e,children:t})=>l.jsxs(W.Option,{value:e,className:"relative flex cursor-pointer items-center px-3 py-2 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:[t,l.jsx("div",{className:"absolute inset-y-0 right-3 hidden items-center fill-primary-500 ui-selected:flex",children:l.jsx(Dt,{})})]});try{Xe.displayName="MultiComboboxOption",Xe.__docgenInfo={description:"",displayName:"MultiComboboxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const Ye=({children:e,className:t})=>l.jsx(W.Options,{hold:!0,className:M("absolute mt-1 max-h-60 w-full overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",t),children:e});try{Ye.displayName="MultiComboboxOptions",Ye.__docgenInfo={description:"",displayName:"MultiComboboxOptions",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const Ze=({children:e})=>l.jsx("div",{className:"flex flex-wrap gap-2",children:e});try{Ze.displayName="MultiComboboxResultsBadges",Ze.__docgenInfo={description:"",displayName:"MultiComboboxResultsBadges",props:{}}}catch{}const et=({children:e})=>l.jsx("div",{className:"paragraph-100 mt-2 text-neutral-900",children:e});try{et.displayName="MultiComboboxResultsLabel",et.__docgenInfo={description:"",displayName:"MultiComboboxResultsLabel",props:{}}}catch{}const tt=({children:e})=>l.jsx("div",{className:"flex flex-wrap gap-2",children:e});try{tt.displayName="MultiComboboxResultsTags",tt.__docgenInfo={description:"",displayName:"MultiComboboxResultsTags",props:{}}}catch{}const rt=({children:e})=>l.jsx("div",{className:"paragraph-100",children:e});try{rt.displayName="MultiComboboxResultsText",rt.__docgenInfo={description:"",displayName:"MultiComboboxResultsText",props:{}}}catch{}const de=({children:e})=>l.jsx("div",{className:"flex flex-col gap-2",children:e});de.Label=et;de.Text=rt;de.Badges=Ze;de.Tags=tt;try{de.displayName="MultiComboboxResults",de.__docgenInfo={description:"",displayName:"MultiComboboxResults",props:{}}}catch{}const ne=({value:e,onChange:t,children:o})=>l.jsx(W,{multiple:!0,value:e,onChange:t,children:l.jsx("div",{className:"relative",children:o})});ne.Input=Je;ne.Options=Ye;ne.Option=Xe;ne.CustomOption=Qe;ne.EmptyOption=We;ne.Results=de;try{ne.displayName="MultiCombobox",ne.__docgenInfo={description:"",displayName:"MultiCombobox",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue[]"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: TValue[]) => void"}}}}}catch{}const ot=({id:e,displayValue:t,placeholder:o,onChange:r,showButton:n=!0})=>l.jsxs("div",{className:"relative",children:[l.jsx(W.Input,{id:e,name:e,placeholder:o,displayValue:t,onChange:r,className:"paragraph-100 flex h-8 w-full items-center rounded border border-neutral-400 py-2 pl-3 pr-8 focus-visible:border-primary-400 focus-visible:ring-2 focus-visible:ring-primary-200 disabled:border-neutral-300 disabled:bg-neutral-100 disabled:text-neutral-600"}),n?l.jsx(W.Button,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:l.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:l.jsx(we,{name:"caret-down",className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})}):null]});try{ot.displayName="SingleComboboxInput",ot.__docgenInfo={description:"",displayName:"SingleComboboxInput",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},displayValue:{defaultValue:null,description:"",name:"displayValue",required:!1,type:{name:"((item: TValue) => string)"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(event: ChangeEvent) => void"}},showButton:{defaultValue:{value:"true"},description:"",name:"showButton",required:!1,type:{name:"boolean"}}}}}catch{}const at=({children:e})=>l.jsx(W.Options,{hold:!0,className:"absolute mt-1 max-h-60 w-full overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",children:e});try{at.displayName="SingleComboboxOptions",at.__docgenInfo={description:"",displayName:"SingleComboboxOptions",props:{}}}catch{}const nt=({value:e,children:t})=>l.jsx(W.Option,{value:e,className:"relative flex cursor-pointer items-center px-3 py-2 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:t});try{nt.displayName="SingleComboboxOption",nt.__docgenInfo={description:"",displayName:"SingleComboboxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const lt=({onUnselect:e,children:t})=>l.jsx("div",{className:"relative",children:l.jsxs("div",{className:"paragraph-100 flex h-8 w-full items-center rounded border border-neutral-400 py-2 pl-3 pr-8 focus-visible:border-primary-400 focus-visible:ring-2 focus-visible:ring-primary-200",children:[l.jsx(Yt,{onClick:e,children:t}),l.jsx(W.Button,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:l.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:l.jsx(we,{className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})})]})});try{lt.displayName="SingleComboboxResultInput",lt.__docgenInfo={description:"",displayName:"SingleComboboxResultInput",props:{onUnselect:{defaultValue:null,description:"",name:"onUnselect",required:!0,type:{name:"() => void"}}}}}catch{}const it=({value:e,children:t})=>l.jsx(W.Option,{value:e,className:"paragraph-100 flex cursor-pointer items-center gap-1 px-3 py-2 text-neutral-700 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:t});try{it.displayName="SingleComboboxCustomOption",it.__docgenInfo={description:"",displayName:"SingleComboboxCustomOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const ut=({children:e})=>l.jsx("div",{className:"px-3 py-2 ui-selected:bg-primary-100",children:e});try{ut.displayName="SingleComboboxEmptyOption",ut.__docgenInfo={description:"",displayName:"SingleComboboxEmptyOption",props:{}}}catch{}const le=({value:e,onChange:t,children:o,disabled:r})=>l.jsx(W,{value:e,onChange:t,disabled:r,children:l.jsx("div",{className:"relative",children:o})});le.Input=ot;le.ResultInput=lt;le.Options=at;le.Option=nt;le.EmptyOption=ut;le.CustomOption=it;try{le.displayName="SingleCombobox",le.__docgenInfo={description:"",displayName:"SingleCombobox",props:{value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"TValue"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: TValue) => void"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const st=({children:e})=>l.jsx("div",{className:"form-field-group group flex w-full flex-row",children:e});try{st.displayName="FormFieldGroup",st.__docgenInfo={description:"",displayName:"FormFieldGroup",props:{}}}catch{}const dt=({ariaDescribedBy:e,readOnly:t,autoSelect:o,onClear:r,error:n,value:i,disabled:a,className:s,...x})=>{const d=u.useRef(null),_=!t&&!a&&i!==void 0&&i!=="",R=u.useCallback(()=>{o&&d.current&&d.current.select()},[o]),p=u.useCallback(m=>{(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),m.stopPropagation(),r())},[r]);return l.jsxs("div",{className:M("relative w-full"),children:[l.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center pl-3","aria-hidden":"true",children:l.jsx(Bt,{className:"text-gray-400 h-3.5 w-3.5 fill-neutral-600"})}),l.jsx("input",{ref:d,"aria-describedby":e,onMouseOver:R,onFocus:R,onClick:R,type:"search",className:M("paragraph-100 relative block h-8 w-full rounded border border-neutral-400 py-2 pl-9 pr-8 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",t&&"bg-neutral-100",a&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!n&&!a&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",n&&!a&&"border-danger-500",s),readOnly:t,disabled:a,value:i,...x}),_?l.jsx("div",{className:"absolute inset-y-0 right-0 z-10 flex items-center justify-center pr-2",children:l.jsx("button",{type:"button","aria-label":"Clear search input",tabIndex:0,onClick:r,onKeyDown:p,className:"rounded bg-neutral-100 p-0.5 hover:bg-neutral-200",children:l.jsx(At,{className:"h-3 w-3 fill-neutral-600"})})}):null]})};try{dt.displayName="SearchInput",dt.__docgenInfo={description:"",displayName:"SearchInput",props:{autoSelect:{defaultValue:null,description:"",name:"autoSelect",required:!1,type:{name:"boolean"}},ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!1,type:{name:"string"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}},onClear:{defaultValue:null,description:"",name:"onClear",required:!0,type:{name:"() => void"}}}}}catch{}const Ne={base:"group relative flex items-center gap-3 rounded-lg bg-neutral-0 border p-4 border-neutral-300 hover:border-primary-600 hover:bg-primary-50 cursor-pointer focus:outline-none",checked:"border-primary-600 bg-primary-600 hover:bg-primary-600 hover:text-neutral-0",disabled:"bg-neutral-100 group-hover:border-neutral-300 group-hover:bg-neutral-100 hover:border-neutral-300 hover:bg-neutral-100 cursor-not-allowed",active:"ring-2 ring-primary-200"},Ce={base:"relative inline-block h-4 w-4 shrink-0 rounded-full bg-neutral-0 border border-neutral-300",unchecked:"group-hover:border-primary-600 group-hover:bg-neutral-0",checked:"border-transparent",disabled:"bg-neutral-200 border-neutral-200 group-hover:border-neutral-200 group-hover:bg-neutral-200"},lo=({children:e})=>l.jsx("h2",{className:"headline-500 text-neutral-900 group-[.is-checked]:text-neutral-0 group-[.is-disabled]:text-neutral-500",children:e}),io=({children:e})=>l.jsx("p",{className:"paragraph-200 text-neutral-800 group-[.is-checked]:text-neutral-0 group-[.is-disabled]:text-neutral-500",children:e}),ie=({children:e,value:t,disabled:o,className:r})=>l.jsx(je.Option,{value:t,disabled:o,as:u.Fragment,children:({checked:n,disabled:i,active:a})=>l.jsxs("div",{className:M(Ne.base,n&&M("is-checked",Ne.checked),i&&M("is-disabled",Ne.disabled),a&&Ne.active),children:[l.jsx("div",{className:M(Ce.base,!n&&Ce.unchecked,n&&Ce.checked,i&&Ce.disabled),children:n&&l.jsx("div",{className:M("absolute inset-0 m-auto block h-2 w-2 rounded-full bg-primary-600",i&&"bg-neutral-500")})}),l.jsx("div",{className:M("flex flex-col",r),children:e})]})});ie.Title=lo;ie.Description=io;try{ie.displayName="RadioBoxOption",ie.__docgenInfo={description:"",displayName:"RadioBoxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}try{ie.Title.displayName="RadioBoxOption.Title",ie.Title.__docgenInfo={description:"",displayName:"RadioBoxOption.Title",props:{}}}catch{}try{ie.Description.displayName="RadioBoxOption.Description",ie.Description.__docgenInfo={description:"",displayName:"RadioBoxOption.Description",props:{}}}catch{}const ce=({id:e,value:t,children:o,onChange:r,className:n})=>l.jsx(je,{id:e,value:t,onChange:r,className:n,children:o});ce.Option=ie;try{ce.displayName="RadioBox",ce.__docgenInfo={description:"",displayName:"RadioBox",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: string) => void"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}try{ce.Option.displayName="RadioBox.Option",ce.Option.__docgenInfo={description:"",displayName:"RadioBox.Option",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const A=({children:e})=>l.jsx("div",{className:"w-full",children:e});A.LabelGroup=ke;A.Label=Fe;A.Description=Me;A.ErrorMessage=Pe;A.TextInput=De;A.Textarea=Be;A.RadioInput=Te;A.NumberInput=Ae;A.Listbox=pe;A.MultiCombobox=ne;A.SingleCombobox=le;A.Group=st;A.SearchInput=dt;A.RadioBox=ce;try{A.displayName="FormField",A.__docgenInfo={description:"",displayName:"FormField",props:{}}}catch{}export{A as F,ce as R,le as S,st as a}; diff --git a/assets/form-field-group.stories-itCXz9-U.js b/assets/form-field-group.stories-FsXhK2gm.js similarity index 78% rename from assets/form-field-group.stories-itCXz9-U.js rename to assets/form-field-group.stories-FsXhK2gm.js index 3eaeb61d..27cea209 100644 --- a/assets/form-field-group.stories-itCXz9-U.js +++ b/assets/form-field-group.stories-FsXhK2gm.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-DvLKfCe6.js";import{a as j,F as r}from"./form-field-6eUfOaJj.js";import"./index-aXz8NaAs.js";import"./zoom-to-fit-icon-D5bxa5rH.js";import"./class-names-J070TWId.js";import"./render-THca3tYe.js";import"./keyboard-NjAwe_S6.js";import"./focus-management-9lqV-5sA.js";import"./disposables-x8EK1kJp.js";import"./owner-zdel76gv.js";import"./use-flags-F5kSKS15.js";import"./use-is-mounted-JxO49gTk.js";import"./label-tTJj5301.js";import"./description-rwhSs07y.js";import"./use-text-value-K_DgwPe6.js";import"./hidden-G4mt23Ky.js";import"./bugs-DTVvle51.js";import"./use-disposables-qU89AwEH.js";import"./open-closed-arTWCtx2.js";import"./use-resolve-button-type-Iz3xK6-2.js";import"./use-owner-6in2YdcT.js";import"./badge-fqfuhG_-.js";import"./platform-mHIZTaYY.js";import"./tag-KADc8xh0.js";const V={title:"Input / Combined Fields",component:j},l=({error:i=!1,disabled:s=!1})=>e.jsxs("div",{className:"flex flex-col gap-5",children:[e.jsxs(r,{children:[e.jsxs(r.LabelGroup,{children:[e.jsx(r.Label,{htmlFor:"value",children:"Textfields Only"}),e.jsx(r.Description,{id:"value-description",children:"A group with only textfields"})]}),e.jsxs(r.Group,{children:[e.jsx(r.TextInput,{id:"value",value:"I",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Love",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Abusix",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s})]})]}),e.jsxs(r,{children:[e.jsxs(r.LabelGroup,{children:[e.jsx(r.Label,{htmlFor:"value",children:"Mixed Fields"}),e.jsx(r.Description,{id:"value-description",children:"A group with mixed fields (textfields and listboxes)"})]}),e.jsxs(r.Group,{children:[e.jsx(r.TextInput,{id:"value",value:"I",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Love",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Abusix",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsxs(r.Listbox,{value:"",onChange:()=>{},children:[e.jsx(r.Listbox.Button,{children:e.jsx(r.Listbox.Button.TextValue,{value:"",placeholder:"Listbox"})}),e.jsx("div",{className:"relative z-10",children:e.jsxs(r.Listbox.Options,{children:[e.jsx(r.Listbox.Option,{value:"Option 1",children:e.jsx(r.Listbox.Option.TextOption,{children:"Option 1"})}),e.jsx(r.Listbox.Option,{value:"Option 2",children:e.jsx(r.Listbox.Option.TextOption,{children:"Option 2"})})]})})]})]})]})]}),t={render:()=>e.jsx("div",{className:"w-120",children:e.jsx(l,{})})},o={render:()=>e.jsx("div",{className:"w-120",children:e.jsx(l,{error:!0})})},a={render:()=>e.jsx("div",{className:"w-120",children:e.jsx(l,{disabled:!0})})};var n,d,p;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-B57y5fZt.js";import{a as j,F as r}from"./form-field-DvjiF2cs.js";import"./index-ebcBgdYO.js";import"./zoom-to-fit-icon-DLvbqD3B.js";import"./class-names-B8CnD4Xb.js";import"./render-BBULYOlI.js";import"./keyboard-6YZ08te-.js";import"./focus-management-CO_y2GRp.js";import"./disposables-C2E3IOeh.js";import"./owner-Di-Chxds.js";import"./use-flags-CXYxB9RW.js";import"./use-is-mounted-V11-xH6f.js";import"./label-DM5sTrnd.js";import"./description-BuX7rO1I.js";import"./use-text-value-DoNDUPYh.js";import"./hidden-BiaaAo9r.js";import"./bugs-DpEN4NTH.js";import"./use-disposables-BYdaWtl0.js";import"./open-closed-C7VEErGe.js";import"./use-resolve-button-type-BadQLjH2.js";import"./use-owner-CYYYWs7j.js";import"./badge-Bpu_07Lu.js";import"./platform-CkjJx1Ap.js";import"./tag-BUaKHE7W.js";const V={title:"Input / Combined Fields",component:j},l=({error:i=!1,disabled:s=!1})=>e.jsxs("div",{className:"flex flex-col gap-5",children:[e.jsxs(r,{children:[e.jsxs(r.LabelGroup,{children:[e.jsx(r.Label,{htmlFor:"value",children:"Textfields Only"}),e.jsx(r.Description,{id:"value-description",children:"A group with only textfields"})]}),e.jsxs(r.Group,{children:[e.jsx(r.TextInput,{id:"value",value:"I",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Love",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Abusix",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s})]})]}),e.jsxs(r,{children:[e.jsxs(r.LabelGroup,{children:[e.jsx(r.Label,{htmlFor:"value",children:"Mixed Fields"}),e.jsx(r.Description,{id:"value-description",children:"A group with mixed fields (textfields and listboxes)"})]}),e.jsxs(r.Group,{children:[e.jsx(r.TextInput,{id:"value",value:"I",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Love",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Abusix",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsxs(r.Listbox,{value:"",onChange:()=>{},children:[e.jsx(r.Listbox.Button,{children:e.jsx(r.Listbox.Button.TextValue,{value:"",placeholder:"Listbox"})}),e.jsx("div",{className:"relative z-10",children:e.jsxs(r.Listbox.Options,{children:[e.jsx(r.Listbox.Option,{value:"Option 1",children:e.jsx(r.Listbox.Option.TextOption,{children:"Option 1"})}),e.jsx(r.Listbox.Option,{value:"Option 2",children:e.jsx(r.Listbox.Option.TextOption,{children:"Option 2"})})]})})]})]})]})]}),t={render:()=>e.jsx("div",{className:"w-120",children:e.jsx(l,{})})},o={render:()=>e.jsx("div",{className:"w-120",children:e.jsx(l,{error:!0})})},a={render:()=>e.jsx("div",{className:"w-120",children:e.jsx(l,{disabled:!0})})};var n,d,p;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:`{ render: () =>
diff --git a/assets/formatter-2WMMO6ZP--ZppGSaP.js b/assets/formatter-2WMMO6ZP--ZppGSaP.js deleted file mode 100644 index bd3fc46e..00000000 --- a/assets/formatter-2WMMO6ZP--ZppGSaP.js +++ /dev/null @@ -1,58 +0,0 @@ -var Qi=Object.defineProperty;var Zi=(e,t,r)=>t in e?Qi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _e=(e,t,r)=>(Zi(e,typeof t!="symbol"?t+"":t,r),r);import{m as ea}from"./index-6HVkS1t_.js";import"./iframe-391yXaUQ.js";import"../sb-preview/runtime.js";import"./index-aXz8NaAs.js";import"./index-eaBuI5Jm.js";import"./index-LANyd4EQ.js";import"./index-lmOu_tDR.js";import"./index-PPLHz8o0.js";var ta=Object.defineProperty,pu=(e,t)=>{for(var r in t)ta(e,r,{get:t[r],enumerable:!0})},hu=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},se=(e,t,r)=>(hu(e,t,"read from private field"),r?r.call(e):t.get(e)),ra=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},na=(e,t,r,n)=>(hu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),du={};pu(du,{languages:()=>Vl,options:()=>zl,parsers:()=>Gu,printers:()=>Gl});var ua=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},O=ua,Br="string",xr="array",Tr="cursor",Bt="indent",xt="align",Lr="trim",Ye="group",Tt="fill",Lt="if-break",Nt="indent-if-break",Nr="line-suffix",qr="line-suffix-boundary",be="line",Pr="label",qt="break-parent",Du=new Set([Tr,Bt,xt,Lr,Ye,Tt,Lt,Nt,Nr,qr,be,Pr,qt]);function ia(e){if(typeof e=="string")return Br;if(Array.isArray(e))return xr;if(!e)return;let{type:t}=e;if(Du.has(t))return t}var Ir=ia,aa=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function sa(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(Ir(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=aa([...Du].map(u=>`'${u}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}var oa=class extends Error{constructor(t){super(sa(t));_e(this,"name","InvalidDocError");this.doc=t}},fu=oa,la=()=>{},ca=la;function we(e){return{type:Bt,contents:e}}function mu(e,t){return{type:xt,contents:t,n:e}}function q(e,t={}){return ca(t.expandedStates),{type:Ye,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function pa(e){return mu(Number.NEGATIVE_INFINITY,e)}function ha(e){return mu({type:"root"},e)}function gu(e){return{type:Tt,parts:e}}function bt(e,t="",r={}){return{type:Lt,breakContents:e,flatContents:t,groupId:r.groupId}}function da(e,t){return{type:Nt,contents:e,groupId:t.groupId,negate:t.negate}}var Ze={type:qt},Da={type:be,hard:!0},fa={type:be,hard:!0,literal:!0},L={type:be},I={type:be,soft:!0},A=[Da,Ze],ma=[fa,Ze];function et(e,t){let r=[];for(let n=0;n{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},Pt=ga;function Or(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let a=u(i);return r.set(i,a),a}function u(i){switch(Ir(i)){case xr:return t(i.map(n));case Tt:return t({...i,parts:i.parts.map(n)});case Lt:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case Ye:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(n),s=a[0]):s=n(s),t({...i,contents:s,expandedStates:a})}case xt:case Bt:case Nt:case Pr:case Nr:return t({...i,contents:n(i.contents)});case Br:case Tr:case Lr:case qr:case be:case qt:return t(i);default:throw new fu(i)}}}function Ca(e){switch(Ir(e)){case Tt:if(e.parts.every(t=>t===""))return"";break;case Ye:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Ye&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case xt:case Bt:case Nt:case Nr:if(!e.contents)return"";break;case Lt:if(!e.flatContents&&!e.breakContents)return"";break;case xr:{let t=[];for(let r of e){if(!r)continue;let[n,...u]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Pt(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...u)}return t.length===0?"":t.length===1?t[0]:t}case Br:case Tr:case Lr:case qr:case be:case Pr:case qt:break;default:throw new fu(e)}return e}function Fa(e){return Or(e,t=>Ca(t))}function G(e,t=ma){return Or(e,r=>typeof r=="string"?et(t,r.split(` -`)):r)}var va=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);_e(this,"name","UnexpectedNodeError");this.node=t}},ya=va,lt="'",cn='"';function Ea(e,t){let r=t===!0||t===lt?lt:cn,n=r===lt?cn:lt,u=0,i=0;for(let a of e)a===r?u++:a===n&&i++;return u>i?n:r}var ba=Ea;function wa(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var U,Sa=class{constructor(e){ra(this,U,void 0),na(this,U,new Set(e))}getLeadingWhitespaceCount(e){let t=se(this,U),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return se(this,U).has(e.charAt(0))}hasTrailingWhitespace(e){return se(this,U).has(Pt(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${wa([...se(this,U)].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=se(this,U);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=se(this,U);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=se(this,U);return Array.prototype.every.call(e,r=>t.has(r))}};U=new WeakMap;var Aa=Sa,ka=[" ",` -`,"\f","\r"," "],_a=new Aa(ka),ce=_a;function Ba(e){return(e==null?void 0:e.type)==="front-matter"}var It=Ba,xa=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens"]),Ta=new Set(["if","else if","for","switch","case"]);function Cu(e,t){var r;if(e.type==="text"||e.type==="comment"||It(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=t.parameters)!=null&&r.children)for(let n of t.parameters.children)Ta.has(e.name)?delete n.expression:n.expression=n.expression.trim()}Cu.ignoredProperties=xa;var La=Cu,Na=e=>String(e).split(/[/\\]/).pop();function pn(e,t){if(!t)return;let r=Na(t).toLowerCase();return e.find(n=>{var u,i;return((u=n.extensions)==null?void 0:u.some(a=>r.endsWith(a)))||((i=n.filenames)==null?void 0:i.some(a=>a.toLowerCase()===r))})}function qa(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Pa(e,t){let r=e.plugins.flatMap(u=>u.languages??[]),n=qa(r,t.language)??pn(r,t.physicalFile)??pn(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var Ot=Pa,Ia="inline",Oa={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},Ma="normal",Ra={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function Ha(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}var Xe=Ha,ja=e=>O(!1,e,/^[\t\f\r ]*\n/g,""),Fu=e=>ja(ce.trimEnd(e)),$a=e=>{let t=e,r=ce.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=ce.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}};function vu(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||Pe(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Hr(e,t)&&!ee(e)&&e.type!=="interpolation")}function Mr(e){return e.type==="attribute"||!e.parent||!e.prev?!1:Wa(e.prev)}function Wa(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function H(e){return e.type==="text"||e.type==="comment"}function ee(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||Xe(e)&&(e.name==="script"||e.name==="style"))}function Va(e){return e.children&&!ee(e)}function Ua(e){return ee(e)||e.type==="interpolation"||yu(e)}function yu(e){return _u(e).startsWith("pre")}function za(e,t){var r,n;let u=i();if(u&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return u;function i(){return It(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Pe(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||Pe(e)&&e.parent||ee(e.parent)||Mt(e.parent,t)||!ts(e.parent.cssDisplay))||e.prev&&!us(e.prev.cssDisplay))}}function Ga(e,t){return It(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Pe(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||Pe(e)&&e.parent||ee(e.parent)||Mt(e.parent,t)||!rs(e.parent.cssDisplay))||e.next&&!ns(e.next.cssDisplay))}function Ka(e){return is(e.cssDisplay)&&!ee(e)}function ct(e){return It(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>Xa(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&wu(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Su(e.lastChild))}function Eu(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function nr(e){return Au(e)||e.prev&&Ya(e.prev)||bu(e)}function Ya(e){return Au(e)||e.type==="element"&&e.fullName==="br"||bu(e)}function bu(e){return wu(e)&&Su(e)}function wu(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Au(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Rr(e){return e.lastChild?Rr(e.lastChild):e}function Xa(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function ku(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function Qa(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:u,lang:i}=e.attrMap;return!i&&!u?"babel":Ot(t,{language:i})??ku(u)}function Za(e,t){if(!Hr(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:u}=r;return Ot(t,{language:u})??ku(n)}function es(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?Ot(t,{language:r}):"css"}function hn(e,t){return Qa(e,t)??es(e,t)??Za(e,t)}function tt(e){return e==="block"||e==="list-item"||e.startsWith("table")}function ts(e){return!tt(e)&&e!=="inline-block"}function rs(e){return!tt(e)&&e!=="inline-block"}function ns(e){return!tt(e)}function us(e){return!tt(e)}function is(e){return!tt(e)&&e!=="inline-block"}function Pe(e){return _u(e).startsWith("pre")}function as(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function ss(e,t){var r;if(Me(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let u=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(u)return u[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(as(e,u=>u.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||Xe(e))&&Oa[e.name]||Ia}}function _u(e){return e.type==="element"&&(!e.namespace||Xe(e))&&Ra[e.name]||Ma}function os(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` -`)){if(r.length===0)continue;let n=ce.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` -`)}function xu(e){return O(!1,O(!1,e,"'","'"),""",'"')}function de(e){return xu(e.value)}var ls=new Set(["template","style","script"]);function Mt(e,t){return Me(e,t)&&!ls.has(e.fullName)}function Me(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function Hr(e,t){return Me(e,t)&&(Mt(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function cs(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function ps(e,t){let r=e.parent;if(!Me(r,t))return!1;let n=r.fullName,u=e.fullName;return n==="script"&&u==="setup"||n==="style"&&u==="vars"}function Tu(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?G(t):G(Bu(Fu(t)),A):et(L,ce.split(t))}function Lu(e,t){return Me(e,t)&&e.name==="script"}function jr(e){return e>=9&&e<=32||e==160}function Nu(e){return 48<=e&&e<=57}function $r(e){return e>=97&&e<=122||e>=65&&e<=90}function hs(e){return e>=97&&e<=102||e>=65&&e<=70||Nu(e)}function qu(e){return e===10||e===13}function dn(e){return 48<=e&&e<=55}function Dn(e){return e===39||e===34||e===96}var ds=/-+([a-z0-9])/g;function Ds(e){return e.replace(ds,(...t)=>t[1].toUpperCase())}var fr=class Pu{constructor(t,r,n,u){this.file=t,this.offset=r,this.line=n,this.col=u}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let r=this.file.content,n=r.length,u=this.offset,i=this.line,a=this.col;for(;u>0&&t<0;)if(u--,t++,r.charCodeAt(u)==10){i--;let s=r.substring(0,u-1).lastIndexOf(` -`);a=s>0?u-s:u}else a--;for(;u0;){let s=r.charCodeAt(u);u++,t--,s==10?(i++,a=0):a++}return new Pu(this.file,u,i,a)}getContext(t,r){let n=this.file.content,u=this.offset;if(u!=null){u>n.length-1&&(u=n.length-1);let i=u,a=0,s=0;for(;a0&&(u--,a++,!(n[u]==` -`&&++s==r)););for(a=0,s=0;a]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},fs=[gs,Cs,vs,Es,bs,As,ws,Ss,ks,ys];function ms(e,t){for(let r of fs)r(e,t);return e}function gs(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` -`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function Cs(e){let t=r=>{var n,u;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((u=r.firstChild)==null?void 0:u.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset};e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let u=0;ut.type==="cdata",t=>``)}function ys(e){let t=r=>{var n,u;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!ce.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((u=r.next)==null?void 0:u.type)==="text"};e.walk(r=>{if(r.children)for(let n=0;n`+u.firstChild.value+``+a.value,i.sourceSpan=new b(i.sourceSpan.start,a.sourceSpan.end),i.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,i.hasTrailingSpaces=a.hasTrailingSpaces,r.removeChild(u),n--,r.removeChild(a)}})}function Es(e,t){if(t.parser==="html")return;let r=/{{(.+?)}}/s;e.walk(n=>{if(Va(n))for(let u of n.children){if(u.type!=="text")continue;let i=u.sourceSpan.start,a=null,s=u.value.split(r);for(let o=0;o0&&n.insertChildBefore(u,{type:"text",value:l,sourceSpan:new b(i,a)});continue}a=i.moveBy(l.length+4),n.insertChildBefore(u,{type:"interpolation",sourceSpan:new b(i,a),children:l.length===0?[]:[{type:"text",value:l,sourceSpan:new b(i.moveBy(2),a.moveBy(-2))}]})}n.removeChild(u)}})}function bs(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&ce.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=Ua(t),n=yu(t);if(!r)for(let u=0;u{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function Ss(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function As(e,t){e.walk(r=>{r.cssDisplay=ss(r,t)})}function ks(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=Ka(r);return}for(let u of n)u.isLeadingSpaceSensitive=za(u,t),u.isTrailingSpaceSensitive=Ga(u,t);for(let u=0;u/.test(e)}function xs(e){return` - -`+e}function Rt(e){return e.sourceSpan.start.offset}function Ht(e){return e.sourceSpan.end.offset}async function Ts(e,t){if(e.lang==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return ha([e.startDelimiter,A,n,n?A:"",e.endDelimiter])}}var Ls=Ts,Mu=new Proxy(()=>{},{get:()=>Mu}),Ru=Mu;function Ns(e){return Array.isArray(e)&&e.length>0}var Hu=Ns;function mr(e,t){return[e.isSelfClosing?"":qs(e,t),ft(e,t)]}function qs(e,t){return e.lastChild&&Qe(e.lastChild)?"":[Ps(e,t),Wr(e,t)]}function ft(e,t){return(e.next?ve(e.next):nt(e.parent))?"":[rt(e,t),Fe(e,t)]}function Ps(e,t){return nt(e)?rt(e.lastChild,t):""}function Fe(e,t){return Qe(e)?Wr(e.parent,t):jt(e)?Vr(e.next):""}function Wr(e,t){if(Ru(!e.isSelfClosing),ju(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function ju(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(Mr(e)||vu(e.parent,t))}function ve(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!H(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function nt(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!H(Rr(e.lastChild))&&!Pe(e)}function Qe(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&H(Rr(e))}function jt(e){return e.next&&!H(e.next)&&H(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Is(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?t[1]?t[1].split(/\s+/):!0:!1}function $t(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Os(e,t,r){var n;let{node:u}=e;if(!Hu(u.attrs))return u.isSelfClosing?" ":"";let i=((n=u.prev)==null?void 0:n.type)==="comment"&&Is(u.prev.value),a=typeof i=="boolean"?()=>i:Array.isArray(i)?D=>i.includes(D.rawName):()=>!1,s=e.map(({node:D})=>a(D)?G(t.originalText.slice(Rt(D),Ht(D))):r(),"attrs"),o=u.type==="element"&&u.fullName==="script"&&u.attrs.length===1&&u.attrs[0].fullName==="src"&&u.children.length===0,l=t.singleAttributePerLine&&u.attrs.length>1&&!Me(u,t)?A:L,c=[we([o?" ":L,et(l,s)])];return u.firstChild&&$t(u.firstChild)||u.isSelfClosing&&nt(u.parent)||o?c.push(u.isSelfClosing?" ":""):c.push(t.bracketSameLine?u.isSelfClosing?" ":"":u.isSelfClosing?L:I),c}function Ms(e){return e.firstChild&&$t(e.firstChild)?"":Ur(e)}function gr(e,t,r){let{node:n}=e;return[mt(n,t),Os(e,t,r),n.isSelfClosing?"":Ms(n)]}function mt(e,t){return e.prev&&jt(e.prev)?"":[ye(e,t),Vr(e)]}function ye(e,t){return $t(e)?Ur(e.parent):ve(e)?rt(e.prev,t):""}function Vr(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function Ur(e){switch(Ru(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}var ur=new WeakMap;function Rs(e,t){let{root:r}=e;return ur.has(r)||ur.set(r,r.children.some(n=>Lu(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),ur.get(r)}var zr=Rs;function Hs(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&$t(e.firstChild)&&(r-=Ur(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Qe(e.lastChild)?n+=Wr(e,t).length:nt(e)&&(n-=rt(e.lastChild,t).length),t.originalText.slice(r,n)}var $u=Hs;function fn(e){return e===" "||e===` -`||e==="\f"||e==="\r"||e===" "}var js=/^[ \t\n\r\u000c]+/,$s=/^[, \t\n\r\u000c]+/,Ws=/^[^ \t\n\r\u000c]+/,Vs=/[,]+$/,mn=/^\d+$/,Us=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function zs(e){let t=e.length,r,n,u,i,a,s=0,o;function l(h){let d,m=h.exec(e.substring(s));if(m)return[d]=m,s+=d.length,d}let c=[];for(;;){if(l($s),s>=t){if(c.length===0)throw new Error("Must contain one or more image candidate strings.");return c}o=s,r=l(Ws),n=[],r.slice(-1)===","?(r=r.replace(Vs,""),p()):D()}function D(){for(l(js),u="",i="in descriptor";;){if(a=e.charAt(s),i==="in descriptor")if(fn(a))u&&(n.push(u),u="",i="after descriptor");else if(a===","){s+=1,u&&n.push(u),p();return}else if(a==="(")u+=a,i="in parens";else if(a===""){u&&n.push(u),p();return}else u+=a;else if(i==="in parens")if(a===")")u+=a,i="in descriptor";else if(a===""){n.push(u),p();return}else u+=a;else if(i==="after descriptor"&&!fn(a))if(a===""){p();return}else i="in descriptor",s-=1;s+=1}}function p(){let h=!1,d,m,g,F,f={},C,y,v,w,S;for(F=0;F{u=n(a,s)});let i=await t(e,r,t);return u?q(i):Wt(i)}function Ks(e){if(e.node.fullName==="srcset"&&(e.parent.fullName==="img"||e.parent.fullName==="source"))return()=>Ys(de(e.node))}var Wu={width:"w",height:"h",density:"x"},Js=Object.keys(Wu);function Ys(e){let t=Gs(e),r=Js.filter(c=>t.some(D=>Object.prototype.hasOwnProperty.call(D,c)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,u=Wu[n],i=t.map(c=>c.source.value),a=Math.max(...i.map(c=>c.length)),s=t.map(c=>c[n]?String(c[n].value):""),o=s.map(c=>{let D=c.indexOf(".");return D===-1?c.length:D}),l=Math.max(...o);return Wt(et([",",L],i.map((c,D)=>{let p=[c],h=s[D];if(h){let d=a-c.length+1,m=l-o[D],g=" ".repeat(d+m);p.push(bt(g," "),h+u)}return p})))}var Xs=Ks;function Qs(e,t){let{node:r}=e,n=de(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/).join(" ")}var Zs=Qs;function eo(e,t){let{node:r}=e,n=de(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async u=>Wt(await u(n,{parser:"css",__isHTMLStyleAttribute:!0}))}async function to(e,t,r,n){let u=de(r.node),{left:i,operator:a,right:s}=ro(u),o=zr(r,n);return[q(await X(`function _(${i}) {}`,e,{parser:o?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",a," ",await X(s,e,{parser:o?"__ts_expression":"__js_expression"})]}function ro(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,u=e.match(t);if(!u)return;let i={};if(i.for=u[3].trim(),!i.for)return;let a=O(!1,u[1].trim(),n,""),s=a.match(r);s?(i.alias=a.replace(r,""),i.iterator1=s[1].trim(),s[2]&&(i.iterator2=s[2].trim())):i.alias=a;let o=[i.alias,i.iterator1,i.iterator2];if(!o.some((l,c)=>!l&&(c===0||o.slice(c+1).some(Boolean))))return{left:o.filter(Boolean).join(","),operator:u[2],right:i.for}}function no(e,t,r){let{node:n}=r,u=de(n);return X(`type T<${u}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},Re)}function uo(e,t,{parseWithTs:r}){return X(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function io(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$_a-z][\w$]*])*$/i,n=e.trim();return t.test(n)||r.test(n)}function ao(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return to;if(n==="generic"&&Lu(r.parent,t))return no;let u=de(r),i=zr(e,t);if(cs(r)||ps(r,t))return a=>uo(u,a,{parseWithTs:i});if(n.startsWith("@")||n.startsWith("v-on:"))return a=>so(u,a,{parseWithTs:i});if(n.startsWith(":")||n.startsWith("v-bind:"))return a=>oo(u,a,{parseWithTs:i});if(n.startsWith("v-"))return a=>Vu(u,a,{parseWithTs:i})}function so(e,t,{parseWithTs:r}){return io(e)?Vu(e,t,{parseWithTs:r}):X(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},Re)}function oo(e,t,{parseWithTs:r}){return X(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},Re)}function Vu(e,t,{parseWithTs:r}){return X(e,t,{parser:r?"__ts_expression":"__js_expression"},Re)}var lo=ao,Uu=/{{(.+?)}}/s;async function co(e,t){let r=[];for(let[n,u]of e.split(Uu).entries())if(n%2===0)r.push(G(u));else try{r.push(q(["{{",we([L,await X(u,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0,trailingComma:"none"})]),L,"}}"]))}catch{r.push("{{",G(u),"}}")}return r}function Gr({parser:e}){return(t,r,n)=>X(de(n.node),t,{parser:e,trailingComma:"none"},Re)}var po=Gr({parser:"__ng_action"}),ho=Gr({parser:"__ng_binding"}),Do=Gr({parser:"__ng_directive"});function fo(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return po;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/.test(n)||/^ng-(?:if|show|hide|class|style)$/.test(n))return ho;if(n.startsWith("*"))return Do;let u=de(r);if(/^i18n(?:-.+)?$/.test(n))return()=>Wt(gu(Tu(r,u.trim())),!u.includes("@@"));if(Uu.test(u))return i=>co(u,i)}var mo=fo;function go(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[Xs,eo,Zs,lo,mo]){let u=n(e,t);if(u)return Co(u)}}}function Co(e){return async(t,r,n,u)=>{let i=await e(t,r,n,u);if(i)return i=Or(i,a=>typeof a=="string"?O(!1,a,'"',"""):a),[n.node.rawName,'="',q(i),'"']}}var Fo=go;function vo(e,t,r,n){let{node:u}=r,i=n.originalText.slice(u.sourceSpan.start.offset,u.sourceSpan.end.offset);return/^\s*$/.test(i)?"":X(i,e,{parser:"__ng_directive",__isInHtmlAttribute:!1,trailingComma:"none"},Re)}var yo=vo,Eo=new Set(["if","else if","for","switch","case"]);function bo(e,t){let{node:r}=e;switch(r.type){case"element":if(ee(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Hr(r,t)){let n=hn(r,t);return n?async(u,i)=>{let a=$u(r,t),s=/^\s*$/.test(a),o="";return s||(o=await u(Fu(a),{parser:n,__embeddedInHtml:!0}),s=o===""),[ye(r,t),q(gr(e,t,i)),s?"":A,o,s?"":A,mr(r,t),Fe(r,t)]}:void 0}break;case"text":if(ee(r.parent)){let n=hn(r.parent,t);if(n)return async u=>{let i=n==="markdown"?Bu(r.value.replace(/^[^\S\n]*\n/,"")):r.value,a={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let s="script",{attrMap:o}=r.parent;o&&(o.type==="module"||o.type==="text/babel"&&o["data-type"]==="module")&&(s="module"),a.__babelSourceType=s}return[Ze,ye(r,t),await u(i,a,{stripTrailingHardline:!0}),Fe(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let u={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?(u.parser="__ng_interpolation",u.trailingComma="none"):t.parser==="vue"?u.parser=zr(e,t)?"__vue_ts_expression":"__vue_expression":u.parser="__js_expression",[we([L,await n(r.value,u)]),r.parent.next&&ve(r.parent.next)?" ":L]};break;case"attribute":return Fo(e,t);case"front-matter":return n=>Ls(r,n);case"angularControlFlowBlockParameters":return Eo.has(e.parent.name)?yo:void 0}}var wo=bo;function je(e,t,r){let n=e.node;return Mr(n)?[ye(n,t),G(t.originalText.slice(Rt(n)+(n.prev&&jt(n.prev)?Vr(n).length:0),Ht(n)-(n.next&&ve(n.next)?rt(n,t).length:0))),Fe(n,t)]:r()}function pt(e,t){return H(e)&&H(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?nr(t)?A:L:"":nr(t)?A:I:jt(e)&&(Mr(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&ve(t)?"":!t.isLeadingSpaceSensitive||nr(t)||ve(t)&&e.lastChild&&Qe(e.lastChild)&&e.lastChild.lastChild&&Qe(e.lastChild.lastChild)?A:t.hasLeadingSpaces?L:I}function Kr(e,t,r){let{node:n}=e;if(Eu(n))return[Ze,...e.map(i=>{let a=i.node,s=a.prev?pt(a.prev,a):"";return[s?[s,ct(a.prev)?A:""]:"",je(i,t,r)]},"children")];let u=n.children.map(()=>Symbol(""));return e.map((i,a)=>{let s=i.node;if(H(s)){if(s.prev&&H(s.prev)){let d=pt(s.prev,s);if(d)return ct(s.prev)?[A,A,je(i,t,r)]:[d,je(i,t,r)]}return je(i,t,r)}let o=[],l=[],c=[],D=[],p=s.prev?pt(s.prev,s):"",h=s.next?pt(s,s.next):"";return p&&(ct(s.prev)?o.push(A,A):p===A?o.push(A):H(s.prev)?l.push(p):l.push(bt("",I,{groupId:u[a-1]}))),h&&(ct(s)?H(s.next)&&D.push(A,A):h===A?H(s.next)&&D.push(A):c.push(h)),[...o,q([...l,q([je(i,t,r),...c],{id:u[a]})]),...D]},"children")}function So(e,t,r){let{node:n}=e;if(vu(n,t))return[ye(n,t),q(gr(e,t,r)),G($u(n,t)),...mr(n,t),Fe(n,t)];let u=n.children.length===1&&n.firstChild.type==="interpolation"&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),a=c=>q([q(gr(e,t,r),{id:i}),c,mr(n,t)]),s=c=>u?da(c,{groupId:i}):(ee(n)||Mt(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?c:we(c),o=()=>u?bt(I,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?L:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?pa(I):I,l=()=>(n.next?ve(n.next):nt(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":u?bt(I,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?L:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`).test(n.lastChild.value)?"":I;return n.children.length===0?a(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?L:""):a([Ja(n)?Ze:"",s([o(),Kr(e,t,r)]),l()])}var Ao=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]);function ko(e,t,r){let{node:n}=e,u=[];_o(e)&&u.push("} "),u.push("@",n.name),n.parameters&&u.push(" (",q(r("parameters")),")"),u.push(" {");let i=zu(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,u.push(we([A,Kr(e,t,r)])),i&&u.push(A,"}")):i&&u.push("}"),q(u,{shouldBreak:!0})}function zu(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=Ao.get(e.name))!=null&&r.has(e.next.name))}function _o(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!zu(e.previous)}function Bo(e,t,r){return[we([I,et([";",L],e.map(r,"children"))]),I]}var $e=null;function Ge(e){if($e!==null&&typeof $e.property){let t=$e;return $e=Ge.prototype=null,t}return $e=Ge.prototype=e??Object.create(null),new Ge}var xo=10;for(let e=0;e<=xo;e++)Ge();function To(e){return Ge(e)}function Lo(e,t="type"){To(e);function r(n){let u=n[t],i=e[u];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${u}'.`),{node:n});return i}return r}var No=Lo,qo={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[]},Po=qo,Io=No(Po),Oo=Io;function Mo(e,t,r){let{node:n}=e;switch(n.type){case"front-matter":return G(n.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[q(Kr(e,t,r)),A];case"element":case"ieConditionalComment":return So(e,t,r);case"angularControlFlowBlock":return ko(e,t,r);case"angularControlFlowBlockParameters":return Bo(e,t,r);case"angularControlFlowBlockParameter":return ce.trim(n.expression);case"ieConditionalStartComment":case"ieConditionalEndComment":return[mt(n),ft(n)];case"interpolation":return[mt(n,t),...e.map(r,"children"),ft(n,t)];case"text":{if(n.parent.type==="interpolation"){let i=/\n[^\S\n]*$/,a=i.test(n.value),s=a?n.value.replace(i,""):n.value;return[G(s),a?A:""]}let u=Fa([ye(n,t),...Tu(n),Fe(n,t)]);return Array.isArray(u)?gu(u):u}case"docType":return[q([mt(n,t)," ",O(!1,n.value.replace(/^html\b/i,"html"),/\s+/g," ")]),ft(n,t)];case"comment":return[ye(n,t),G(t.originalText.slice(Rt(n),Ht(n))),Fe(n,t)];case"attribute":{if(n.value===null)return n.rawName;let u=xu(n.value),i=ba(u,'"');return[n.rawName,"=",i,G(i==='"'?O(!1,u,'"',"""):O(!1,u,"'","'")),i]}case"cdata":default:throw new ya(n,"HTML")}}var Ro={preprocess:_s,print:Mo,insertPragma:xs,massageAstNode:La,embed:wo,getVisitorKeys:Oo},Ho=Ro,Gu={};pu(Gu,{angular:()=>jl,html:()=>Hl,lwc:()=>Wl,vue:()=>$l});var gn;(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"})(gn||(gn={}));var Cn;(function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"})(Cn||(Cn={}));var Fn={name:"custom-elements"},vn={name:"no-errors-schema"},ge;(function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"})(ge||(ge={}));var yn;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"})(yn||(yn={}));var z;(function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"})(z||(z={}));function Vt(e){if(e[0]!=":")return[null,e];let t=e.indexOf(":",1);if(t===-1)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function En(e){return Vt(e)[1]==="ng-container"}function bn(e){return Vt(e)[1]==="ng-content"}function gt(e){return e===null?null:Vt(e)[0]}function St(e,t){return e?`:${e}:${t}`:t}var Ct;function wn(){return Ct||(Ct={},ht(ge.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),ht(ge.STYLE,["*|style"]),ht(ge.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),ht(ge.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),Ct}function ht(e,t){for(let r of t)Ct[r.toLowerCase()]=e}var jo=class{},$o="boolean",Wo="number",Vo="string",Uo="object",zo=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],Ku=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),Go=Array.from(Ku).reduce((e,[t,r])=>(e.set(t,r),e),new Map),Ko=class extends jo{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,zo.forEach(e=>{let t=new Map,r=new Set,[n,u]=e.split("|"),i=u.split(","),[a,s]=n.split("^");a.split(",").forEach(l=>{this._schema.set(l.toLowerCase(),t),this._eventSchema.set(l.toLowerCase(),r)});let o=s&&this._schema.get(s.toLowerCase());if(o){for(let[l,c]of o)t.set(l,c);for(let l of this._eventSchema.get(s.toLowerCase()))r.add(l)}i.forEach(l=>{if(l.length>0)switch(l[0]){case"*":r.add(l.substring(1));break;case"!":t.set(l.substring(1),$o);break;case"#":t.set(l.substring(1),Wo);break;case"%":t.set(l.substring(1),Uo);break;default:t.set(l,Vo)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===vn.name))return!0;if(e.indexOf("-")>-1){if(En(e)||bn(e))return!1;if(r.some(n=>n.name===Fn.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===vn.name)||e.indexOf("-")>-1&&(En(e)||bn(e)||t.some(r=>r.name===Fn.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=wn()[e+"|"+t];return n||(n=wn()["*|"+t],n||ge.NONE)}getMappedPropName(e){return Ku.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... -If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>Go.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Ds(e)}normalizeAnimationStyleValue(e,t,r){let n="",u=r.toString().trim(),i=null;if(Jo(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&(i=`Please provide a CSS unit value for ${t}:${r}`)}return{error:i,value:u+n}}};function Jo(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var E=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=z.PARSABLE_DATA,closedByParent:n=!1,isVoid:u=!1,ignoreFirstLf:i=!1,preventNamespaceInheritance:a=!1,canSelfClose:s=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(o=>this.closedByChildren[o]=!0),this.isVoid=u,this.closedByParent=n||u,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=i,this.preventNamespaceInheritance=a,this.canSelfClose=s??u}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},Sn,We;function Cr(e){return We||(Sn=new E({canSelfClose:!0}),We=Object.assign(Object.create(null),{base:new E({isVoid:!0}),meta:new E({isVoid:!0}),area:new E({isVoid:!0}),embed:new E({isVoid:!0}),link:new E({isVoid:!0}),img:new E({isVoid:!0}),input:new E({isVoid:!0}),param:new E({isVoid:!0}),hr:new E({isVoid:!0}),br:new E({isVoid:!0}),source:new E({isVoid:!0}),track:new E({isVoid:!0}),wbr:new E({isVoid:!0}),p:new E({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new E({closedByChildren:["tbody","tfoot"]}),tbody:new E({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new E({closedByChildren:["tbody"],closedByParent:!0}),tr:new E({closedByChildren:["tr"],closedByParent:!0}),td:new E({closedByChildren:["td","th"],closedByParent:!0}),th:new E({closedByChildren:["td","th"],closedByParent:!0}),col:new E({isVoid:!0}),svg:new E({implicitNamespacePrefix:"svg"}),foreignObject:new E({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new E({implicitNamespacePrefix:"math"}),li:new E({closedByChildren:["li"],closedByParent:!0}),dt:new E({closedByChildren:["dt","dd"]}),dd:new E({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new E({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new E({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new E({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new E({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new E({closedByChildren:["optgroup"],closedByParent:!0}),option:new E({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new E({ignoreFirstLf:!0}),listing:new E({ignoreFirstLf:!0}),style:new E({contentType:z.RAW_TEXT}),script:new E({contentType:z.RAW_TEXT}),title:new E({contentType:{default:z.ESCAPABLE_RAW_TEXT,svg:z.PARSABLE_DATA}}),textarea:new E({contentType:z.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new Ko().allKnownElementNames().forEach(t=>{!We[t]&>(t)===null&&(We[t]=new E({canSelfClose:!1}))})),We[e]??Sn}var ut=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},Yo=class extends ut{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},Xo=class extends ut{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},Qo=class extends ut{constructor(e,t,r,n,u,i){super(n,i),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=u}visit(e,t){return e.visitExpansion(this,t)}},Zo=class{constructor(e,t,r,n,u){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=u}visit(e,t){return e.visitExpansionCase(this,t)}},el=class extends ut{constructor(e,t,r,n,u,i,a){super(r,a),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=u,this.valueTokens=i,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},oe=class extends ut{constructor(e,t,r,n,u,i=null,a=null,s){super(n,s),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=u,this.endSourceSpan=i,this.nameSpan=a,this.type="element"}visit(e,t){return e.visitElement(this,t)}},tl=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},rl=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},Be=class{constructor(e,t,r,n,u,i=null){this.name=e,this.parameters=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=u,this.endSourceSpan=i,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},An=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}};function Ju(e,t,r=null){let n=[],u=e.visit?i=>e.visit(i,r)||i.visit(e,r):i=>i.visit(e,r);return t.forEach(i=>{let a=u(i);a&&n.push(a)}),n}var nl=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitChildren(e,t){let r=[],n=this;function u(i){i&&r.push(Ju(n,i,e))}return t(u),Array.prototype.concat.apply([],r)}},At={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` -`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},ul="";At.ngsp=ul;var il=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function al(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];il.forEach(u=>{if(u.test(r)||u.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}var sl=class Yu{static fromArray(t){return t?(al("interpolation",t),new Yu(t[0],t[1])):Xu}constructor(t,r){this.start=t,this.end=r}},Xu=new sl("{{","}}"),ir=class extends Ou{constructor(e,t,r){super(r,e),this.tokenType=t}},ol=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}};function ll(e,t,r,n={}){let u=new hl(new Iu(e,t),r,n);return u.tokenize(),new ol(Cl(u.tokens),u.errors,u.nonNormalizedIcuExpressions)}var cl=/\r\n?/g;function xe(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function kn(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function pl(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}var kt;(function(e){e.HEX="hexadecimal",e.DEC="decimal"})(kt||(kt={}));var ar=class{constructor(e){this.error=e}},hl=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Xu,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(u=>u.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new Fl(e,n):new Qu(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0;try{this._cursor.init()}catch(u){this.handleError(u)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(cl,` -`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(30),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>jr(r)?!e:xn(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(_),this._attemptCharCode(41))this._attemptCharCodeUntilFn(_);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Tn);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&Dn(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Tn)}}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(ml(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new ir("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new ir("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new ir(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new ar(r)}handleError(e){if(e instanceof Jr&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof ar)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return gl(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(xe(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!dl(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(_n,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,u=[];try{if(!$r(this._cursor.peek()))throw this._createError(xe(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(_);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[a,s]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(_),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(_);let o=this._consumeAttributeValue();u.push({prefix:a,name:s,value:o})}else u.push({prefix:a,name:s});this._attemptCharCodeUntilFn(_)}this._consumeTagOpenEnd()}catch(a){if(a instanceof ar){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw a}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let i=this._getTagContentType(t,r,this._fullNameStack.length>0,u);this._handleFullNameStackForTagOpen(r,t),i===z.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):i===z.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(_),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(_),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(xe(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=()=>this._cursor.peek()===t;e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=()=>_n(this._cursor.peek());e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(_),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(_),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(_),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(_),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(_)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(_),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(_),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(_),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let u=[];for(;!r();){let a=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(u.join(""))],a),u.length=0,this._consumeInterpolation(t,a,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(u.join(""))]),u.length=0,this._consumeEntity(e),this._beginToken(e)):u.push(this._readChar())}this._inInterpolation=!1;let i=this._processCarriageReturns(u.join(""));return this._endToken([i]),i}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let u=this._cursor.clone(),i=null,a=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let s=this._cursor.clone();if(this._isTagStart()){this._cursor=s,n.push(this._getProcessedChars(u,s)),this._endToken(n);return}if(i===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(u,s)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(a=!0);let o=this._cursor.peek();this._cursor.advance(),o===92?this._cursor.advance():o===i?i=null:!a&&i===null&&Dn(o)&&(i=o)}n.push(this._getProcessedChars(u,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),xn(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=St(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=St(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function _(e){return!jr(e)||e===0}function _n(e){return jr(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function dl(e){return(e<97||12257)}function Dl(e){return e===59||e===0||!hs(e)}function fl(e){return e===59||e===0||!$r(e)}function ml(e){return e!==125}function gl(e,t){return Bn(e)===Bn(t)}function Bn(e){return e>=97&&e<=122?e-97+65:e}function xn(e){return $r(e)||Nu(e)||e===95}function Tn(e){return e!==59&&_(e)}function Cl(e){let t=[],r;for(let n=0;n0&&r.indexOf(t.peek())!==-1;)n===t&&(t=t.clone()),t.advance();let u=this.locationFromCursor(t),i=this.locationFromCursor(this),a=n!==t?this.locationFromCursor(n):u;return new b(u,i,a)}getChars(t){return this.input.substring(t.state.offset,this.state.offset)}charAt(t){return this.input.charCodeAt(t)}advanceState(t){if(t.offset>=this.end)throw this.state=t,new Jr('Unexpected character "EOF"',this);let r=this.charAt(t.offset);r===10?(t.line++,t.column=0):qu(r)||t.column++,t.offset++,this.updatePeek(t)}updatePeek(t){t.peek=t.offset>=this.end?0:this.charAt(t.offset)}locationFromCursor(t){return new fr(t.file,t.state.offset,t.state.line,t.state.column)}},Fl=class vr extends Qu{constructor(t,r){t instanceof vr?(super(t),this.internalState={...t.internalState}):(super(t,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new vr(this)}getChars(t){let r=t.clone(),n="";for(;r.internalState.offsetthis.internalState.peek;if(t()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),t()===110)this.state.peek=10;else if(t()===114)this.state.peek=13;else if(t()===118)this.state.peek=11;else if(t()===116)this.state.peek=9;else if(t()===98)this.state.peek=8;else if(t()===102)this.state.peek=12;else if(t()===117)if(this.advanceState(this.internalState),t()===123){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;t()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(t()===120){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(dn(t())){let r="",n=0,u=this.clone();for(;dn(t())&&n<3;)u=this.clone(),r+=String.fromCodePoint(t()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=u.internalState}else qu(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(t,r){let n=this.input.slice(t.internalState.offset,t.internalState.offset+r),u=parseInt(n,16);if(isNaN(u))throw t.state=t.internalState,new Jr("Invalid hexadecimal escape sequence",t);return u}},Jr=class{constructor(e,t){this.msg=e,this.cursor=t}},R=class Zu extends Ou{static create(t,r,n){return new Zu(t,r,n)}constructor(t,r,n){super(r,n),this.elementName=t}},vl=class{constructor(e,t){this.rootNodes=e,this.errors=t}},yl=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,u){let i=h=>(d,...m)=>h(d.toLowerCase(),...m),a=n?this.getTagDefinition:i(this.getTagDefinition),s=h=>a(h).getContentType(),o=n?u:i(u),l=ll(e,t,u?(h,d,m,g)=>{let F=o(h,d,m,g);return F!==void 0?F:s(h)}:s,r),c=r&&r.canSelfClose||!1,D=r&&r.allowHtmComponentClosingTags||!1,p=new El(l.tokens,a,c,D,n);return p.build(),new vl(p.rootNodes,l.errors.concat(p.errors))}},El=class ei{constructor(t,r,n,u,i){this.tokens=t,this.getTagDefinition=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=u,this.isTagNameCaseSensitive=i,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==30;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._advance();for(let t of this._containerStack)t instanceof Be&&this.errors.push(R.create(t.name,t.sourceSpan,`Unclosed block "${t.name}"`))}_advance(){let t=this._peek;return this._index0)return this.errors=this.errors.concat(i.errors),null;let a=new b(t.sourceSpan.start,u.sourceSpan.end,t.sourceSpan.fullStart),s=new b(r.sourceSpan.start,u.sourceSpan.end,r.sourceSpan.fullStart);return new Zo(t.parts[0],i.rootNodes,a,t.sourceSpan,s)}_collectExpansionExpTokens(t){let r=[],n=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&n.push(this._peek.type),this._peek.type===23)if(Ln(n,22)){if(n.pop(),n.length===0)return r}else return this.errors.push(R.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Ln(n,20))n.pop();else return this.errors.push(R.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===30)return this.errors.push(R.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.push(this._advance())}}_getText(t){let r=t.parts[0];if(r.length>0&&r[0]==` -`){let n=this._getClosestParentElement();n!=null&&n.children.length==0&&this.getTagDefinition(n.name).ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(t){let r=[t],n=t.sourceSpan,u=t.parts[0];if(u.length>0&&u[0]===` -`){let i=this._getContainer();i!=null&&i.children.length===0&&this.getTagDefinition(i.name).ignoreFirstLf&&(u=u.substring(1),r[0]={type:t.type,sourceSpan:t.sourceSpan,parts:[u]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)t=this._advance(),r.push(t),t.type===8?u+=t.parts.join("").replace(/&([^;]+);/g,Nn):t.type===9?u+=t.parts[0]:u+=t.parts.join("");if(u.length>0){let i=t.sourceSpan;this._addToParent(new Yo(u,new b(n.start,i.end,n.fullStart,n.details),r))}}_closeVoidElement(){let t=this._getContainer();t instanceof oe&&this.getTagDefinition(t.name).isVoid&&this._containerStack.pop()}_consumeStartTag(t){let[r,n]=t.parts,u=[];for(;this._peek.type===14;)u.push(this._consumeAttr(this._advance()));let i=this._getElementFullName(r,n,this._getClosestParentElement()),a=!1;if(this._peek.type===2){this._advance(),a=!0;let h=this.getTagDefinition(i);this.canSelfClose||h.canSelfClose||gt(i)!==null||h.isVoid||this.errors.push(R.create(i,t.sourceSpan,`Only void, custom and foreign elements can be self closed "${t.parts[1]}"`))}else this._peek.type===1&&(this._advance(),a=!1);let s=this._peek.sourceSpan.fullStart,o=new b(t.sourceSpan.start,s,t.sourceSpan.fullStart),l=new b(t.sourceSpan.start,s,t.sourceSpan.fullStart),c=new b(t.sourceSpan.start.moveBy(1),t.sourceSpan.end),D=new oe(i,u,[],o,l,void 0,c),p=this._getContainer();this._pushContainer(D,p instanceof oe&&this.getTagDefinition(p.name).isClosedByChild(D.name)),a?this._popContainer(i,oe,o):t.type===4&&(this._popContainer(i,oe,null),this.errors.push(R.create(i,o,`Opening tag "${i}" not terminated.`)))}_pushContainer(t,r){r&&this._containerStack.pop(),this._addToParent(t),this._containerStack.push(t)}_consumeEndTag(t){let r=this.allowHtmComponentClosingTags&&t.parts.length===0?null:this._getElementFullName(t.parts[0],t.parts[1],this._getClosestParentElement());if(r&&this.getTagDefinition(r).isVoid)this.errors.push(R.create(r,t.sourceSpan,`Void elements do not have end tags "${t.parts[1]}"`));else if(!this._popContainer(r,oe,t.sourceSpan)){let n=`Unexpected closing tag "${r}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(R.create(r,t.sourceSpan,n))}}_popContainer(t,r,n){let u=!1;for(let i=this._containerStack.length-1;i>=0;i--){let a=this._containerStack[i];if(gt(a.name)?a.name===t:(t==null||a.name.toLowerCase()===t.toLowerCase())&&a instanceof r)return a.endSourceSpan=n,a.sourceSpan.end=n!==null?n.end:a.sourceSpan.end,this._containerStack.splice(i,this._containerStack.length-i),!u;(a instanceof Be||a instanceof oe&&!this.getTagDefinition(a.name).closedByParent)&&(u=!0)}return!1}_consumeAttr(t){let r=St(t.parts[0],t.parts[1]),n=t.sourceSpan.end,u;this._peek.type===15&&(u=this._advance());let i="",a=[],s,o;if(this._peek.type===16)for(s=this._peek.sourceSpan,o=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let c=this._advance();a.push(c),c.type===17?i+=c.parts.join("").replace(/&([^;]+);/g,Nn):c.type===9?i+=c.parts[0]:i+=c.parts.join(""),o=n=c.sourceSpan.end}this._peek.type===15&&(o=n=this._advance().sourceSpan.end);let l=s&&o&&new b((u==null?void 0:u.sourceSpan.start)??s.start,o,(u==null?void 0:u.sourceSpan.fullStart)??s.fullStart);return new el(r,i,new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),t.sourceSpan,l,a.length>0?a:void 0,void 0)}_consumeBlockOpen(t){let r=[];for(;this._peek.type===28;){let s=this._advance();r.push(new An(s.parts[0],s.sourceSpan))}this._peek.type===26&&this._advance();let n=this._peek.sourceSpan.fullStart,u=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),a=new Be(t.parts[0],r,[],u,i);this._pushContainer(a,!1)}_consumeBlockClose(t){this._popContainer(null,Be,t.sourceSpan)||this.errors.push(R.create(null,t.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(t){let r=[];for(;this._peek.type===28;){let s=this._advance();r.push(new An(s.parts[0],s.sourceSpan))}let n=this._peek.sourceSpan.fullStart,u=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),a=new Be(t.parts[0],r,[],u,i);this._pushContainer(a,!1),this._popContainer(null,Be,null),this.errors.push(R.create(t.parts[0],u,`Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let t=this._containerStack.length-1;t>-1;t--)if(this._containerStack[t]instanceof oe)return this._containerStack[t];return null}_addToParent(t){let r=this._getContainer();r===null?this.rootNodes.push(t):r.children.push(t)}_getElementFullName(t,r,n){if(t===""&&(t=this.getTagDefinition(r).implicitNamespacePrefix||"",t===""&&n!=null)){let u=Vt(n.name)[1];this.getTagDefinition(u).preventNamespaceInheritance||(t=gt(n.name))}return St(t,r)}};function Ln(e,t){return e.length>0&&e[e.length-1]===t}function Nn(e,t){return At[t]!==void 0?At[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}var bl=class extends yl{constructor(){super(Cr)}parse(e,t,r,n=!1,u){return super.parse(e,t,r,n,u)}},sr=null,wl=()=>(sr||(sr=new bl),sr);function qn(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:u=!1,getTagContentType:i,tokenizeAngularBlocks:a=!1}=t;return wl().parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:a},u,i)}var Sl=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Al(e){let t=e.match(Sl);if(!t)return{content:e};let{startDelimiter:r,language:n,value:u="",endDelimiter:i}=t.groups,a=n.trim()||"yaml";if(r==="+++"&&(a="toml"),a!=="yaml"&&r!==i)return{content:e};let[s]=t;return{frontMatter:{type:"front-matter",lang:a,value:u,startDelimiter:r,endDelimiter:i,raw:s.replace(/\n$/,"")},content:O(!1,s,/[^\n]/g," ")+e.slice(s.length)}}var kl=Al;function _l(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}var Bl=_l,xl=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),or=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),dt={attrs:!0,children:!0},Pn=new Set(["parent"]),Tl=class Ue{constructor(t={}){for(let r of new Set([...Pn,...Object.keys(t)]))this.setProperty(r,t[r])}setProperty(t,r){if(this[t]!==r){if(t in dt&&(r=r.map(n=>this.createChild(n))),!Pn.has(t)){this[t]=r;return}Object.defineProperty(this,t,{value:r,enumerable:!1,configurable:!0})}}map(t){let r;for(let n in dt){let u=this[n];if(u){let i=Ll(u,a=>a.map(t));r!==u&&(r||(r=new Ue({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let n in this)n in dt||(r[n]=this[n]);return t(r||this)}walk(t){for(let r in dt){let n=this[r];if(n)for(let u=0;u[t.fullName,t.value]))}};function Ll(e,t){let r=e.map(t);return r.some((n,u)=>n!==e[u])?r:e}var Nl=[{regex:/^(\[if([^\]]*)]>)(.*?){try{return[!0,t(i,s).children]}catch{return[!1,[{type:"text",value:i,sourceSpan:new b(s,o)}]]}})();return{type:"ieConditionalComment",complete:l,children:c,condition:O(!1,u.trim(),/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new b(e.sourceSpan.start,s),endSourceSpan:new b(o,e.sourceSpan.end)}}function Il(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:O(!1,n.trim(),/\s+/g," "),sourceSpan:e.sourceSpan}}function Ol(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function Ml(e){if(e.type==="block"){if(e.name=O(!1,e.name.toLowerCase(),/\s+/g," ").trim(),e.type="angularControlFlowBlock",!Hu(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new b(e.parameters[0].sourceSpan.start,Pt(!1,e.parameters,-1).sourceSpan.end)}}}function ti(e,t,r){let{name:n,canSelfClose:u=!0,normalizeTagName:i=!1,normalizeAttributeName:a=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:o=!1,shouldParseAsRawText:l}=t,{rootNodes:c,errors:D}=qn(e,{canSelfClose:u,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:o,getTagContentType:l?(...f)=>l(...f)?z.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0});if(n==="vue"){if(c.some(v=>v.type==="docType"&&v.value==="html"||v.type==="element"&&v.name.toLowerCase()==="html"))return ti(e,ni,r);let f,C=()=>f??(f=qn(e,{canSelfClose:u,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:o})),y=v=>C().rootNodes.find(({startSourceSpan:w})=>w&&w.start.offset===v.startSourceSpan.start.offset)??v;for(let[v,w]of c.entries()){let{endSourceSpan:S,startSourceSpan:x}=w;if(S===null)D=C().errors,c[v]=y(w);else if(Rl(w,r)){let K=C().errors.find(W=>W.span.start.offset>x.start.offset&&W.span.start.offset0&&In(D[0]);let p=f=>{let C=f.name.startsWith(":")?f.name.slice(1).split(":")[0]:null,y=f.nameSpan.toString(),v=C!==null&&y.startsWith(`${C}:`),w=v?y.slice(C.length+1):y;f.name=w,f.namespace=C,f.hasExplicitNamespace=v},h=f=>{switch(f.type){case"element":p(f);for(let C of f.attrs)p(C),C.valueSpan?(C.value=C.valueSpan.toString(),/["']/.test(C.value[0])&&(C.value=C.value.slice(1,-1))):C.value=null;break;case"comment":f.value=f.sourceSpan.toString().slice(4,-3);break;case"text":f.value=f.sourceSpan.toString();break}},d=(f,C)=>{let y=f.toLowerCase();return C(y)?y:f},m=f=>{if(f.type==="element"&&(i&&(!f.namespace||f.namespace===f.tagDefinition.implicitNamespacePrefix||Xe(f))&&(f.name=d(f.name,C=>xl.has(C))),a))for(let C of f.attrs)C.namespace||(C.name=d(C.name,y=>or.has(f.name)&&(or.get("*").has(y)||or.get(f.name).has(y))))},g=f=>{f.sourceSpan&&f.endSourceSpan&&(f.sourceSpan=new b(f.sourceSpan.start,f.endSourceSpan.end))},F=f=>{if(f.type==="element"){let C=Cr(o?f.name:f.name.toLowerCase());!f.namespace||f.namespace===C.implicitNamespacePrefix||Xe(f)?f.tagDefinition=C:f.tagDefinition=Cr("")}};return Ju(new class extends nl{visit(f){h(f),F(f),m(f),g(f)}},c),c}function Rl(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(u=>u.name==="lang"))==null?void 0:r.value;return!n||Ot(t,{language:n})==="html"}function In(e){let{msg:t,span:{start:r,end:n}}=e;throw Bl(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function ri(e,t,r={},n=!0){let{frontMatter:u,content:i}=n?kl(e):{frontMatter:null,content:e},a=new Iu(e,r.filepath),s=new fr(a,0,0,0),o=s.moveBy(e.length),l={type:"root",sourceSpan:new b(s,o),children:ti(i,t,r)};if(u){let p=new fr(a,0,0,0),h=p.moveBy(u.raw.length);u.sourceSpan=new b(p,h),l.children.unshift(u)}let c=new Tl(l),D=(p,h)=>{let{offset:d}=h,m=O(!1,e.slice(0,d),/[^\n\r]/g," "),g=ri(m+p,t,r,!1);g.sourceSpan=new b(h,Pt(!1,g.children,-1).sourceSpan.end);let F=g.children[0];return F.length===d?g.children.shift():(F.sourceSpan=new b(F.sourceSpan.start.moveBy(d),F.sourceSpan.end),F.value=F.value.slice(d)),g};return c.walk(p=>{if(p.type==="comment"){let h=ql(p,D);h&&p.parent.replaceChild(p,h)}Ml(p)}),c}function Ut(e){return{parse:(t,r)=>ri(t,e,r),hasPragma:Bs,astFormat:"html",locStart:Rt,locEnd:Ht}}var ni={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},Hl=Ut(ni),jl=Ut({name:"angular"}),$l=Ut({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(e,t,r,n){return e.toLowerCase()!=="html"&&!r&&(e!=="template"||n.some(({name:u,value:i})=>u==="lang"&&i!=="html"&&i!==""&&i!==void 0))}}),Wl=Ut({name:"lwc",canSelfClose:!1}),Vl=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],On={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},Mn="HTML",Ul={bracketSameLine:On.bracketSameLine,htmlWhitespaceSensitivity:{category:Mn,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:On.singleAttributePerLine,vueIndentScriptAndStyle:{category:Mn,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},zl=Ul,Gl={html:Ho},Kl=du,Jl=Object.create,zt=Object.defineProperty,Yl=Object.getOwnPropertyDescriptor,Xl=Object.getOwnPropertyNames,Ql=Object.getPrototypeOf,Zl=Object.prototype.hasOwnProperty,ec=(e,t)=>()=>(e&&(t=e(e=0)),t),Gt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Kt=(e,t)=>{for(var r in t)zt(e,r,{get:t[r],enumerable:!0})},ui=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of Xl(t))!Zl.call(e,u)&&u!==r&&zt(e,u,{get:()=>t[u],enumerable:!(n=Yl(t,u))||n.enumerable});return e},it=(e,t,r)=>(r=e!=null?Jl(Ql(e)):{},ui(t||!e||!e.__esModule?zt(r,"default",{value:e,enumerable:!0}):r,e)),tc=e=>ui(zt({},"__esModule",{value:!0}),e),rc=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},Rn=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Ve=(e,t,r)=>(rc(e,t,"access private method"),r),nc=Gt(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){}t.prototype={diff:function(u,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=a.callback;typeof a=="function"&&(s=a,a={}),this.options=a;var o=this;function l(f){return s?(setTimeout(function(){s(void 0,f)},0),!0):f}u=this.castInput(u),i=this.castInput(i),u=this.removeEmpty(this.tokenize(u)),i=this.removeEmpty(this.tokenize(i));var c=i.length,D=u.length,p=1,h=c+D;a.maxEditLength&&(h=Math.min(h,a.maxEditLength));var d=[{newPos:-1,components:[]}],m=this.extractCommon(d[0],i,u,0);if(d[0].newPos+1>=c&&m+1>=D)return l([{value:this.join(i),count:i.length}]);function g(){for(var f=-1*p;f<=p;f+=2){var C=void 0,y=d[f-1],v=d[f+1],w=(v?v.newPos:0)-f;y&&(d[f-1]=void 0);var S=y&&y.newPos+1=c&&w+1>=D)return l(r(o,C.components,i,u,o.useLongestToken));d[f]=C}p++}if(s)(function f(){setTimeout(function(){if(p>h)return s();g()||f()},0)})();else for(;p<=h;){var F=g();if(F)return F}},pushComponent:function(u,i,a){var s=u[u.length-1];s&&s.added===i&&s.removed===a?u[u.length-1]={count:s.count+1,added:i,removed:a}:u.push({count:1,added:i,removed:a})},extractCommon:function(u,i,a,s){for(var o=i.length,l=a.length,c=u.newPos,D=c-s,p=0;c+1F.length?C:F}),h.value=u.join(m)}else h.value=u.join(a.slice(D,D+h.count));D+=h.count,h.added||(p+=h.count)}}var g=i[c-1];return c>1&&typeof g.value=="string"&&(g.added||g.removed)&&u.equals("",g.value)&&(i[c-2].value+=g.value,i.pop()),i}function n(u){return{newPos:u.newPos,components:u.components.slice(0)}}}),uc=Gt(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=u,e.arrayDiff=void 0;var t=r(nc());function r(i){return i&&i.__esModule?i:{default:i}}var n=new t.default;e.arrayDiff=n,n.tokenize=function(i){return i.slice()},n.join=n.removeEmpty=function(i){return i};function u(i,a,s){return n.diff(i,a,s)}}),Jt=Gt((e,t)=>{var r=new Proxy(String,{get:()=>r});t.exports=r}),ii={};Kt(ii,{default:()=>si,shouldHighlight:()=>ai});var ai,si,ic=ec(()=>{ai=()=>!1,si=String}),ac=Gt(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=D,e.default=p;var t=(ic(),tc(ii)),r=u(Jt(),!0);function n(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,m=new WeakMap;return(n=function(g){return g?m:d})(h)}function u(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=n(d);if(m&&m.has(h))return m.get(h);var g={__proto__:null},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in h)if(f!=="default"&&Object.prototype.hasOwnProperty.call(h,f)){var C=F?Object.getOwnPropertyDescriptor(h,f):null;C&&(C.get||C.set)?Object.defineProperty(g,f,C):g[f]=h[f]}return g.default=h,m&&m.set(h,g),g}var i;function a(h){return h?(i!=null||(i=new r.default.constructor({enabled:!0,level:1})),i):r.default}var s=!1;function o(h){return{gutter:h.grey,marker:h.red.bold,message:h.red.bold}}var l=/\r\n|[\n\r\u2028\u2029]/;function c(h,d,m){let g=Object.assign({column:0,line:-1},h.start),F=Object.assign({},g,h.end),{linesAbove:f=2,linesBelow:C=3}=m||{},y=g.line,v=g.column,w=F.line,S=F.column,x=Math.max(y-(f+1),0),K=Math.min(d.length,w+C);y===-1&&(x=0),w===-1&&(K=d.length);let W=w-y,T={};if(W)for(let V=0;V<=W;V++){let J=V+y;if(!v)T[J]=!0;else if(V===0){let fe=d[J-1].length;T[J]=[v,fe-v+1]}else if(V===W)T[J]=[0,S];else{let fe=d[J-V].length;T[J]=[0,fe]}}else v===S?v?T[y]=[v,0]:T[y]=!0:T[y]=[v,S-v];return{start:x,end:K,markerLines:T}}function D(h,d,m={}){let g=(m.highlightCode||m.forceColor)&&(0,t.shouldHighlight)(m),F=a(m.forceColor),f=o(F),C=(T,V)=>g?T(V):V,y=h.split(l),{start:v,end:w,markerLines:S}=c(d,y,m),x=d.start&&typeof d.start.column=="number",K=String(w).length,W=(g?(0,t.default)(h,m):h).split(l,w).slice(v,w).map((T,V)=>{let J=v+1+V,fe=` ${` ${J}`.slice(-K)} |`,ot=S[J],Ji=!S[J+1];if(ot){let rr="";if(Array.isArray(ot)){let Yi=T.slice(0,Math.max(ot[0]-1,0)).replace(/[^\t]/g," "),Xi=ot[1]||1;rr=[` - `,C(f.gutter,fe.replace(/\d/g," "))," ",Yi,C(f.marker,"^").repeat(Xi)].join(""),Ji&&m.message&&(rr+=" "+C(f.message,m.message))}return[C(f.marker,">"),C(f.gutter,fe),T.length>0?` ${T}`:"",rr].join("")}else return` ${C(f.gutter,fe)}${T.length>0?` ${T}`:""}`}).join(` -`);return m.message&&!x&&(W=`${" ".repeat(K+1)}${m.message} -${W}`),g?F.reset(W):W}function p(h,d,m,g={}){if(!s){s=!0;let F="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let f=new Error(F);f.name="DeprecationWarning",console.warn(new Error(F))}}return m=Math.max(m,0),D(h,{start:{column:m,line:d}},g)}}),oi={};Kt(oi,{__debug:()=>rh,check:()=>eh,doc:()=>zi,format:()=>Ki,formatWithCursor:()=>Gi,getSupportInfo:()=>th,util:()=>Ui,version:()=>Z2});var sc=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},Yt=sc,oc=it(uc(),1),Se="string",pe="array",Ae="cursor",te="indent",re="align",ne="trim",P="group",j="fill",M="if-break",ue="indent-if-break",ie="line-suffix",ae="line-suffix-boundary",B="line",Q="label",$="break-parent",li=new Set([Ae,te,re,ne,P,j,M,ue,ie,ae,B,Q,$]);function lc(e){if(typeof e=="string")return Se;if(Array.isArray(e))return pe;if(!e)return;let{type:t}=e;if(li.has(t))return t}var ke=lc,cc=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function pc(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(ke(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=cc([...li].map(u=>`'${u}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}var hc=class extends Error{constructor(t){super(pc(t));_e(this,"name","InvalidDocError");this.doc=t}},Ie=hc,Hn={};function dc(e,t,r,n){let u=[e];for(;u.length>0;){let i=u.pop();if(i===Hn){r(u.pop());continue}r&&u.push(i,Hn);let a=ke(i);if(!a)throw new Ie(i);if((t==null?void 0:t(i))!==!1)switch(a){case pe:case j:{let s=a===pe?i:i.parts;for(let o=s.length,l=o-1;l>=0;--l)u.push(s[l]);break}case M:u.push(i.flatContents,i.breakContents);break;case P:if(n&&i.expandedStates)for(let s=i.expandedStates.length,o=s-1;o>=0;--o)u.push(i.expandedStates[o]);else u.push(i.contents);break;case re:case te:case ue:case Q:case ie:u.push(i.contents);break;case Se:case Ae:case ne:case ae:case B:case $:break;default:throw new Ie(i)}}}var Yr=dc,Dc=()=>{},fc=Dc;function _t(e){return{type:te,contents:e}}function Oe(e,t){return{type:re,contents:t,n:e}}function ci(e,t={}){return fc(t.expandedStates),{type:P,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function mc(e){return Oe(Number.NEGATIVE_INFINITY,e)}function gc(e){return Oe({type:"root"},e)}function Cc(e){return Oe(-1,e)}function Fc(e,t){return ci(e[0],{...t,expandedStates:e})}function pi(e){return{type:j,parts:e}}function vc(e,t="",r={}){return{type:M,breakContents:e,flatContents:t,groupId:r.groupId}}function yc(e,t){return{type:ue,contents:e,groupId:t.groupId,negate:t.negate}}function yr(e){return{type:ie,contents:e}}var Ec={type:ae},Xt={type:$},bc={type:ne},Xr={type:B,hard:!0},hi={type:B,hard:!0,literal:!0},di={type:B},wc={type:B,soft:!0},Ce=[Xr,Xt],Di=[hi,Xt],Er={type:Ae};function fi(e,t){let r=[];for(let n=0;n0){for(let u=0;u{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},k=Ac;function kc(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` -`?"crlf":"cr":"lf"}function Qr(e){switch(e){case"cr":return"\r";case"crlf":return`\r -`;default:return` -`}}function gi(e,t){let r;switch(t){case` -`:r=/\n/g;break;case"\r":r=/\r/g;break;case`\r -`:r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function _c(e){return Yt(!1,e,/\r\n?/g,` -`)}var Bc=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function xc(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Tc(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Lc=e=>!(xc(e)||Tc(e)),Nc=/[^\x20-\x7F]/;function qc(e){if(!e)return 0;if(!Nc.test(e))return e.length;e=e.replace(Bc()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=Lc(n)?1:2)}return t}var Zr=qc,Pc=e=>{if(Array.isArray(e))return e;if(e.type!==j)throw new Error(`Expect doc to be 'array' or '${j}'.`);return e.parts};function Qt(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let a=u(i);return r.set(i,a),a}function u(i){switch(ke(i)){case pe:return t(i.map(n));case j:return t({...i,parts:i.parts.map(n)});case M:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case P:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(n),s=a[0]):s=n(s),t({...i,contents:s,expandedStates:a})}case re:case te:case ue:case Q:case ie:return t({...i,contents:n(i.contents)});case Se:case Ae:case ne:case ae:case B:case $:return t(i);default:throw new Ie(i)}}}function en(e,t,r){let n=r,u=!1;function i(a){if(u)return!1;let s=t(a);s!==void 0&&(u=!0,n=s)}return Yr(e,i),n}function Ic(e){if(e.type===P&&e.break||e.type===B&&e.hard||e.type===$)return!0}function Oc(e){return en(e,Ic,!1)}function jn(e){if(e.length>0){let t=k(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Mc(e){let t=new Set,r=[];function n(i){if(i.type===$&&jn(r),i.type===P){if(r.push(i),t.has(i))return!1;t.add(i)}}function u(i){i.type===P&&r.pop().break&&jn(r)}Yr(e,n,u,!0)}function Rc(e){return e.type===B&&!e.hard?e.soft?"":" ":e.type===M?e.flatContents:e}function Hc(e){return Qt(e,Rc)}function $n(e){for(e=[...e];e.length>=2&&k(!1,e,-2).type===B&&k(!1,e,-1).type===$;)e.length-=2;if(e.length>0){let t=Ke(k(!1,e,-1));e[e.length-1]=t}return e}function Ke(e){switch(ke(e)){case re:case te:case ue:case P:case ie:case Q:{let t=Ke(e.contents);return{...e,contents:t}}case M:return{...e,breakContents:Ke(e.breakContents),flatContents:Ke(e.flatContents)};case j:return{...e,parts:$n(e.parts)};case pe:return $n(e);case Se:return e.replace(/[\n\r]*$/,"");case Ae:case ne:case ae:case B:case $:break;default:throw new Ie(e)}return e}function Ci(e){return Ke($c(e))}function jc(e){switch(ke(e)){case j:if(e.parts.every(t=>t===""))return"";break;case P:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===P&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case re:case te:case ue:case ie:if(!e.contents)return"";break;case M:if(!e.flatContents&&!e.breakContents)return"";break;case pe:{let t=[];for(let r of e){if(!r)continue;let[n,...u]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof k(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...u)}return t.length===0?"":t.length===1?t[0]:t}case Se:case Ae:case ne:case ae:case B:case Q:case $:break;default:throw new Ie(e)}return e}function $c(e){return Qt(e,t=>jc(t))}function Wc(e,t=Di){return Qt(e,r=>typeof r=="string"?fi(t,r.split(` -`)):r)}function Vc(e){if(e.type===B)return!0}function Uc(e){return en(e,Vc,!1)}function Fi(e,t){return e.type===Q?{...e,contents:t(e.contents)}:t(e)}var N=Symbol("MODE_BREAK"),Y=Symbol("MODE_FLAT"),Je=Symbol("cursor");function vi(){return{value:"",length:0,queue:[]}}function zc(e,t){return br(e,{type:"indent"},t)}function Gc(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||vi():t<0?br(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:br(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function br(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],u="",i=0,a=0,s=0;for(let d of n)switch(d.type){case"indent":c(),r.useTabs?o(1):l(r.tabWidth);break;case"stringAlign":c(),u+=d.n,i+=d.n.length;break;case"numberAlign":a+=1,s+=d.n;break;default:throw new Error(`Unexpected type '${d.type}'`)}return p(),{...e,value:u,length:i,queue:n};function o(d){u+=" ".repeat(d),i+=r.tabWidth*d}function l(d){u+=" ".repeat(d),i+=d}function c(){r.useTabs?D():p()}function D(){a>0&&o(a),h()}function p(){s>0&&l(s),h()}function h(){a=0,s=0}}function wr(e){let t=0,r=0,n=e.length;e:for(;n--;){let u=e[n];if(u===Je){r++;continue}for(let i=u.length-1;i>=0;i--){let a=u[i];if(a===" "||a===" ")t++;else{e[n]=u.slice(0,i+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(Je);return t}function Dt(e,t,r,n,u,i){if(r===Number.POSITIVE_INFINITY)return!0;let a=t.length,s=[e],o=[];for(;r>=0;){if(s.length===0){if(a===0)return!0;s.push(t[--a]);continue}let{mode:l,doc:c}=s.pop();switch(ke(c)){case Se:o.push(c),r-=Zr(c);break;case pe:case j:{let D=Pc(c);for(let p=D.length-1;p>=0;p--)s.push({mode:l,doc:D[p]});break}case te:case re:case ue:case Q:s.push({mode:l,doc:c.contents});break;case ne:r+=wr(o);break;case P:{if(i&&c.break)return!1;let D=c.break?N:l,p=c.expandedStates&&D===N?k(!1,c.expandedStates,-1):c.contents;s.push({mode:D,doc:p});break}case M:{let D=(c.groupId?u[c.groupId]||Y:l)===N?c.breakContents:c.flatContents;D&&s.push({mode:l,doc:D});break}case B:if(l===N||c.hard)return!0;c.soft||(o.push(" "),r--);break;case ie:n=!0;break;case ae:if(n)return!1;break}}return!1}function Zt(e,t){let r={},n=t.printWidth,u=Qr(t.endOfLine),i=0,a=[{ind:vi(),mode:N,doc:e}],s=[],o=!1,l=[],c=0;for(Mc(e);a.length>0;){let{ind:p,mode:h,doc:d}=a.pop();switch(ke(d)){case Se:{let m=u!==` -`?Yt(!1,d,` -`,u):d;s.push(m),a.length>0&&(i+=Zr(m));break}case pe:for(let m=d.length-1;m>=0;m--)a.push({ind:p,mode:h,doc:d[m]});break;case Ae:if(c>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Je),c++;break;case te:a.push({ind:zc(p,t),mode:h,doc:d.contents});break;case re:a.push({ind:Gc(p,d.n,t),mode:h,doc:d.contents});break;case ne:i-=wr(s);break;case P:switch(h){case Y:if(!o){a.push({ind:p,mode:d.break?N:Y,doc:d.contents});break}case N:{o=!1;let m={ind:p,mode:Y,doc:d.contents},g=n-i,F=l.length>0;if(!d.break&&Dt(m,a,g,F,r))a.push(m);else if(d.expandedStates){let f=k(!1,d.expandedStates,-1);if(d.break){a.push({ind:p,mode:N,doc:f});break}else for(let C=1;C=d.expandedStates.length){a.push({ind:p,mode:N,doc:f});break}else{let y=d.expandedStates[C],v={ind:p,mode:Y,doc:y};if(Dt(v,a,g,F,r)){a.push(v);break}}}else a.push({ind:p,mode:N,doc:d.contents});break}}d.id&&(r[d.id]=k(!1,a,-1).mode);break;case j:{let m=n-i,{parts:g}=d;if(g.length===0)break;let[F,f]=g,C={ind:p,mode:Y,doc:F},y={ind:p,mode:N,doc:F},v=Dt(C,[],m,l.length>0,r,!0);if(g.length===1){v?a.push(C):a.push(y);break}let w={ind:p,mode:Y,doc:f},S={ind:p,mode:N,doc:f};if(g.length===2){v?a.push(w,C):a.push(S,y);break}g.splice(0,2);let x={ind:p,mode:h,doc:pi(g)},K=g[0];Dt({ind:p,mode:Y,doc:[F,f,K]},[],m,l.length>0,r,!0)?a.push(x,w,C):v?a.push(x,S,C):a.push(x,S,y);break}case M:case ue:{let m=d.groupId?r[d.groupId]:h;if(m===N){let g=d.type===M?d.breakContents:d.negate?d.contents:_t(d.contents);g&&a.push({ind:p,mode:h,doc:g})}if(m===Y){let g=d.type===M?d.flatContents:d.negate?_t(d.contents):d.contents;g&&a.push({ind:p,mode:h,doc:g})}break}case ie:l.push({ind:p,mode:h,doc:d.contents});break;case ae:l.length>0&&a.push({ind:p,mode:h,doc:Xr});break;case B:switch(h){case Y:if(d.hard)o=!0;else{d.soft||(s.push(" "),i+=1);break}case N:if(l.length>0){a.push({ind:p,mode:h,doc:d},...l.reverse()),l.length=0;break}d.literal?p.root?(s.push(u,p.root.value),i=p.root.length):(s.push(u),i=0):(i-=wr(s),s.push(u+p.value),i=p.length);break}break;case Q:a.push({ind:p,mode:h,doc:d.contents});break;case $:break;default:throw new Ie(d)}a.length===0&&l.length>0&&(a.push(...l.reverse()),l.length=0)}let D=s.indexOf(Je);if(D!==-1){let p=s.indexOf(Je,D+1),h=s.slice(0,D).join(""),d=s.slice(D+1,p).join(""),m=s.slice(p+1).join("");return{formatted:h+d+m,cursorNodeStart:h.length,cursorNodeText:d}}return{formatted:s.join("")}}function Z(e){var t;if(!e)return"";if(Array.isArray(e)){let r=[];for(let n of e)if(Array.isArray(n))r.push(...Z(n));else{let u=Z(n);u!==""&&r.push(u)}return r}return e.type===M?{...e,breakContents:Z(e.breakContents),flatContents:Z(e.flatContents)}:e.type===P?{...e,contents:Z(e.contents),expandedStates:(t=e.expandedStates)==null?void 0:t.map(Z)}:e.type===j?{type:"fill",parts:e.parts.map(Z)}:e.contents?{...e,contents:Z(e.contents)}:e}function Kc(e){let t=Object.create(null),r=new Set;return n(Z(e));function n(i,a,s){var o,l;if(typeof i=="string")return JSON.stringify(i);if(Array.isArray(i)){let c=i.map(n).filter(Boolean);return c.length===1?c[0]:`[${c.join(", ")}]`}if(i.type===B){let c=((o=s==null?void 0:s[a+1])==null?void 0:o.type)===$;return i.literal?c?"literalline":"literallineWithoutBreakParent":i.hard?c?"hardline":"hardlineWithoutBreakParent":i.soft?"softline":"line"}if(i.type===$)return((l=s==null?void 0:s[a-1])==null?void 0:l.type)===B&&s[a-1].hard?void 0:"breakParent";if(i.type===ne)return"trim";if(i.type===te)return"indent("+n(i.contents)+")";if(i.type===re)return i.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+n(i.contents)+")":i.n<0?"dedent("+n(i.contents)+")":i.n.type==="root"?"markAsRoot("+n(i.contents)+")":"align("+JSON.stringify(i.n)+", "+n(i.contents)+")";if(i.type===M)return"ifBreak("+n(i.breakContents)+(i.flatContents?", "+n(i.flatContents):"")+(i.groupId?(i.flatContents?"":', ""')+`, { groupId: ${u(i.groupId)} }`:"")+")";if(i.type===ue){let c=[];i.negate&&c.push("negate: true"),i.groupId&&c.push(`groupId: ${u(i.groupId)}`);let D=c.length>0?`, { ${c.join(", ")} }`:"";return`indentIfBreak(${n(i.contents)}${D})`}if(i.type===P){let c=[];i.break&&i.break!=="propagated"&&c.push("shouldBreak: true"),i.id&&c.push(`id: ${u(i.id)}`);let D=c.length>0?`, { ${c.join(", ")} }`:"";return i.expandedStates?`conditionalGroup([${i.expandedStates.map(p=>n(p)).join(",")}]${D})`:`group(${n(i.contents)}${D})`}if(i.type===j)return`fill([${i.parts.map(c=>n(c)).join(", ")}])`;if(i.type===ie)return"lineSuffix("+n(i.contents)+")";if(i.type===ae)return"lineSuffixBoundary";if(i.type===Q)return`label(${JSON.stringify(i.label)}, ${n(i.contents)})`;throw new Error("Unknown doc type "+i.type)}function u(i){if(typeof i!="symbol")return JSON.stringify(String(i));if(i in t)return t[i];let a=i.description||"symbol";for(let s=0;;s++){let o=a+(s>0?` #${s}`:"");if(!r.has(o))return r.add(o),t[i]=`Symbol.for(${JSON.stringify(o)})`}}}function Jc(e,t,r=0){let n=0;for(let u=r;utypeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). -The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. -The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment -in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function Ei({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(u=>u.languages??[]),n=[];for(let u of Qc(Object.assign({},...e.map(({options:i})=>i),Yc)))!t&&u.deprecated||(Array.isArray(u.choices)&&(t||(u.choices=u.choices.filter(i=>!i.deprecated)),u.name==="parser"&&(u.choices=[...u.choices,...Xc(u.choices,r,e)])),u.pluginDefaults=Object.fromEntries(e.filter(i=>{var a;return((a=i.defaultOptions)==null?void 0:a[u.name])!==void 0}).map(i=>[i.name,i.defaultOptions[u.name]])),n.push(u));return{languages:r,options:n}}function*Xc(e,t,r){let n=new Set(e.map(u=>u.value));for(let u of t)if(u.parsers){for(let i of u.parsers)if(!n.has(i)){n.add(i);let a=r.find(o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,i)),s=u.name;a!=null&&a.name&&(s+=` (plugin: ${a.name})`),yield{value:i,description:s}}}}function Qc(e){let t=[];for(let[r,n]of Object.entries(e)){let u={name:r,...n};Array.isArray(u.default)&&(u.default=k(!1,u.default,-1).value),t.push(u)}return t}var Zc=e=>String(e).split(/[/\\]/).pop();function Vn(e,t){if(!t)return;let r=Zc(t).toLowerCase();return e.find(n=>{var u,i;return((u=n.extensions)==null?void 0:u.some(a=>r.endsWith(a)))||((i=n.filenames)==null?void 0:i.some(a=>a.toLowerCase()===r))})}function ep(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function tp(e,t){let r=e.plugins.flatMap(u=>u.languages??[]),n=ep(r,t.language)??Vn(r,t.physicalFile)??Vn(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var rp=tp,Te={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Te.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Te.key(r)}: ${Te.value(e[r])}`).join(", ")} }`},pair:({key:e,value:t})=>Te.value({[e]:t})},Un=it(Jt(),1),np=(e,t,{descriptor:r})=>{let n=[`${Un.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${Un.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},Le=it(Jt(),1),bi=Symbol.for("vnopts.VALUE_NOT_EXIST"),Ft=Symbol.for("vnopts.VALUE_UNCHANGED"),zn=" ".repeat(2),up=(e,t,r)=>{let{text:n,list:u}=r.normalizeExpectedResult(r.schemas[e].expected(r)),i=[];return n&&i.push(Gn(e,t,n,r.descriptor)),u&&i.push([Gn(e,t,u.title,r.descriptor)].concat(u.values.map(a=>wi(a,r.loggerPrintWidth))).join(` -`)),Si(i,r.loggerPrintWidth)};function Gn(e,t,r,n){return[`Invalid ${Le.default.red(n.key(e))} value.`,`Expected ${Le.default.blue(r)},`,`but received ${t===bi?Le.default.gray("nothing"):Le.default.red(n.value(t))}.`].join(" ")}function wi({text:e,list:t},r){let n=[];return e&&n.push(`- ${Le.default.blue(e)}`),t&&n.push([`- ${Le.default.blue(t.title)}:`].concat(t.values.map(u=>wi(u,r-zn.length).replace(/^|\n/g,`$&${zn}`))).join(` -`)),Si(n,r)}function Si(e,t){if(e.length===1)return e[0];let[r,n]=e,[u,i]=e.map(a=>a.split(` -`,1)[0].length);return u>t&&u>i?n:r}var Kn=it(Jt(),1),lr=[],Jn=[];function ip(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,u=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-u);)n--,u--;let i=0;for(;is?l>s?s+1:l:l>o?o+1:l;return s}var Ai=(e,t,{descriptor:r,logger:n,schemas:u})=>{let i=[`Ignored unknown option ${Kn.default.yellow(r.pair({key:e,value:t}))}.`],a=Object.keys(u).sort().find(s=>ip(e,s)<3);a&&i.push(`Did you mean ${Kn.default.blue(r.key(a))}?`),n.warn(i.join(" "))},ap=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function sp(e,t){let r=new e(t),n=Object.create(r);for(let u of ap)u in t&&(n[u]=op(t[u],r,De.prototype[u].length));return n}var De=class{static create(e){return sp(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return Ft}};function op(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}var lp=class extends De{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},cp=class extends De{expected(){return"anything"}validate(){return!0}},pp=class extends De{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let u=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);u!==!0&&r.push(u.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let u=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);u!==!1&&r.push(...u.map(({value:i})=>({value:[i]})))}return r}forward(e,t){let r=[];for(let n of e){let u=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...u.map(Yn))}return r}redirect(e,t){let r=[],n=[];for(let u of e){let i=t.normalizeRedirectResult(this._valueSchema.redirect(u,t),u);"remain"in i&&r.push(i.remain),n.push(...i.redirect.map(Yn))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}};function Yn({from:e,to:t}){return{from:[e],to:t}}var hp=class extends De{expected(){return"true or false"}validate(e){return typeof e=="boolean"}};function dp(e,t){let r=Object.create(null);for(let n of e){let u=n[t];if(r[u])throw new Error(`Duplicate ${t} ${JSON.stringify(u)}`);r[u]=n}return r}function Dp(e,t){let r=new Map;for(let n of e){let u=n[t];if(r.has(u))throw new Error(`Duplicate ${t} ${JSON.stringify(u)}`);r.set(u,n)}return r}function fp(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function mp(e,t){let r=[],n=[];for(let u of e)t(u)?r.push(u):n.push(u);return[r,n]}function gp(e){return e===Math.floor(e)}function Cp(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,u=["undefined","object","boolean","number","string"];return r!==n?u.indexOf(r)-u.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function Fp(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Xn(e){return e===void 0?{}:e}function ki(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return vp((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(ki)}}:{text:t}}function Qn(e,t){return e===!0?!0:e===!1?{value:t}:e}function Zn(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function eu(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Sr(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>eu(r,t)):[eu(e,t)]}function tu(e,t){let r=Sr(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function vp(e,t){if(!e)throw new Error(t)}var yp=class extends De{constructor(e){super(e),this._choices=Dp(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(u=>this._choices.get(u)).filter(({hidden:u})=>!u).map(u=>u.value).sort(Cp).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},Ep=class extends De{expected(){return"a number"}validate(e,t){return typeof e=="number"}},bp=class extends Ep{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&gp(e)}},ru=class extends De{expected(){return"a string"}validate(e){return typeof e=="string"}},wp=Te,Sp=Ai,Ap=up,kp=np,_p=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:u=wp,unknown:i=Sp,invalid:a=Ap,deprecated:s=kp,missing:o=()=>!1,required:l=()=>!1,preprocess:c=p=>p,postprocess:D=()=>Ft}=t||{};this._utils={descriptor:u,logger:r||{warn:()=>{}},loggerPrintWidth:n,schemas:dp(e,"name"),normalizeDefaultResult:Xn,normalizeExpectedResult:ki,normalizeDeprecatedResult:Zn,normalizeForwardResult:Sr,normalizeRedirectResult:tu,normalizeValidateResult:Qn},this._unknownHandler=i,this._invalidHandler=Fp(a),this._deprecatedHandler=s,this._identifyMissing=(p,h)=>!(p in h)||o(p,h),this._identifyRequired=l,this._preprocess=c,this._postprocess=D,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=fp()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=()=>{for(;r.length!==0;){let u=r.shift(),i=this._applyNormalization(u,t);r.push(...i)}};n();for(let u of Object.keys(this._utils.schemas)){let i=this._utils.schemas[u];if(!(u in t)){let a=Xn(i.default(this._utils));"value"in a&&r.push({[u]:a.value})}}n();for(let u of Object.keys(this._utils.schemas)){if(!(u in t))continue;let i=this._utils.schemas[u],a=t[u],s=i.postprocess(a,this._utils);s!==Ft&&(this._applyValidation(s,u,i),t[u]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:u}=this._partitionOptionKeys(e);for(let i of n){let a=this._utils.schemas[i],s=a.preprocess(e[i],this._utils);this._applyValidation(s,i,a);let o=({from:D,to:p})=>{r.push(typeof p=="string"?{[p]:D}:{[p.key]:p.value})},l=({value:D,redirectTo:p})=>{let h=Zn(a.deprecated(D,this._utils),s,!0);if(h!==!1)if(h===!0)this._hasDeprecationWarned(i)||this._utils.logger.warn(this._deprecatedHandler(i,p,this._utils));else for(let{value:d}of h){let m={key:i,value:d};if(!this._hasDeprecationWarned(m)){let g=typeof p=="string"?{key:p,value:d}:p;this._utils.logger.warn(this._deprecatedHandler(m,g,this._utils))}}};Sr(a.forward(s,this._utils),s).forEach(o);let c=tu(a.redirect(s,this._utils),s);if(c.redirect.forEach(o),"remain"in c){let D=c.remain;t[i]=i in t?a.overlap(t[i],D,this._utils):D,l({value:D})}for(let{from:D,to:p}of c.redirect)l({value:D,redirectTo:p})}for(let i of u){let a=e[i];this._applyUnknownHandler(i,a,t,(s,o)=>{r.push({[s]:o})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,bi,this._utils)}_partitionOptionKeys(e){let[t,r]=mp(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=Qn(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let u=this._unknownHandler(e,t,this._utils);if(u)for(let i of Object.keys(u)){if(this._identifyMissing(i,u))continue;let a=u[i];i in this._utils.schemas?n(i,a):r[i]=a}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Ft){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let u of r){let i=t.override[u];this._applyValidation(i,u,this._utils.schemas[u]),e[u]=i}for(let u of n){let i=t.override[u];this._applyUnknownHandler(u,i,e,(a,s)=>{let o=this._utils.schemas[a];this._applyValidation(s,a,o),e[a]=s})}}}}},cr;function Bp(e,t,{logger:r=!1,isCLI:n=!1,passThrough:u=!1,FlagSchema:i,descriptor:a}={}){if(n){if(!i)throw new Error("'FlagSchema' option is required.");if(!a)throw new Error("'descriptor' option is required.")}else a=Te;let s=u?Array.isArray(u)?(p,h)=>u.includes(p)?{[p]:h}:void 0:(p,h)=>({[p]:h}):(p,h,d)=>{let{_:m,...g}=d.schemas;return Ai(p,h,{...d,schemas:g})},o=xp(t,{isCLI:n,FlagSchema:i}),l=new _p(o,{logger:r,unknown:s,descriptor:a}),c=r!==!1;c&&cr&&(l._hasDeprecationWarned=cr);let D=l.normalize(e);return c&&(cr=l._hasDeprecationWarned),D}function xp(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(cp.create({name:"_"}));for(let u of e)n.push(Tp(u,{isCLI:t,optionInfos:e,FlagSchema:r})),u.alias&&t&&n.push(lp.create({name:u.alias,sourceName:u.name}));return n}function Tp(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:u}=e,i={name:u},a,s={};switch(e.type){case"int":a=bp,t&&(i.preprocess=Number);break;case"string":a=ru;break;case"choice":a=yp,i.choices=e.choices.map(o=>o!=null&&o.redirect?{...o,redirect:{to:{key:e.name,value:o.redirect}}}:o);break;case"boolean":a=hp;break;case"flag":a=n,i.flags=r.flatMap(o=>[o.alias,o.description&&o.name,o.oppositeDescription&&`no-${o.name}`].filter(Boolean));break;case"path":a=ru;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?i.validate=(o,l,c)=>e.exception(o)||l.validate(o,c):i.validate=(o,l,c)=>o===void 0||l.validate(o,c),e.redirect&&(s.redirect=o=>o?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let o=i.preprocess||(l=>l);i.preprocess=(l,c,D)=>c.preprocess(o(Array.isArray(l)?k(!1,l,-1):l),D)}return e.array?pp.create({...t?{preprocess:o=>Array.isArray(o)?o:[o]}:{},...s,valueSchema:a.create(i)}):a.create({...i,...s})}var Lp=Bp;function _i(e,t){if(!t)throw new Error("parserName is required.");for(let n=e.length-1;n>=0;n--){let u=e[n];if(u.parsers&&Object.prototype.hasOwnProperty.call(u.parsers,t))return u}let r=`Couldn't resolve parser "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new yi(r)}function Np(e,t){if(!t)throw new Error("astFormat is required.");for(let n=e.length-1;n>=0;n--){let u=e[n];if(u.printers&&Object.prototype.hasOwnProperty.call(u.printers,t))return u}let r=`Couldn't find plugin for AST format "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new yi(r)}function Bi({plugins:e,parser:t}){let r=_i(e,t);return xi(r,t)}function xi(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function qp(e,t){let r=e.printers[t];return typeof r=="function"?r():r}var nu={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function Pp(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=rp(n,{physicalFile:n.filepath}),!n.parser)throw new Wn(`No parser could be inferred for file "${n.filepath}".`)}else throw new Wn("No parser and no file path given, couldn't infer a parser.");let u=Ei({plugins:e.plugins,showDeprecated:!0}).options,i={...nu,...Object.fromEntries(u.filter(p=>p.default!==void 0).map(p=>[p.name,p.default]))},a=_i(n.plugins,n.parser),s=await xi(a,n.parser);n.astFormat=s.astFormat,n.locEnd=s.locEnd,n.locStart=s.locStart;let o=(r=a.printers)!=null&&r[s.astFormat]?a:Np(n.plugins,s.astFormat),l=await qp(o,s.astFormat);n.printer=l;let c=o.defaultOptions?Object.fromEntries(Object.entries(o.defaultOptions).filter(([,p])=>p!==void 0)):{},D={...i,...c};for(let[p,h]of Object.entries(D))(n[p]===null||n[p]===void 0)&&(n[p]=h);return n.parser==="json"&&(n.trailingComma="none"),Lp(n,u,{passThrough:Object.keys(nu),...t})}var He=Pp,Ti=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Ip=e=>Object.keys(e).filter(t=>!Ti.has(t));function Op(e){return e?t=>e(t,Ti):Ip}var er=Op;function Mp(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let u=er(n),i=r.ignoredProperties??new Set;return a(e);function a(s,o){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(p=>a(p,o)).filter(Boolean);let l={},c=new Set(u(s));for(let p in s)!Object.prototype.hasOwnProperty.call(s,p)||i.has(p)||(c.has(p)?l[p]=a(s[p],s):l[p]=s[p]);let D=r(s,l,o);if(D!==null)return D??l}}var Rp=Mp,Hp=it(ac(),1);async function jp(e,t){let r=await Bi(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let u;try{u=await r.parse(n,t,t)}catch(i){$p(i,e)}return{text:n,ast:u}}function $p(e,t){let{loc:r}=e;if(r){let n=(0,Hp.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` -`+n,e.codeFrame=n,e}throw e}var at=jp,vt,Ar,ze,yt,Wp=class{constructor(e){Rn(this,vt),Rn(this,ze),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return k(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:k(!1,this.stack,-2)}get node(){return k(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=k(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...Ve(this,ze,yt).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?k(!1,e,-2):null}getValue(){return k(!1,this.stack,-1)}getNode(e=0){let t=Ve(this,vt,Ar).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,u=k(!1,r,-1);for(let i of t)u=u[i],r.push(i,u);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=Ve(this,vt,Ar).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,u=k(!1,r,-1);for(let i of t)u=u[i],r.push(i,u);try{for(let i=0;i{r[u]=e(n,u,i)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let u of e){if(n===void 0)return!1;let i=null;if(typeof r=="number"&&(i=r,r=this.stack[t--],n=this.stack[t--]),u&&!u(n,r,i))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of Ve(this,ze,yt).call(this))if(e(t))return t}hasAncestor(e){for(let t of Ve(this,ze,yt).call(this))if(e(t))return!0;return!1}};vt=new WeakSet,Ar=function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},ze=new WeakSet,yt=function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}};var Vp=Wp,Li=new Proxy(()=>{},{get:()=>Li}),kr=Li;function st(e){return(t,r,n)=>{let u=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:i}=t,a=r;for(;a>=0&&a0}var Jp=Kp;function Yp(e){return e!==null&&typeof e=="object"}var Xp=Yp;function*Pi(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,u=i=>Xp(i)&&n(i);for(let i of r(e)){let a=e[i];if(Array.isArray(a))for(let s of a)u(s)&&(yield s);else u(a)&&(yield a)}}function*Qp(e,t){let r=[e];for(let n=0;n20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function rn(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=Zp(e)}function Ne(e,t){t.leading=!0,t.trailing=!1,rn(e,t)}function Et(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),rn(e,t)}function qe(e,t){t.leading=!1,t.trailing=!0,rn(e,t)}var pr=new WeakMap;function nn(e,t){if(pr.has(e))return pr.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:u},locStart:i,locEnd:a}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...Pi(e,{getVisitorKeys:er(u)})]).flatMap(o=>n(o)?[o]:nn(o,t));return s.sort((o,l)=>i(o)-i(l)||a(o)-a(l)),pr.set(e,s),s}function Ii(e,t,r,n){let{locStart:u,locEnd:i}=r,a=u(t),s=i(t),o=nn(e,r),l,c,D=0,p=o.length;for(;D>1,d=o[h],m=u(d),g=i(d);if(m<=a&&s<=g)return Ii(d,t,r,d);if(g<=a){l=d,D=h+1;continue}if(s<=m){c=d,p=h;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:h}=n,d=dr(h,t,r);l&&dr(h,l,r)!==d&&(l=null),c&&dr(h,c,r)!==d&&(c=null)}return{enclosingNode:n,precedingNode:l,followingNode:c}}var hr=()=>!1;function e2(e,t){let{comments:r}=e;if(delete e.comments,!Jp(r)||!t.printer.canAttachComment)return;let n=[],{locStart:u,locEnd:i,printer:{experimentalFeatures:{avoidAstMutation:a=!1}={},handleComments:s={}},originalText:o}=t,{ownLine:l=hr,endOfLine:c=hr,remaining:D=hr}=s,p=r.map((h,d)=>({...Ii(e,h,t),comment:h,text:o,options:t,ast:e,isLastComment:r.length-1===d}));for(let[h,d]of p.entries()){let{comment:m,precedingNode:g,enclosingNode:F,followingNode:f,text:C,options:y,ast:v,isLastComment:w}=d;if(y.parser==="json"||y.parser==="json5"||y.parser==="__js_expression"||y.parser==="__ts_expression"||y.parser==="__vue_expression"||y.parser==="__vue_ts_expression"){if(u(m)-u(v)<=0){Ne(v,m);continue}if(i(m)-i(v)>=0){qe(v,m);continue}}let S;if(a?S=[d]:(m.enclosingNode=F,m.precedingNode=g,m.followingNode=f,S=[m,C,y,v,w]),t2(C,y,p,h))m.placement="ownLine",l(...S)||(f?Ne(f,m):g?qe(g,m):Et(F||v,m));else if(r2(C,y,p,h))m.placement="endOfLine",c(...S)||(g?qe(g,m):f?Ne(f,m):Et(F||v,m));else if(m.placement="remaining",!D(...S))if(g&&f){let x=n.length;x>0&&n[x-1].followingNode!==f&&uu(n,y),n.push(d)}else g?qe(g,m):f?Ne(f,m):Et(F||v,m)}if(uu(n,t),!a)for(let h of r)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode}var Oi=e=>!/[\S\n\u2028\u2029]/.test(e);function t2(e,t,r,n){let{comment:u,precedingNode:i}=r[n],{locStart:a,locEnd:s}=t,o=a(u);if(i)for(let l=n-1;l>=0;l--){let{comment:c,precedingNode:D}=r[l];if(D!==i||!Oi(e.slice(s(c),o)))break;o=a(c)}return le(e,o,{backwards:!0})}function r2(e,t,r,n){let{comment:u,followingNode:i}=r[n],{locStart:a,locEnd:s}=t,o=s(u);if(i)for(let l=n+1;l0;--o){let{comment:l,precedingNode:c,followingNode:D}=e[o-1];kr.strictEqual(c,i),kr.strictEqual(D,a);let p=t.originalText.slice(t.locEnd(l),s);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,p,t))??/^[\s(]*$/.test(p))s=t.locStart(l);else break}for(let[l,{comment:c}]of e.entries())l1&&l.comments.sort((c,D)=>t.locStart(c)-t.locStart(D));e.length=0}function dr(e,t,r){let n=r.locStart(t)-1;for(let u=1;u!n.has(s)).length===0)return{leading:"",trailing:""};let u=[],i=[],a;return e.each(()=>{let s=e.node;if(n!=null&&n.has(s))return;let{leading:o,trailing:l}=s;o?u.push(u2(e,t)):l&&(a=i2(e,t,a),i.push(a.doc))},"comments"),{leading:u,trailing:i}}function s2(e,t,r){let{leading:n,trailing:u}=a2(e,r);return!n&&!u?t:Fi(t,i=>[n,i,u])}function o2(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}async function l2(e,t,r,n,u){let{embeddedLanguageFormatting:i,printer:{embed:a,hasPrettierIgnore:s=()=>!1,getVisitorKeys:o}}=r;if(!a||i!=="auto")return;if(a.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let l=er(a.getVisitorKeys??o),c=[];h();let D=e.stack;for(let{print:d,node:m,pathStack:g}of c)try{e.stack=g;let F=await d(p,t,e,r);F&&u.set(m,F)}catch(F){if(globalThis.PRETTIER_DEBUG)throw F}e.stack=D;function p(d,m){return c2(d,m,r,n)}function h(){let{node:d}=e;if(d===null||typeof d!="object"||s(e))return;for(let g of l(d))Array.isArray(d[g])?e.each(h,g):e.call(h,g);let m=a(e,r);if(m){if(typeof m=="function"){c.push({print:m,node:d,pathStack:[...e.stack]});return}u.set(d,m)}}}async function c2(e,t,r,n){let u=await He({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:i}=await at(e,u),a=await n(i,u);return Ci(a)}function p2(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:u,locEnd:i,[Symbol.for("printedComments")]:a}=t,{node:s}=e,o=u(s),l=i(s);for(let c of n)u(c)>=o&&i(c)<=l&&a.add(c);return r.slice(o,l)}var h2=p2;async function tr(e,t){({ast:e}=await Ri(e,t));let r=new Map,n=new Vp(e),u=new Map;await l2(n,a,t,tr,u);let i=await iu(n,t,a,void 0,u);return o2(t),i;function a(o,l){return o===void 0||o===n?s(l):Array.isArray(o)?n.call(()=>s(l),...o):n.call(()=>s(l),o)}function s(o){let l=n.node;if(l==null)return"";let c=l&&typeof l=="object"&&o===void 0;if(c&&r.has(l))return r.get(l);let D=iu(n,t,a,o,u);return c&&r.set(l,D),D}}function iu(e,t,r,n,u){var i;let{node:a}=e,{printer:s}=t,o;return(i=s.hasPrettierIgnore)!=null&&i.call(s,e)?o=h2(e,t):u.has(a)?o=u.get(a):o=s.print(e,t,r,n),a===t.cursorNode&&(o=Fi(o,l=>[Er,l,Er])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(o=s2(e,o,t)),o}async function Ri(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,e2(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}var d2=({parser:e})=>e==="json"||e==="json5"||e==="json-stringify";function D2(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(u=>Hi.has(u.type)&&n.has(u))}function au(e){let t=e.length-1;for(;;){let r=e[t];if((r==null?void 0:r.type)==="Program"||(r==null?void 0:r.type)==="File")t--;else break}return e.slice(0,t+1)}function f2(e,t,{locStart:r,locEnd:n}){let u=e.node,i=t.node;if(u===i)return{startNode:u,endNode:i};let a=r(e.node);for(let o of au(t.parentNodes))if(r(o)>=a)i=o;else break;let s=n(t.node);for(let o of au(e.parentNodes)){if(n(o)<=s)u=o;else break;if(u===i)break}return{startNode:u,endNode:i}}function _r(e,t,r,n,u=[],i){let{locStart:a,locEnd:s}=r,o=a(e),l=s(e);if(!(t>l||tn);let s=e.slice(n,u).search(/\S/),o=s===-1;if(!o)for(n+=s;u>n&&!/\S/.test(e[u-1]);--u);let l=_r(r,n,t,(h,d)=>su(t,h,d),[],"rangeStart"),c=o?l:_r(r,u,t,h=>su(t,h),[],"rangeEnd");if(!l||!c)return{rangeStart:0,rangeEnd:0};let D,p;if(d2(t)){let h=D2(l,c);D=h,p=h}else({startNode:D,endNode:p}=f2(l,c,t));return{rangeStart:Math.min(i(D),i(p)),rangeEnd:Math.max(a(D),a(p))}}function F2(e,t){let{cursorOffset:r,locStart:n,locEnd:u}=t,i=er(t.printer.getVisitorKeys),a=o=>n(o)<=r&&u(o)>=r,s=e;for(let o of Qp(e,{getVisitorKeys:i,filter:a}))s=o;return s}var v2=F2,ji="\uFEFF",ou=Symbol("cursor");async function $i(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:u}=await at(e,t);t.cursorOffset>=0&&(t.cursorNode=v2(n,t));let i=await tr(n,t);r>0&&(i=mi([Ce,i],r,t.tabWidth));let a=Zt(i,t);if(r>0){let o=a.formatted.trim();a.cursorNodeStart!==void 0&&(a.cursorNodeStart-=a.formatted.indexOf(o)),a.formatted=o+Qr(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let o,l,c,D,p;if(t.cursorNode&&a.cursorNodeText?(o=t.locStart(t.cursorNode),l=u.slice(o,t.locEnd(t.cursorNode)),c=t.cursorOffset-o,D=a.cursorNodeStart,p=a.cursorNodeText):(o=0,l=u,c=t.cursorOffset,D=0,p=a.formatted),l===p)return{formatted:a.formatted,cursorOffset:D+c,comments:s};let h=l.split("");h.splice(c,0,ou);let d=p.split(""),m=(0,oc.diffArrays)(h,d),g=D;for(let F of m)if(F.removed){if(F.value.includes(ou))break}else g+=F.count;return{formatted:a.formatted,cursorOffset:g,comments:s}}return{formatted:a.formatted,cursorOffset:-1,comments:s}}async function y2(e,t){let{ast:r,text:n}=await at(e,t),{rangeStart:u,rangeEnd:i}=C2(n,t,r),a=n.slice(u,i),s=Math.min(u,n.lastIndexOf(` -`,u)+1),o=n.slice(s,u).match(/^\s*/)[0],l=tn(o,t.tabWidth),c=await $i(a,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>u&&t.cursorOffset<=i?t.cursorOffset-u:-1,endOfLine:"lf"},l),D=c.formatted.trimEnd(),{cursorOffset:p}=t;p>i?p+=D.length-a.length:c.cursorOffset>=0&&(p=c.cursorOffset+u);let h=n.slice(0,u)+D+n.slice(i);if(t.endOfLine!=="lf"){let d=Qr(t.endOfLine);p>=0&&d===`\r -`&&(p+=gi(h.slice(0,p),` -`)),h=Yt(!1,h,` -`,d)}return{formatted:h,cursorOffset:p,comments:c.comments}}function Dr(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function lu(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:u}=t;return r=Dr(e,r,-1),n=Dr(e,n,0),u=Dr(e,u,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:u}}function Wi(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:u,endOfLine:i}=lu(e,t),a=e.charAt(0)===ji;if(a&&(e=e.slice(1),r--,n--,u--),i==="auto"&&(i=kc(e)),e.includes("\r")){let s=o=>gi(e.slice(0,Math.max(o,0)),`\r -`);r-=s(r),n-=s(n),u-=s(u),e=_c(e)}return{hasBOM:a,text:e,options:lu(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:u,endOfLine:i})}}async function cu(e,t){let r=await Bi(t);return!r.hasPragma||r.hasPragma(e)}async function Vi(e,t){let{hasBOM:r,text:n,options:u}=Wi(e,await He(t));if(u.rangeStart>=u.rangeEnd&&n!==""||u.requirePragma&&!await cu(n,u))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let i;return u.rangeStart>0||u.rangeEnd=0&&i.cursorOffset++),i}async function E2(e,t,r){let{text:n,options:u}=Wi(e,await He(t)),i=await at(n,u);return r&&(r.preprocessForPrint&&(i.ast=await Ri(i.ast,u)),r.massage&&(i.ast=Rp(i.ast,u))),i}async function b2(e,t){t=await He(t);let r=await tr(e,t);return Zt(r,t)}async function w2(e,t){let r=Kc(e),{formatted:n}=await Vi(r,{...t,parser:"__js_expression"});return n}async function S2(e,t){t=await He(t);let{ast:r}=await at(e,t);return tr(r,t)}async function A2(e,t){return Zt(e,await He(t))}var Ui={};Kt(Ui,{addDanglingComment:()=>Et,addLeadingComment:()=>Ne,addTrailingComment:()=>qe,getAlignmentSize:()=>tn,getIndentSize:()=>P2,getMaxContinuousCount:()=>N2,getNextNonSpaceNonCommentCharacter:()=>j2,getNextNonSpaceNonCommentCharacterIndex:()=>U2,getStringWidth:()=>Zr,hasNewline:()=>le,hasNewlineInRange:()=>O2,hasSpaces:()=>R2,isNextLineEmpty:()=>J2,isNextLineEmptyAfterIndex:()=>ln,isPreviousLineEmpty:()=>G2,makeString:()=>W2,skip:()=>st,skipEverythingButNewLine:()=>qi,skipInlineComment:()=>an,skipNewline:()=>Ee,skipSpaces:()=>he,skipToLineEnd:()=>Ni,skipTrailingComment:()=>sn,skipWhitespace:()=>Up});function k2(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,u.length/t.length),0)}var N2=L2;function q2(e,t){let r=e.lastIndexOf(` -`);return r===-1?0:tn(e.slice(r+1).match(/^[\t ]*/)[0],t)}var P2=q2;function I2(e,t,r){for(let n=t;na===n?a:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return t+u+t}var W2=$2;function V2(e,t,r){return on(e,r(t))}function U2(e,t){return arguments.length===2||typeof t=="number"?on(e,t):V2(...arguments)}function z2(e,t,r){return un(e,r(t))}function G2(e,t){return arguments.length===2||typeof t=="number"?un(e,t):z2(...arguments)}function K2(e,t,r){return ln(e,r(t))}function J2(e,t){return arguments.length===2||typeof t=="number"?ln(e,t):K2(...arguments)}var zi={};Kt(zi,{builders:()=>Y2,printer:()=>X2,utils:()=>Q2});var Y2={join:fi,line:di,softline:wc,hardline:Ce,literalline:Di,group:ci,conditionalGroup:Fc,fill:pi,lineSuffix:yr,lineSuffixBoundary:Ec,cursor:Er,breakParent:Xt,ifBreak:vc,trim:bc,indent:_t,indentIfBreak:yc,align:Oe,addAlignmentToDoc:mi,markAsRoot:gc,dedentToRoot:mc,dedent:Cc,hardlineWithoutBreakParent:Xr,literallineWithoutBreakParent:hi,label:Sc,concat:e=>e},X2={printDocToString:Zt},Q2={willBreak:Oc,traverseDoc:Yr,findInDoc:en,mapDoc:Qt,removeLines:Hc,stripTrailingHardline:Ci,replaceEndOfLine:Wc,canBreak:Uc},Z2="3.1.1";function me(e,t=1){return async(...r)=>{let n=r[t]??{},u=n.plugins??[];return r[t]={...n,plugins:Array.isArray(u)?u:Object.values(u)},e(...r)}}var Gi=me(Vi);async function Ki(e,t){let{formatted:r}=await Gi(e,{...t,cursorOffset:-1});return r}async function eh(e,t){return await Ki(e,t)===e}var th=me(Ei,0),rh={parse:me(E2),formatAST:me(b2),formatDoc:me(w2),printToDoc:me(S2),printDocToString:me(A2)},nh=oi;function uh(e){for(var t=[],r=1;re===!1?t:e==="dedent"||e===!0?uh(t):(await nh.format(t,{parser:e,plugins:[Kl],htmlWhitespaceSensitivity:"ignore"})).trim());export{Dh as formatter}; diff --git a/assets/global-styles.stories-mcWbTK0l.js b/assets/global-styles.stories-nHCx0yaM.js similarity index 98% rename from assets/global-styles.stories-mcWbTK0l.js rename to assets/global-styles.stories-nHCx0yaM.js index 2a75adfb..c36f1d68 100644 --- a/assets/global-styles.stories-mcWbTK0l.js +++ b/assets/global-styles.stories-nHCx0yaM.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-DvLKfCe6.js";import{T as l}from"./table-unvirtualized-qNCB5NB8.js";import"./index-aXz8NaAs.js";import"./class-names-J070TWId.js";import"./spinner-3qwjfHYG.js";const z={title:"Global CSS Style Classes"},a={render:()=>e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("h3",{className:"headline-700",children:"Headline Styles"}),e.jsxs(l,{children:[e.jsx(l.Header,{children:e.jsxs(l.Header.Row,{children:[e.jsx(l.Header.Cell,{children:"ClassName"}),e.jsx(l.Header.Cell,{children:"Example"})]})}),e.jsxs(l.Body,{children:[e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-100"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-100",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-200"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-200",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-300"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-300",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-400"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-400",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-500"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-500",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-600"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-600",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-700"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-700",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-800"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-800",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-900"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-900",children:"The quick brown fox jumps over the lazy dog"})})]})]})]})]})},n={render:()=>e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("h3",{className:"headline-700",children:"Paragraph Styles"}),e.jsxs(l,{children:[e.jsx(l.Header,{children:e.jsxs(l.Header.Row,{children:[e.jsx(l.Header.Cell,{children:"ClassName"}),e.jsx(l.Header.Cell,{children:"Example"})]})}),e.jsxs(l.Body,{children:[e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"paragraph-100"})}),e.jsx(l.Body.Cell,{children:e.jsx("p",{className:"paragraph-100",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"paragraph-200"})}),e.jsx(l.Body.Cell,{children:e.jsx("p",{className:"paragraph-200",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"paragraph-300"})}),e.jsx(l.Body.Cell,{children:e.jsx("p",{className:"paragraph-300",children:"The quick brown fox jumps over the lazy dog"})})]})]})]})]})},d={render:()=>e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("h3",{className:"headline-700 font-mono",children:"inline-link"}),e.jsxs("p",{className:"paragraph-200",children:[e.jsx("a",{href:"https://abusix.com",className:"inline-link",children:"Be or not to be,"})," ","that is the question: Whether ’tis nobler in the mind to suffer The slings and arrows of outrageous fortune, …"]})]})};var r,i,o;a.parameters={...a.parameters,docs:{...(r=a.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-B57y5fZt.js";import{T as l}from"./table-unvirtualized-C1qOI-b1.js";import"./index-ebcBgdYO.js";import"./class-names-B8CnD4Xb.js";import"./spinner-BicvOdNJ.js";const z={title:"Global CSS Style Classes"},a={render:()=>e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("h3",{className:"headline-700",children:"Headline Styles"}),e.jsxs(l,{children:[e.jsx(l.Header,{children:e.jsxs(l.Header.Row,{children:[e.jsx(l.Header.Cell,{children:"ClassName"}),e.jsx(l.Header.Cell,{children:"Example"})]})}),e.jsxs(l.Body,{children:[e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-100"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-100",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-200"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-200",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-300"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-300",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-400"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-400",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-500"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-500",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-600"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-600",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-700"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-700",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-800"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-800",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-900"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-900",children:"The quick brown fox jumps over the lazy dog"})})]})]})]})]})},n={render:()=>e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("h3",{className:"headline-700",children:"Paragraph Styles"}),e.jsxs(l,{children:[e.jsx(l.Header,{children:e.jsxs(l.Header.Row,{children:[e.jsx(l.Header.Cell,{children:"ClassName"}),e.jsx(l.Header.Cell,{children:"Example"})]})}),e.jsxs(l.Body,{children:[e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"paragraph-100"})}),e.jsx(l.Body.Cell,{children:e.jsx("p",{className:"paragraph-100",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"paragraph-200"})}),e.jsx(l.Body.Cell,{children:e.jsx("p",{className:"paragraph-200",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"paragraph-300"})}),e.jsx(l.Body.Cell,{children:e.jsx("p",{className:"paragraph-300",children:"The quick brown fox jumps over the lazy dog"})})]})]})]})]})},d={render:()=>e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("h3",{className:"headline-700 font-mono",children:"inline-link"}),e.jsxs("p",{className:"paragraph-200",children:[e.jsx("a",{href:"https://abusix.com",className:"inline-link",children:"Be or not to be,"})," ","that is the question: Whether ’tis nobler in the mind to suffer The slings and arrows of outrageous fortune, …"]})]})};var r,i,o;a.parameters={...a.parameters,docs:{...(r=a.parameters)==null?void 0:r.docs,source:{originalSource:`{ render: () =>

Headline Styles

diff --git a/assets/hidden-G4mt23Ky.js b/assets/hidden-BiaaAo9r.js similarity index 88% rename from assets/hidden-G4mt23Ky.js rename to assets/hidden-BiaaAo9r.js index 90248895..9021f987 100644 --- a/assets/hidden-G4mt23Ky.js +++ b/assets/hidden-BiaaAo9r.js @@ -1 +1 @@ -import{D as r,X as n}from"./render-THca3tYe.js";let a="div";var l=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(l||{});function p(e,d){let{features:i=1,...o}=e,t={ref:d,"aria-hidden":(i&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(i&4)===4&&(i&2)!==2&&{display:"none"}}};return n({ourProps:t,theirProps:o,slot:{},defaultTag:a,name:"Hidden"})}let f=r(p);export{f as c,l as p}; +import{D as r,X as n}from"./render-BBULYOlI.js";let a="div";var l=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(l||{});function p(e,d){let{features:i=1,...o}=e,t={ref:d,"aria-hidden":(i&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(i&4)===4&&(i&2)!==2&&{display:"none"}}};return n({ourProps:t,theirProps:o,slot:{},defaultTag:a,name:"Hidden"})}let f=r(p);export{f as c,l as p}; diff --git a/assets/icon-button-20HJLHEq.js b/assets/icon-button-CPqMts2r.js similarity index 89% rename from assets/icon-button-20HJLHEq.js rename to assets/icon-button-CPqMts2r.js index 91fc2781..3a47c774 100644 --- a/assets/icon-button-20HJLHEq.js +++ b/assets/icon-button-CPqMts2r.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-DvLKfCe6.js";import{c as u}from"./class-names-J070TWId.js";const o={primary:"bg-primary-500 text-neutral-0 hover:bg-primary-600 active:bg-primary-600 focus:ring-2 focus:ring-primary-200 focus:bg-primary-600 disabled:bg-primary-200 fill-neutral-0",secondary:"bg-neutral-0 text-neutral-600 border border-neutral-400 hover:border-neutral-600 hover:text-neutral-700 active:bg-neutral-100 active:text-neutral-700 focus:ring-2 focus:ring-primary-200 disabled:border-neutral-300 disabled:text-neutral-400 disabled:bg-neutral-0 fill-neutral-600",minimal:"text-neutral-600 hover:text-neutral-700 hover:bg-neutral-100 active:bg-neutral-200 active:text-neutral-700 focus:ring-2 focus:ring-primary-200 focus:bg-neutral-50 disabled:text-neutral-400 disabled:bg-transparent fill-neutral-600",danger:"bg-danger-500 text-neutral-0 hover:bg-danger-600 active:bg-danger-700 focus:ring-2 focus:ring-danger-100 focus:bg-danger-600 disabled:bg-danger-100 fill-neutral-0","danger-secondary":"bg-neutral-0 text-danger-500 border border-danger-500 hover:bg-danger-50 hover:text-danger-600 active:border-danger-700 active:text-danger-700 active:bg-danger-100 focus:ring-2 focus:ring-danger-100 focus:text-danger-600 disabled:border-danger-100 disabled:text-danger-100 disabled:bg-neutral-0 fill-danger-600"},r=({Icon:e,onClick:n,disabled:t=!1,type:l="primary",className:i,ariaLabel:d})=>a.jsx("button",{type:"button","aria-label":d,className:u("inline-flex h-8 w-8 flex-shrink-0 items-center justify-center rounded focus:outline-none",o[l],i),onClick:n,disabled:t,children:a.jsx(e,{className:"h-3 w-3"})});try{r.displayName="IconButton",r.__docgenInfo={description:"",displayName:"IconButton",props:{Icon:{defaultValue:null,description:"",name:"Icon",required:!0,type:{name:"ElementType"}},type:{defaultValue:{value:"primary"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"danger"'},{value:'"primary"'},{value:'"secondary"'},{value:'"minimal"'},{value:'"danger-secondary"'}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!0,type:{name:"() => void"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},ariaLabel:{defaultValue:null,description:"",name:"ariaLabel",required:!1,type:{name:"string"}}}}}catch{}export{r as I}; +import{j as a}from"./jsx-runtime-B57y5fZt.js";import{c as u}from"./class-names-B8CnD4Xb.js";const o={primary:"bg-primary-500 text-neutral-0 hover:bg-primary-600 active:bg-primary-600 focus:ring-2 focus:ring-primary-200 focus:bg-primary-600 disabled:bg-primary-200 fill-neutral-0",secondary:"bg-neutral-0 text-neutral-600 border border-neutral-400 hover:border-neutral-600 hover:text-neutral-700 active:bg-neutral-100 active:text-neutral-700 focus:ring-2 focus:ring-primary-200 disabled:border-neutral-300 disabled:text-neutral-400 disabled:bg-neutral-0 fill-neutral-600",minimal:"text-neutral-600 hover:text-neutral-700 hover:bg-neutral-100 active:bg-neutral-200 active:text-neutral-700 focus:ring-2 focus:ring-primary-200 focus:bg-neutral-50 disabled:text-neutral-400 disabled:bg-transparent fill-neutral-600",danger:"bg-danger-500 text-neutral-0 hover:bg-danger-600 active:bg-danger-700 focus:ring-2 focus:ring-danger-100 focus:bg-danger-600 disabled:bg-danger-100 fill-neutral-0","danger-secondary":"bg-neutral-0 text-danger-500 border border-danger-500 hover:bg-danger-50 hover:text-danger-600 active:border-danger-700 active:text-danger-700 active:bg-danger-100 focus:ring-2 focus:ring-danger-100 focus:text-danger-600 disabled:border-danger-100 disabled:text-danger-100 disabled:bg-neutral-0 fill-danger-600"},r=({Icon:e,onClick:n,disabled:t=!1,type:l="primary",className:i,ariaLabel:d})=>a.jsx("button",{type:"button","aria-label":d,className:u("inline-flex h-8 w-8 flex-shrink-0 items-center justify-center rounded focus:outline-none",o[l],i),onClick:n,disabled:t,children:a.jsx(e,{className:"h-3 w-3"})});try{r.displayName="IconButton",r.__docgenInfo={description:"",displayName:"IconButton",props:{Icon:{defaultValue:null,description:"",name:"Icon",required:!0,type:{name:"ElementType"}},type:{defaultValue:{value:"primary"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"danger"'},{value:'"secondary"'},{value:'"minimal"'},{value:'"danger-secondary"'}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!0,type:{name:"() => void"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},ariaLabel:{defaultValue:null,description:"",name:"ariaLabel",required:!1,type:{name:"string"}}}}}catch{}export{r as I}; diff --git a/assets/icon-button.stories-k6ry-DAX.js b/assets/icon-button.stories-CY6dHZ-s.js similarity index 69% rename from assets/icon-button.stories-k6ry-DAX.js rename to assets/icon-button.stories-CY6dHZ-s.js index 160f5986..1201bb21 100644 --- a/assets/icon-button.stories-k6ry-DAX.js +++ b/assets/icon-button.stories-CY6dHZ-s.js @@ -1 +1 @@ -import{I as t}from"./icon-button-20HJLHEq.js";import{i as s}from"./zoom-to-fit-icon-D5bxa5rH.js";import"./jsx-runtime-DvLKfCe6.js";import"./index-aXz8NaAs.js";import"./class-names-J070TWId.js";const n=["primary","secondary","minimal","danger","danger-secondary"],l={title:"IconButton",component:t,args:{type:"primary",disabled:!1,Icon:s},argTypes:{type:{options:n}}},o={};var r,e,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(e=o.parameters)==null?void 0:e.docs)==null?void 0:a.source}}};const u=["Default"];export{o as Default,u as __namedExportsOrder,l as default}; +import{I as t}from"./icon-button-CPqMts2r.js";import{i as s}from"./zoom-to-fit-icon-DLvbqD3B.js";import"./jsx-runtime-B57y5fZt.js";import"./index-ebcBgdYO.js";import"./class-names-B8CnD4Xb.js";const n=["primary","secondary","minimal","danger","danger-secondary"],l={title:"IconButton",component:t,args:{type:"primary",disabled:!1,Icon:s},argTypes:{type:{options:n}}},o={};var r,e,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(e=o.parameters)==null?void 0:e.docs)==null?void 0:a.source}}};const u=["Default"];export{o as Default,u as __namedExportsOrder,l as default}; diff --git a/assets/icons-jxFpOy4C.js b/assets/icons-jxFpOy4C.js deleted file mode 100644 index e80e8583..00000000 --- a/assets/icons-jxFpOy4C.js +++ /dev/null @@ -1,4 +0,0 @@ -import{j as o}from"./jsx-runtime-DvLKfCe6.js";import{u as I}from"./index-k79fmlbS.js";import{M as g,I as r,d as t}from"./index-6HVkS1t_.js";import{m as S,n as i,o as v,p as l,q as d,r as h,s as u,t as m,u as C,v as p,w as b,x as w,y as f,z as T,A,B as y,C as D,D as L,E as R,F,G as P,H as B,I as k,J as H,K as M,L as G,M as O,N as E,O as N,P as U,Q as x,R as V,T as j,U as z,V as K,W,X as q,Y as J,Z,_,$ as X,a0 as Q,a1 as Y,a2 as $,a3 as oo,a4 as no,a5 as co,a6 as ao,a7 as eo,a8 as Io,a9 as so,aa as go,ab as ro,ac as to,ad as So,ae as io,af as vo,ag as lo,ah as ho,ai as uo,aj as mo,ak as Co,al as po,am as bo,an as wo,ao as fo,ap as To,aq as Ao,ar as yo,as as Do,at as Lo,au as Ro,av as Fo,aw as Po,ax as Bo,ay as ko,az as Ho,S as Mo,aA as Go,l as Oo,aB as Eo,aC as No,aD as Uo,aE as xo,aF as Vo,aG as jo,aH as zo,aI as Ko,aJ as Wo,aK as qo,aL as Jo,aM as Zo,aN as _o,aO as Xo,aP as Qo,aQ as Yo,aR as $o,aS as on,aT as nn,aU as cn,aV as an,aW as en,aX as In,aY as sn,aZ as gn,a_ as rn,a$ as tn,b0 as Sn,b1 as vn,b2 as ln,b3 as dn,b4 as hn,j as un,b5 as mn,b6 as Cn,b7 as pn,b8 as bn,b9 as wn,ba as fn,bb as Tn,bc as An,bd as yn,be as Dn,bf as Ln,bg as Rn,bh as Fn,bi as Pn,bj as Bn,bk as kn,a as Hn,bl as Mn,bm as Gn,bn as On,bo as En,bp as Nn,bq as Un,br as xn,bs as Vn,bt as jn,bu as zn,bv as Kn,bw as Wn,bx as qn,by as Jn,bz as Zn,bA as _n,bB as Xn,bC as Qn,bD as Yn,bE as $n,bF as oc,bG as nc,bH as cc,bI as ac,bJ as ec,bK as Ic,bL as sc,bM as gc,bN as rc,bO as tc,bP as Sc,bQ as ic,bR as vc,f as lc,bS as dc,bT as hc,bU as uc,bV as mc,bW as Cc,bX as pc,bY as bc,bZ as wc,b_ as fc,b$ as Tc,c0 as Ac,c1 as yc,c2 as Dc,c3 as Lc,c4 as Rc,c5 as Fc,c6 as Pc,c7 as Bc,c8 as kc,c9 as Hc,ca as Mc,cb as Gc,cc as Oc,cd as Ec,ce as Nc,cf as Uc,cg as xc,ch as Vc,ci as jc,cj as zc,ck as Kc,cl as Wc,cm as qc,cn as Jc,co as Zc,cp as _c,cq as Xc,cr as Qc,cs as Yc,ct as $c,cu as oa,cv as na,cw as ca,cx as aa,cy as ea,cz as Ia,cA as sa,cB as ga,cC as ra,cD as ta,cE as Sa,cF as ia,cG as va,cH as la,cI as da,cJ as ha,cK as ua,cL as ma,cM as Ca,cN as pa,cO as ba,cP as wa,cQ as fa,cR as Ta,cS as Aa,cT as ya,cU as Da,cV as La,cW as Ra,cX as Fa,cY as Pa,cZ as Ba,c_ as ka,c$ as Ha,d0 as Ma,d1 as Ga,d2 as Oa,d3 as Ea,d4 as Na,d5 as Ua,d6 as xa,d7 as Va,d8 as ja,d9 as za,da as Ka,db as Wa,dc as qa,dd as Ja,de as Za,df as _a,dg as Xa,dh as Qa,di as Ya,dj as $a,dk as oe,dl as ne,dm as ce,dn as ae,dp as ee,dq as Ie,dr as se,ds as ge,dt as re,du as te,dv as Se,c as ie,dw as ve,dx as le,dy as de,dz as he,dA as ue,dB as me,dC as Ce,dD as pe,dE as be,dF as we,dG as fe,dH as Te,dI as Ae,dJ as ye,dK as De,dL as Le,dM as Re,dN as Fe,dO as Pe,dP as Be,dQ as ke,dR as He,dS as Me,dT as Ge,dU as Oe,dV as Ee,dW as Ne,dX as Ue,dY as xe,dZ as Ve,d_ as je,d$ as ze,e0 as Ke,e1 as We,e2 as qe,e3 as Je,e4 as Ze,e5 as _e,e6 as Xe,e7 as Qe,e8 as Ye,e9 as $e,ea as oI,eb as nI,ec as cI,ed as aI,ee as eI,ef as II,eg as sI,b as gI,eh as rI,ei as tI,ej as SI,ek as iI,el as vI,em as lI,en as dI,eo as hI,ep as uI,eq as mI,er as CI,es as pI,et as bI,eu as wI,ev as fI,ew as TI,ex as AI,ey as yI,ez as DI,eA as LI,eB as RI,eC as FI,eD as PI,eE as BI,eF as kI,eG as HI,eH as MI,eI as GI,eJ as OI,eK as EI,eL as NI,eM as UI,eN as xI,eO as VI,eP as jI,eQ as zI,eR as KI,eS as WI,eT as qI,eU as JI,eV as ZI,eW as _I,eX as XI,eY as QI,eZ as YI,e_ as $I,e$ as os,f0 as ns,f1 as cs,f2 as as,f3 as es,f4 as Is,f5 as ss,f6 as gs,f7 as rs,f8 as ts,f9 as Ss,fa as is,fb as vs,fc as ls,fd as ds,fe as hs,ff as us,fg as ms,fh as Cs,fi as ps,fj as bs,fk as ws,fl as fs,fm as Ts,fn as As,fo as ys,fp as Ds,fq as Ls,fr as Rs,fs as Fs,ft as Ps,fu as Bs,fv as ks,fw as Hs,fx as Ms,fy as Gs,fz as Os,fA as Es,fB as Ns,fC as Us,fD as xs,fE as Vs,fF as js,fG as zs,fH as Ks,fI as Ws,fJ as qs,fK as Js,fL as Zs,fM as _s,fN as Xs,fO as Qs,fP as Ys,fQ as $s,fR as og,fS as ng,fT as cg,fU as ag,fV as eg,fW as Ig,fX as sg,fY as gg,fZ as rg,f_ as tg,f$ as Sg,g0 as ig,g1 as vg,g2 as lg,g3 as dg,g4 as hg,g as ug,g5 as mg,g6 as Cg,g7 as pg,g8 as bg,g9 as wg,ga as fg,gb as Tg,gc as Ag,gd as yg,ge as Dg,gf as Lg,gg as Rg,gh as Fg,gi as Pg,gj as Bg,gk as kg,gl as Hg,gm as Mg,gn as Gg,go as Og,gp as Eg,gq as Ng,gr as Ug,gs as xg,gt as Vg,gu as jg,h as zg,gv as Kg,gw as Wg,gx as qg,gy as Jg,gz as Zg,gA as _g,gB as Xg,gC as Qg,gD as Yg,gE as $g,gF as or,gG as nr,gH as cr,gI as ar,gJ as er,gK as Ir,gL as sr,gM as gr,gN as rr,gO as tr,gP as Sr,gQ as ir,gR as vr,gS as lr,gT as dr,gU as hr,gV as ur,gW as mr,gX as Cr,gY as pr,gZ as br,g_ as wr,g$ as fr,h0 as Tr,h1 as Ar,h2 as yr,h3 as Dr,h4 as Lr,h5 as Rr,h6 as Fr,h7 as Pr,h8 as Br,h9 as kr,ha as Hr,hb as Mr,hc as Gr,hd as Or,he as Er,hf as Nr,hg as Ur,hh as xr,hi as Vr,hj as jr,d as zr,k as Kr,hk as Wr,hl as qr,hm as Jr,hn as Zr,ho as _r,hp as Xr,hq as Qr,hr as Yr,hs as $r,ht as ot,hu as nt,hv as ct,hw as at,hx as et,hy as It,hz as st,hA as gt,hB as rt,hC as tt,hD as St,hE as it,hF as vt,hG as lt,hH as dt,hI as ht,hJ as ut,hK as mt,hL as Ct,hM as pt,hN as bt,hO as wt,hP as ft,hQ as Tt,hR as At,hS as yt,hT as Dt,hU as Lt,i as Rt,e as Ft,hV as Pt,hW as Bt,hX as kt,hY as Ht,hZ as Mt,h_ as Gt,h$ as Ot,i0 as Et,i1 as Nt,i2 as Ut,i3 as xt}from"./zoom-to-fit-icon-D5bxa5rH.js";import"./index-aXz8NaAs.js";import"./iframe-391yXaUQ.js";import"../sb-preview/runtime.js";import"./index-eaBuI5Jm.js";import"./index-LANyd4EQ.js";import"./index-lmOu_tDR.js";import"./index-PPLHz8o0.js";const Vt=Object.freeze(Object.defineProperty({__proto__:null,AddClipIcon:S,AddColumnLeftIcon:i,AddColumnRightIcon:v,AddIcon:l,AddLocationIcon:d,AddRowBottomIcon:h,AddRowTopIcon:u,AddToArtifactIcon:m,AddToFolderIcon:C,AimpointsTargetIcon:p,AirplaneIcon:b,AlignCenterIcon:w,AlignJustifyIcon:f,AlignLeftIcon:T,AlignRightIcon:A,AlignmentBottomIcon:y,AlignmentHorizontalCenterIcon:D,AlignmentLeftIcon:L,AlignmentRightIcon:R,AlignmentTopIcon:F,AlignmentVerticalCenterIcon:P,AnchorIcon:B,AnnotationIcon:k,AntennaIcon:H,AppHeaderIcon:M,ApplicationIcon:G,ApplicationsIcon:O,ArchiveIcon:E,AreaOfInterestIcon:N,ArrayBooleanIcon:U,ArrayDateIcon:x,ArrayFloatingPointIcon:V,ArrayIcon:j,ArrayNumericIcon:z,ArrayStringIcon:K,ArrayTimestampIcon:W,ArrowBottomLeftIcon:q,ArrowBottomRightIcon:J,ArrowDownIcon:Z,ArrowLeftIcon:_,ArrowRightIcon:X,ArrowTopLeftIcon:Q,ArrowTopRightIcon:Y,ArrowUpIcon:$,ArrowsHorizontalIcon:oo,ArrowsVerticalIcon:no,AskIcon:co,AsteriskIcon:ao,AtIcon:eo,AutomaticUpdatesIcon:Io,BacklinkIcon:so,BadgeIcon:go,BanCircleIcon:ro,BankAccountIcon:to,BarcodeIcon:So,BlankIcon:io,BlockedPersonIcon:vo,BoldIcon:lo,BookIcon:ho,BookmarkIcon:uo,BoxIcon:mo,BriefcaseIcon:Co,BringDataIcon:po,BugIcon:bo,BuggyIcon:wo,BuildIcon:fo,CalculatorIcon:To,CalendarIcon:Ao,CameraIcon:yo,CaretDownIcon:Do,CaretLeftIcon:Lo,CaretRightIcon:Ro,CaretUpIcon:Fo,CargoShipIcon:Po,CellTowerIcon:Bo,ChangesIcon:ko,ChartIcon:Ho,ChatIcon:Mo,ChevronBackwardIcon:Go,ChevronDownIcon:Oo,ChevronForwardIcon:Eo,ChevronLeftIcon:No,ChevronRightIcon:Uo,ChevronUpIcon:xo,CircleArrowDownIcon:Vo,CircleArrowLeftIcon:jo,CircleArrowRightIcon:zo,CircleArrowUpIcon:Ko,CircleIcon:Wo,CitationIcon:qo,CleanIcon:Jo,ClipIcon:Zo,ClipboardIcon:_o,CloudDownloadIcon:Xo,CloudIcon:Qo,CloudUploadIcon:Yo,CodeBlockIcon:$o,CodeIcon:on,CogIcon:nn,CollapseAllIcon:cn,ColorFillIcon:an,ColumnLayoutIcon:en,CommentIcon:In,ComparisonIcon:sn,CompassIcon:gn,CompressedIcon:rn,ConfirmIcon:tn,ConsoleIcon:Sn,ContrastIcon:vn,ControlIcon:ln,CreditCardIcon:dn,CrossCircleIcon:hn,CrossIcon:un,CrownIcon:mn,CubeAddIcon:Cn,CubeIcon:pn,CubeRemoveIcon:bn,CurvedRangeChartIcon:wn,CutIcon:fn,CycleIcon:Tn,DashboardIcon:An,DataConnectionIcon:yn,DataLineageIcon:Dn,DatabaseIcon:Ln,DeleteIcon:Rn,DeltaIcon:Fn,DeriveColumnIcon:Pn,DesktopIcon:Bn,DiagnosisIcon:kn,DiagramTreeIcon:Hn,DirectionLeftIcon:Mn,DirectionRightIcon:Gn,DisableIcon:On,DivideIcon:En,DocumentIcon:Nn,DocumentOpenIcon:Un,DocumentShareIcon:xn,DollarIcon:Vn,DotIcon:jn,DoubleCaretHorizontalIcon:zn,DoubleCaretVerticalIcon:Kn,DoubleChevronDownIcon:Wn,DoubleChevronLeftIcon:qn,DoubleChevronRightIcon:Jn,DoubleChevronUpIcon:Zn,DoughnutChartIcon:_n,DownloadIcon:Xn,DragHandleHorizontalIcon:Qn,DragHandleVerticalIcon:Yn,DrawIcon:$n,DrawerLeftFilledIcon:oc,DrawerLeftIcon:nc,DrawerRightFilledIcon:cc,DrawerRightIcon:ac,DriveTimeIcon:ec,DuplicateIcon:Ic,EditIcon:sc,EjectIcon:gc,EmojiIcon:rc,EndorsedIcon:tc,EnvelopeIcon:Sc,EqualsIcon:ic,EraserIcon:vc,ErrorIcon:lc,EuroIcon:dc,ExchangeIcon:hc,ExcludeRowIcon:uc,ExpandAllIcon:mc,ExportIcon:Cc,EyeOffIcon:pc,EyeOnIcon:bc,EyeOpenIcon:wc,FastBackwardIcon:fc,FastForwardIcon:Tc,FeedIcon:Ac,FeedSubscribedIcon:yc,FilmIcon:Dc,FilterIcon:Lc,FilterKeepIcon:Rc,FilterListIcon:Fc,FilterOpenIcon:Pc,FilterRemoveIcon:Bc,FlagIcon:kc,FlameIcon:Hc,FlashIcon:Mc,FloatingPointIcon:Gc,FloppyDiskIcon:Oc,FlowBranchIcon:Ec,FlowEndIcon:Nc,FlowLinearIcon:Uc,FlowReviewBranchIcon:xc,FlowReviewIcon:Vc,FlowsIcon:jc,FolderCloseIcon:zc,FolderNewIcon:Kc,FolderOpenIcon:Wc,FolderSharedIcon:qc,FolderSharedOpenIcon:Jc,FollowerIcon:Zc,FollowingIcon:_c,FontIcon:Xc,ForkIcon:Qc,FormIcon:Yc,FuelIcon:$c,FullCircleIcon:oa,FullStackedChartIcon:na,FullscreenIcon:ca,FunctionIcon:aa,GanttChartIcon:ea,GeofenceIcon:Ia,GeolocationIcon:sa,GeosearchIcon:ga,GitBranchIcon:ra,GitCommitIcon:ta,GitMergeIcon:Sa,GitNewBranchIcon:ia,GitPullIcon:va,GitPushIcon:la,GitRepoIcon:da,GlassIcon:ha,GlobeIcon:ua,GlobeNetworkIcon:ma,GraphIcon:Ca,GraphRemoveIcon:pa,GreaterThanIcon:ba,GreaterThanOrEqualToIcon:wa,GridIcon:fa,GridViewIcon:Ta,GroupObjectsIcon:Aa,GroupedBarChartIcon:ya,HandDownIcon:Da,HandIcon:La,HandLeftIcon:Ra,HandRightIcon:Fa,HandUpIcon:Pa,HatIcon:Ba,HeaderIcon:ka,HeaderOneIcon:Ha,HeaderThreeIcon:Ma,HeaderTwoIcon:Ga,HeadsetIcon:Oa,HeartBrokenIcon:Ea,HeartIcon:Na,HeatGridIcon:Ua,HeatmapIcon:xa,HelicopterIcon:Va,HelpIcon:ja,HelperManagementIcon:za,HighPriorityIcon:Ka,HighVoltagePoleIcon:Wa,HighlightIcon:qa,HistoryIcon:Ja,HomeIcon:Za,HorizontalBarChartAscIcon:_a,HorizontalBarChartDescIcon:Xa,HorizontalBarChartIcon:Qa,HorizontalDistributionIcon:Ya,HorizontalInbetweenIcon:$a,HurricaneIcon:oe,IdNumberIcon:ne,ImageRotateLeftIcon:ce,ImageRotateRightIcon:ae,ImportIcon:ee,InboxFilteredIcon:Ie,InboxGeoIcon:se,InboxIcon:ge,InboxSearchIcon:re,InboxUpdateIcon:te,InfoIcon:Se,InfoSignIcon:ie,InheritanceIcon:ve,InheritedGroupIcon:le,InnerJoinIcon:de,InsertIcon:he,IntersectionIcon:ue,IpAddressIcon:me,IssueClosedIcon:Ce,IssueIcon:pe,IssueNewIcon:be,ItalicIcon:we,JoinTableIcon:fe,KeyBackspaceIcon:Te,KeyCommandIcon:Ae,KeyControlIcon:ye,KeyDeleteIcon:De,KeyEnterIcon:Le,KeyEscapeIcon:Re,KeyIcon:Fe,KeyOptionIcon:Pe,KeyShiftIcon:Be,KeyTabIcon:ke,KnownVehicleIcon:He,LabTestIcon:Me,LabelIcon:Ge,LayerIcon:Oe,LayerOutlineIcon:Ee,LayersIcon:Ne,LayoutAutoIcon:Ue,LayoutBalloonIcon:xe,LayoutCircleIcon:Ve,LayoutGridIcon:je,LayoutGroupByIcon:ze,LayoutHierarchyIcon:Ke,LayoutIcon:We,LayoutLinearIcon:qe,LayoutSkewGridIcon:Je,LayoutSortedClustersIcon:Ze,LearningIcon:_e,LeftJoinIcon:Xe,LessThanIcon:Qe,LessThanOrEqualToIcon:Ye,LifesaverIcon:$e,LightbulbIcon:oI,LightningIcon:nI,LinkIcon:cI,ListColumnsIcon:aI,ListDetailViewIcon:eI,ListIcon:II,LocateIcon:sI,LockIcon:gI,LogInIcon:rI,LogOutIcon:tI,LowVoltagePoleIcon:SI,ManualIcon:iI,ManuallyEnteredDataIcon:vI,ManyToManyIcon:lI,ManyToOneIcon:dI,MapCreateIcon:hI,MapIcon:uI,MapMarkerIcon:mI,MaximizeIcon:CI,MediaIcon:pI,MenuClosedIcon:bI,MenuIcon:wI,MenuOpenIcon:fI,MergeColumnsIcon:TI,MergeLinksIcon:AI,MinimizeIcon:yI,MinusIcon:DI,MobilePhoneIcon:LI,MobileVideoIcon:RI,ModalFilledIcon:FI,ModalIcon:PI,MoonIcon:BI,MoreIcon:kI,MountainIcon:HI,MoveIcon:MI,MugshotIcon:GI,MultiSelectIcon:OI,MusicIcon:EI,NestIcon:NI,NewDrawingIcon:UI,NewGridItemIcon:xI,NewLayerIcon:VI,NewLayersIcon:jI,NewLinkIcon:zI,NewObjectIcon:KI,NewPersonIcon:WI,NewPrescriptionIcon:qI,NewTextBoxIcon:JI,NinjaIcon:ZI,NotEqualToIcon:_I,NotificationsIcon:XI,NotificationsSnoozeIcon:QI,NotificationsUpdatedIcon:YI,NumberedListIcon:$I,NumericalIcon:os,OfficeIcon:ns,OfflineIcon:cs,OilFieldIcon:as,OneColumnIcon:es,OneToManyIcon:Is,OneToOneIcon:ss,OpenApplicationIcon:gs,OutdatedIcon:rs,PageLayoutIcon:ts,PanelStatsIcon:Ss,PanelTableIcon:is,PaperclipIcon:vs,ParagraphIcon:ls,PathIcon:ds,PathSearchIcon:hs,PauseIcon:us,PeopleIcon:ms,PercentageIcon:Cs,PersonIcon:ps,PhoneIcon:bs,PieChartIcon:ws,PinIcon:fs,PivotIcon:Ts,PivotTableIcon:As,PlayIcon:ys,PlaybookIcon:Ds,PlusIcon:Ls,PolygonFilterIcon:Rs,PowerIcon:Fs,PredictiveAnalysisIcon:Ps,PrescriptionIcon:Bs,PresentationIcon:ks,PrintIcon:Hs,ProjectsIcon:Ms,PropertiesIcon:Gs,PropertyIcon:Os,PublishFunctionIcon:Es,PulseIcon:Ns,RainIcon:Us,RandomIcon:xs,RecordIcon:Vs,RectHeightIcon:js,RectWidthIcon:zs,RectangleIcon:Ks,RedoIcon:Ws,RefreshIcon:qs,RegexIcon:Js,RegressionChartIcon:Zs,RemoveColumnIcon:_s,RemoveColumnLeftIcon:Xs,RemoveColumnRightIcon:Qs,RemoveIcon:Ys,RemoveRowBottomIcon:$s,RemoveRowTopIcon:og,RepeatIcon:ng,ResetIcon:cg,ResolveIcon:ag,RigIcon:eg,RightJoinIcon:Ig,RingIcon:sg,RocketIcon:gg,RocketSlantIcon:rg,RotateDocumentIcon:tg,RotatePageIcon:Sg,RouteIcon:ig,SatelliteIcon:vg,SavedIcon:lg,ScatterPlotIcon:dg,SearchAroundIcon:hg,SearchIcon:ug,SearchTemplateIcon:mg,SearchTextIcon:Cg,SegmentedControlIcon:pg,SelectIcon:bg,SelectionIcon:wg,SendMessageIcon:fg,SendToGraphIcon:Tg,SendToIcon:Ag,SendToMapIcon:yg,SeriesAddIcon:Dg,SeriesConfigurationIcon:Lg,SeriesDerivedIcon:Rg,SeriesFilteredIcon:Fg,SeriesSearchIcon:Pg,SettingsBigIcon:Bg,SettingsIcon:kg,ShapesIcon:Hg,ShareIcon:Mg,SharedFilterIcon:Gg,ShieldIcon:Og,ShipIcon:Eg,ShopIcon:Ng,ShoppingCartIcon:Ug,SignalSearchIcon:xg,SimCardIcon:Vg,SlashIcon:jg,SmallCrossIcon:zg,SmallInfoSignIcon:Kg,SmallMinusIcon:Wg,SmallPlusIcon:qg,SmallSquareIcon:Jg,SmallTickIcon:Zg,SnowflakeIcon:_g,SocialMediaIcon:Xg,SortAlphabeticalDescIcon:Qg,SortAlphabeticalIcon:Yg,SortAscIcon:$g,SortDescIcon:or,SortIcon:nr,SortNumericalDescIcon:cr,SortNumericalIcon:ar,SplitColumnsIcon:er,SquareIcon:Ir,StackedChartIcon:sr,StadiumGeometryIcon:gr,StarEmptyIcon:rr,StarIcon:tr,StepBackwardIcon:Sr,StepChartIcon:ir,StepForwardIcon:vr,StopIcon:lr,StopwatchIcon:dr,StrikethroughIcon:hr,StyleIcon:ur,SwapHorizontalIcon:mr,SwapVerticalIcon:Cr,SwitchIcon:pr,SymbolCircleIcon:br,SymbolCrossIcon:wr,SymbolDiamondIcon:fr,SymbolRectangleIcon:Tr,SymbolSquareIcon:Ar,SymbolTriangleDownIcon:yr,SymbolTriangleUpIcon:Dr,SyringeIcon:Lr,TagIcon:Rr,TakeActionIcon:Fr,TankIcon:Pr,TargetIcon:Br,TaxiIcon:kr,TemperatureIcon:Hr,TextHighlightIcon:Mr,ThDerivedIcon:Gr,ThDisconnectIcon:Or,ThFilteredIcon:Er,ThIcon:Nr,ThListIcon:Ur,ThirdPartyIcon:xr,ThumbsDownIcon:Vr,ThumbsUpIcon:jr,TickCircleIcon:zr,TickIcon:Kr,TimeIcon:Wr,TimelineAreaChartIcon:qr,TimelineBarChartIcon:Jr,TimelineEventsIcon:Zr,TimelineLineChartIcon:_r,TintIcon:Xr,TorchIcon:Qr,TractorIcon:Yr,TrainIcon:$r,TranslateIcon:ot,TrashIcon:nt,TreeIcon:ct,TrendingDownIcon:at,TrendingUpIcon:et,TruckIcon:It,TwoColumnsIcon:st,UnarchiveIcon:gt,UnderlineIcon:rt,UndoIcon:tt,UngroupObjectsIcon:St,UnknownVehicleIcon:it,UnlockIcon:vt,UnpinIcon:lt,UnresolveIcon:dt,UpdatedIcon:ht,UploadIcon:ut,UserIcon:mt,VariableIcon:Ct,VerticalBarChartAscIcon:pt,VerticalBarChartDescIcon:bt,VerticalDistributionIcon:wt,VerticalInbetweenIcon:ft,VideoIcon:Tt,VirusIcon:At,VolumeDownIcon:yt,VolumeOffIcon:Dt,VolumeUpIcon:Lt,WalkIcon:Rt,WarningSignIcon:Ft,WaterfallChartIcon:Pt,WavesIcon:Bt,WidgetButtonIcon:kt,WidgetFooterIcon:Ht,WidgetHeaderIcon:Mt,WidgetIcon:Gt,WindIcon:Ot,WrenchIcon:Et,ZoomInIcon:Nt,ZoomOutIcon:Ut,ZoomToFitIcon:xt},Symbol.toStringTag,{value:"Module"}));function e(n){const c={h1:"h1",p:"p",...I(),...n.components};return o.jsxs(o.Fragment,{children:[o.jsx(g,{title:"Icons gallery"}),` -`,o.jsx(c.h1,{id:"icons-gallery",children:"Icons Gallery"}),` -`,o.jsx(c.p,{children:"List of available icons"}),` -`,o.jsx(r,{children:Object.entries(Vt).map(([a,s])=>o.jsx(t,{name:a,children:o.jsx(s,{className:"h-6 w-6"})},a))})]})}function $t(n={}){const{wrapper:c}={...I(),...n.components};return c?o.jsx(c,{...n,children:o.jsx(e,{...n})}):e(n)}export{$t as default}; diff --git a/assets/icons-n-Me9q2i.js b/assets/icons-n-Me9q2i.js new file mode 100644 index 00000000..92fe0222 --- /dev/null +++ b/assets/icons-n-Me9q2i.js @@ -0,0 +1,4 @@ +import{j as o}from"./jsx-runtime-B57y5fZt.js";import{useMDXComponents as I}from"./index-BOgtj0Ww.js";import{ae as g,aj as r,ak as t}from"./index-Bd60Ok5f.js";import{m as S,n as i,o as v,p as l,q as d,r as h,s as u,t as m,u as C,v as p,w as b,x as w,y as f,z as T,A,B as y,C as D,D as L,E as R,F,G as P,H as B,I as k,J as H,K as M,L as G,M as O,N as E,O as N,P as U,Q as x,R as V,T as j,U as z,V as K,W,X as q,Y as J,Z,_,$ as X,a0 as Q,a1 as Y,a2 as $,a3 as oo,a4 as no,a5 as co,a6 as ao,a7 as eo,a8 as Io,a9 as so,aa as go,ab as ro,ac as to,ad as So,ae as io,af as vo,ag as lo,ah as ho,ai as uo,aj as mo,ak as Co,al as po,am as bo,an as wo,ao as fo,ap as To,aq as Ao,ar as yo,as as Do,at as Lo,au as Ro,av as Fo,aw as Po,ax as Bo,ay as ko,az as Ho,S as Mo,aA as Go,l as Oo,aB as Eo,aC as No,aD as Uo,aE as xo,aF as Vo,aG as jo,aH as zo,aI as Ko,aJ as Wo,aK as qo,aL as Jo,aM as Zo,aN as _o,aO as Xo,aP as Qo,aQ as Yo,aR as $o,aS as on,aT as nn,aU as cn,aV as an,aW as en,aX as In,aY as sn,aZ as gn,a_ as rn,a$ as tn,b0 as Sn,b1 as vn,b2 as ln,b3 as dn,b4 as hn,j as un,b5 as mn,b6 as Cn,b7 as pn,b8 as bn,b9 as wn,ba as fn,bb as Tn,bc as An,bd as yn,be as Dn,bf as Ln,bg as Rn,bh as Fn,bi as Pn,bj as Bn,bk as kn,a as Hn,bl as Mn,bm as Gn,bn as On,bo as En,bp as Nn,bq as Un,br as xn,bs as Vn,bt as jn,bu as zn,bv as Kn,bw as Wn,bx as qn,by as Jn,bz as Zn,bA as _n,bB as Xn,bC as Qn,bD as Yn,bE as $n,bF as oc,bG as nc,bH as cc,bI as ac,bJ as ec,bK as Ic,bL as sc,bM as gc,bN as rc,bO as tc,bP as Sc,bQ as ic,bR as vc,f as lc,bS as dc,bT as hc,bU as uc,bV as mc,bW as Cc,bX as pc,bY as bc,bZ as wc,b_ as fc,b$ as Tc,c0 as Ac,c1 as yc,c2 as Dc,c3 as Lc,c4 as Rc,c5 as Fc,c6 as Pc,c7 as Bc,c8 as kc,c9 as Hc,ca as Mc,cb as Gc,cc as Oc,cd as Ec,ce as Nc,cf as Uc,cg as xc,ch as Vc,ci as jc,cj as zc,ck as Kc,cl as Wc,cm as qc,cn as Jc,co as Zc,cp as _c,cq as Xc,cr as Qc,cs as Yc,ct as $c,cu as oa,cv as na,cw as ca,cx as aa,cy as ea,cz as Ia,cA as sa,cB as ga,cC as ra,cD as ta,cE as Sa,cF as ia,cG as va,cH as la,cI as da,cJ as ha,cK as ua,cL as ma,cM as Ca,cN as pa,cO as ba,cP as wa,cQ as fa,cR as Ta,cS as Aa,cT as ya,cU as Da,cV as La,cW as Ra,cX as Fa,cY as Pa,cZ as Ba,c_ as ka,c$ as Ha,d0 as Ma,d1 as Ga,d2 as Oa,d3 as Ea,d4 as Na,d5 as Ua,d6 as xa,d7 as Va,d8 as ja,d9 as za,da as Ka,db as Wa,dc as qa,dd as Ja,de as Za,df as _a,dg as Xa,dh as Qa,di as Ya,dj as $a,dk as oe,dl as ne,dm as ce,dn as ae,dp as ee,dq as Ie,dr as se,ds as ge,dt as re,du as te,dv as Se,c as ie,dw as ve,dx as le,dy as de,dz as he,dA as ue,dB as me,dC as Ce,dD as pe,dE as be,dF as we,dG as fe,dH as Te,dI as Ae,dJ as ye,dK as De,dL as Le,dM as Re,dN as Fe,dO as Pe,dP as Be,dQ as ke,dR as He,dS as Me,dT as Ge,dU as Oe,dV as Ee,dW as Ne,dX as Ue,dY as xe,dZ as Ve,d_ as je,d$ as ze,e0 as Ke,e1 as We,e2 as qe,e3 as Je,e4 as Ze,e5 as _e,e6 as Xe,e7 as Qe,e8 as Ye,e9 as $e,ea as oI,eb as nI,ec as cI,ed as aI,ee as eI,ef as II,eg as sI,b as gI,eh as rI,ei as tI,ej as SI,ek as iI,el as vI,em as lI,en as dI,eo as hI,ep as uI,eq as mI,er as CI,es as pI,et as bI,eu as wI,ev as fI,ew as TI,ex as AI,ey as yI,ez as DI,eA as LI,eB as RI,eC as FI,eD as PI,eE as BI,eF as kI,eG as HI,eH as MI,eI as GI,eJ as OI,eK as EI,eL as NI,eM as UI,eN as xI,eO as VI,eP as jI,eQ as zI,eR as KI,eS as WI,eT as qI,eU as JI,eV as ZI,eW as _I,eX as XI,eY as QI,eZ as YI,e_ as $I,e$ as os,f0 as ns,f1 as cs,f2 as as,f3 as es,f4 as Is,f5 as ss,f6 as gs,f7 as rs,f8 as ts,f9 as Ss,fa as is,fb as vs,fc as ls,fd as ds,fe as hs,ff as us,fg as ms,fh as Cs,fi as ps,fj as bs,fk as ws,fl as fs,fm as Ts,fn as As,fo as ys,fp as Ds,fq as Ls,fr as Rs,fs as Fs,ft as Ps,fu as Bs,fv as ks,fw as Hs,fx as Ms,fy as Gs,fz as Os,fA as Es,fB as Ns,fC as Us,fD as xs,fE as Vs,fF as js,fG as zs,fH as Ks,fI as Ws,fJ as qs,fK as Js,fL as Zs,fM as _s,fN as Xs,fO as Qs,fP as Ys,fQ as $s,fR as og,fS as ng,fT as cg,fU as ag,fV as eg,fW as Ig,fX as sg,fY as gg,fZ as rg,f_ as tg,f$ as Sg,g0 as ig,g1 as vg,g2 as lg,g3 as dg,g4 as hg,g as ug,g5 as mg,g6 as Cg,g7 as pg,g8 as bg,g9 as wg,ga as fg,gb as Tg,gc as Ag,gd as yg,ge as Dg,gf as Lg,gg as Rg,gh as Fg,gi as Pg,gj as Bg,gk as kg,gl as Hg,gm as Mg,gn as Gg,go as Og,gp as Eg,gq as Ng,gr as Ug,gs as xg,gt as Vg,gu as jg,h as zg,gv as Kg,gw as Wg,gx as qg,gy as Jg,gz as Zg,gA as _g,gB as Xg,gC as Qg,gD as Yg,gE as $g,gF as or,gG as nr,gH as cr,gI as ar,gJ as er,gK as Ir,gL as sr,gM as gr,gN as rr,gO as tr,gP as Sr,gQ as ir,gR as vr,gS as lr,gT as dr,gU as hr,gV as ur,gW as mr,gX as Cr,gY as pr,gZ as br,g_ as wr,g$ as fr,h0 as Tr,h1 as Ar,h2 as yr,h3 as Dr,h4 as Lr,h5 as Rr,h6 as Fr,h7 as Pr,h8 as Br,h9 as kr,ha as Hr,hb as Mr,hc as Gr,hd as Or,he as Er,hf as Nr,hg as Ur,hh as xr,hi as Vr,hj as jr,d as zr,k as Kr,hk as Wr,hl as qr,hm as Jr,hn as Zr,ho as _r,hp as Xr,hq as Qr,hr as Yr,hs as $r,ht as ot,hu as nt,hv as ct,hw as at,hx as et,hy as It,hz as st,hA as gt,hB as rt,hC as tt,hD as St,hE as it,hF as vt,hG as lt,hH as dt,hI as ht,hJ as ut,hK as mt,hL as Ct,hM as pt,hN as bt,hO as wt,hP as ft,hQ as Tt,hR as At,hS as yt,hT as Dt,hU as Lt,i as Rt,e as Ft,hV as Pt,hW as Bt,hX as kt,hY as Ht,hZ as Mt,h_ as Gt,h$ as Ot,i0 as Et,i1 as Nt,i2 as Ut,i3 as xt}from"./zoom-to-fit-icon-DLvbqD3B.js";import"./index-ebcBgdYO.js";import"./iframe-kN1kpAQt.js";import"../sb-preview/runtime.js";import"./index-LVLpks_4.js";import"./index-D-8MO0q_.js";import"./index-CK28Drts.js";import"./index-DrFu-skq.js";const Vt=Object.freeze(Object.defineProperty({__proto__:null,AddClipIcon:S,AddColumnLeftIcon:i,AddColumnRightIcon:v,AddIcon:l,AddLocationIcon:d,AddRowBottomIcon:h,AddRowTopIcon:u,AddToArtifactIcon:m,AddToFolderIcon:C,AimpointsTargetIcon:p,AirplaneIcon:b,AlignCenterIcon:w,AlignJustifyIcon:f,AlignLeftIcon:T,AlignRightIcon:A,AlignmentBottomIcon:y,AlignmentHorizontalCenterIcon:D,AlignmentLeftIcon:L,AlignmentRightIcon:R,AlignmentTopIcon:F,AlignmentVerticalCenterIcon:P,AnchorIcon:B,AnnotationIcon:k,AntennaIcon:H,AppHeaderIcon:M,ApplicationIcon:G,ApplicationsIcon:O,ArchiveIcon:E,AreaOfInterestIcon:N,ArrayBooleanIcon:U,ArrayDateIcon:x,ArrayFloatingPointIcon:V,ArrayIcon:j,ArrayNumericIcon:z,ArrayStringIcon:K,ArrayTimestampIcon:W,ArrowBottomLeftIcon:q,ArrowBottomRightIcon:J,ArrowDownIcon:Z,ArrowLeftIcon:_,ArrowRightIcon:X,ArrowTopLeftIcon:Q,ArrowTopRightIcon:Y,ArrowUpIcon:$,ArrowsHorizontalIcon:oo,ArrowsVerticalIcon:no,AskIcon:co,AsteriskIcon:ao,AtIcon:eo,AutomaticUpdatesIcon:Io,BacklinkIcon:so,BadgeIcon:go,BanCircleIcon:ro,BankAccountIcon:to,BarcodeIcon:So,BlankIcon:io,BlockedPersonIcon:vo,BoldIcon:lo,BookIcon:ho,BookmarkIcon:uo,BoxIcon:mo,BriefcaseIcon:Co,BringDataIcon:po,BugIcon:bo,BuggyIcon:wo,BuildIcon:fo,CalculatorIcon:To,CalendarIcon:Ao,CameraIcon:yo,CaretDownIcon:Do,CaretLeftIcon:Lo,CaretRightIcon:Ro,CaretUpIcon:Fo,CargoShipIcon:Po,CellTowerIcon:Bo,ChangesIcon:ko,ChartIcon:Ho,ChatIcon:Mo,ChevronBackwardIcon:Go,ChevronDownIcon:Oo,ChevronForwardIcon:Eo,ChevronLeftIcon:No,ChevronRightIcon:Uo,ChevronUpIcon:xo,CircleArrowDownIcon:Vo,CircleArrowLeftIcon:jo,CircleArrowRightIcon:zo,CircleArrowUpIcon:Ko,CircleIcon:Wo,CitationIcon:qo,CleanIcon:Jo,ClipIcon:Zo,ClipboardIcon:_o,CloudDownloadIcon:Xo,CloudIcon:Qo,CloudUploadIcon:Yo,CodeBlockIcon:$o,CodeIcon:on,CogIcon:nn,CollapseAllIcon:cn,ColorFillIcon:an,ColumnLayoutIcon:en,CommentIcon:In,ComparisonIcon:sn,CompassIcon:gn,CompressedIcon:rn,ConfirmIcon:tn,ConsoleIcon:Sn,ContrastIcon:vn,ControlIcon:ln,CreditCardIcon:dn,CrossCircleIcon:hn,CrossIcon:un,CrownIcon:mn,CubeAddIcon:Cn,CubeIcon:pn,CubeRemoveIcon:bn,CurvedRangeChartIcon:wn,CutIcon:fn,CycleIcon:Tn,DashboardIcon:An,DataConnectionIcon:yn,DataLineageIcon:Dn,DatabaseIcon:Ln,DeleteIcon:Rn,DeltaIcon:Fn,DeriveColumnIcon:Pn,DesktopIcon:Bn,DiagnosisIcon:kn,DiagramTreeIcon:Hn,DirectionLeftIcon:Mn,DirectionRightIcon:Gn,DisableIcon:On,DivideIcon:En,DocumentIcon:Nn,DocumentOpenIcon:Un,DocumentShareIcon:xn,DollarIcon:Vn,DotIcon:jn,DoubleCaretHorizontalIcon:zn,DoubleCaretVerticalIcon:Kn,DoubleChevronDownIcon:Wn,DoubleChevronLeftIcon:qn,DoubleChevronRightIcon:Jn,DoubleChevronUpIcon:Zn,DoughnutChartIcon:_n,DownloadIcon:Xn,DragHandleHorizontalIcon:Qn,DragHandleVerticalIcon:Yn,DrawIcon:$n,DrawerLeftFilledIcon:oc,DrawerLeftIcon:nc,DrawerRightFilledIcon:cc,DrawerRightIcon:ac,DriveTimeIcon:ec,DuplicateIcon:Ic,EditIcon:sc,EjectIcon:gc,EmojiIcon:rc,EndorsedIcon:tc,EnvelopeIcon:Sc,EqualsIcon:ic,EraserIcon:vc,ErrorIcon:lc,EuroIcon:dc,ExchangeIcon:hc,ExcludeRowIcon:uc,ExpandAllIcon:mc,ExportIcon:Cc,EyeOffIcon:pc,EyeOnIcon:bc,EyeOpenIcon:wc,FastBackwardIcon:fc,FastForwardIcon:Tc,FeedIcon:Ac,FeedSubscribedIcon:yc,FilmIcon:Dc,FilterIcon:Lc,FilterKeepIcon:Rc,FilterListIcon:Fc,FilterOpenIcon:Pc,FilterRemoveIcon:Bc,FlagIcon:kc,FlameIcon:Hc,FlashIcon:Mc,FloatingPointIcon:Gc,FloppyDiskIcon:Oc,FlowBranchIcon:Ec,FlowEndIcon:Nc,FlowLinearIcon:Uc,FlowReviewBranchIcon:xc,FlowReviewIcon:Vc,FlowsIcon:jc,FolderCloseIcon:zc,FolderNewIcon:Kc,FolderOpenIcon:Wc,FolderSharedIcon:qc,FolderSharedOpenIcon:Jc,FollowerIcon:Zc,FollowingIcon:_c,FontIcon:Xc,ForkIcon:Qc,FormIcon:Yc,FuelIcon:$c,FullCircleIcon:oa,FullStackedChartIcon:na,FullscreenIcon:ca,FunctionIcon:aa,GanttChartIcon:ea,GeofenceIcon:Ia,GeolocationIcon:sa,GeosearchIcon:ga,GitBranchIcon:ra,GitCommitIcon:ta,GitMergeIcon:Sa,GitNewBranchIcon:ia,GitPullIcon:va,GitPushIcon:la,GitRepoIcon:da,GlassIcon:ha,GlobeIcon:ua,GlobeNetworkIcon:ma,GraphIcon:Ca,GraphRemoveIcon:pa,GreaterThanIcon:ba,GreaterThanOrEqualToIcon:wa,GridIcon:fa,GridViewIcon:Ta,GroupObjectsIcon:Aa,GroupedBarChartIcon:ya,HandDownIcon:Da,HandIcon:La,HandLeftIcon:Ra,HandRightIcon:Fa,HandUpIcon:Pa,HatIcon:Ba,HeaderIcon:ka,HeaderOneIcon:Ha,HeaderThreeIcon:Ma,HeaderTwoIcon:Ga,HeadsetIcon:Oa,HeartBrokenIcon:Ea,HeartIcon:Na,HeatGridIcon:Ua,HeatmapIcon:xa,HelicopterIcon:Va,HelpIcon:ja,HelperManagementIcon:za,HighPriorityIcon:Ka,HighVoltagePoleIcon:Wa,HighlightIcon:qa,HistoryIcon:Ja,HomeIcon:Za,HorizontalBarChartAscIcon:_a,HorizontalBarChartDescIcon:Xa,HorizontalBarChartIcon:Qa,HorizontalDistributionIcon:Ya,HorizontalInbetweenIcon:$a,HurricaneIcon:oe,IdNumberIcon:ne,ImageRotateLeftIcon:ce,ImageRotateRightIcon:ae,ImportIcon:ee,InboxFilteredIcon:Ie,InboxGeoIcon:se,InboxIcon:ge,InboxSearchIcon:re,InboxUpdateIcon:te,InfoIcon:Se,InfoSignIcon:ie,InheritanceIcon:ve,InheritedGroupIcon:le,InnerJoinIcon:de,InsertIcon:he,IntersectionIcon:ue,IpAddressIcon:me,IssueClosedIcon:Ce,IssueIcon:pe,IssueNewIcon:be,ItalicIcon:we,JoinTableIcon:fe,KeyBackspaceIcon:Te,KeyCommandIcon:Ae,KeyControlIcon:ye,KeyDeleteIcon:De,KeyEnterIcon:Le,KeyEscapeIcon:Re,KeyIcon:Fe,KeyOptionIcon:Pe,KeyShiftIcon:Be,KeyTabIcon:ke,KnownVehicleIcon:He,LabTestIcon:Me,LabelIcon:Ge,LayerIcon:Oe,LayerOutlineIcon:Ee,LayersIcon:Ne,LayoutAutoIcon:Ue,LayoutBalloonIcon:xe,LayoutCircleIcon:Ve,LayoutGridIcon:je,LayoutGroupByIcon:ze,LayoutHierarchyIcon:Ke,LayoutIcon:We,LayoutLinearIcon:qe,LayoutSkewGridIcon:Je,LayoutSortedClustersIcon:Ze,LearningIcon:_e,LeftJoinIcon:Xe,LessThanIcon:Qe,LessThanOrEqualToIcon:Ye,LifesaverIcon:$e,LightbulbIcon:oI,LightningIcon:nI,LinkIcon:cI,ListColumnsIcon:aI,ListDetailViewIcon:eI,ListIcon:II,LocateIcon:sI,LockIcon:gI,LogInIcon:rI,LogOutIcon:tI,LowVoltagePoleIcon:SI,ManualIcon:iI,ManuallyEnteredDataIcon:vI,ManyToManyIcon:lI,ManyToOneIcon:dI,MapCreateIcon:hI,MapIcon:uI,MapMarkerIcon:mI,MaximizeIcon:CI,MediaIcon:pI,MenuClosedIcon:bI,MenuIcon:wI,MenuOpenIcon:fI,MergeColumnsIcon:TI,MergeLinksIcon:AI,MinimizeIcon:yI,MinusIcon:DI,MobilePhoneIcon:LI,MobileVideoIcon:RI,ModalFilledIcon:FI,ModalIcon:PI,MoonIcon:BI,MoreIcon:kI,MountainIcon:HI,MoveIcon:MI,MugshotIcon:GI,MultiSelectIcon:OI,MusicIcon:EI,NestIcon:NI,NewDrawingIcon:UI,NewGridItemIcon:xI,NewLayerIcon:VI,NewLayersIcon:jI,NewLinkIcon:zI,NewObjectIcon:KI,NewPersonIcon:WI,NewPrescriptionIcon:qI,NewTextBoxIcon:JI,NinjaIcon:ZI,NotEqualToIcon:_I,NotificationsIcon:XI,NotificationsSnoozeIcon:QI,NotificationsUpdatedIcon:YI,NumberedListIcon:$I,NumericalIcon:os,OfficeIcon:ns,OfflineIcon:cs,OilFieldIcon:as,OneColumnIcon:es,OneToManyIcon:Is,OneToOneIcon:ss,OpenApplicationIcon:gs,OutdatedIcon:rs,PageLayoutIcon:ts,PanelStatsIcon:Ss,PanelTableIcon:is,PaperclipIcon:vs,ParagraphIcon:ls,PathIcon:ds,PathSearchIcon:hs,PauseIcon:us,PeopleIcon:ms,PercentageIcon:Cs,PersonIcon:ps,PhoneIcon:bs,PieChartIcon:ws,PinIcon:fs,PivotIcon:Ts,PivotTableIcon:As,PlayIcon:ys,PlaybookIcon:Ds,PlusIcon:Ls,PolygonFilterIcon:Rs,PowerIcon:Fs,PredictiveAnalysisIcon:Ps,PrescriptionIcon:Bs,PresentationIcon:ks,PrintIcon:Hs,ProjectsIcon:Ms,PropertiesIcon:Gs,PropertyIcon:Os,PublishFunctionIcon:Es,PulseIcon:Ns,RainIcon:Us,RandomIcon:xs,RecordIcon:Vs,RectHeightIcon:js,RectWidthIcon:zs,RectangleIcon:Ks,RedoIcon:Ws,RefreshIcon:qs,RegexIcon:Js,RegressionChartIcon:Zs,RemoveColumnIcon:_s,RemoveColumnLeftIcon:Xs,RemoveColumnRightIcon:Qs,RemoveIcon:Ys,RemoveRowBottomIcon:$s,RemoveRowTopIcon:og,RepeatIcon:ng,ResetIcon:cg,ResolveIcon:ag,RigIcon:eg,RightJoinIcon:Ig,RingIcon:sg,RocketIcon:gg,RocketSlantIcon:rg,RotateDocumentIcon:tg,RotatePageIcon:Sg,RouteIcon:ig,SatelliteIcon:vg,SavedIcon:lg,ScatterPlotIcon:dg,SearchAroundIcon:hg,SearchIcon:ug,SearchTemplateIcon:mg,SearchTextIcon:Cg,SegmentedControlIcon:pg,SelectIcon:bg,SelectionIcon:wg,SendMessageIcon:fg,SendToGraphIcon:Tg,SendToIcon:Ag,SendToMapIcon:yg,SeriesAddIcon:Dg,SeriesConfigurationIcon:Lg,SeriesDerivedIcon:Rg,SeriesFilteredIcon:Fg,SeriesSearchIcon:Pg,SettingsBigIcon:Bg,SettingsIcon:kg,ShapesIcon:Hg,ShareIcon:Mg,SharedFilterIcon:Gg,ShieldIcon:Og,ShipIcon:Eg,ShopIcon:Ng,ShoppingCartIcon:Ug,SignalSearchIcon:xg,SimCardIcon:Vg,SlashIcon:jg,SmallCrossIcon:zg,SmallInfoSignIcon:Kg,SmallMinusIcon:Wg,SmallPlusIcon:qg,SmallSquareIcon:Jg,SmallTickIcon:Zg,SnowflakeIcon:_g,SocialMediaIcon:Xg,SortAlphabeticalDescIcon:Qg,SortAlphabeticalIcon:Yg,SortAscIcon:$g,SortDescIcon:or,SortIcon:nr,SortNumericalDescIcon:cr,SortNumericalIcon:ar,SplitColumnsIcon:er,SquareIcon:Ir,StackedChartIcon:sr,StadiumGeometryIcon:gr,StarEmptyIcon:rr,StarIcon:tr,StepBackwardIcon:Sr,StepChartIcon:ir,StepForwardIcon:vr,StopIcon:lr,StopwatchIcon:dr,StrikethroughIcon:hr,StyleIcon:ur,SwapHorizontalIcon:mr,SwapVerticalIcon:Cr,SwitchIcon:pr,SymbolCircleIcon:br,SymbolCrossIcon:wr,SymbolDiamondIcon:fr,SymbolRectangleIcon:Tr,SymbolSquareIcon:Ar,SymbolTriangleDownIcon:yr,SymbolTriangleUpIcon:Dr,SyringeIcon:Lr,TagIcon:Rr,TakeActionIcon:Fr,TankIcon:Pr,TargetIcon:Br,TaxiIcon:kr,TemperatureIcon:Hr,TextHighlightIcon:Mr,ThDerivedIcon:Gr,ThDisconnectIcon:Or,ThFilteredIcon:Er,ThIcon:Nr,ThListIcon:Ur,ThirdPartyIcon:xr,ThumbsDownIcon:Vr,ThumbsUpIcon:jr,TickCircleIcon:zr,TickIcon:Kr,TimeIcon:Wr,TimelineAreaChartIcon:qr,TimelineBarChartIcon:Jr,TimelineEventsIcon:Zr,TimelineLineChartIcon:_r,TintIcon:Xr,TorchIcon:Qr,TractorIcon:Yr,TrainIcon:$r,TranslateIcon:ot,TrashIcon:nt,TreeIcon:ct,TrendingDownIcon:at,TrendingUpIcon:et,TruckIcon:It,TwoColumnsIcon:st,UnarchiveIcon:gt,UnderlineIcon:rt,UndoIcon:tt,UngroupObjectsIcon:St,UnknownVehicleIcon:it,UnlockIcon:vt,UnpinIcon:lt,UnresolveIcon:dt,UpdatedIcon:ht,UploadIcon:ut,UserIcon:mt,VariableIcon:Ct,VerticalBarChartAscIcon:pt,VerticalBarChartDescIcon:bt,VerticalDistributionIcon:wt,VerticalInbetweenIcon:ft,VideoIcon:Tt,VirusIcon:At,VolumeDownIcon:yt,VolumeOffIcon:Dt,VolumeUpIcon:Lt,WalkIcon:Rt,WarningSignIcon:Ft,WaterfallChartIcon:Pt,WavesIcon:Bt,WidgetButtonIcon:kt,WidgetFooterIcon:Ht,WidgetHeaderIcon:Mt,WidgetIcon:Gt,WindIcon:Ot,WrenchIcon:Et,ZoomInIcon:Nt,ZoomOutIcon:Ut,ZoomToFitIcon:xt},Symbol.toStringTag,{value:"Module"}));function e(n){const c={h1:"h1",p:"p",...I(),...n.components};return o.jsxs(o.Fragment,{children:[o.jsx(g,{title:"Icons gallery"}),` +`,o.jsx(c.h1,{id:"icons-gallery",children:"Icons Gallery"}),` +`,o.jsx(c.p,{children:"List of available icons"}),` +`,o.jsx(r,{children:Object.entries(Vt).map(([a,s])=>o.jsx(t,{name:a,children:o.jsx(s,{className:"h-6 w-6"})},a))})]})}function $t(n={}){const{wrapper:c}={...I(),...n.components};return c?o.jsx(c,{...n,children:o.jsx(e,{...n})}):e(n)}export{$t as default}; diff --git a/assets/iframe-391yXaUQ.js b/assets/iframe-391yXaUQ.js deleted file mode 100644 index e45f1dea..00000000 --- a/assets/iframe-391yXaUQ.js +++ /dev/null @@ -1,7 +0,0 @@ -import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))m(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const s of e.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&m(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function m(o){if(o.ep)return;o.ep=!0;const e=n(o);fetch(o.href,e)}})();const d="modulepreload",O=function(r,i){return new URL(r,i).href},l={},t=function(i,n,m){let o=Promise.resolve();if(n&&n.length>0){const e=document.getElementsByTagName("link");o=Promise.all(n.map(s=>{if(s=O(s,m),s in l)return;l[s]=!0;const c=s.endsWith(".css"),E=c?'[rel="stylesheet"]':"";if(!!m)for(let a=e.length-1;a>=0;a--){const p=e[a];if(p.href===s&&(!c||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${E}`))return;const _=document.createElement("link");if(_.rel=c?"stylesheet":d,c||(_.as="script",_.crossOrigin=""),_.href=s,document.head.appendChild(_),c)return new Promise((a,p)=>{_.addEventListener("load",a),_.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${s}`)))})}))}return o.then(()=>i()).catch(e=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=e,window.dispatchEvent(s),!s.defaultPrevented)throw e})},{createBrowserChannel:R}=__STORYBOOK_MODULE_CHANNELS__,{addons:v}=__STORYBOOK_MODULE_PREVIEW_API__,u=R({page:"preview"});v.setChannel(u);window.__STORYBOOK_ADDONS_CHANNEL__=u;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=u);const T={"./src/components/alert/alert.stories.tsx":async()=>t(()=>import("./alert.stories-kwlSLQte.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"./src/components/avatar/avatar.stories.tsx":async()=>t(()=>import("./avatar.stories-6ZrOnm3E.js"),__vite__mapDeps([7,1,2,8,6]),import.meta.url),"./src/components/badge/badge.stories.tsx":async()=>t(()=>import("./badge.stories-HS635_xv.js"),__vite__mapDeps([9,1,2,10,4,6]),import.meta.url),"./src/components/breadcrumb-navigation/breadcrumb-navigation.stories.tsx":async()=>t(()=>import("./breadcrumb-navigation.stories-qUfks4iB.js"),__vite__mapDeps([11,1,2,4,12,5]),import.meta.url),"./src/components/button-group/button-group.stories.tsx":async()=>t(()=>import("./button-group.stories-HkA0sHEL.js"),__vite__mapDeps([13,1,2,4]),import.meta.url),"./src/components/button/button.stories.tsx":async()=>t(()=>import("./button.stories-GVuRxvlZ.js"),__vite__mapDeps([14,1,2,15,4,16,5,6]),import.meta.url),"./src/components/checkbox/checkbox.stories.tsx":async()=>t(()=>import("./checkbox.stories-pjEkXPB3.js"),__vite__mapDeps([17,1,2,4,6]),import.meta.url),"./src/components/dialog/dialog.stories.tsx":async()=>t(()=>import("./dialog.stories-1xlobWTI.js"),__vite__mapDeps([18,1,2,6,19,4,5,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,15,16,38,39,40,41,10,42,43,3]),import.meta.url),"./src/components/disclosure/disclosure.stories.tsx":async()=>t(()=>import("./disclosure.stories-Lzd6yTSj.js"),__vite__mapDeps([44,1,2,5,4,45,21,28,29,22,41,32]),import.meta.url),"./src/components/divider-line/divider-line.stories.tsx":async()=>t(()=>import("./divider-line.stories-NPHOSH0C.js"),__vite__mapDeps([46,1,2,47]),import.meta.url),"./src/components/featured-tag/featured-tag.stories.tsx":async()=>t(()=>import("./featured-tag.stories-bInCR4MF.js"),__vite__mapDeps([48,1,2,49,4,50,38,5,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/form-field-group.stories.tsx":async()=>t(()=>import("./form-field-group.stories-itCXz9-U.js"),__vite__mapDeps([51,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/listbox/listbox.stories.tsx":async()=>t(()=>import("./listbox.stories-huPjd1c0.js"),__vite__mapDeps([52,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/multi-combobox/multi-combobox.stories.tsx":async()=>t(()=>import("./multi-combobox.stories-fFaCjOhI.js"),__vite__mapDeps([53,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/radio-box/radio-box.stories.tsx":async()=>t(()=>import("./radio-box.stories-uHhFovwe.js"),__vite__mapDeps([54,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42,49]),import.meta.url),"./src/components/form-field/radio-input/radio-input.stories.tsx":async()=>t(()=>import("./radio-input.stories-ZdcfPeTW.js"),__vite__mapDeps([55,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/search-input/search-input.stories.tsx":async()=>t(()=>import("./search-input.stories-42u9iPd9.js"),__vite__mapDeps([56,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/single-combobox/single-combobox.stories.tsx":async()=>t(()=>import("./single-combobox.stories-sTQKcdwi.js"),__vite__mapDeps([57,1,2,42,4,5,38,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36]),import.meta.url),"./src/components/form-field/text-input/text-input.stories.tsx":async()=>t(()=>import("./text-input.stories-cnVO5Vb7.js"),__vite__mapDeps([58,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/textarea/textarea.stories.tsx":async()=>t(()=>import("./textarea.stories-kiw_VoIT.js"),__vite__mapDeps([59,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/icon-button/icon-button.stories.tsx":async()=>t(()=>import("./icon-button.stories-k6ry-DAX.js"),__vite__mapDeps([60,19,1,2,4,5]),import.meta.url),"./src/components/inline-alert/inline-alert.stories.tsx":async()=>t(()=>import("./inline-alert.stories-YudhdemP.js"),__vite__mapDeps([61,1,2,4,5,6]),import.meta.url),"./src/components/last-changed-info/last-changed-info.stories.tsx":async()=>t(()=>import("./last-changed-info.stories-va60sZzp.js"),__vite__mapDeps([62,1,2,4]),import.meta.url),"./src/components/link/link.stories.tsx":async()=>t(()=>import("./link.stories-KDAoRDQ5.js"),__vite__mapDeps([63,1,2,12,4,5,6]),import.meta.url),"./src/components/menu/menu-info-item/menu-info-item.stories.tsx":async()=>t(()=>import("./menu-info-item.stories-NbBS49PM.js"),__vite__mapDeps([64,1,2,65]),import.meta.url),"./src/components/menu/menu-item/menu-item.stories.tsx":async()=>t(()=>import("./menu-item.stories-5a59JOpA.js"),__vite__mapDeps([66,1,2,5,67,65,4,21,24,25,28,40,32,29,31,34,22,41,68,69]),import.meta.url),"./src/components/menu/menu-separator/menu-separator.stories.tsx":async()=>t(()=>import("./menu-separator.stories-iedKsExU.js"),__vite__mapDeps([70,1,2,68]),import.meta.url),"./src/components/menu/menu-title/menu-title.stories.tsx":async()=>t(()=>import("./menu-title.stories-w6SKr3w4.js"),__vite__mapDeps([71,1,2,69]),import.meta.url),"./src/components/menu/menu.stories.tsx":async()=>t(()=>import("./menu.stories-3Cbj8vwL.js"),__vite__mapDeps([72,1,2,67,65,4,21,24,25,28,40,32,29,31,34,22,41,68,69]),import.meta.url),"./src/components/navigation/navigation.stories.tsx":async()=>t(()=>import("./navigation.stories-fI1m3Bd1.js"),__vite__mapDeps([73,1,2,5,4,45,21,28,29,22,41,32,74,35,31,24,34,33,30]),import.meta.url),"./src/components/page/page.stories.tsx":async()=>t(()=>import("./page.stories-xsLXzi5e.js"),__vite__mapDeps([75,1,2]),import.meta.url),"./src/components/panel/panel.stories.tsx":async()=>t(()=>import("./panel.stories-9W6q-fnr.js"),__vite__mapDeps([76,1,2,50,4,15,16,6,43,21,28,29,39,37,41,30,25,24]),import.meta.url),"./src/components/section/section.stories.tsx":async()=>t(()=>import("./section.stories-GgH5Q7i9.js"),__vite__mapDeps([77,1,2,15,4,16]),import.meta.url),"./src/components/sidebar-container/sidebar-container.stories.tsx":async()=>t(()=>import("./sidebar-container.stories-p6gkrcru.js"),__vite__mapDeps([78,1,2]),import.meta.url),"./src/components/sidebar/sidebar.stories.tsx":async()=>t(()=>import("./sidebar.stories-DHUldW1g.js"),__vite__mapDeps([79,1,2,4]),import.meta.url),"./src/components/sidesheet/sidesheet.stories.tsx":async()=>t(()=>import("./sidesheet.stories-i7nD1OYM.js"),__vite__mapDeps([80,1,2,27,21,28,29,30,31,24,32,33,34,35,23,36,25,37,22,20,26,15,4,16]),import.meta.url),"./src/components/skeleton/skeleton.stories.tsx":async()=>t(()=>import("./skeleton.stories-R4PDynxy.js"),__vite__mapDeps([81,1,2,4]),import.meta.url),"./src/components/spinner-overlay/spinner-overlay.stories.tsx":async()=>t(()=>import("./spinner-overlay.stories-pwM8FtP5.js"),__vite__mapDeps([82,1,2,16,4]),import.meta.url),"./src/components/spinner/spinner.stories.tsx":async()=>t(()=>import("./spinner.stories-hqkPbkUz.js"),__vite__mapDeps([83,1,2,16,4]),import.meta.url),"./src/components/tab/tab.stories.tsx":async()=>t(()=>import("./tab.stories-1b9ez5HP.js"),__vite__mapDeps([84,1,2,4,21,28,31,24,32,41,23,30,6]),import.meta.url),"./src/components/table-unvirtualized/table-unvirtualized.stories.tsx":async()=>t(()=>import("./table-unvirtualized.stories-8kTNWqQz.js"),__vite__mapDeps([85,1,2,86,4,16,15]),import.meta.url),"./src/components/table-virtualized/table-virtualized.stories.tsx":async()=>t(()=>import("./table-virtualized.stories-QI3KXiH0.js"),__vite__mapDeps([87,1,2,35,4,86,16,5,15,19,47]),import.meta.url),"./src/components/tag/tag.stories.tsx":async()=>t(()=>import("./tag.stories-4YV2EzfL.js"),__vite__mapDeps([88,1,2,42,4,5]),import.meta.url),"./src/components/toast/toast.stories.tsx":async()=>t(()=>import("./toast.stories-9CdqYDj3.js"),__vite__mapDeps([89,1,2,5,4]),import.meta.url),"./src/components/toggle/toggle.stories.tsx":async()=>t(()=>import("./toggle.stories-9fovEknJ.js"),__vite__mapDeps([90,1,2,43,4,21,28,29,39,37,41,30,25,24]),import.meta.url),"./src/components/tooltip/tooltip.stories.tsx":async()=>t(()=>import("./tooltip.stories-DlyqSdCk.js"),__vite__mapDeps([91,1,2,6,74,35,4,20,21,22,23,24,25,26,15,16]),import.meta.url),"./src/components/top-bar/top-bar.stories.tsx":async()=>t(()=>import("./top-bar.stories-5hDB_4dj.js"),__vite__mapDeps([92,1,2,4,5,8,67,65,21,24,25,28,40,32,29,31,34,22,41,68,69]),import.meta.url),"./src/icons/icons.mdx":async()=>t(()=>import("./icons-jxFpOy4C.js"),__vite__mapDeps([93,1,2,94,95,35,96,97,98,5]),import.meta.url),"./src/index.mdx":async()=>t(()=>import("./index-8Ja3sjd7.js"),__vite__mapDeps([99,1,2,94,95,35,96,97,98]),import.meta.url),"./src/styles/global-styles.stories.tsx":async()=>t(()=>import("./global-styles.stories-mcWbTK0l.js"),__vite__mapDeps([100,1,2,86,4,16]),import.meta.url)};async function L(r){return T[r]()}const{composeConfigs:y,PreviewWeb:f,ClientApi:D}=__STORYBOOK_MODULE_PREVIEW_API__,P=async(r=[])=>{const i=await Promise.all([r.at(0)??t(()=>import("./entry-preview-FCJT8lh_.js"),__vite__mapDeps([101,2,102,35]),import.meta.url),r.at(1)??t(()=>import("./entry-preview-docs-FFV1Xpem.js"),__vite__mapDeps([103,97,2,98]),import.meta.url),r.at(2)??t(()=>import("./preview-FAmsE9rY.js"),__vite__mapDeps([104,96]),import.meta.url),r.at(3)??t(()=>import("./preview-ThnesuRi.js"),__vite__mapDeps([]),import.meta.url),r.at(4)??t(()=>import("./preview-6iG64ELu.js"),__vite__mapDeps([105,98]),import.meta.url),r.at(5)??t(()=>import("./preview-zZA4w0lH.js"),__vite__mapDeps([]),import.meta.url),r.at(6)??t(()=>import("./preview-MdQXpms2.js"),__vite__mapDeps([]),import.meta.url),r.at(7)??t(()=>import("./preview-u8M_OEO2.js"),__vite__mapDeps([106,98]),import.meta.url),r.at(8)??t(()=>import("./preview-eG45mUaT.js"),__vite__mapDeps([]),import.meta.url),r.at(9)??t(()=>import("./preview-0AEKBwnG.js"),__vite__mapDeps([]),import.meta.url),r.at(10)??t(()=>import("./preview-VnAtS6wi.js"),__vite__mapDeps([]),import.meta.url),r.at(11)??t(()=>import("./preview-AnqcdVBp.js"),__vite__mapDeps([107,108]),import.meta.url)]);return y(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new f(L,P);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./alert.stories-kwlSLQte.js","./jsx-runtime-DvLKfCe6.js","./index-aXz8NaAs.js","./alert-AtN3QK5X.js","./class-names-J070TWId.js","./zoom-to-fit-icon-D5bxa5rH.js","./storybook-utils-8tYEDzov.js","./avatar.stories-6ZrOnm3E.js","./avatar-AG9PgrXd.js","./badge.stories-HS635_xv.js","./badge-fqfuhG_-.js","./breadcrumb-navigation.stories-qUfks4iB.js","./slot-EjYywLoi.js","./button-group.stories-HkA0sHEL.js","./button.stories-GVuRxvlZ.js","./button-57Qwtjov.js","./spinner-3qwjfHYG.js","./checkbox.stories-pjEkXPB3.js","./dialog.stories-1xlobWTI.js","./icon-button-20HJLHEq.js","./transition-P5RH2ilL.js","./render-THca3tYe.js","./open-closed-arTWCtx2.js","./use-is-mounted-JxO49gTk.js","./disposables-x8EK1kJp.js","./use-disposables-qU89AwEH.js","./use-flags-F5kSKS15.js","./dialog-AV4MErht.js","./keyboard-NjAwe_S6.js","./bugs-DTVvle51.js","./hidden-G4mt23Ky.js","./focus-management-9lqV-5sA.js","./owner-zdel76gv.js","./use-root-containers-gvIPfwFU.js","./use-owner-6in2YdcT.js","./index-eaBuI5Jm.js","./platform-mHIZTaYY.js","./description-rwhSs07y.js","./form-field-6eUfOaJj.js","./label-tTJj5301.js","./use-text-value-K_DgwPe6.js","./use-resolve-button-type-Iz3xK6-2.js","./tag-KADc8xh0.js","./toggle-xj_yRI9R.js","./disclosure.stories-Lzd6yTSj.js","./disclosure-bilLE81Q.js","./divider-line.stories-NPHOSH0C.js","./divider-line-4vPnWnk9.js","./featured-tag.stories-bInCR4MF.js","./featured-tag-qlYek531.js","./panel-D9tNMj6A.js","./form-field-group.stories-itCXz9-U.js","./listbox.stories-huPjd1c0.js","./multi-combobox.stories-fFaCjOhI.js","./radio-box.stories-uHhFovwe.js","./radio-input.stories-ZdcfPeTW.js","./search-input.stories-42u9iPd9.js","./single-combobox.stories-sTQKcdwi.js","./text-input.stories-cnVO5Vb7.js","./textarea.stories-kiw_VoIT.js","./icon-button.stories-k6ry-DAX.js","./inline-alert.stories-YudhdemP.js","./last-changed-info.stories-va60sZzp.js","./link.stories-KDAoRDQ5.js","./menu-info-item.stories-NbBS49PM.js","./menu-info-item-SkkB9ZBB.js","./menu-item.stories-5a59JOpA.js","./menu-227joWx7.js","./menu-separator-Dyrf8hwB.js","./menu-title-lwv7oZCQ.js","./menu-separator.stories-iedKsExU.js","./menu-title.stories-w6SKr3w4.js","./menu.stories-3Cbj8vwL.js","./navigation.stories-fI1m3Bd1.js","./usePopper-5cZvI-4B.js","./page.stories-xsLXzi5e.js","./panel.stories-9W6q-fnr.js","./section.stories-GgH5Q7i9.js","./sidebar-container.stories-p6gkrcru.js","./sidebar.stories-DHUldW1g.js","./sidesheet.stories-i7nD1OYM.js","./skeleton.stories-R4PDynxy.js","./spinner-overlay.stories-pwM8FtP5.js","./spinner.stories-hqkPbkUz.js","./tab.stories-1b9ez5HP.js","./table-unvirtualized.stories-8kTNWqQz.js","./table-unvirtualized-qNCB5NB8.js","./table-virtualized.stories-QI3KXiH0.js","./tag.stories-4YV2EzfL.js","./toast.stories-9CdqYDj3.js","./toggle.stories-9fovEknJ.js","./tooltip.stories-DlyqSdCk.js","./top-bar.stories-5hDB_4dj.js","./icons-jxFpOy4C.js","./index-k79fmlbS.js","./index-6HVkS1t_.js","./index-LANyd4EQ.js","./index-lmOu_tDR.js","./index-PPLHz8o0.js","./index-8Ja3sjd7.js","./global-styles.stories-mcWbTK0l.js","./entry-preview-FCJT8lh_.js","./react-18-UXrK_Jj3.js","./entry-preview-docs-FFV1Xpem.js","./preview-FAmsE9rY.js","./preview-6iG64ELu.js","./preview-u8M_OEO2.js","./preview-AnqcdVBp.js","./preview-w5YoLbab.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} diff --git a/assets/iframe-kN1kpAQt.js b/assets/iframe-kN1kpAQt.js new file mode 100644 index 00000000..3bd439e7 --- /dev/null +++ b/assets/iframe-kN1kpAQt.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./alert.stories-DUIfJ3Ys.js","./jsx-runtime-B57y5fZt.js","./index-ebcBgdYO.js","./alert-BT1_F7vq.js","./class-names-B8CnD4Xb.js","./zoom-to-fit-icon-DLvbqD3B.js","./storybook-utils-C5xEhci0.js","./avatar.stories-BH72J-pd.js","./avatar-hz8dHd5N.js","./badge.stories-CpKe04zk.js","./badge-Bpu_07Lu.js","./breadcrumb-navigation.stories-BlNZu-Mq.js","./slot-Bnhsn6N0.js","./button-group.stories-BKsJ3AIm.js","./button.stories-BpCRHXle.js","./button-Cjc0aKsZ.js","./spinner-BicvOdNJ.js","./checkbox.stories-CsBL6Bjp.js","./dialog.stories-IvUqkbho.js","./icon-button-CPqMts2r.js","./transition-BaZe4U2z.js","./render-BBULYOlI.js","./open-closed-C7VEErGe.js","./use-is-mounted-V11-xH6f.js","./disposables-C2E3IOeh.js","./use-disposables-BYdaWtl0.js","./use-flags-CXYxB9RW.js","./dialog-jscKnt9i.js","./keyboard-6YZ08te-.js","./bugs-DpEN4NTH.js","./hidden-BiaaAo9r.js","./focus-management-CO_y2GRp.js","./owner-Di-Chxds.js","./use-root-containers-D_EsISTQ.js","./use-owner-CYYYWs7j.js","./index-LVLpks_4.js","./platform-CkjJx1Ap.js","./description-BuX7rO1I.js","./form-field-DvjiF2cs.js","./label-DM5sTrnd.js","./use-text-value-DoNDUPYh.js","./use-resolve-button-type-BadQLjH2.js","./tag-BUaKHE7W.js","./toggle-Dw-zG7px.js","./disclosure.stories-BoDJB7zg.js","./disclosure-CfBfnIZw.js","./divider-line.stories-D7IbH_7C.js","./divider-line-DPBmJQo4.js","./featured-tag.stories-cpzg6gtW.js","./featured-tag-CWHGYRe3.js","./panel-sXU1EDOq.js","./form-field-group.stories-FsXhK2gm.js","./listbox.stories-C0ziHUsF.js","./multi-combobox.stories-8_sDKjvP.js","./radio-box.stories-BIx3G84Y.js","./radio-input.stories-ByFDXJzN.js","./search-input.stories-Z02L57N2.js","./single-combobox.stories-Cksc-2rO.js","./text-input.stories-D45DUuB1.js","./textarea.stories-RwikJyz8.js","./icon-button.stories-CY6dHZ-s.js","./inline-alert.stories-DgspFDa0.js","./last-changed-info.stories-CNwwGf9q.js","./link.stories-B0objI-k.js","./menu-info-item.stories-Cvl60o3N.js","./menu-info-item-C0b5hL41.js","./menu-item.stories-B9sSJm50.js","./menu-myOwGooF.js","./menu-separator-Cn4OVP0a.js","./menu-title-9KQFWNPa.js","./menu-separator.stories-C2_ucZPz.js","./menu-title.stories-CeU9PGqD.js","./menu.stories-CyNBEbiq.js","./navigation.stories-aDcdMKIE.js","./usePopper-DreBTmFO.js","./page.stories-CT-8yH5_.js","./panel.stories-DmQ46nVA.js","./section.stories-CJmvvsd5.js","./sidebar-container.stories-DERBRO4Y.js","./sidebar.stories-BAZCazaA.js","./sidesheet.stories-Cjq-RuWg.js","./skeleton.stories-Drv7jgTa.js","./spinner-overlay.stories-dNDL5eg3.js","./spinner.stories-NB62aHYT.js","./tab.stories-DjiWRems.js","./table-unvirtualized.stories-CTWbhTtJ.js","./table-unvirtualized-C1qOI-b1.js","./table-virtualized.stories-CB0BOkWr.js","./tag.stories-DKNlXG7s.js","./toast.stories-xgD-DrgR.js","./toggle.stories-l1kgvW3t.js","./tooltip.stories-BgvG_GQV.js","./top-bar.stories-D1n-jHgu.js","./icons-n-Me9q2i.js","./index-BOgtj0Ww.js","./index-Bd60Ok5f.js","./index-D-8MO0q_.js","./index-CK28Drts.js","./index-DrFu-skq.js","./index-Bz1H9HYf.js","./global-styles.stories-nHCx0yaM.js","./entry-preview-VETjq1Va.js","./react-18-Cy_QyFb9.js","./entry-preview-docs-TNOXop-0.js","./preview-BJPLiuSt.js","./preview-9hFJSo5S.js","./preview-DB9FwMii.js","./preview-BVBfBR4g.js","./preview-DDligttp.css"])))=>i.map(i=>d[i]); +import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))c(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const s of e.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&c(s)}).observe(document,{childList:!0,subtree:!0});function m(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function c(o){if(o.ep)return;o.ep=!0;const e=m(o);fetch(o.href,e)}})();const R="modulepreload",v=function(r,i){return new URL(r,i).href},d={},t=function(i,m,c){let o=Promise.resolve();if(m&&m.length>0){const e=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),E=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.all(m.map(_=>{if(_=v(_,c),_ in d)return;d[_]=!0;const a=_.endsWith(".css"),O=a?'[rel="stylesheet"]':"";if(!!c)for(let p=e.length-1;p>=0;p--){const u=e[p];if(u.href===_&&(!a||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${_}"]${O}`))return;const n=document.createElement("link");if(n.rel=a?"stylesheet":R,a||(n.as="script",n.crossOrigin=""),n.href=_,E&&n.setAttribute("nonce",E),document.head.appendChild(n),a)return new Promise((p,u)=>{n.addEventListener("load",p),n.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${_}`)))})}))}return o.then(()=>i()).catch(e=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=e,window.dispatchEvent(s),!s.defaultPrevented)throw e})},{createBrowserChannel:T}=__STORYBOOK_MODULE_CHANNELS__,{addons:L}=__STORYBOOK_MODULE_PREVIEW_API__,l=T({page:"preview"});L.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const y={"./src/components/alert/alert.stories.tsx":async()=>t(()=>import("./alert.stories-DUIfJ3Ys.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"./src/components/avatar/avatar.stories.tsx":async()=>t(()=>import("./avatar.stories-BH72J-pd.js"),__vite__mapDeps([7,1,2,8,6]),import.meta.url),"./src/components/badge/badge.stories.tsx":async()=>t(()=>import("./badge.stories-CpKe04zk.js"),__vite__mapDeps([9,1,2,10,4,6]),import.meta.url),"./src/components/breadcrumb-navigation/breadcrumb-navigation.stories.tsx":async()=>t(()=>import("./breadcrumb-navigation.stories-BlNZu-Mq.js"),__vite__mapDeps([11,1,2,4,12,5]),import.meta.url),"./src/components/button-group/button-group.stories.tsx":async()=>t(()=>import("./button-group.stories-BKsJ3AIm.js"),__vite__mapDeps([13,1,2,4]),import.meta.url),"./src/components/button/button.stories.tsx":async()=>t(()=>import("./button.stories-BpCRHXle.js"),__vite__mapDeps([14,1,2,15,4,16,5,6]),import.meta.url),"./src/components/checkbox/checkbox.stories.tsx":async()=>t(()=>import("./checkbox.stories-CsBL6Bjp.js"),__vite__mapDeps([17,1,2,4,6]),import.meta.url),"./src/components/dialog/dialog.stories.tsx":async()=>t(()=>import("./dialog.stories-IvUqkbho.js"),__vite__mapDeps([18,1,2,6,19,4,5,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,15,16,38,39,40,41,10,42,43,3]),import.meta.url),"./src/components/disclosure/disclosure.stories.tsx":async()=>t(()=>import("./disclosure.stories-BoDJB7zg.js"),__vite__mapDeps([44,1,2,5,4,45,21,28,29,22,41,32]),import.meta.url),"./src/components/divider-line/divider-line.stories.tsx":async()=>t(()=>import("./divider-line.stories-D7IbH_7C.js"),__vite__mapDeps([46,1,2,47]),import.meta.url),"./src/components/featured-tag/featured-tag.stories.tsx":async()=>t(()=>import("./featured-tag.stories-cpzg6gtW.js"),__vite__mapDeps([48,1,2,49,4,50,38,5,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/form-field-group.stories.tsx":async()=>t(()=>import("./form-field-group.stories-FsXhK2gm.js"),__vite__mapDeps([51,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/listbox/listbox.stories.tsx":async()=>t(()=>import("./listbox.stories-C0ziHUsF.js"),__vite__mapDeps([52,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/multi-combobox/multi-combobox.stories.tsx":async()=>t(()=>import("./multi-combobox.stories-8_sDKjvP.js"),__vite__mapDeps([53,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/radio-box/radio-box.stories.tsx":async()=>t(()=>import("./radio-box.stories-BIx3G84Y.js"),__vite__mapDeps([54,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42,49]),import.meta.url),"./src/components/form-field/radio-input/radio-input.stories.tsx":async()=>t(()=>import("./radio-input.stories-ByFDXJzN.js"),__vite__mapDeps([55,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/search-input/search-input.stories.tsx":async()=>t(()=>import("./search-input.stories-Z02L57N2.js"),__vite__mapDeps([56,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/single-combobox/single-combobox.stories.tsx":async()=>t(()=>import("./single-combobox.stories-Cksc-2rO.js"),__vite__mapDeps([57,1,2,42,4,5,38,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36]),import.meta.url),"./src/components/form-field/text-input/text-input.stories.tsx":async()=>t(()=>import("./text-input.stories-D45DUuB1.js"),__vite__mapDeps([58,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/textarea/textarea.stories.tsx":async()=>t(()=>import("./textarea.stories-RwikJyz8.js"),__vite__mapDeps([59,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/icon-button/icon-button.stories.tsx":async()=>t(()=>import("./icon-button.stories-CY6dHZ-s.js"),__vite__mapDeps([60,19,1,2,4,5]),import.meta.url),"./src/components/inline-alert/inline-alert.stories.tsx":async()=>t(()=>import("./inline-alert.stories-DgspFDa0.js"),__vite__mapDeps([61,1,2,4,5,6]),import.meta.url),"./src/components/last-changed-info/last-changed-info.stories.tsx":async()=>t(()=>import("./last-changed-info.stories-CNwwGf9q.js"),__vite__mapDeps([62,1,2,4]),import.meta.url),"./src/components/link/link.stories.tsx":async()=>t(()=>import("./link.stories-B0objI-k.js"),__vite__mapDeps([63,1,2,12,4,5,6]),import.meta.url),"./src/components/menu/menu-info-item/menu-info-item.stories.tsx":async()=>t(()=>import("./menu-info-item.stories-Cvl60o3N.js"),__vite__mapDeps([64,1,2,65]),import.meta.url),"./src/components/menu/menu-item/menu-item.stories.tsx":async()=>t(()=>import("./menu-item.stories-B9sSJm50.js"),__vite__mapDeps([66,1,2,5,67,65,4,21,24,25,28,40,32,29,31,34,22,41,68,69]),import.meta.url),"./src/components/menu/menu-separator/menu-separator.stories.tsx":async()=>t(()=>import("./menu-separator.stories-C2_ucZPz.js"),__vite__mapDeps([70,1,2,68]),import.meta.url),"./src/components/menu/menu-title/menu-title.stories.tsx":async()=>t(()=>import("./menu-title.stories-CeU9PGqD.js"),__vite__mapDeps([71,1,2,69]),import.meta.url),"./src/components/menu/menu.stories.tsx":async()=>t(()=>import("./menu.stories-CyNBEbiq.js"),__vite__mapDeps([72,1,2,67,65,4,21,24,25,28,40,32,29,31,34,22,41,68,69]),import.meta.url),"./src/components/navigation/navigation.stories.tsx":async()=>t(()=>import("./navigation.stories-aDcdMKIE.js"),__vite__mapDeps([73,1,2,5,4,45,21,28,29,22,41,32,74,35,31,24,34,33,30]),import.meta.url),"./src/components/page/page.stories.tsx":async()=>t(()=>import("./page.stories-CT-8yH5_.js"),__vite__mapDeps([75,1,2]),import.meta.url),"./src/components/panel/panel.stories.tsx":async()=>t(()=>import("./panel.stories-DmQ46nVA.js"),__vite__mapDeps([76,1,2,50,4,15,16,6,43,21,28,29,39,37,41,30,25,24]),import.meta.url),"./src/components/section/section.stories.tsx":async()=>t(()=>import("./section.stories-CJmvvsd5.js"),__vite__mapDeps([77,1,2,15,4,16]),import.meta.url),"./src/components/sidebar-container/sidebar-container.stories.tsx":async()=>t(()=>import("./sidebar-container.stories-DERBRO4Y.js"),__vite__mapDeps([78,1,2]),import.meta.url),"./src/components/sidebar/sidebar.stories.tsx":async()=>t(()=>import("./sidebar.stories-BAZCazaA.js"),__vite__mapDeps([79,1,2,4]),import.meta.url),"./src/components/sidesheet/sidesheet.stories.tsx":async()=>t(()=>import("./sidesheet.stories-Cjq-RuWg.js"),__vite__mapDeps([80,1,2,27,21,28,29,30,31,24,32,33,34,35,23,36,25,37,22,20,26,15,4,16]),import.meta.url),"./src/components/skeleton/skeleton.stories.tsx":async()=>t(()=>import("./skeleton.stories-Drv7jgTa.js"),__vite__mapDeps([81,1,2,4]),import.meta.url),"./src/components/spinner-overlay/spinner-overlay.stories.tsx":async()=>t(()=>import("./spinner-overlay.stories-dNDL5eg3.js"),__vite__mapDeps([82,1,2,16,4]),import.meta.url),"./src/components/spinner/spinner.stories.tsx":async()=>t(()=>import("./spinner.stories-NB62aHYT.js"),__vite__mapDeps([83,1,2,16,4]),import.meta.url),"./src/components/tab/tab.stories.tsx":async()=>t(()=>import("./tab.stories-DjiWRems.js"),__vite__mapDeps([84,1,2,4,21,28,31,24,32,41,23,30,6]),import.meta.url),"./src/components/table-unvirtualized/table-unvirtualized.stories.tsx":async()=>t(()=>import("./table-unvirtualized.stories-CTWbhTtJ.js"),__vite__mapDeps([85,1,2,86,4,16,15]),import.meta.url),"./src/components/table-virtualized/table-virtualized.stories.tsx":async()=>t(()=>import("./table-virtualized.stories-CB0BOkWr.js"),__vite__mapDeps([87,1,2,35,4,86,16,5,15,19,47]),import.meta.url),"./src/components/tag/tag.stories.tsx":async()=>t(()=>import("./tag.stories-DKNlXG7s.js"),__vite__mapDeps([88,1,2,42,4,5]),import.meta.url),"./src/components/toast/toast.stories.tsx":async()=>t(()=>import("./toast.stories-xgD-DrgR.js"),__vite__mapDeps([89,1,2,5,4]),import.meta.url),"./src/components/toggle/toggle.stories.tsx":async()=>t(()=>import("./toggle.stories-l1kgvW3t.js"),__vite__mapDeps([90,1,2,43,4,21,28,29,39,37,41,30,25,24]),import.meta.url),"./src/components/tooltip/tooltip.stories.tsx":async()=>t(()=>import("./tooltip.stories-BgvG_GQV.js"),__vite__mapDeps([91,1,2,6,74,35,4,20,21,22,23,24,25,26,15,16]),import.meta.url),"./src/components/top-bar/top-bar.stories.tsx":async()=>t(()=>import("./top-bar.stories-D1n-jHgu.js"),__vite__mapDeps([92,1,2,4,5,8,67,65,21,24,25,28,40,32,29,31,34,22,41,68,69]),import.meta.url),"./src/icons/icons.mdx":async()=>t(()=>import("./icons-n-Me9q2i.js"),__vite__mapDeps([93,1,2,94,95,35,96,97,98,5]),import.meta.url),"./src/index.mdx":async()=>t(()=>import("./index-Bz1H9HYf.js"),__vite__mapDeps([99,1,2,94,95,35,96,97,98]),import.meta.url),"./src/styles/global-styles.stories.tsx":async()=>t(()=>import("./global-styles.stories-nHCx0yaM.js"),__vite__mapDeps([100,1,2,86,4,16]),import.meta.url)};async function f(r){return y[r]()}const{composeConfigs:P,PreviewWeb:I,ClientApi:A}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(r=[])=>{const i=await Promise.all([r.at(0)??t(()=>import("./entry-preview-VETjq1Va.js"),__vite__mapDeps([101,2,102,35]),import.meta.url),r.at(1)??t(()=>import("./entry-preview-docs-TNOXop-0.js"),__vite__mapDeps([103,97,2,98]),import.meta.url),r.at(2)??t(()=>import("./preview-BJPLiuSt.js"),__vite__mapDeps([104,96]),import.meta.url),r.at(3)??t(()=>import("./preview-C7hbUxW8.js"),[],import.meta.url),r.at(4)??t(()=>import("./preview-Ct5NkTJf.js"),[],import.meta.url),r.at(5)??t(()=>import("./preview-9hFJSo5S.js"),__vite__mapDeps([105,98]),import.meta.url),r.at(6)??t(()=>import("./preview-BnWGZYux.js"),[],import.meta.url),r.at(7)??t(()=>import("./preview-Cdum89jS.js"),[],import.meta.url),r.at(8)??t(()=>import("./preview-DB9FwMii.js"),__vite__mapDeps([106,98]),import.meta.url),r.at(9)??t(()=>import("./preview-BpcF_O6y.js"),[],import.meta.url),r.at(10)??t(()=>import("./preview-gLmJTRpJ.js"),[],import.meta.url),r.at(11)??t(()=>import("./preview-BVBfBR4g.js"),__vite__mapDeps([107,108]),import.meta.url)]);return P(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new I(f,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/assets/index--uox3N9r.js b/assets/index--uox3N9r.js deleted file mode 100644 index 1505153e..00000000 --- a/assets/index--uox3N9r.js +++ /dev/null @@ -1 +0,0 @@ -import{M as s,u as m}from"./index-k79fmlbS.js";import"./index-aXz8NaAs.js";export{s as MDXProvider,m as useMDXComponents}; diff --git a/assets/index-6HVkS1t_.js b/assets/index-6HVkS1t_.js deleted file mode 100644 index 014de453..00000000 --- a/assets/index-6HVkS1t_.js +++ /dev/null @@ -1,522 +0,0 @@ -import{_ as Wt}from"./iframe-391yXaUQ.js";import{g as Kn,r as o,$ as co,R as u}from"./index-aXz8NaAs.js";import{r as Xn,$ as os}from"./index-eaBuI5Jm.js";import{O as ls,P as Ru}from"./index-LANyd4EQ.js";import{q as is,r as Iu,s as ss,t as Au,i as Zn,v as _u,w as ku,x as $u,c as cs,y as ds,z as Ou,A as us,B as Tu,C as Mu,D as Lu,E as zu,F as Pu,G as Bu,H as fs,I as Fu,J as Hu,K as ps,_ as Nu,L as ju,M as Du,N as Yo,d as hs,O as gs,P as ms,Q as Uu,R as Vu,U as Wu,e as Gu,S as ii,k as Aa}from"./index-lmOu_tDR.js";import{d as qu}from"./index-PPLHz8o0.js";function fn(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var vs={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,a,l){function i(d,f){if(!a[d]){if(!n[d]){var g=typeof fn=="function"&&fn;if(!f&&g)return g(d,!0);if(c)return c(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}var p=a[d]={exports:{}};n[d][0].call(p.exports,function(v){var h=n[d][1][v];return i(h||v)},p,p.exports,r,n,a,l)}return a[d].exports}for(var c=typeof fn=="function"&&fn,s=0;s=0)return this.lastItem=this.list[c],this.list[c].val},l.prototype.set=function(i,c){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=c,this):(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],this.list[s].val=c,this):(this.lastItem={key:i,val:c},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(i){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),c=this.indexOf(i),c>=0)return this.size--,this.list.splice(c,1)[0]},l.prototype.has=function(i){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],!0):!1)},l.prototype.forEach=function(i,c){var s;for(s=0;s0&&(E[x]={cacheItem:v,arg:arguments[x]},b?i(g,E):g.push(E),g.length>d&&c(g.shift())),p.wasMemoized=b,p.numArgs=x+1,y};return p.limit=d,p.wasMemoized=!1,p.cache=f,p.lru=g,p}};function i(d,f){var g=d.length,m=f.length,p,v,h;for(v=0;v=0&&(g=d[p],m=g.cacheItem.get(g.arg),!m||!m.size);p--)g.cacheItem.delete(g.arg)}function s(d,f){return d===f||d!==d&&f!==f}},{"map-or-similar":1}]},{},[3])(3)})})(vs);var Yu=vs.exports;const Yt=Kn(Yu);var Ku=is,Xu=Iu,Zu=Object.prototype,Ju=Zu.hasOwnProperty;function Qu(e,t,r){var n=e[t];(!(Ju.call(e,t)&&Xu(n,r))||r===void 0&&!(t in e))&&Ku(e,t,r)}var Ko=Qu,ef=Ko,tf=ss,rf=Au,si=Zn,nf=_u;function af(e,t,r,n){if(!si(e))return e;t=tf(t,e);for(var a=-1,l=t.length,i=l-1,c=e;c!=null&&++a`control-${e.replace(/\s+/g,"-")}`,Jn=e=>`set-${e.replace(/\s+/g,"-")}`;const{global:Df}=__STORYBOOK_MODULE_GLOBAL__,{logger:Uf}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Vf=Object.create,ws=Object.defineProperty,Wf=Object.getOwnPropertyDescriptor,xs=Object.getOwnPropertyNames,Gf=Object.getPrototypeOf,qf=Object.prototype.hasOwnProperty,Zo=(e,t)=>function(){return t||(0,e[xs(e)[0]])((t={exports:{}}).exports,t),t.exports},Yf=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of xs(t))!qf.call(e,a)&&a!==r&&ws(e,a,{get:()=>t[a],enumerable:!(n=Wf(t,a))||n.enumerable});return e},Es=(e,t,r)=>(r=e!=null?Vf(Gf(e)):{},Yf(t||!e||!e.__esModule?ws(r,"default",{value:e,enumerable:!0}):r,e));function Rt(){return Rt=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?a-1:0),i=1;i=0&&a<1?(c=l,s=i):a>=1&&a<2?(c=i,s=l):a>=2&&a<3?(s=l,d=i):a>=3&&a<4?(s=i,d=l):a>=4&&a<5?(c=i,d=l):a>=5&&a<6&&(c=l,d=i);var f=r-l/2,g=c+f,m=s+f,p=d+f;return n(g,m,p)}var ci={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"};function rp(e){if(typeof e!="string")return e;var t=e.toLowerCase();return ci[t]?"#"+ci[t]:e}var np=/^#[a-fA-F0-9]{6}$/,ap=/^#[a-fA-F0-9]{8}$/,op=/^#[a-fA-F0-9]{3}$/,lp=/^#[a-fA-F0-9]{4}$/,ka=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,ip=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,sp=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,cp=/^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 Qn(e){if(typeof e!="string")throw new tt(3);var t=rp(e);if(t.match(np))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(ap)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(op))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(lp)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=ka.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var l=ip.exec(t.substring(0,50));if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])};var i=sp.exec(t);if(i){var c=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+jr(c,s,d)+")",g=ka.exec(f);if(!g)throw new tt(4,t,f);return{red:parseInt(""+g[1],10),green:parseInt(""+g[2],10),blue:parseInt(""+g[3],10)}}var m=cp.exec(t.substring(0,50));if(m){var p=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,h=parseInt(""+m[3],10)/100,y="rgb("+jr(p,v,h)+")",x=ka.exec(y);if(!x)throw new tt(4,t,y);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new tt(5)}function dp(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),l=Math.min(t,r,n),i=(a+l)/2;if(a===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var c,s=a-l,d=i>.5?s/(2-a-l):s/(a+l);switch(a){case t:c=(r-n)/s+(r=1?Bn(e,t,r):"rgba("+jr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Bn(e.hue,e.saturation,e.lightness):"rgba("+jr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new tt(2)}function ho(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return po("#"+Lt(e)+Lt(t)+Lt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return po("#"+Lt(e.red)+Lt(e.green)+Lt(e.blue));throw new tt(6)}function Dr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Qn(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?ho(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ho(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new tt(7)}var gp=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},mp=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},vp=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},bp=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Rs(e){if(typeof e!="object")throw new tt(8);if(mp(e))return Dr(e);if(gp(e))return ho(e);if(bp(e))return hp(e);if(vp(e))return pp(e);throw new tt(8)}function Is(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Is(e,t,n)}}function ea(e){return Is(e,e.length,[])}function ta(e,t,r){return Math.max(e,Math.min(t,r))}function yp(e,t){if(t==="transparent")return t;var r=Cs(t);return Rs(Rt({},r,{lightness:ta(0,1,r.lightness-parseFloat(e))}))}var wp=ea(yp),xp=wp;function Ep(e,t){if(t==="transparent")return t;var r=Cs(t);return Rs(Rt({},r,{lightness:ta(0,1,r.lightness+parseFloat(e))}))}var Sp=ea(Ep),Cp=Sp;function Rp(e,t){if(t==="transparent")return t;var r=Qn(t),n=typeof r.alpha=="number"?r.alpha:1,a=Rt({},r,{alpha:ta(0,1,(n*100+parseFloat(e)*100)/100)});return Dr(a)}var Ip=ea(Rp),Ap=Ip;function _p(e,t){if(t==="transparent")return t;var r=Qn(t),n=typeof r.alpha=="number"?r.alpha:1,a=Rt({},r,{alpha:ta(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Dr(a)}var kp=ea(_p),$p=kp,F={primary:"#FF4785",secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},Et={app:"#F6F9FC",bar:F.lightest,content:F.lightest,preview:F.lightest,gridCellSize:10,hoverable:$p(.9,F.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},rt={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},Op={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:Et.app,appContentBg:F.lightest,appPreviewBg:F.lightest,appBorderColor:F.border,appBorderRadius:4,fontBase:rt.fonts.base,fontCode:rt.fonts.mono,textColor:F.darkest,textInverseColor:F.lightest,textMutedColor:F.dark,barTextColor:F.mediumdark,barHoverColor:F.secondary,barSelectedColor:F.secondary,barBg:F.lightest,buttonBg:Et.app,buttonBorder:F.medium,booleanBg:F.mediumlight,booleanSelectedBg:F.lightest,inputBg:F.lightest,inputBorder:F.border,inputTextColor:F.darkest,inputBorderRadius:4},Fn=Op,Tp={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:F.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:rt.fonts.base,fontCode:rt.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:F.mediumdark,barHoverColor:F.secondary,barSelectedColor:F.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:F.lightest,inputBorderRadius:4},Mp=Tp,{window:Oa}=Df,Lp=e=>({color:e}),zp=e=>typeof e!="string"?(Uf.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,Pp=e=>!/(gradient|var|calc)/.test(e),Bp=(e,t)=>e==="darken"?Dr(`${xp(1,t)}`,.95):e==="lighten"?Dr(`${Cp(1,t)}`,.95):t,Fp=e=>t=>{if(!zp(t)||!Pp(t))return t;try{return Bp(e,t)}catch{return t}},Pr=Fp("lighten"),As=()=>!Oa||!Oa.matchMedia?"light":Oa.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",go={light:Fn,dark:Mp,normal:Fn};As();var Hp=function(t){return t()},_s=co.useInsertionEffect?co.useInsertionEffect:!1,Jo=_s||Hp,di=_s||o.useLayoutEffect;const{logger:Np}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var jp=Zo({"../../node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,l=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,c=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,f=t?Symbol.for("react.concurrent_mode"):60111,g=t?Symbol.for("react.forward_ref"):60112,m=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,y=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,E=t?Symbol.for("react.responder"):60118,b=t?Symbol.for("react.scope"):60119;function w(z){return typeof z=="string"||typeof z=="function"||z===a||z===f||z===i||z===l||z===m||z===p||typeof z=="object"&&z!==null&&(z.$$typeof===h||z.$$typeof===v||z.$$typeof===c||z.$$typeof===s||z.$$typeof===g||z.$$typeof===x||z.$$typeof===E||z.$$typeof===b||z.$$typeof===y)}function S(z){if(typeof z=="object"&&z!==null){var Pe=z.$$typeof;switch(Pe){case r:var De=z.type;switch(De){case d:case f:case a:case i:case l:case m:return De;default:var $t=De&&De.$$typeof;switch($t){case s:case g:case h:case v:case c:return $t;default:return Pe}}case n:return Pe}}}var C=d,R=f,I=s,_=c,k=r,$=g,O=a,T=h,H=v,M=n,L=i,N=l,U=m,B=!1;function D(z){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),J(z)||S(z)===d}function J(z){return S(z)===f}function oe(z){return S(z)===s}function Z(z){return S(z)===c}function Q(z){return typeof z=="object"&&z!==null&&z.$$typeof===r}function P(z){return S(z)===g}function V(z){return S(z)===a}function q(z){return S(z)===h}function de(z){return S(z)===v}function be(z){return S(z)===n}function st(z){return S(z)===i}function Ae(z){return S(z)===l}function je(z){return S(z)===m}e.AsyncMode=C,e.ConcurrentMode=R,e.ContextConsumer=I,e.ContextProvider=_,e.Element=k,e.ForwardRef=$,e.Fragment=O,e.Lazy=T,e.Memo=H,e.Portal=M,e.Profiler=L,e.StrictMode=N,e.Suspense=U,e.isAsyncMode=D,e.isConcurrentMode=J,e.isContextConsumer=oe,e.isContextProvider=Z,e.isElement=Q,e.isForwardRef=P,e.isFragment=V,e.isLazy=q,e.isMemo=de,e.isPortal=be,e.isProfiler=st,e.isStrictMode=Ae,e.isSuspense=je,e.isValidElementType=w,e.typeOf=S})()}}),Dp=Zo({"../../node_modules/react-is/index.js"(e,t){t.exports=jp()}}),ks=Zo({"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){var r=Dp(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[r.ForwardRef]=l,c[r.Memo]=i;function s(y){return r.isMemo(y)?i:c[y.$$typeof]||n}var d=Object.defineProperty,f=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,v=Object.prototype;function h(y,x,E){if(typeof x!="string"){if(v){var b=p(x);b&&b!==v&&h(y,b,E)}var w=f(x);g&&(w=w.concat(g(x)));for(var S=s(y),C=s(x),R=0;R0?pe(xr,--Se):0,ur--,ie===10&&(ur=1,na--),ie}function Ce(){return ie=Se2||Vr(ie)>3?"":" "}function n5(e,t){for(;--t&&Ce()&&!(ie<48||ie>102||ie>57&&ie<65||ie>70&&ie<97););return en(e,In()+(t<6&&ot()==32&&Ce()==32))}function vo(e){for(;Ce();)switch(ie){case e:return Se;case 34:case 39:e!==34&&e!==39&&vo(ie);break;case 40:e===41&&vo(e);break;case 92:Ce();break}return Se}function a5(e,t){for(;Ce()&&e+ie!==57&&!(e+ie===84&&ot()===47););return"/*"+en(t,Se-1)+"*"+ra(e===47?e:Ce())}function o5(e){for(;!Vr(ot());)Ce();return en(e,Se)}function l5(e){return zs(_n("",null,null,null,[""],e=Ls(e),0,[0],e))}function _n(e,t,r,n,a,l,i,c,s){for(var d=0,f=0,g=i,m=0,p=0,v=0,h=1,y=1,x=1,E=0,b="",w=a,S=l,C=n,R=b;y;)switch(v=E,E=Ce()){case 40:if(v!=108&&pe(R,g-1)==58){mo(R+=X(An(E),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:R+=An(E);break;case 9:case 10:case 13:case 32:R+=r5(v);break;case 92:R+=n5(In()-1,7);continue;case 47:switch(ot()){case 42:case 47:pn(i5(a5(Ce(),In()),t,r),s);break;default:R+="/"}break;case 123*h:c[d++]=Xe(R)*x;case 125*h:case 59:case 0:switch(E){case 0:case 125:y=0;case 59+f:x==-1&&(R=X(R,/\f/g,"")),p>0&&Xe(R)-g&&pn(p>32?fi(R+";",n,r,g-1):fi(X(R," ","")+";",n,r,g-2),s);break;case 59:R+=";";default:if(pn(C=ui(R,t,r,d,f,a,c,b,w=[],S=[],g),l),E===123)if(f===0)_n(R,t,C,C,w,l,g,c,S);else switch(m===99&&pe(R,3)===110?100:m){case 100:case 108:case 109:case 115:_n(e,C,C,n&&pn(ui(e,C,C,0,0,a,c,b,a,w=[],g),S),a,S,g,c,n?w:S);break;default:_n(R,C,C,C,[""],S,0,c,S)}}d=f=p=0,h=x=1,b=R="",g=i;break;case 58:g=1+Xe(R),p=v;default:if(h<1){if(E==123)--h;else if(E==125&&h++==0&&t5()==125)continue}switch(R+=ra(E),E*h){case 38:x=f>0?1:(R+="\f",-1);break;case 44:c[d++]=(Xe(R)-1)*x,x=1;break;case 64:ot()===45&&(R+=An(Ce())),m=ot(),f=g=Xe(b=R+=o5(In())),E++;break;case 45:v===45&&Xe(R)==2&&(h=0)}}return l}function ui(e,t,r,n,a,l,i,c,s,d,f){for(var g=a-1,m=a===0?l:[""],p=nl(m),v=0,h=0,y=0;v0?m[x]+" "+E:X(E,/&\f/g,m[x])))&&(s[y++]=b);return aa(e,t,r,a===0?tl:c,s,d,f)}function i5(e,t,r){return aa(e,t,r,el,ra(e5()),Ur(e,2,-2),0)}function fi(e,t,r,n){return aa(e,t,r,rl,Ur(e,0,n),Ur(e,n+1,-1),n)}function cr(e,t){for(var r="",n=nl(e),a=0;a-1},v5=function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var l=!!t.parent,i=l?t.parent.children:n,c=i.length-1;c>=0;c--){var s=i[c];if(s.line=0;r--)if(!Ps(t[r]))return!0;return!1},gi=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},y5=function(e,t,r){Ps(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),gi(e)):b5(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),gi(e)))};function Bs(e,t){switch(Zp(e,t)){case 5103:return K+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return K+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return K+e+Hn+e+ve+e+e;case 6828:case 4268:return K+e+ve+e+e;case 6165:return K+e+ve+"flex-"+e+e;case 5187:return K+e+X(e,/(\w+).+(:[^]+)/,K+"box-$1$2"+ve+"flex-$1$2")+e;case 5443:return K+e+ve+"flex-item-"+X(e,/flex-|-self/,"")+e;case 4675:return K+e+ve+"flex-line-pack"+X(e,/align-content|flex-|-self/,"")+e;case 5548:return K+e+ve+X(e,"shrink","negative")+e;case 5292:return K+e+ve+X(e,"basis","preferred-size")+e;case 6060:return K+"box-"+X(e,"-grow","")+K+e+ve+X(e,"grow","positive")+e;case 4554:return K+X(e,/([^-])(transform)/g,"$1"+K+"$2")+e;case 6187:return X(X(X(e,/(zoom-|grab)/,K+"$1"),/(image-set)/,K+"$1"),e,"")+e;case 5495:case 3959:return X(e,/(image-set\([^]*)/,K+"$1$`$1");case 4968:return X(X(e,/(.+:)(flex-)?(.*)/,K+"box-pack:$3"+ve+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+K+e+e;case 4095:case 3583:case 4068:case 2532:return X(e,/(.+)-inline(.+)/,K+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Xe(e)-1-t>6)switch(pe(e,t+1)){case 109:if(pe(e,t+4)!==45)break;case 102:return X(e,/(.+:)(.+)-([^]+)/,"$1"+K+"$2-$3$1"+Hn+(pe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~mo(e,"stretch")?Bs(X(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(pe(e,t+1)!==115)break;case 6444:switch(pe(e,Xe(e)-3-(~mo(e,"!important")&&10))){case 107:return X(e,":",":"+K)+e;case 101:return X(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+K+(pe(e,14)===45?"inline-":"")+"box$3$1"+K+"$2$3$1"+ve+"$2box$3")+e}break;case 5936:switch(pe(e,t+11)){case 114:return K+e+ve+X(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return K+e+ve+X(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return K+e+ve+X(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return K+e+ve+e+e}return e}var w5=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case rl:e.return=Bs(e.value,e.length);break;case Os:return cr([Or(e,{value:X(e.value,"@","@"+K)})],n);case tl:if(e.length)return Qp(e.props,function(a){switch(Jp(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return cr([Or(e,{props:[X(a,/:(read-\w+)/,":"+Hn+"$1")]})],n);case"::placeholder":return cr([Or(e,{props:[X(a,/:(plac\w+)/,":"+K+"input-$1")]}),Or(e,{props:[X(a,/:(plac\w+)/,":"+Hn+"$1")]}),Or(e,{props:[X(a,/:(plac\w+)/,ve+"input-$1")]})],n)}return""})}},x5=[w5],E5=function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. -If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var h=v.getAttribute("data-emotion");h.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=e.stylisPlugins||x5;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},l,i=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var h=v.getAttribute("data-emotion").split(" "),y=1;y=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var R5={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},mi=`You have illegal escape sequence in your template literal, most likely inside content's property value. -Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". -You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,I5="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",A5=/[A-Z]|^ms/g,Fs=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ol=function(e){return e.charCodeAt(1)===45},bi=function(e){return e!=null&&typeof e!="boolean"},Ta=$s(function(e){return ol(e)?e:e.replace(A5,"-$&").toLowerCase()}),Nn=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(Fs,function(r,n,a){return Ze={name:n,styles:a,next:Ze},n})}return R5[e]!==1&&!ol(e)&&typeof t=="number"&&t!==0?t+"px":t};yi=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,wi=["normal","none","initial","inherit","unset"],xi=Nn,Ei=/^-ms-/,Si=/-(.)/g,Ma={},Nn=function(e,t){if(e==="content"&&(typeof t!="string"||wi.indexOf(t)===-1&&!yi.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=xi(e,t);return r!==""&&!ol(e)&&e.indexOf("-")!==-1&&Ma[e]===void 0&&(Ma[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Ei,"ms-").replace(Si,function(n,a){return a.toUpperCase()})+"?")),r};var yi,wi,xi,Ei,Si,Ma,Hs="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Wr(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Hs);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Ze={name:r.name,styles:r.styles,next:Ze},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Ze={name:n.name,styles:n.styles,next:Ze},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return _5(e,t,r)}case"function":{if(e!==void 0){var l=Ze,i=r(e);return Ze=l,Wr(e,t,i)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var c=[],s=r.replace(Fs,function(f,g,m){var p="animation"+c.length;return c.push("const "+p+" = keyframes`"+m.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+p+"}"});c.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(c,["`"+s+"`"]).join(` -`)+` - -You should wrap it with \`css\` like this: - -`+("css`"+s+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}function _5(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Rt({},e,t)},O5=pi(function(e){return pi(function(t){return $5(e,t)})}),Ds=function(e){var t=o.useContext(It);return e.theme!==t&&(t=O5(t)(e.theme)),o.createElement(It.Provider,{value:t},e.children)},Ri="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ii="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",T5=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return oa(t,r,n),Jo(function(){return la(t,r,n)}),null},M5=ia(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[Ri],l=[n],i="";typeof e.className=="string"?i=al(t.registered,l,e.className):e.className!=null&&(i=e.className+" ");var c=fr(l,void 0,o.useContext(It));if(c.name.indexOf("-")===-1){var s=e[Ii];s&&(c=fr([c,"label:"+s+";"]))}i+=t.key+"-"+c.name;var d={};for(var f in e)k5.call(e,f)&&f!=="css"&&f!==Ri&&f!==Ii&&(d[f]=e[f]);return d.ref=r,d.className=i,o.createElement(o.Fragment,null,o.createElement(T5,{cache:t,serialized:c,isStringTag:typeof a=="string"}),o.createElement(a,d))});M5.displayName="EmotionCssPropInternal";Es(ks());var L5={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Ai=!1,z5=ia(function(e,t){!Ai&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Ai=!0);var r=e.styles,n=fr([r],void 0,o.useContext(It)),a=o.useRef();return di(function(){var l=t.key+"-global",i=new t.sheet.constructor({key:l,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),c=!1,s=document.querySelector('style[data-emotion="'+l+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),s!==null&&(c=!0,s.setAttribute("data-emotion",l),i.hydrate([s])),a.current=[i,c],function(){i.flush()}},[t]),di(function(){var l=a.current,i=l[0],c=l[1];if(c){l[1]=!1;return}if(n.next!==void 0&&la(t,n.next,!0),i.tags.length){var s=i.tags[i.tags.length-1].nextElementSibling;i.before=s,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});z5.displayName="EmotionGlobal";function il(){for(var e=arguments.length,t=new Array(e),r=0;r component."),i="";for(var c in l)l[c]&&c&&(i&&(i+=" "),i+=c)}break}default:i=l}i&&(a&&(a+=" "),a+=i)}}return a};function B5(e,t,r){var n=[],a=al(e,n,r);return n.length<2?r:a+t(n)}var F5=function(e){var t=e.cache,r=e.serializedArr;return Jo(function(){for(var n=0;n96?N5:j5},$i=function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(l){return e.__emotion_forwardProp(l)&&a(l)}:a}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},Oi=`You have illegal escape sequence in your template literal, most likely inside content's property value. -Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". -You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,D5=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return oa(t,r,n),Jo(function(){return la(t,r,n)}),null},U5=function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. -You may have forgotten to import it.`);var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,l,i;r!==void 0&&(l=r.label,i=r.target);var c=$i(t,r,n),s=c||ki(a),d=!s("as");return function(){var f=arguments,g=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(l!==void 0&&g.push("label:"+l+";"),f[0]==null||f[0].raw===void 0)g.push.apply(g,f);else{f[0][0]===void 0&&console.error(Oi),g.push(f[0][0]);for(var m=f.length,p=1;p({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));Yt(1)(({color:e,background:t,typography:r})=>{let n=W5({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var G5={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},q5=ht` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,Us=ht` - 0%, 100% { opacity: 1; } - 50% { opacity: .4; } -`,Y5=ht` - 0% { transform: translateY(1px); } - 25% { transform: translateY(0px); } - 50% { transform: translateY(-3px); } - 100% { transform: translateY(1px); } -`,K5=ht` - 0%, 100% { transform:translate3d(0,0,0); } - 12.5%, 62.5% { transform:translate3d(-4px,0,0); } - 37.5%, 87.5% { transform: translate3d(4px,0,0); } -`,X5=il` - animation: ${Us} 1.5s ease-in-out infinite; - color: transparent; - cursor: progress; -`,Z5=il` - transition: all 150ms ease-out; - transform: translate3d(0, 0, 0); - - &:hover { - transform: translate3d(0, -2px, 0); - } - - &:active { - transform: translate3d(0, 0, 0); - } -`,J5={rotate360:q5,glow:Us,float:Y5,jiggle:K5,inlineGlow:X5,hoverable:Z5},Q5={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},eh={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},th=e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:Lp(n)}),{}),rh=({colors:e,mono:t})=>{let r=th(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},nh={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},ah={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},oh=e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:F.tertiary,ancillary:F.ancillary,orange:F.orange,gold:F.gold,green:F.green,seafoam:F.seafoam,purple:F.purple,ultraviolet:F.ultraviolet,lightest:F.lightest,lighter:F.lighter,light:F.light,mediumlight:F.mediumlight,medium:F.medium,mediumdark:F.mediumdark,dark:F.dark,darker:F.darker,darkest:F.darkest,border:F.border,positive:F.positive,negative:F.negative,warning:F.warning,critical:F.critical,defaultText:e.textColor||F.darkest,inverseText:e.textInverseColor||F.lightest,positiveText:F.positiveText,negativeText:F.negativeText,warningText:F.warningText}),bo=(e=go[As()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:l,appPreviewBg:i,appBorderColor:c,appBorderRadius:s,fontBase:d,fontCode:f,textColor:g,textInverseColor:m,barTextColor:p,barHoverColor:v,barSelectedColor:h,barBg:y,buttonBg:x,buttonBorder:E,booleanBg:b,booleanSelectedBg:w,inputBg:S,inputBorder:C,inputTextColor:R,inputBorderRadius:I,brandTitle:_,brandUrl:k,brandImage:$,brandTarget:O,gridCellSize:T,...H}=e;return{...H,base:t,color:oh(e),background:{app:a,bar:y,content:l,preview:i,gridCellSize:T||Et.gridCellSize,hoverable:Et.hoverable,positive:Et.positive,negative:Et.negative,warning:Et.warning,critical:Et.critical},typography:{fonts:{base:d,mono:f},weight:rt.weight,size:rt.size},animation:J5,easing:G5,input:{background:S,border:C,borderRadius:I,color:R},button:{background:x||S,border:E||C},boolean:{background:b||C,selectedBackground:w||S},layoutMargin:10,appBorderColor:c,appBorderRadius:s,barTextColor:p,barHoverColor:v||n,barSelectedColor:h||n,barBg:y,brand:{title:_,url:k,image:$||(_?null:void 0),target:O},code:rh({colors:t==="light"?nh:ah,mono:f}),addonActionsTheme:{...t==="light"?eh:Q5,BASE_FONT_FAMILY:f,BASE_FONT_SIZE:rt.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:g,ARROW_COLOR:Ap(.2,c),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:f,TREENODE_FONT_SIZE:rt.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},lh=e=>Object.keys(e).length===0,Ba=e=>e!=null&&typeof e=="object",ih=(e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),sh=()=>Object.create(null),Vs=(e,t)=>e===t||!Ba(e)||!Ba(t)?{}:Object.keys(e).reduce((r,n)=>{if(ih(t,n)){let a=Vs(e[n],t[n]);return Ba(a)&&lh(a)||(r[n]=a),r}return r[n]=void 0,r},sh()),ch=Vs;function dh(e){for(var t=[],r=1;r{if(!e)return bo(Fn);let t=ch(Fn,e);return Object.keys(t).length&&Np.warn(dh` - Your theme is missing properties, you should update your theme! - - theme-data missing: - `,t),bo(e)},yo="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var fh=Object.create,cl=Object.defineProperty,ph=Object.getOwnPropertyDescriptor,Ws=Object.getOwnPropertyNames,hh=Object.getPrototypeOf,gh=Object.prototype.hasOwnProperty,j=(e,t)=>function(){return t||(0,e[Ws(e)[0]])((t={exports:{}}).exports,t),t.exports},mh=(e,t)=>{for(var r in t)cl(e,r,{get:t[r],enumerable:!0})},vh=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ws(t))!gh.call(e,a)&&a!==r&&cl(e,a,{get:()=>t[a],enumerable:!(n=ph(t,a))||n.enumerable});return e},Ie=(e,t,r)=>(r=e!=null?fh(hh(e)):{},vh(t||!e||!e.__esModule?cl(r,"default",{value:e,enumerable:!0}):r,e)),bh=j({"../../node_modules/refractor/lang/markdown.js"(e,t){t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var l=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(v){return v=v.replace(//g,function(){return l}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}var c=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return c}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+d+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+d+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(c),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(c),alias:"important",inside:a.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:i(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:i(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(v){["url","bold","italic","strike","code-snippet"].forEach(function(h){v!==h&&(a.languages.markdown[v].inside.content.inside[h]=a.languages.markdown[h])})}),a.hooks.add("after-tokenize",function(v){if(v.language!=="markdown"&&v.language!=="md")return;function h(y){if(!(!y||typeof y=="string"))for(var x=0,E=y.length;x",quot:'"'},m=String.fromCodePoint||String.fromCharCode;function p(v){var h=v.replace(f,"");return h=h.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(y,x){if(x=x.toLowerCase(),x[0]==="#"){var E;return x[1]==="x"?E=parseInt(x.slice(2),16):E=Number(x.slice(1)),m(E)}else{var b=g[x];return b||y}}),h}a.languages.md=a.languages.markdown})(n)}}}),yh=j({"../../node_modules/refractor/lang/yaml.js"(e,t){t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var l=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,c="(?:"+i.source+"(?:[ ]+"+l.source+")?|"+l.source+"(?:[ ]+"+i.source+")?)",s=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function f(g,m){m=(m||"").replace(/m/g,"")+"m";var p=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return c}).replace(/<>/g,function(){return g});return RegExp(p,m)}a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return c})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return c}).replace(/<>/g,function(){return"(?:"+s+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:f(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:f(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:f(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:f(d),lookbehind:!0,greedy:!0},number:{pattern:f(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:l,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}}}),Gs=j({"../../node_modules/refractor/lang/typescript.js"(e,t){t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),a.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var l=a.languages.extend("typescript",{});delete l["class-name"],a.languages.typescript["class-name"].inside=l,a.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:l}}}}),a.languages.ts=a.languages.typescript})(n)}}}),qs=j({"../../node_modules/refractor/lang/jsx.js"(e,t){t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var l=a.util.clone(a.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,c=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(m,p){return m=m.replace(//g,function(){return i}).replace(//g,function(){return c}).replace(//g,function(){return s}),RegExp(m,p)}s=d(s).source,a.languages.jsx=a.languages.extend("markup",l),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=l.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var f=function(m){return m?typeof m=="string"?m:typeof m.content=="string"?m.content:m.content.map(f).join(""):""},g=function(m){for(var p=[],v=0;v0&&p[p.length-1].tagName===f(h.content[0].content[1])&&p.pop():h.content[h.content.length-1].content==="/>"||p.push({tagName:f(h.content[0].content[1]),openedBraces:0}):p.length>0&&h.type==="punctuation"&&h.content==="{"?p[p.length-1].openedBraces++:p.length>0&&p[p.length-1].openedBraces>0&&h.type==="punctuation"&&h.content==="}"?p[p.length-1].openedBraces--:y=!0),(y||typeof h=="string")&&p.length>0&&p[p.length-1].openedBraces===0){var x=f(h);v0&&(typeof m[v-1]=="string"||m[v-1].type==="plain-text")&&(x=f(m[v-1])+x,m.splice(v-1,1),v--),m[v]=new a.Token("plain-text",x,null,x)}h.content&&typeof h.content!="string"&&g(h.content)}};a.hooks.add("after-tokenize",function(m){m.language!=="jsx"&&m.language!=="tsx"||g(m.tokens)})})(n)}}}),wh=j({"../../node_modules/refractor/lang/tsx.js"(e,t){var r=qs(),n=Gs();t.exports=a,a.displayName="tsx",a.aliases=[];function a(l){l.register(r),l.register(n),function(i){var c=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",c),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var s=i.languages.tsx.tag;s.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+s.pattern.source+")",s.pattern.flags),s.lookbehind=!0}(l)}}}),xh=j({"../../node_modules/refractor/lang/clike.js"(e,t){t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}}}),Eh=j({"../../node_modules/refractor/lang/javascript.js"(e,t){t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}}}),Ys=j({"../../node_modules/refractor/lang/css.js"(e,t){t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var l=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+l.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+l.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+l.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:l,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var i=a.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(n)}}}),Ks=j({"../../node_modules/refractor/lang/markup.js"(e,t){t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(a,l){var i={};i["language-"+l]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[l]},i.cdata=/^$/i;var c={"included-cdata":{pattern://i,inside:i}};c["language-"+l]={pattern:/[\s\S]+/,inside:n.languages[l]};var s={};s[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:c},n.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(a,l){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[l,"language-"+l],inside:n.languages[l]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}}}),Sh=j({"../../node_modules/xtend/immutable.js"(e,t){t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},l=0;l4&&y.slice(0,4)===l&&i.test(h)&&(h.charAt(4)==="-"?x=f(h):h=g(h),E=n),new E(x,h))}function f(v){var h=v.slice(5).replace(c,p);return l+h.charAt(0).toUpperCase()+h.slice(1)}function g(v){var h=v.slice(4);return c.test(h)?v:(h=h.replace(s,m),h.charAt(0)!=="-"&&(h="-"+h),l+h)}function m(v){return"-"+v.toLowerCase()}function p(v){return v.charAt(1).toUpperCase()}}}),Mh=j({"../../node_modules/hast-util-parse-selector/index.js"(e,t){t.exports=n;var r=/[#.]/g;function n(a,l){for(var i=a||"",c=l||"div",s={},d=0,f,g,m;d",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}}),Nh=j({"../../node_modules/refractor/node_modules/character-reference-invalid/index.json"(e,t){t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}}),ec=j({"../../node_modules/refractor/node_modules/is-decimal/index.js"(e,t){t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}}}),jh=j({"../../node_modules/refractor/node_modules/is-hexadecimal/index.js"(e,t){t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=102||a>=65&&a<=70||a>=48&&a<=57}}}),Dh=j({"../../node_modules/refractor/node_modules/is-alphabetical/index.js"(e,t){t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=122||a>=65&&a<=90}}}),Uh=j({"../../node_modules/refractor/node_modules/is-alphanumerical/index.js"(e,t){var r=Dh(),n=ec();t.exports=a;function a(l){return r(l)||n(l)}}}),Vh=j({"../../node_modules/refractor/node_modules/parse-entities/decode-entity.browser.js"(e,t){var r,n=59;t.exports=a;function a(l){var i="&"+l+";",c;return r=r||document.createElement("i"),r.innerHTML=i,c=r.textContent,c.charCodeAt(c.length-1)===n&&l!=="semi"||c===i?!1:c}}}),Wh=j({"../../node_modules/refractor/node_modules/parse-entities/index.js"(e,t){var r=Hh(),n=Nh(),a=ec(),l=jh(),i=Uh(),c=Vh();t.exports=J;var s={}.hasOwnProperty,d=String.fromCharCode,f=Function.prototype,g={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},m=9,p=10,v=12,h=32,y=38,x=59,E=60,b=61,w=35,S=88,C=120,R=65533,I="named",_="hexadecimal",k="decimal",$={};$[_]=16,$[k]=10;var O={};O[I]=i,O[k]=a,O[_]=l;var T=1,H=2,M=3,L=4,N=5,U=6,B=7,D={};D[T]="Named character references must be terminated by a semicolon",D[H]="Numeric character references must be terminated by a semicolon",D[M]="Named character references cannot be empty",D[L]="Numeric character references cannot be empty",D[N]="Named character references must be known",D[U]="Numeric character references cannot be disallowed",D[B]="Numeric character references cannot be outside the permissible Unicode range";function J(P,V){var q={},de,be;V||(V={});for(be in g)de=V[be],q[be]=de??g[be];return(q.position.indent||q.position.start)&&(q.indent=q.position.indent||[],q.position=q.position.start),oe(P,q)}function oe(P,V){var q=V.additional,de=V.nonTerminated,be=V.text,st=V.reference,Ae=V.warning,je=V.textContext,z=V.referenceContext,Pe=V.warningContext,De=V.position,$t=V.indent||[],Jt=P.length,Ue=0,cn=-1,ye=De.column||1,Ot=De.line||1,Ve="",Qt=[],We,er,Ge,he,Be,ue,le,qe,dn,Ra,Tt,_r,Mt,ct,ni,kr,un,Ye,fe;for(typeof q=="string"&&(q=q.charCodeAt(0)),kr=$r(),qe=Ae?Cu:f,Ue--,Jt++;++Ue65535&&(ue-=65536,Ra+=d(ue>>>10|55296),ue=56320|ue&1023),ue=Ra+d(ue))):ct!==I&&qe(L,Ye)),ue?(ai(),kr=$r(),Ue=fe-1,ye+=fe-Mt+1,Qt.push(ue),un=$r(),un.offset++,st&&st.call(z,ue,{start:kr,end:un},P.slice(Mt-1,fe)),kr=un):(he=P.slice(Mt-1,fe),Ve+=he,ye+=he.length,Ue=fe-1)}else Be===10&&(Ot++,cn++,ye=0),Be===Be?(Ve+=d(Be),ye++):ai();return Qt.join("");function $r(){return{line:Ot,column:ye,offset:Ue+(De.offset||0)}}function Cu(oi,li){var Ia=$r();Ia.column+=li,Ia.offset+=li,Ae.call(Pe,D[oi],Ia,oi)}function ai(){Ve&&(Qt.push(Ve),be&&be.call(je,Ve,{start:kr,end:$r()}),Ve="")}}function Z(P){return P>=55296&&P<=57343||P>1114111}function Q(P){return P>=1&&P<=8||P===11||P>=13&&P<=31||P>=127&&P<=159||P>=64976&&P<=65007||(P&65535)===65535||(P&65535)===65534}}}),Gh=j({"../../node_modules/refractor/node_modules/prismjs/components/prism-core.js"(e,t){var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var l=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,c={},s={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:function b(w){return w instanceof d?new d(w.type,b(w.content),w.alias):Array.isArray(w)?w.map(b):w.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(C){var b=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(C.stack)||[])[1];if(b){var w=document.getElementsByTagName("script");for(var S in w)if(w[S].src==b)return w[S]}return null}},isActive:function(b,w,S){for(var C="no-"+w;b;){var R=b.classList;if(R.contains(w))return!0;if(R.contains(C))return!1;b=b.parentElement}return!!S}},languages:{plain:c,plaintext:c,text:c,txt:c,extend:function(b,w){var S=s.util.clone(s.languages[b]);for(var C in w)S[C]=w[C];return S},insertBefore:function(b,w,S,C){C=C||s.languages;var R=C[b],I={};for(var _ in R)if(R.hasOwnProperty(_)){if(_==w)for(var k in S)S.hasOwnProperty(k)&&(I[k]=S[k]);S.hasOwnProperty(_)||(I[_]=R[_])}var $=C[b];return C[b]=I,s.languages.DFS(s.languages,function(O,T){T===$&&O!=b&&(this[O]=I)}),I},DFS:function b(w,S,C,R){R=R||{};var I=s.util.objId;for(var _ in w)if(w.hasOwnProperty(_)){S.call(w,_,w[_],C||_);var k=w[_],$=s.util.type(k);$==="Object"&&!R[I(k)]?(R[I(k)]=!0,b(k,S,null,R)):$==="Array"&&!R[I(k)]&&(R[I(k)]=!0,b(k,S,_,R))}}},plugins:{},highlightAll:function(b,w){s.highlightAllUnder(document,b,w)},highlightAllUnder:function(b,w,S){var C={callback:S,container:b,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",C),C.elements=Array.prototype.slice.apply(C.container.querySelectorAll(C.selector)),s.hooks.run("before-all-elements-highlight",C);for(var R=0,I;I=C.elements[R++];)s.highlightElement(I,w===!0,C.callback)},highlightElement:function(b,w,S){var C=s.util.getLanguage(b),R=s.languages[C];s.util.setLanguage(b,C);var I=b.parentElement;I&&I.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(I,C);var _=b.textContent,k={element:b,language:C,grammar:R,code:_};function $(T){k.highlightedCode=T,s.hooks.run("before-insert",k),k.element.innerHTML=k.highlightedCode,s.hooks.run("after-highlight",k),s.hooks.run("complete",k),S&&S.call(k.element)}if(s.hooks.run("before-sanity-check",k),I=k.element.parentElement,I&&I.nodeName.toLowerCase()==="pre"&&!I.hasAttribute("tabindex")&&I.setAttribute("tabindex","0"),!k.code){s.hooks.run("complete",k),S&&S.call(k.element);return}if(s.hooks.run("before-highlight",k),!k.grammar){$(s.util.encode(k.code));return}if(w&&a.Worker){var O=new Worker(s.filename);O.onmessage=function(T){$(T.data)},O.postMessage(JSON.stringify({language:k.language,code:k.code,immediateClose:!0}))}else $(s.highlight(k.code,k.grammar,k.language))},highlight:function(b,w,S){var C={code:b,grammar:w,language:S};if(s.hooks.run("before-tokenize",C),!C.grammar)throw new Error('The language "'+C.language+'" has no grammar.');return C.tokens=s.tokenize(C.code,C.grammar),s.hooks.run("after-tokenize",C),d.stringify(s.util.encode(C.tokens),C.language)},tokenize:function(b,w){var S=w.rest;if(S){for(var C in S)w[C]=S[C];delete w.rest}var R=new m;return p(R,R.head,b),g(b,R,w,R.head,0),h(R)},hooks:{all:{},add:function(b,w){var S=s.hooks.all;S[b]=S[b]||[],S[b].push(w)},run:function(b,w){var S=s.hooks.all[b];if(!(!S||!S.length))for(var C=0,R;R=S[C++];)R(w)}},Token:d};a.Prism=s;function d(b,w,S,C){this.type=b,this.content=w,this.alias=S,this.length=(C||"").length|0}d.stringify=function b(w,S){if(typeof w=="string")return w;if(Array.isArray(w)){var C="";return w.forEach(function($){C+=b($,S)}),C}var R={type:w.type,content:b(w.content,S),tag:"span",classes:["token",w.type],attributes:{},language:S},I=w.alias;I&&(Array.isArray(I)?Array.prototype.push.apply(R.classes,I):R.classes.push(I)),s.hooks.run("wrap",R);var _="";for(var k in R.attributes)_+=" "+k+'="'+(R.attributes[k]||"").replace(/"/g,""")+'"';return"<"+R.tag+' class="'+R.classes.join(" ")+'"'+_+">"+R.content+""};function f(b,w,S,C){b.lastIndex=w;var R=b.exec(S);if(R&&C&&R[1]){var I=R[1].length;R.index+=I,R[0]=R[0].slice(I)}return R}function g(b,w,S,C,R,I){for(var _ in S)if(!(!S.hasOwnProperty(_)||!S[_])){var k=S[_];k=Array.isArray(k)?k:[k];for(var $=0;$=I.reach);D+=B.value.length,B=B.next){var J=B.value;if(w.length>b.length)return;if(!(J instanceof d)){var oe=1,Z;if(M){if(Z=f(U,D,b,H),!Z||Z.index>=b.length)break;var q=Z.index,Q=Z.index+Z[0].length,P=D;for(P+=B.value.length;q>=P;)B=B.next,P+=B.value.length;if(P-=B.value.length,D=P,B.value instanceof d)continue;for(var V=B;V!==w.tail&&(PI.reach&&(I.reach=Ae);var je=B.prev;be&&(je=p(w,je,be),D+=be.length),v(w,je,oe);var z=new d(_,T?s.tokenize(de,T):de,L,de);if(B=p(w,je,z),st&&p(w,B,st),oe>1){var Pe={cause:_+","+$,reach:Ae};g(b,w,S,B.prev,D,Pe),I&&Pe.reach>I.reach&&(I.reach=Pe.reach)}}}}}}function m(){var b={value:null,prev:null,next:null},w={value:null,prev:b,next:null};b.next=w,this.head=b,this.tail=w,this.length=0}function p(b,w,S){var C=w.next,R={value:S,prev:w,next:C};return w.next=R,C.prev=R,b.length++,R}function v(b,w,S){for(var C=w.next,R=0;R>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+l),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};a.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+l),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:c},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:c},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:c.entity}}],environment:{pattern:RegExp("\\$?"+l),alias:"constant"},variable:c.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=a.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=c.variable[1].inside,f=0;f/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),m)}a.languages.insertBefore("javascript","keyword",{imports:{pattern:l(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:l(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:l(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var i=["function","function-variable","method","method-variable","property-access"],c=0;c0)){var h=d(/^\{$/,/^\}$/);if(h===-1)continue;for(var y=i;y=0&&f(x,"variable-input")}}}}})}}});function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(r=>Jh(r,t))}function Er(...e){return o.useCallback(tc(...e),e)}const rn=o.forwardRef((e,t)=>{const{children:r,...n}=e,a=o.Children.toArray(r),l=a.find(eg);if(l){const i=l.props.children,c=a.map(s=>s===l?o.Children.count(i)>1?o.Children.only(null):o.isValidElement(i)?i.props.children:null:s);return o.createElement(wo,ne({},n,{ref:t}),o.isValidElement(i)?o.cloneElement(i,void 0,c):null)}return o.createElement(wo,ne({},n,{ref:t}),r)});rn.displayName="Slot";const wo=o.forwardRef((e,t)=>{const{children:r,...n}=e;return o.isValidElement(r)?o.cloneElement(r,{...tg(n,r.props),ref:t?tc(t,r.ref):r.ref}):o.Children.count(r)>1?o.Children.only(null):null});wo.displayName="SlotClone";const Qh=({children:e})=>o.createElement(o.Fragment,null,e);function eg(e){return o.isValidElement(e)&&e.type===Qh}function tg(e,t){const r={...t};for(const n in t){const a=e[n],l=t[n];/^on[A-Z]/.test(n)?a&&l?r[n]=(...c)=>{l(...c),a(...c)}:a&&(r[n]=a):n==="style"?r[n]={...a,...l}:n==="className"&&(r[n]=[a,l].filter(Boolean).join(" "))}return{...e,...r}}const{logger:rg}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{global:ng}=__STORYBOOK_MODULE_GLOBAL__;var ag=Ie(qs()),og=ag.default,lg=Ie(Yh()),ig=lg.default,sg=Ie(Ys()),cg=sg.default,dg=Ie(Kh()),ug=dg.default,fg=Ie(Xh()),pg=fg.default,hg=Ie(Zh()),gg=hg.default,mg=Ie(Ks()),vg=mg.default,bg=Ie(bh()),yg=bg.default,wg=Ie(yh()),xg=wg.default,Eg=Ie(wh()),Sg=Eg.default,Cg=Ie(Gs()),Rg=Cg.default;function Ig(e,t){if(e==null)return{};var r=sl(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function xo(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var Fa={};function zg(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return Fa[t]||(Fa[t]=Lg(e)),Fa[t]}function Pg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(l){return l!=="token"}),a=zg(n);return a.reduce(function(l,i){return ir(ir({},l),r[i])},t)}function Mi(e){return e.join(" ")}function Bg(e,t){var r=0;return function(n){return r+=1,n.map(function(a,l){return fl({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(l)})})}}function fl(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,l=e.useInlineStyles,i=e.key,c=t.properties,s=t.type,d=t.tagName,f=t.value;if(s==="text")return f;if(d){var g=Bg(r,l),m;if(!l)m=ir(ir({},c),{},{className:Mi(c.className)});else{var p=Object.keys(r).reduce(function(x,E){return E.split(".").forEach(function(b){x.includes(b)||x.push(b)}),x},[]),v=c.className&&c.className.includes("token")?["token"]:[],h=c.className&&v.concat(c.className.filter(function(x){return!p.includes(x)}));m=ir(ir({},c),{},{className:Mi(h)||void 0,style:Pg(c.className,Object.assign({},c.style,a),r)})}var y=g(t.children);return u.createElement(d,Y({key:i},m),y)}}var Fg=function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},Hg=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Li(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Je(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return kn({children:S,lineNumber:C,lineNumberStyle:c,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:R,showLineNumbers:n,wrapLongLines:s})}function h(S,C){if(n&&C&&a){var R=ac(c,C,i);S.unshift(nc(C,R))}return S}function y(S,C){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||R.length>0?v(S,C,R):h(S,C)}for(var x=function(){var S=f[p],C=S.children[0].value,R=jg(C);if(R){var I=C.split(` -`);I.forEach(function(_,k){var $=n&&g.length+l,O={type:"text",value:"".concat(_,` -`)};if(k===0){var T=f.slice(m+1,p).concat(kn({children:[O],className:S.properties.className})),H=y(T,$);g.push(H)}else if(k===I.length-1){var M=f[p+1]&&f[p+1].children&&f[p+1].children[0],L={type:"text",value:"".concat(_)};if(M){var N=kn({children:[L],className:S.properties.className});f.splice(p+1,0,N)}else{var U=[L],B=y(U,$,S.properties.className);g.push(B)}}else{var D=[O],J=y(D,$,S.properties.className);g.push(J)}}),m=p}p++};p({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),ic=A.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5});ic.displayName="ActionButton";var ml=({actionItems:e,...t})=>u.createElement(Kg,{...t},e.map(({title:r,className:n,onClick:a,disabled:l},i)=>u.createElement(ic,{key:i,className:n,onClick:a,disabled:l},r))),Xg=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],nn=Xg.reduce((e,t)=>{let r=o.forwardRef((n,a)=>{let{asChild:l,...i}=n,c=l?rn:t;return o.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),o.createElement(c,Y({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Zg(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Jg(...e){return t=>e.forEach(r=>Zg(r,t))}function Kt(...e){return o.useCallback(Jg(...e),e)}var Eo=globalThis!=null&&globalThis.document?o.useLayoutEffect:()=>{};function Qg(e,t){return o.useReducer((r,n)=>t[r][n]??r,e)}var an=e=>{let{present:t,children:r}=e,n=em(t),a=typeof r=="function"?r({present:n.isPresent}):o.Children.only(r),l=Kt(n.ref,a.ref);return typeof r=="function"||n.isPresent?o.cloneElement(a,{ref:l}):null};an.displayName="Presence";function em(e){let[t,r]=o.useState(),n=o.useRef({}),a=o.useRef(e),l=o.useRef("none"),i=e?"mounted":"unmounted",[c,s]=Qg(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return o.useEffect(()=>{let d=hn(n.current);l.current=c==="mounted"?d:"none"},[c]),Eo(()=>{let d=n.current,f=a.current;if(f!==e){let g=l.current,m=hn(d);e?s("MOUNT"):m==="none"||(d==null?void 0:d.display)==="none"?s("UNMOUNT"):s(f&&g!==m?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,s]),Eo(()=>{if(t){let d=g=>{let m=hn(n.current).includes(g.animationName);g.target===t&&m&&Xn.flushSync(()=>s("ANIMATION_END"))},f=g=>{g.target===t&&(l.current=hn(n.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:o.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function hn(e){return(e==null?void 0:e.animationName)||"none"}function tm(e,t=[]){let r=[];function n(l,i){let c=o.createContext(i),s=r.length;r=[...r,i];function d(g){let{scope:m,children:p,...v}=g,h=(m==null?void 0:m[e][s])||c,y=o.useMemo(()=>v,Object.values(v));return o.createElement(h.Provider,{value:y},p)}function f(g,m){let p=(m==null?void 0:m[e][s])||c,v=o.useContext(p);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${g}\` must be used within \`${l}\``)}return d.displayName=l+"Provider",[d,f]}let a=()=>{let l=r.map(i=>o.createContext(i));return function(i){let c=(i==null?void 0:i[e])||l;return o.useMemo(()=>({[`__scope${e}`]:{...i,[e]:c}}),[i,c])}};return a.scopeName=e,[n,rm(a,...t)]}function rm(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(a){let l=n.reduce((i,{useScope:c,scopeName:s})=>{let d=c(a)[`__scope${s}`];return{...i,...d}},{});return o.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return r.scopeName=t.scopeName,r}function Ft(e){let t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}var nm=o.createContext(void 0);function am(e){let t=o.useContext(nm);return e||t||"ltr"}function om(e,[t,r]){return Math.min(r,Math.max(t,e))}function jt(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)}}function lm(e,t){return o.useReducer((r,n)=>t[r][n]??r,e)}var sc="ScrollArea",[cc,j$]=tm(sc),[im,Le]=cc(sc),sm=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:l=600,...i}=e,[c,s]=o.useState(null),[d,f]=o.useState(null),[g,m]=o.useState(null),[p,v]=o.useState(null),[h,y]=o.useState(null),[x,E]=o.useState(0),[b,w]=o.useState(0),[S,C]=o.useState(!1),[R,I]=o.useState(!1),_=Kt(t,$=>s($)),k=am(a);return o.createElement(im,{scope:r,type:n,dir:k,scrollHideDelay:l,scrollArea:c,viewport:d,onViewportChange:f,content:g,onContentChange:m,scrollbarX:p,onScrollbarXChange:v,scrollbarXEnabled:S,onScrollbarXEnabledChange:C,scrollbarY:h,onScrollbarYChange:y,scrollbarYEnabled:R,onScrollbarYEnabledChange:I,onCornerWidthChange:E,onCornerHeightChange:w},o.createElement(nn.div,Y({dir:k},i,{ref:_,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":b+"px",...e.style}})))}),cm="ScrollAreaViewport",dm=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,...a}=e,l=Le(cm,r),i=o.useRef(null),c=Kt(t,i,l.onViewportChange);return o.createElement(o.Fragment,null,o.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),o.createElement(nn.div,Y({"data-radix-scroll-area-viewport":""},a,{ref:c,style:{overflowX:l.scrollbarXEnabled?"scroll":"hidden",overflowY:l.scrollbarYEnabled?"scroll":"hidden",...e.style}}),o.createElement("div",{ref:l.onContentChange,style:{minWidth:"100%",display:"table"}},n)))}),gt="ScrollAreaScrollbar",um=o.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Le(gt,e.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:i}=a,c=e.orientation==="horizontal";return o.useEffect(()=>(c?l(!0):i(!0),()=>{c?l(!1):i(!1)}),[c,l,i]),a.type==="hover"?o.createElement(fm,Y({},n,{ref:t,forceMount:r})):a.type==="scroll"?o.createElement(pm,Y({},n,{ref:t,forceMount:r})):a.type==="auto"?o.createElement(dc,Y({},n,{ref:t,forceMount:r})):a.type==="always"?o.createElement(vl,Y({},n,{ref:t})):null}),fm=o.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Le(gt,e.__scopeScrollArea),[l,i]=o.useState(!1);return o.useEffect(()=>{let c=a.scrollArea,s=0;if(c){let d=()=>{window.clearTimeout(s),i(!0)},f=()=>{s=window.setTimeout(()=>i(!1),a.scrollHideDelay)};return c.addEventListener("pointerenter",d),c.addEventListener("pointerleave",f),()=>{window.clearTimeout(s),c.removeEventListener("pointerenter",d),c.removeEventListener("pointerleave",f)}}},[a.scrollArea,a.scrollHideDelay]),o.createElement(an,{present:r||l},o.createElement(dc,Y({"data-state":l?"visible":"hidden"},n,{ref:t})))}),pm=o.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Le(gt,e.__scopeScrollArea),l=e.orientation==="horizontal",i=ca(()=>s("SCROLL_END"),100),[c,s]=lm("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return o.useEffect(()=>{if(c==="idle"){let d=window.setTimeout(()=>s("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[c,a.scrollHideDelay,s]),o.useEffect(()=>{let d=a.viewport,f=l?"scrollLeft":"scrollTop";if(d){let g=d[f],m=()=>{let p=d[f];g!==p&&(s("SCROLL"),i()),g=p};return d.addEventListener("scroll",m),()=>d.removeEventListener("scroll",m)}},[a.viewport,l,s,i]),o.createElement(an,{present:r||c!=="hidden"},o.createElement(vl,Y({"data-state":c==="hidden"?"hidden":"visible"},n,{ref:t,onPointerEnter:jt(e.onPointerEnter,()=>s("POINTER_ENTER")),onPointerLeave:jt(e.onPointerLeave,()=>s("POINTER_LEAVE"))})))}),dc=o.forwardRef((e,t)=>{let r=Le(gt,e.__scopeScrollArea),{forceMount:n,...a}=e,[l,i]=o.useState(!1),c=e.orientation==="horizontal",s=ca(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=Le(gt,e.__scopeScrollArea),l=o.useRef(null),i=o.useRef(0),[c,s]=o.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=hc(c.viewport,c.content),f={...n,sizes:c,onSizesChange:s,hasThumb:d>0&&d<1,onThumbChange:m=>l.current=m,onThumbPointerUp:()=>i.current=0,onThumbPointerDown:m=>i.current=m};function g(m,p){return xm(m,i.current,c,p)}return r==="horizontal"?o.createElement(hm,Y({},f,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&l.current){let m=a.viewport.scrollLeft,p=zi(m,c,a.dir);l.current.style.transform=`translate3d(${p}px, 0, 0)`}},onWheelScroll:m=>{a.viewport&&(a.viewport.scrollLeft=m)},onDragScroll:m=>{a.viewport&&(a.viewport.scrollLeft=g(m,a.dir))}})):r==="vertical"?o.createElement(gm,Y({},f,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&l.current){let m=a.viewport.scrollTop,p=zi(m,c);l.current.style.transform=`translate3d(0, ${p}px, 0)`}},onWheelScroll:m=>{a.viewport&&(a.viewport.scrollTop=m)},onDragScroll:m=>{a.viewport&&(a.viewport.scrollTop=g(m))}})):null}),hm=o.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,l=Le(gt,e.__scopeScrollArea),[i,c]=o.useState(),s=o.useRef(null),d=Kt(t,s,l.onScrollbarXChange);return o.useEffect(()=>{s.current&&c(getComputedStyle(s.current))},[s]),o.createElement(fc,Y({"data-orientation":"horizontal"},a,{ref:d,sizes:r,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":sa(r)+"px",...e.style},onThumbPointerDown:f=>e.onThumbPointerDown(f.x),onDragScroll:f=>e.onDragScroll(f.x),onWheelScroll:(f,g)=>{if(l.viewport){let m=l.viewport.scrollLeft+f.deltaX;e.onWheelScroll(m),mc(m,g)&&f.preventDefault()}},onResize:()=>{s.current&&l.viewport&&i&&n({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:s.current.clientWidth,paddingStart:jn(i.paddingLeft),paddingEnd:jn(i.paddingRight)}})}}))}),gm=o.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,l=Le(gt,e.__scopeScrollArea),[i,c]=o.useState(),s=o.useRef(null),d=Kt(t,s,l.onScrollbarYChange);return o.useEffect(()=>{s.current&&c(getComputedStyle(s.current))},[s]),o.createElement(fc,Y({"data-orientation":"vertical"},a,{ref:d,sizes:r,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":sa(r)+"px",...e.style},onThumbPointerDown:f=>e.onThumbPointerDown(f.y),onDragScroll:f=>e.onDragScroll(f.y),onWheelScroll:(f,g)=>{if(l.viewport){let m=l.viewport.scrollTop+f.deltaY;e.onWheelScroll(m),mc(m,g)&&f.preventDefault()}},onResize:()=>{s.current&&l.viewport&&i&&n({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:s.current.clientHeight,paddingStart:jn(i.paddingTop),paddingEnd:jn(i.paddingBottom)}})}}))}),[mm,uc]=cc(gt),fc=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:l,onThumbPointerUp:i,onThumbPointerDown:c,onThumbPositionChange:s,onDragScroll:d,onWheelScroll:f,onResize:g,...m}=e,p=Le(gt,r),[v,h]=o.useState(null),y=Kt(t,_=>h(_)),x=o.useRef(null),E=o.useRef(""),b=p.viewport,w=n.content-n.viewport,S=Ft(f),C=Ft(s),R=ca(g,10);function I(_){if(x.current){let k=_.clientX-x.current.left,$=_.clientY-x.current.top;d({x:k,y:$})}}return o.useEffect(()=>{let _=k=>{let $=k.target;v!=null&&v.contains($)&&S(k,w)};return document.addEventListener("wheel",_,{passive:!1}),()=>document.removeEventListener("wheel",_,{passive:!1})},[b,v,w,S]),o.useEffect(C,[n,C]),pr(v,R),pr(p.content,R),o.createElement(mm,{scope:r,scrollbar:v,hasThumb:a,onThumbChange:Ft(l),onThumbPointerUp:Ft(i),onThumbPositionChange:C,onThumbPointerDown:Ft(c)},o.createElement(nn.div,Y({},m,{ref:y,style:{position:"absolute",...m.style},onPointerDown:jt(e.onPointerDown,_=>{_.button===0&&(_.target.setPointerCapture(_.pointerId),x.current=v.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",p.viewport&&(p.viewport.style.scrollBehavior="auto"),I(_))}),onPointerMove:jt(e.onPointerMove,I),onPointerUp:jt(e.onPointerUp,_=>{let k=_.target;k.hasPointerCapture(_.pointerId)&&k.releasePointerCapture(_.pointerId),document.body.style.webkitUserSelect=E.current,p.viewport&&(p.viewport.style.scrollBehavior=""),x.current=null})})))}),So="ScrollAreaThumb",vm=o.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=uc(So,e.__scopeScrollArea);return o.createElement(an,{present:r||a.hasThumb},o.createElement(bm,Y({ref:t},n)))}),bm=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,l=Le(So,r),i=uc(So,r),{onThumbPositionChange:c}=i,s=Kt(t,g=>i.onThumbChange(g)),d=o.useRef(),f=ca(()=>{d.current&&(d.current(),d.current=void 0)},100);return o.useEffect(()=>{let g=l.viewport;if(g){let m=()=>{if(f(),!d.current){let p=Em(g,c);d.current=p,c()}};return c(),g.addEventListener("scroll",m),()=>g.removeEventListener("scroll",m)}},[l.viewport,f,c]),o.createElement(nn.div,Y({"data-state":i.hasThumb?"visible":"hidden"},a,{ref:s,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:jt(e.onPointerDownCapture,g=>{let m=g.target.getBoundingClientRect(),p=g.clientX-m.left,v=g.clientY-m.top;i.onThumbPointerDown({x:p,y:v})}),onPointerUp:jt(e.onPointerUp,i.onThumbPointerUp)}))}),pc="ScrollAreaCorner",ym=o.forwardRef((e,t)=>{let r=Le(pc,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?o.createElement(wm,Y({},e,{ref:t})):null}),wm=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=Le(pc,r),[l,i]=o.useState(0),[c,s]=o.useState(0),d=!!(l&&c);return pr(a.scrollbarX,()=>{var f;let g=((f=a.scrollbarX)===null||f===void 0?void 0:f.offsetHeight)||0;a.onCornerHeightChange(g),s(g)}),pr(a.scrollbarY,()=>{var f;let g=((f=a.scrollbarY)===null||f===void 0?void 0:f.offsetWidth)||0;a.onCornerWidthChange(g),i(g)}),d?o.createElement(nn.div,Y({},n,{ref:t,style:{width:l,height:c,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}})):null});function jn(e){return e?parseInt(e,10):0}function hc(e,t){let r=e/t;return isNaN(r)?0:r}function sa(e){let t=hc(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function xm(e,t,r,n="ltr"){let a=sa(r),l=a/2,i=t||l,c=a-i,s=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-c,f=r.content-r.viewport,g=n==="ltr"?[0,f]:[f*-1,0];return gc([s,d],g)(e)}function zi(e,t,r="ltr"){let n=sa(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-a,i=t.content-t.viewport,c=l-n,s=r==="ltr"?[0,i]:[i*-1,0],d=om(e,s);return gc([0,i],[0,c])(d)}function gc(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function mc(e,t){return e>0&&e{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function a(){let l={left:e.scrollLeft,top:e.scrollTop},i=r.left!==l.left,c=r.top!==l.top;(i||c)&&t(),r=l,n=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(n)};function ca(e,t){let r=Ft(e),n=o.useRef(0);return o.useEffect(()=>()=>window.clearTimeout(n.current),[]),o.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function pr(e,t){let r=Ft(t);Eo(()=>{let n=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}var Sm=sm,Cm=dm,Rm=um,Im=vm,Am=ym,_m=A(Sm)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),km=A(Cm)({width:"100%",height:"100%"}),Pi=A(Rm)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),Bi=A(Im)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),da=o.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:l},i)=>u.createElement(_m,{scrollbarsize:a,offset:n,className:l},u.createElement(km,{ref:i},e),t&&u.createElement(Pi,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},u.createElement(Bi,null)),r&&u.createElement(Pi,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},u.createElement(Bi,null)),t&&r&&u.createElement(Am,null)));da.displayName="ScrollArea";var{navigator:gn,document:Tr,window:$m}=ng,Om={jsextra:ug,jsx:og,json:pg,yml:xg,md:yg,bash:ig,css:cg,html:vg,tsx:Sg,typescript:Rg,graphql:gg};Object.entries(Om).forEach(([e,t])=>{gl.registerLanguage(e,t)});var Tm=Yt(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),Mm=vc();function vc(){return gn!=null&&gn.clipboard?e=>gn.clipboard.writeText(e):async e=>{let t=Tr.createElement("TEXTAREA"),r=Tr.activeElement;t.value=e,Tr.body.appendChild(t),t.select(),Tr.execCommand("copy"),Tr.body.removeChild(t),r.focus()}}var Lm=A.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),zm=({children:e,className:t})=>u.createElement(da,{horizontal:!0,vertical:!0,className:t},e),Pm=A(zm)({position:"relative"},({theme:e})=>Tm(e)),Bm=A.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),Fm=A.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),bc=e=>{let t=[...e.children],r=t[0],n=r.children[0].value,a={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=a,{...e,children:t}},Hm=({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>fl({node:bc(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),Nm=(e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>bc(a)),...n}):Hm:e,bl=({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:l=!0,formatter:i=null,className:c=null,showLineNumbers:s=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[f,g]=o.useState("");o.useEffect(()=>{i?i(l,e).then(g):g(e.trim())},[e,l,i]);let[m,p]=o.useState(!1),v=o.useCallback(y=>{y.preventDefault(),Mm(f).then(()=>{p(!0),$m.setTimeout(()=>p(!1),1500)}).catch(rg.error)},[f]),h=Nm(d.renderer,s);return u.createElement(Lm,{bordered:n,padded:a,showLineNumbers:s,className:c},u.createElement(Pm,null,u.createElement(gl,{padded:a||n,language:t,showLineNumbers:s,showInlineLineNumbers:s,useInlineStyles:!1,PreTag:Bm,CodeTag:Fm,lineNumberContainerStyle:{},...d,renderer:h},f)),r?u.createElement(ml,{actionItems:[{title:m?"Copied":"Copy",onClick:v}]}):null)};bl.registerLanguage=(...e)=>gl.registerLanguage(...e);var D$=bl;const{global:jm}=__STORYBOOK_MODULE_GLOBAL__;var Dm=j({"../../node_modules/react-fast-compare/index.js"(e,t){var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",l=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(c,s){if(c===s)return!0;if(c&&s&&typeof c=="object"&&typeof s=="object"){if(c.constructor!==s.constructor)return!1;var d,f,g;if(Array.isArray(c)){if(d=c.length,d!=s.length)return!1;for(f=d;f--!==0;)if(!i(c[f],s[f]))return!1;return!0}var m;if(n&&c instanceof Map&&s instanceof Map){if(c.size!==s.size)return!1;for(m=c.entries();!(f=m.next()).done;)if(!s.has(f.value[0]))return!1;for(m=c.entries();!(f=m.next()).done;)if(!i(f.value[1],s.get(f.value[0])))return!1;return!0}if(a&&c instanceof Set&&s instanceof Set){if(c.size!==s.size)return!1;for(m=c.entries();!(f=m.next()).done;)if(!s.has(f.value[0]))return!1;return!0}if(l&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(s)){if(d=c.length,d!=s.length)return!1;for(f=d;f--!==0;)if(c[f]!==s[f])return!1;return!0}if(c.constructor===RegExp)return c.source===s.source&&c.flags===s.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof s.valueOf=="function")return c.valueOf()===s.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof s.toString=="function")return c.toString()===s.toString();if(g=Object.keys(c),d=g.length,d!==Object.keys(s).length)return!1;for(f=d;f--!==0;)if(!Object.prototype.hasOwnProperty.call(s,g[f]))return!1;if(r&&c instanceof Element)return!1;for(f=d;f--!==0;)if(!((g[f]==="_owner"||g[f]==="__v"||g[f]==="__o")&&c.$$typeof)&&!i(c[g[f]],s[g[f]]))return!1;return!0}return c!==c&&s!==s}t.exports=function(c,s){try{return i(c,s)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}}}}),Fi=function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},Hi=typeof window<"u"&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect,xe="top",Te="bottom",Me="right",Ee="left",yl="auto",on=[xe,Te,Me,Ee],hr="start",qr="end",Um="clippingParents",yc="viewport",Mr="popper",Vm="reference",Ni=on.reduce(function(e,t){return e.concat([t+"-"+hr,t+"-"+qr])},[]),wc=[].concat(on,[yl]).reduce(function(e,t){return e.concat([t,t+"-"+hr,t+"-"+qr])},[]),Wm="beforeRead",Gm="read",qm="afterRead",Ym="beforeMain",Km="main",Xm="afterMain",Zm="beforeWrite",Jm="write",Qm="afterWrite",e2=[Wm,Gm,qm,Ym,Km,Xm,Zm,Jm,Qm];function it(e){return e?(e.nodeName||"").toLowerCase():null}function Re(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Gt(e){var t=Re(e).Element;return e instanceof t||e instanceof Element}function Oe(e){var t=Re(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function wl(e){if(typeof ShadowRoot>"u")return!1;var t=Re(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function t2(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},l=t.elements[r];!Oe(l)||!it(l)||(Object.assign(l.style,n),Object.keys(a).forEach(function(i){var c=a[i];c===!1?l.removeAttribute(i):l.setAttribute(i,c===!0?"":c)}))})}function r2(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],l=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),c=i.reduce(function(s,d){return s[d]="",s},{});!Oe(a)||!it(a)||(Object.assign(a.style,c),Object.keys(l).forEach(function(s){a.removeAttribute(s)}))})}}var n2={name:"applyStyles",enabled:!0,phase:"write",fn:t2,effect:r2,requires:["computeStyles"]};function lt(e){return e.split("-")[0]}var Dt=Math.max,Dn=Math.min,gr=Math.round;function Co(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function xc(){return!/^((?!chrome|android).)*safari/i.test(Co())}function mr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,l=1;t&&Oe(e)&&(a=e.offsetWidth>0&&gr(n.width)/e.offsetWidth||1,l=e.offsetHeight>0&&gr(n.height)/e.offsetHeight||1);var i=Gt(e)?Re(e):window,c=i.visualViewport,s=!xc()&&r,d=(n.left+(s&&c?c.offsetLeft:0))/a,f=(n.top+(s&&c?c.offsetTop:0))/l,g=n.width/a,m=n.height/l;return{width:g,height:m,top:f,right:d+g,bottom:f+m,left:d,x:d,y:f}}function xl(e){var t=mr(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Ec(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&wl(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function pt(e){return Re(e).getComputedStyle(e)}function a2(e){return["table","td","th"].indexOf(it(e))>=0}function At(e){return((Gt(e)?e.ownerDocument:e.document)||window.document).documentElement}function ua(e){return it(e)==="html"?e:e.assignedSlot||e.parentNode||(wl(e)?e.host:null)||At(e)}function ji(e){return!Oe(e)||pt(e).position==="fixed"?null:e.offsetParent}function o2(e){var t=/firefox/i.test(Co()),r=/Trident/i.test(Co());if(r&&Oe(e)){var n=pt(e);if(n.position==="fixed")return null}var a=ua(e);for(wl(a)&&(a=a.host);Oe(a)&&["html","body"].indexOf(it(a))<0;){var l=pt(a);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||t&&l.willChange==="filter"||t&&l.filter&&l.filter!=="none")return a;a=a.parentNode}return null}function ln(e){for(var t=Re(e),r=ji(e);r&&a2(r)&&pt(r).position==="static";)r=ji(r);return r&&(it(r)==="html"||it(r)==="body"&&pt(r).position==="static")?t:r||o2(e)||t}function El(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Br(e,t,r){return Dt(e,Dn(t,r))}function l2(e,t,r){var n=Br(e,t,r);return n>r?r:n}function Sc(){return{top:0,right:0,bottom:0,left:0}}function Cc(e){return Object.assign({},Sc(),e)}function Rc(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var i2=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Cc(typeof e!="number"?e:Rc(e,on))};function s2(e){var t,r=e.state,n=e.name,a=e.options,l=r.elements.arrow,i=r.modifiersData.popperOffsets,c=lt(r.placement),s=El(c),d=[Ee,Me].indexOf(c)>=0,f=d?"height":"width";if(!(!l||!i)){var g=i2(a.padding,r),m=xl(l),p=s==="y"?xe:Ee,v=s==="y"?Te:Me,h=r.rects.reference[f]+r.rects.reference[s]-i[s]-r.rects.popper[f],y=i[s]-r.rects.reference[s],x=ln(l),E=x?s==="y"?x.clientHeight||0:x.clientWidth||0:0,b=h/2-y/2,w=g[p],S=E-m[f]-g[v],C=E/2-m[f]/2+b,R=Br(w,C,S),I=s;r.modifiersData[n]=(t={},t[I]=R,t.centerOffset=R-C,t)}}function c2(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||Ec(t.elements.popper,a)&&(t.elements.arrow=a))}var d2={name:"arrow",enabled:!0,phase:"main",fn:s2,effect:c2,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vr(e){return e.split("-")[1]}var u2={top:"auto",right:"auto",bottom:"auto",left:"auto"};function f2(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:gr(r*a)/a||0,y:gr(n*a)/a||0}}function Di(e){var t,r=e.popper,n=e.popperRect,a=e.placement,l=e.variation,i=e.offsets,c=e.position,s=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,g=e.isFixed,m=i.x,p=m===void 0?0:m,v=i.y,h=v===void 0?0:v,y=typeof f=="function"?f({x:p,y:h}):{x:p,y:h};p=y.x,h=y.y;var x=i.hasOwnProperty("x"),E=i.hasOwnProperty("y"),b=Ee,w=xe,S=window;if(d){var C=ln(r),R="clientHeight",I="clientWidth";if(C===Re(r)&&(C=At(r),pt(C).position!=="static"&&c==="absolute"&&(R="scrollHeight",I="scrollWidth")),C=C,a===xe||(a===Ee||a===Me)&&l===qr){w=Te;var _=g&&C===S&&S.visualViewport?S.visualViewport.height:C[R];h-=_-n.height,h*=s?1:-1}if(a===Ee||(a===xe||a===Te)&&l===qr){b=Me;var k=g&&C===S&&S.visualViewport?S.visualViewport.width:C[I];p-=k-n.width,p*=s?1:-1}}var $=Object.assign({position:c},d&&u2),O=f===!0?f2({x:p,y:h},Re(r)):{x:p,y:h};if(p=O.x,h=O.y,s){var T;return Object.assign({},$,(T={},T[w]=E?"0":"",T[b]=x?"0":"",T.transform=(S.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",T))}return Object.assign({},$,(t={},t[w]=E?h+"px":"",t[b]=x?p+"px":"",t.transform="",t))}function p2(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,l=r.adaptive,i=l===void 0?!0:l,c=r.roundOffsets,s=c===void 0?!0:c,d={placement:lt(t.placement),variation:vr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Di(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Di(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var h2={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:p2,data:{}},mn={passive:!0};function g2(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,l=a===void 0?!0:a,i=n.resize,c=i===void 0?!0:i,s=Re(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&d.forEach(function(f){f.addEventListener("scroll",r.update,mn)}),c&&s.addEventListener("resize",r.update,mn),function(){l&&d.forEach(function(f){f.removeEventListener("scroll",r.update,mn)}),c&&s.removeEventListener("resize",r.update,mn)}}var m2={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:g2,data:{}},v2={left:"right",right:"left",bottom:"top",top:"bottom"};function $n(e){return e.replace(/left|right|bottom|top/g,function(t){return v2[t]})}var b2={start:"end",end:"start"};function Ui(e){return e.replace(/start|end/g,function(t){return b2[t]})}function Sl(e){var t=Re(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Cl(e){return mr(At(e)).left+Sl(e).scrollLeft}function y2(e,t){var r=Re(e),n=At(e),a=r.visualViewport,l=n.clientWidth,i=n.clientHeight,c=0,s=0;if(a){l=a.width,i=a.height;var d=xc();(d||!d&&t==="fixed")&&(c=a.offsetLeft,s=a.offsetTop)}return{width:l,height:i,x:c+Cl(e),y:s}}function w2(e){var t,r=At(e),n=Sl(e),a=(t=e.ownerDocument)==null?void 0:t.body,l=Dt(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Dt(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),c=-n.scrollLeft+Cl(e),s=-n.scrollTop;return pt(a||r).direction==="rtl"&&(c+=Dt(r.clientWidth,a?a.clientWidth:0)-l),{width:l,height:i,x:c,y:s}}function Rl(e){var t=pt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function Ic(e){return["html","body","#document"].indexOf(it(e))>=0?e.ownerDocument.body:Oe(e)&&Rl(e)?e:Ic(ua(e))}function Fr(e,t){var r;t===void 0&&(t=[]);var n=Ic(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),l=Re(n),i=a?[l].concat(l.visualViewport||[],Rl(n)?n:[]):n,c=t.concat(i);return a?c:c.concat(Fr(ua(i)))}function Ro(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function x2(e,t){var r=mr(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Vi(e,t,r){return t===yc?Ro(y2(e,r)):Gt(t)?x2(t,r):Ro(w2(At(e)))}function E2(e){var t=Fr(ua(e)),r=["absolute","fixed"].indexOf(pt(e).position)>=0,n=r&&Oe(e)?ln(e):e;return Gt(n)?t.filter(function(a){return Gt(a)&&Ec(a,n)&&it(a)!=="body"}):[]}function S2(e,t,r,n){var a=t==="clippingParents"?E2(e):[].concat(t),l=[].concat(a,[r]),i=l[0],c=l.reduce(function(s,d){var f=Vi(e,d,n);return s.top=Dt(f.top,s.top),s.right=Dn(f.right,s.right),s.bottom=Dn(f.bottom,s.bottom),s.left=Dt(f.left,s.left),s},Vi(e,i,n));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Ac(e){var t=e.reference,r=e.element,n=e.placement,a=n?lt(n):null,l=n?vr(n):null,i=t.x+t.width/2-r.width/2,c=t.y+t.height/2-r.height/2,s;switch(a){case xe:s={x:i,y:t.y-r.height};break;case Te:s={x:i,y:t.y+t.height};break;case Me:s={x:t.x+t.width,y:c};break;case Ee:s={x:t.x-r.width,y:c};break;default:s={x:t.x,y:t.y}}var d=a?El(a):null;if(d!=null){var f=d==="y"?"height":"width";switch(l){case hr:s[d]=s[d]-(t[f]/2-r[f]/2);break;case qr:s[d]=s[d]+(t[f]/2-r[f]/2);break}}return s}function Yr(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,l=r.strategy,i=l===void 0?e.strategy:l,c=r.boundary,s=c===void 0?Um:c,d=r.rootBoundary,f=d===void 0?yc:d,g=r.elementContext,m=g===void 0?Mr:g,p=r.altBoundary,v=p===void 0?!1:p,h=r.padding,y=h===void 0?0:h,x=Cc(typeof y!="number"?y:Rc(y,on)),E=m===Mr?Vm:Mr,b=e.rects.popper,w=e.elements[v?E:m],S=S2(Gt(w)?w:w.contextElement||At(e.elements.popper),s,f,i),C=mr(e.elements.reference),R=Ac({reference:C,element:b,strategy:"absolute",placement:a}),I=Ro(Object.assign({},b,R)),_=m===Mr?I:C,k={top:S.top-_.top+x.top,bottom:_.bottom-S.bottom+x.bottom,left:S.left-_.left+x.left,right:_.right-S.right+x.right},$=e.modifiersData.offset;if(m===Mr&&$){var O=$[a];Object.keys(k).forEach(function(T){var H=[Me,Te].indexOf(T)>=0?1:-1,M=[xe,Te].indexOf(T)>=0?"y":"x";k[T]+=O[M]*H})}return k}function C2(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,l=r.rootBoundary,i=r.padding,c=r.flipVariations,s=r.allowedAutoPlacements,d=s===void 0?wc:s,f=vr(n),g=f?c?Ni:Ni.filter(function(v){return vr(v)===f}):on,m=g.filter(function(v){return d.indexOf(v)>=0});m.length===0&&(m=g);var p=m.reduce(function(v,h){return v[h]=Yr(e,{placement:h,boundary:a,rootBoundary:l,padding:i})[lt(h)],v},{});return Object.keys(p).sort(function(v,h){return p[v]-p[h]})}function R2(e){if(lt(e)===yl)return[];var t=$n(e);return[Ui(e),t,Ui(t)]}function I2(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,l=a===void 0?!0:a,i=r.altAxis,c=i===void 0?!0:i,s=r.fallbackPlacements,d=r.padding,f=r.boundary,g=r.rootBoundary,m=r.altBoundary,p=r.flipVariations,v=p===void 0?!0:p,h=r.allowedAutoPlacements,y=t.options.placement,x=lt(y),E=x===y,b=s||(E||!v?[$n(y)]:R2(y)),w=[y].concat(b).reduce(function(Q,P){return Q.concat(lt(P)===yl?C2(t,{placement:P,boundary:f,rootBoundary:g,padding:d,flipVariations:v,allowedAutoPlacements:h}):P)},[]),S=t.rects.reference,C=t.rects.popper,R=new Map,I=!0,_=w[0],k=0;k=0,M=H?"width":"height",L=Yr(t,{placement:$,boundary:f,rootBoundary:g,altBoundary:m,padding:d}),N=H?T?Me:Ee:T?Te:xe;S[M]>C[M]&&(N=$n(N));var U=$n(N),B=[];if(l&&B.push(L[O]<=0),c&&B.push(L[N]<=0,L[U]<=0),B.every(function(Q){return Q})){_=$,I=!1;break}R.set($,B)}if(I)for(var D=v?3:1,J=function(Q){var P=w.find(function(V){var q=R.get(V);if(q)return q.slice(0,Q).every(function(de){return de})});if(P)return _=P,"break"},oe=D;oe>0;oe--){var Z=J(oe);if(Z==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var A2={name:"flip",enabled:!0,phase:"main",fn:I2,requiresIfExists:["offset"],data:{_skip:!1}};function Wi(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Gi(e){return[xe,Me,Te,Ee].some(function(t){return e[t]>=0})}function _2(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,l=t.modifiersData.preventOverflow,i=Yr(t,{elementContext:"reference"}),c=Yr(t,{altBoundary:!0}),s=Wi(i,n),d=Wi(c,a,l),f=Gi(s),g=Gi(d);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":g})}var k2={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:_2};function $2(e,t,r){var n=lt(e),a=[Ee,xe].indexOf(n)>=0?-1:1,l=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=l[0],c=l[1];return i=i||0,c=(c||0)*a,[Ee,Me].indexOf(n)>=0?{x:c,y:i}:{x:i,y:c}}function O2(e){var t=e.state,r=e.options,n=e.name,a=r.offset,l=a===void 0?[0,0]:a,i=wc.reduce(function(f,g){return f[g]=$2(g,t.rects,l),f},{}),c=i[t.placement],s=c.x,d=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var T2={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:O2};function M2(e){var t=e.state,r=e.name;t.modifiersData[r]=Ac({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var L2={name:"popperOffsets",enabled:!0,phase:"read",fn:M2,data:{}};function z2(e){return e==="x"?"y":"x"}function P2(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,l=a===void 0?!0:a,i=r.altAxis,c=i===void 0?!1:i,s=r.boundary,d=r.rootBoundary,f=r.altBoundary,g=r.padding,m=r.tether,p=m===void 0?!0:m,v=r.tetherOffset,h=v===void 0?0:v,y=Yr(t,{boundary:s,rootBoundary:d,padding:g,altBoundary:f}),x=lt(t.placement),E=vr(t.placement),b=!E,w=El(x),S=z2(w),C=t.modifiersData.popperOffsets,R=t.rects.reference,I=t.rects.popper,_=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,k=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(C){if(l){var T,H=w==="y"?xe:Ee,M=w==="y"?Te:Me,L=w==="y"?"height":"width",N=C[w],U=N+y[H],B=N-y[M],D=p?-I[L]/2:0,J=E===hr?R[L]:I[L],oe=E===hr?-I[L]:-R[L],Z=t.elements.arrow,Q=p&&Z?xl(Z):{width:0,height:0},P=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Sc(),V=P[H],q=P[M],de=Br(0,R[L],Q[L]),be=b?R[L]/2-D-de-V-k.mainAxis:J-de-V-k.mainAxis,st=b?-R[L]/2+D+de+q+k.mainAxis:oe+de+q+k.mainAxis,Ae=t.elements.arrow&&ln(t.elements.arrow),je=Ae?w==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,z=(T=$==null?void 0:$[w])!=null?T:0,Pe=N+be-z-je,De=N+st-z,$t=Br(p?Dn(U,Pe):U,N,p?Dt(B,De):B);C[w]=$t,O[w]=$t-N}if(c){var Jt,Ue=w==="x"?xe:Ee,cn=w==="x"?Te:Me,ye=C[S],Ot=S==="y"?"height":"width",Ve=ye+y[Ue],Qt=ye-y[cn],We=[xe,Ee].indexOf(x)!==-1,er=(Jt=$==null?void 0:$[S])!=null?Jt:0,Ge=We?Ve:ye-R[Ot]-I[Ot]-er+k.altAxis,he=We?ye+R[Ot]+I[Ot]-er-k.altAxis:Qt,Be=p&&We?l2(Ge,ye,he):Br(p?Ge:Ve,ye,p?he:Qt);C[S]=Be,O[S]=Be-ye}t.modifiersData[n]=O}}var B2={name:"preventOverflow",enabled:!0,phase:"main",fn:P2,requiresIfExists:["offset"]};function F2(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function H2(e){return e===Re(e)||!Oe(e)?Sl(e):F2(e)}function N2(e){var t=e.getBoundingClientRect(),r=gr(t.width)/e.offsetWidth||1,n=gr(t.height)/e.offsetHeight||1;return r!==1||n!==1}function j2(e,t,r){r===void 0&&(r=!1);var n=Oe(t),a=Oe(t)&&N2(t),l=At(t),i=mr(e,a,r),c={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((it(t)!=="body"||Rl(l))&&(c=H2(t)),Oe(t)?(s=mr(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):l&&(s.x=Cl(l))),{x:i.left+c.scrollLeft-s.x,y:i.top+c.scrollTop-s.y,width:i.width,height:i.height}}function D2(e){var t=new Map,r=new Set,n=[];e.forEach(function(l){t.set(l.name,l)});function a(l){r.add(l.name);var i=[].concat(l.requires||[],l.requiresIfExists||[]);i.forEach(function(c){if(!r.has(c)){var s=t.get(c);s&&a(s)}}),n.push(l)}return e.forEach(function(l){r.has(l.name)||a(l)}),n}function U2(e){var t=D2(e);return e2.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function V2(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function W2(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var qi={placement:"bottom",modifiers:[],strategy:"absolute"};function Yi(){for(var e=arguments.length,t=new Array(e),r=0;rt.split("-")[0]===e?r:n),vt=8,r4=A.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${_e("top",r,`${vt*-1}px`,"auto")}`,top:`${_e("bottom",r,`${vt*-1}px`,"auto")}`,right:`${_e("left",r,`${vt*-1}px`,"auto")}`,left:`${_e("right",r,`${vt*-1}px`,"auto")}`,borderBottomWidth:`${_e("top",r,"0",vt)}px`,borderTopWidth:`${_e("bottom",r,"0",vt)}px`,borderRightWidth:`${_e("left",r,"0",vt)}px`,borderLeftWidth:`${_e("right",r,"0",vt)}px`,borderTopColor:_e("top",r,e.color[t]||t||e.base==="light"?Pr(e.background.app):e.background.app,"transparent"),borderBottomColor:_e("bottom",r,e.color[t]||t||e.base==="light"?Pr(e.background.app):e.background.app,"transparent"),borderLeftColor:_e("left",r,e.color[t]||t||e.base==="light"?Pr(e.background.app):e.background.app,"transparent"),borderRightColor:_e("right",r,e.color[t]||t||e.base==="light"?Pr(e.background.app):e.background.app,"transparent")})),n4=A.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:e.color[t]||t||e.base==="light"?Pr(e.background.app):e.background.app,filter:` - drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) - drop-shadow(0 1px 3px rgba(0,0,0,0.1)) - `,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),$c=u.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:l,withArrows:i,...c},s)=>u.createElement(n4,{"data-testid":"tooltip",hasChrome:t,ref:s,...c,color:l},t&&i&&u.createElement(r4,{placement:e,...n,color:l}),r));$c.displayName="Tooltip";var{document:On}=jm,a4=A.div` - display: inline-block; - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,o4=A.g` - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,l4=({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:a=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:l=!0,defaultVisible:i=!1,withArrows:c,offset:s,tooltip:d,children:f,closeOnTriggerHidden:g,mutationObserverOptions:m,delayHide:p,visible:v,interactive:h,delayShow:y,strategy:x,followCursor:E,onVisibleChange:b,...w})=>{let S=e?o4:a4,{getArrowProps:C,getTooltipProps:R,setTooltipRef:I,setTriggerRef:_,visible:k,state:$}=t4({trigger:t,placement:n,defaultVisible:i,delayHide:p,interactive:h,closeOnOutsideClick:r,closeOnTriggerHidden:g,onVisibleChange:b,delayShow:y,followCursor:E,mutationObserverOptions:m,visible:v,offset:s},{modifiers:a,strategy:x}),O=u.createElement($c,{placement:$==null?void 0:$.placement,ref:I,hasChrome:l,arrowProps:C(),withArrows:c,...R()},typeof d=="function"?d({onHide:()=>b(!1)}):d);return u.createElement(u.Fragment,null,u.createElement(S,{trigger:t,ref:_,...w},f),k&&os.createPortal(O,On.body))},i4=({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=o.useState(e),l=o.useCallback(i=>{t&&t(i)===!1||a(i)},[t]);return o.useEffect(()=>{let i=()=>l(!1);On.addEventListener("keydown",i,!1);let c=Array.from(On.getElementsByTagName("iframe")),s=[];return c.forEach(d=>{let f=()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",i),s.push(()=>{try{d.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}};f(),d.addEventListener("load",f),s.push(()=>{d.removeEventListener("load",f)})}),()=>{On.removeEventListener("keydown",i),s.forEach(d=>{d()})}}),u.createElement(l4,{...r,visible:n,onVisibleChange:l})},s4=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],c4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),d4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),u4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),f4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),p4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),o.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),h4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),g4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),Oc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),Tc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),Mc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),Lc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),zc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),o.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),m4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),Pc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),v4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),b4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),y4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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 10.5h10v-10l-10 10z",fill:e}))),w4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),o.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),x4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),E4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),S4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),C4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),Bc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),R4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),o.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),o.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),I4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),A4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),_4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),k4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),$4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),O4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{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-11z",fill:e}))),T4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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 10.5v-10h5v10H2z",fill:e}))),M4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),L4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},o.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),o.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3492"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),z4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3493"},o.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),P4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),Un=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),B4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),F4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),H4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),N4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),j4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),D4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),U4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),V4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),W4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),G4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),q4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.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-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),Y4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.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-11zM2 4v8h10V4H2z",fill:e}))),K4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),X4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),Z4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),J4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),Q4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),ev=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),tv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),rv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),nv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),av=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),ov=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),lv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),iv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),sv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),cv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),dv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),uv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),fv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},o.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3497"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),pv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),hv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3496"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),gv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),mv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},o.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3503"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),vv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),bv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),yv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),wv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),xv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),Ev=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),Sv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),Cv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),Rv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),Iv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),Av=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),_v=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),kv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),$v=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),Ov=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),Tv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),Mv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),Lv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),zv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}))),Pv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}))),Bv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}))),Fv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}))),Hv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}),o.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:e}))),Nv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}),o.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:e}))),jv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}),o.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:e}))),Dv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}),o.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:e}))),Uv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}),o.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:e}))),Vv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}),o.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:e}))),Wv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}),o.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:e}))),Gv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}))),qv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}),o.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:e}))),Yv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}))),Kv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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:e}))),Xv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),o.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:e}))),Zv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),Jv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),Qv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),e3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),t3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),r3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),n3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),a3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),o.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),o3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),l3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),i3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),s3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),c3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),Fc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),d3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),u3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3502"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),f3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},o.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3501"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Hc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),Nc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),p3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),h3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),g3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),m3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),v3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),b3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),y3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),w3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),x3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),E3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),S3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),C3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),R3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},o.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3614"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),I3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),A3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),o.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),_3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),k3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),o.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),$3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),o.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),O3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),T3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),M3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),L3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),z3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),P3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),B3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),F3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),H3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),N3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),jc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),o.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),j3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),D3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),U3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),o.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),V3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),o.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),W3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),o.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),G3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),o.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),q3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),Y3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),K3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),X3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),Z3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1449_588"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),J3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),Q3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),e7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),t7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),r7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),n7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),a7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),o7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),l7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),o.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),o.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),i7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),s7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),c7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),d7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),u7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),f7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),p7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),Dc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),h7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),Il=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),Uc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),Al=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),g7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),m7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),v7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),b7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),y7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),w7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),x7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e}))),E7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e}))),S7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e}))),C7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e}))),R7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),I7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),A7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),_7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),k7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),$7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),O7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),T7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),o.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),o.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),M7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),L7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),Vc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),z7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),P7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),B7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),F7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),H7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),N7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),j7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),D7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),U7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),V7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),W7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),G7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),q7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),Y7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),K7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),X7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),o.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),Z7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},o.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3594"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),J7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),Q7=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),eb=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),tb=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),o.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),rb=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),nb=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),ab=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),ob=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),lb=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),o.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),ib=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e})));const sb=Object.freeze(Object.defineProperty({__proto__:null,AccessibilityAltIcon:ib,AccessibilityIcon:lb,AddIcon:Hc,AdminIcon:X7,AlertAltIcon:F3,AlertIcon:B3,AlignLeftIcon:V4,AlignRightIcon:W4,AppleIcon:dv,ArrowBottomLeftIcon:S7,ArrowBottomRightIcon:C7,ArrowDownIcon:b7,ArrowLeftIcon:y7,ArrowRightIcon:w7,ArrowSolidDownIcon:I7,ArrowSolidLeftIcon:A7,ArrowSolidRightIcon:_7,ArrowSolidUpIcon:R7,ArrowTopLeftIcon:x7,ArrowTopRightIcon:E7,ArrowUpIcon:v7,AzureDevOpsIcon:mv,BackIcon:H7,BasketIcon:l7,BatchAcceptIcon:l3,BatchDenyIcon:o3,BeakerIcon:i7,BellIcon:D3,BitbucketIcon:vv,BoldIcon:J4,BookIcon:P4,BookmarkHollowIcon:K3,BookmarkIcon:X3,BottomBarIcon:Uv,BottomBarToggleIcon:Vv,BoxIcon:Kv,BranchIcon:iv,BrowserIcon:zv,ButtonIcon:k3,CPUIcon:Wv,CalendarIcon:D4,CameraIcon:C4,CategoryIcon:F4,CertificateIcon:r7,ChangedIcon:m3,ChatIcon:S3,CheckIcon:n3,ChevronDownIcon:Dc,ChevronLeftIcon:h7,ChevronRightIcon:Il,ChevronSmallDownIcon:Al,ChevronSmallLeftIcon:g7,ChevronSmallRightIcon:m7,ChevronSmallUpIcon:Uc,ChevronUpIcon:p7,ChromaticIcon:bv,ChromeIcon:hv,CircleHollowIcon:q3,CircleIcon:Y3,ClearIcon:b3,CloseAltIcon:c3,CloseIcon:p3,CloudHollowIcon:d7,CloudIcon:u7,CogIcon:Jv,CollapseIcon:$7,CommandIcon:M3,CommentAddIcon:w3,CommentIcon:y3,CommentsIcon:E3,CommitIcon:lv,CompassIcon:U7,ComponentDrivenIcon:yv,ComponentIcon:d4,ContrastIcon:v4,ControlsIcon:i3,CopyIcon:B4,CreditIcon:_3,CrossIcon:Fc,DashboardIcon:q7,DatabaseIcon:Gv,DeleteIcon:h3,DiamondIcon:Z3,DirectionIcon:Z7,DiscordIcon:wv,DocChartIcon:q4,DocListIcon:Y4,DocumentIcon:Un,DownloadIcon:F7,DragIcon:K4,EditIcon:Zv,EllipsisIcon:t3,EmailIcon:H3,ExpandAltIcon:k7,ExpandIcon:O7,EyeCloseIcon:zc,EyeIcon:Lc,FaceHappyIcon:nb,FaceNeutralIcon:ab,FaceSadIcon:ob,FacebookIcon:xv,FailedIcon:v3,FastForwardIcon:$4,FigmaIcon:Ev,FilterIcon:G4,FlagIcon:c7,FolderIcon:H4,FormIcon:a3,GDriveIcon:Sv,GithubIcon:Cv,GitlabIcon:Rv,GlobeIcon:D7,GoogleIcon:Iv,GraphBarIcon:U4,GraphLineIcon:j4,GraphqlIcon:Av,GridAltIcon:h4,GridIcon:u4,GrowIcon:w4,HeartHollowIcon:J3,HeartIcon:Q3,HomeIcon:K7,HourglassIcon:s7,InfoIcon:L3,ItalicIcon:Q4,JumpToIcon:G3,KeyIcon:I3,LightningIcon:m4,LightningOffIcon:Pc,LinkBrokenIcon:j3,LinkIcon:jc,LinkedinIcon:Mv,LinuxIcon:uv,ListOrderedIcon:tv,ListUnorderedIcon:rv,LocationIcon:V7,LockIcon:C3,MarkdownIcon:av,MarkupIcon:Z4,MediumIcon:_v,MemoryIcon:qv,MenuIcon:X4,MergeIcon:cv,MirrorIcon:y4,MobileIcon:Bv,MoonIcon:z4,NutIcon:Qv,OutboxIcon:A3,OutlineIcon:f4,PaintBrushIcon:x4,PaperClipIcon:ev,ParagraphIcon:nv,PassedIcon:g3,PhoneIcon:N3,PhotoDragIcon:p4,PhotoIcon:c4,PinAltIcon:u3,PinIcon:W7,PlayBackIcon:A4,PlayIcon:I4,PlayNextIcon:_4,PlusIcon:s3,PointerDefaultIcon:O3,PointerHandIcon:T3,PowerIcon:Xv,PrintIcon:N4,ProceedIcon:N7,ProfileIcon:rb,PullRequestIcon:sv,QuestionIcon:z3,RSSIcon:U3,RedirectIcon:L7,ReduxIcon:kv,RefreshIcon:j7,ReplyIcon:z7,RepoIcon:ov,RequestChangeIcon:x3,RewindIcon:k4,RulerIcon:E4,SearchIcon:g4,ShareAltIcon:V3,ShareIcon:W3,ShieldIcon:o7,SideBySideIcon:T4,SidebarAltIcon:Nv,SidebarAltToggleIcon:jv,SidebarIcon:Hv,SidebarToggleIcon:Dv,SpeakerIcon:R4,StackedIcon:M4,StarHollowIcon:e7,StarIcon:t7,StickerIcon:f7,StopAltIcon:O4,StopIcon:S4,StorybookIcon:gv,StructureIcon:Yv,SubtractIcon:Nc,SunIcon:L4,SupportIcon:P3,SwitchAltIcon:b4,SyncIcon:P7,TabletIcon:Pv,ThumbsUpIcon:a7,TimeIcon:G7,TimerIcon:Y7,TransferIcon:M7,TrashIcon:d3,TwitterIcon:$v,TypeIcon:$3,UbuntuIcon:fv,UndoIcon:Vc,UnfoldIcon:T7,UnlockIcon:R3,UnpinIcon:f3,UploadIcon:B7,UserAddIcon:eb,UserAltIcon:Q7,UserIcon:J7,UsersIcon:tb,VSCodeIcon:Tv,VerifiedIcon:n7,VideoIcon:Bc,WandIcon:r3,WatchIcon:Fv,WindowsIcon:pv,WrenchIcon:e3,XIcon:Lv,YoutubeIcon:Ov,ZoomIcon:Oc,ZoomOutIcon:Tc,ZoomResetIcon:Mc,iconList:s4},Symbol.toStringTag,{value:"Module"}));function St(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e==null||e(a),r===!1||!a.defaultPrevented)return t==null?void 0:t(a)}}function cb(e,t){const r=o.createContext(t);function n(l){const{children:i,...c}=l,s=o.useMemo(()=>c,Object.values(c));return o.createElement(r.Provider,{value:s},i)}function a(l){const i=o.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${l}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,a]}function db(e,t=[]){let r=[];function n(l,i){const c=o.createContext(i),s=r.length;r=[...r,i];function d(g){const{scope:m,children:p,...v}=g,h=(m==null?void 0:m[e][s])||c,y=o.useMemo(()=>v,Object.values(v));return o.createElement(h.Provider,{value:y},p)}function f(g,m){const p=(m==null?void 0:m[e][s])||c,v=o.useContext(p);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${g}\` must be used within \`${l}\``)}return d.displayName=l+"Provider",[d,f]}const a=()=>{const l=r.map(i=>o.createContext(i));return function(c){const s=(c==null?void 0:c[e])||l;return o.useMemo(()=>({[`__scope${e}`]:{...c,[e]:s}}),[c,s])}};return a.scopeName=e,[n,ub(a,...t)]}function ub(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(l){const i=n.reduce((c,{useScope:s,scopeName:d})=>{const g=s(l)[`__scope${d}`];return{...c,...g}},{});return o.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}const Io=globalThis!=null&&globalThis.document?o.useLayoutEffect:()=>{},fb=co.useId||(()=>{});let pb=0;function Ha(e){const[t,r]=o.useState(fb());return Io(()=>{e||r(n=>n??String(pb++))},[e]),e||(t?`radix-${t}`:"")}function qt(e){const t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function hb({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,a]=gb({defaultProp:t,onChange:r}),l=e!==void 0,i=l?e:n,c=qt(r),s=o.useCallback(d=>{if(l){const g=typeof d=="function"?d(e):d;g!==e&&c(g)}else a(d)},[l,e,a,c]);return[i,s]}function gb({defaultProp:e,onChange:t}){const r=o.useState(e),[n]=r,a=o.useRef(n),l=qt(t);return o.useEffect(()=>{a.current!==n&&(l(n),a.current=n)},[n,a,l]),r}const mb=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],_t=mb.reduce((e,t)=>{const r=o.forwardRef((n,a)=>{const{asChild:l,...i}=n,c=l?rn:t;return o.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),o.createElement(c,ne({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function vb(e,t){e&&Xn.flushSync(()=>e.dispatchEvent(t))}function bb(e,t=globalThis==null?void 0:globalThis.document){const r=qt(e);o.useEffect(()=>{const n=a=>{a.key==="Escape"&&r(a)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const Ao="dismissableLayer.update",yb="dismissableLayer.pointerDownOutside",wb="dismissableLayer.focusOutside";let Zi;const xb=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Eb=o.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:i,onInteractOutside:c,onDismiss:s,...d}=e,f=o.useContext(xb),[g,m]=o.useState(null),p=(r=g==null?void 0:g.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,v]=o.useState({}),h=Er(t,I=>m(I)),y=Array.from(f.layers),[x]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),E=y.indexOf(x),b=g?y.indexOf(g):-1,w=f.layersWithOutsidePointerEventsDisabled.size>0,S=b>=E,C=Sb(I=>{const _=I.target,k=[...f.branches].some($=>$.contains(_));!S||k||(l==null||l(I),c==null||c(I),I.defaultPrevented||s==null||s())},p),R=Cb(I=>{const _=I.target;[...f.branches].some($=>$.contains(_))||(i==null||i(I),c==null||c(I),I.defaultPrevented||s==null||s())},p);return bb(I=>{b===f.layers.size-1&&(a==null||a(I),!I.defaultPrevented&&s&&(I.preventDefault(),s()))},p),o.useEffect(()=>{if(g)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Zi=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(g)),f.layers.add(g),Ji(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Zi)}},[g,p,n,f]),o.useEffect(()=>()=>{g&&(f.layers.delete(g),f.layersWithOutsidePointerEventsDisabled.delete(g),Ji())},[g,f]),o.useEffect(()=>{const I=()=>v({});return document.addEventListener(Ao,I),()=>document.removeEventListener(Ao,I)},[]),o.createElement(_t.div,ne({},d,{ref:h,style:{pointerEvents:w?S?"auto":"none":void 0,...e.style},onFocusCapture:St(e.onFocusCapture,R.onFocusCapture),onBlurCapture:St(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:St(e.onPointerDownCapture,C.onPointerDownCapture)}))});function Sb(e,t=globalThis==null?void 0:globalThis.document){const r=qt(e),n=o.useRef(!1),a=o.useRef(()=>{});return o.useEffect(()=>{const l=c=>{if(c.target&&!n.current){let d=function(){Wc(yb,r,s,{discrete:!0})};const s={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=d,t.addEventListener("click",a.current,{once:!0})):d()}else t.removeEventListener("click",a.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",l),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Cb(e,t=globalThis==null?void 0:globalThis.document){const r=qt(e),n=o.useRef(!1);return o.useEffect(()=>{const a=l=>{l.target&&!n.current&&Wc(wb,r,{originalEvent:l},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Ji(){const e=new CustomEvent(Ao);document.dispatchEvent(e)}function Wc(e,t,r,{discrete:n}){const a=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?vb(a,l):a.dispatchEvent(l)}const Na="focusScope.autoFocusOnMount",ja="focusScope.autoFocusOnUnmount",Qi={bubbles:!1,cancelable:!0},Rb=o.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:l,...i}=e,[c,s]=o.useState(null),d=qt(a),f=qt(l),g=o.useRef(null),m=Er(t,h=>s(h)),p=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(n){let h=function(b){if(p.paused||!c)return;const w=b.target;c.contains(w)?g.current=w:wt(g.current,{select:!0})},y=function(b){if(p.paused||!c)return;const w=b.relatedTarget;w!==null&&(c.contains(w)||wt(g.current,{select:!0}))},x=function(b){if(document.activeElement===document.body)for(const S of b)S.removedNodes.length>0&&wt(c)};document.addEventListener("focusin",h),document.addEventListener("focusout",y);const E=new MutationObserver(x);return c&&E.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",y),E.disconnect()}}},[n,c,p.paused]),o.useEffect(()=>{if(c){t0.add(p);const h=document.activeElement;if(!c.contains(h)){const x=new CustomEvent(Na,Qi);c.addEventListener(Na,d),c.dispatchEvent(x),x.defaultPrevented||(Ib(Ob(Gc(c)),{select:!0}),document.activeElement===h&&wt(c))}return()=>{c.removeEventListener(Na,d),setTimeout(()=>{const x=new CustomEvent(ja,Qi);c.addEventListener(ja,f),c.dispatchEvent(x),x.defaultPrevented||wt(h??document.body,{select:!0}),c.removeEventListener(ja,f),t0.remove(p)},0)}}},[c,d,f,p]);const v=o.useCallback(h=>{if(!r&&!n||p.paused)return;const y=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,x=document.activeElement;if(y&&x){const E=h.currentTarget,[b,w]=Ab(E);b&&w?!h.shiftKey&&x===w?(h.preventDefault(),r&&wt(b,{select:!0})):h.shiftKey&&x===b&&(h.preventDefault(),r&&wt(w,{select:!0})):x===E&&h.preventDefault()}},[r,n,p.paused]);return o.createElement(_t.div,ne({tabIndex:-1},i,{ref:m,onKeyDown:v}))});function Ib(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(wt(n,{select:t}),document.activeElement!==r)return}function Ab(e){const t=Gc(e),r=e0(t,e),n=e0(t.reverse(),e);return[r,n]}function Gc(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function e0(e,t){for(const r of e)if(!_b(r,{upTo:t}))return r}function _b(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function kb(e){return e instanceof HTMLInputElement&&"select"in e}function wt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&kb(e)&&t&&e.select()}}const t0=$b();function $b(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=r0(e,t),e.unshift(t)},remove(t){var r;e=r0(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function r0(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Ob(e){return e.filter(t=>t.tagName!=="A")}const Tb=o.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...a}=e;return n?os.createPortal(o.createElement(_t.div,ne({},a,{ref:t})),n):null});function Mb(e,t){return o.useReducer((r,n)=>{const a=t[r][n];return a??r},e)}const fa=e=>{const{present:t,children:r}=e,n=Lb(t),a=typeof r=="function"?r({present:n.isPresent}):o.Children.only(r),l=Er(n.ref,a.ref);return typeof r=="function"||n.isPresent?o.cloneElement(a,{ref:l}):null};fa.displayName="Presence";function Lb(e){const[t,r]=o.useState(),n=o.useRef({}),a=o.useRef(e),l=o.useRef("none"),i=e?"mounted":"unmounted",[c,s]=Mb(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return o.useEffect(()=>{const d=vn(n.current);l.current=c==="mounted"?d:"none"},[c]),Io(()=>{const d=n.current,f=a.current;if(f!==e){const m=l.current,p=vn(d);e?s("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?s("UNMOUNT"):s(f&&m!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,s]),Io(()=>{if(t){const d=g=>{const p=vn(n.current).includes(g.animationName);g.target===t&&p&&Xn.flushSync(()=>s("ANIMATION_END"))},f=g=>{g.target===t&&(l.current=vn(n.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:o.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function vn(e){return(e==null?void 0:e.animationName)||"none"}let Da=0;function zb(){o.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:n0()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:n0()),Da++,()=>{Da===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Da--}},[])}function n0(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var et=function(){return et=Object.assign||function(t){for(var r,n=1,a=arguments.length;n"u")return Jb;var t=Qb(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},ty=Xc(),dr="data-scroll-locked",ry=function(e,t,r,n){var a=e.left,l=e.top,i=e.right,c=e.gap;return r===void 0&&(r="margin"),` - .`.concat(Bb,` { - overflow: hidden `).concat(n,`; - padding-right: `).concat(c,"px ").concat(n,`; - } - body[`).concat(dr,`] { - overflow: hidden `).concat(n,`; - overscroll-behavior: contain; - `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` - padding-left: `.concat(a,`px; - padding-top: `).concat(l,`px; - padding-right: `).concat(i,`px; - margin-left:0; - margin-top:0; - margin-right: `).concat(c,"px ").concat(n,`; - `),r==="padding"&&"padding-right: ".concat(c,"px ").concat(n,";")].filter(Boolean).join(""),` - } - - .`).concat(Tn,` { - right: `).concat(c,"px ").concat(n,`; - } - - .`).concat(Mn,` { - margin-right: `).concat(c,"px ").concat(n,`; - } - - .`).concat(Tn," .").concat(Tn,` { - right: 0 `).concat(n,`; - } - - .`).concat(Mn," .").concat(Mn,` { - margin-right: 0 `).concat(n,`; - } - - body[`).concat(dr,`] { - `).concat(Fb,": ").concat(c,`px; - } -`)},l0=function(){var e=parseInt(document.body.getAttribute(dr)||"0",10);return isFinite(e)?e:0},ny=function(){o.useEffect(function(){return document.body.setAttribute(dr,(l0()+1).toString()),function(){var e=l0()-1;e<=0?document.body.removeAttribute(dr):document.body.setAttribute(dr,e.toString())}},[])},ay=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n;ny();var l=o.useMemo(function(){return ey(a)},[a]);return o.createElement(ty,{styles:ry(l,!t,a,r?"":"!important")})},_o=!1;if(typeof window<"u")try{var bn=Object.defineProperty({},"passive",{get:function(){return _o=!0,!0}});window.addEventListener("test",bn,bn),window.removeEventListener("test",bn,bn)}catch{_o=!1}var tr=_o?{passive:!1}:!1,oy=function(e){return e.tagName==="TEXTAREA"},Zc=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!oy(e)&&r[t]==="visible")},ly=function(e){return Zc(e,"overflowY")},iy=function(e){return Zc(e,"overflowX")},i0=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=Jc(e,r);if(n){var a=Qc(e,r),l=a[1],i=a[2];if(l>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},sy=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},cy=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Jc=function(e,t){return e==="v"?ly(t):iy(t)},Qc=function(e,t){return e==="v"?sy(t):cy(t)},dy=function(e,t){return e==="h"&&t==="rtl"?-1:1},uy=function(e,t,r,n,a){var l=dy(e,window.getComputedStyle(t).direction),i=l*n,c=r.target,s=t.contains(c),d=!1,f=i>0,g=0,m=0;do{var p=Qc(e,c),v=p[0],h=p[1],y=p[2],x=h-y-l*v;(v||x)&&Jc(e,c)&&(g+=x,m+=v),c=c.parentNode}while(!s&&c!==document.body||s&&(t.contains(c)||t===c));return(f&&(a&&g===0||!a&&i>g)||!f&&(a&&m===0||!a&&-i>m))&&(d=!0),d},yn=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},s0=function(e){return[e.deltaX,e.deltaY]},c0=function(e){return e&&"current"in e?e.current:e},fy=function(e,t){return e[0]===t[0]&&e[1]===t[1]},py=function(e){return` - .block-interactivity-`.concat(e,` {pointer-events: none;} - .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},hy=0,rr=[];function gy(e){var t=o.useRef([]),r=o.useRef([0,0]),n=o.useRef(),a=o.useState(hy++)[0],l=o.useState(function(){return Xc()})[0],i=o.useRef(e);o.useEffect(function(){i.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var h=Pb([e.lockRef.current],(e.shards||[]).map(c0),!0).filter(Boolean);return h.forEach(function(y){return y.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),h.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var c=o.useCallback(function(h,y){if("touches"in h&&h.touches.length===2)return!i.current.allowPinchZoom;var x=yn(h),E=r.current,b="deltaX"in h?h.deltaX:E[0]-x[0],w="deltaY"in h?h.deltaY:E[1]-x[1],S,C=h.target,R=Math.abs(b)>Math.abs(w)?"h":"v";if("touches"in h&&R==="h"&&C.type==="range")return!1;var I=i0(R,C);if(!I)return!0;if(I?S=R:(S=R==="v"?"h":"v",I=i0(R,C)),!I)return!1;if(!n.current&&"changedTouches"in h&&(b||w)&&(n.current=S),!S)return!0;var _=n.current||S;return uy(_,y,h,_==="h"?b:w,!0)},[]),s=o.useCallback(function(h){var y=h;if(!(!rr.length||rr[rr.length-1]!==l)){var x="deltaY"in y?s0(y):yn(y),E=t.current.filter(function(S){return S.name===y.type&&S.target===y.target&&fy(S.delta,x)})[0];if(E&&E.should){y.cancelable&&y.preventDefault();return}if(!E){var b=(i.current.shards||[]).map(c0).filter(Boolean).filter(function(S){return S.contains(y.target)}),w=b.length>0?c(y,b[0]):!i.current.noIsolation;w&&y.cancelable&&y.preventDefault()}}},[]),d=o.useCallback(function(h,y,x,E){var b={name:h,delta:y,target:x,should:E};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(w){return w!==b})},1)},[]),f=o.useCallback(function(h){r.current=yn(h),n.current=void 0},[]),g=o.useCallback(function(h){d(h.type,s0(h),h.target,c(h,e.lockRef.current))},[]),m=o.useCallback(function(h){d(h.type,yn(h),h.target,c(h,e.lockRef.current))},[]);o.useEffect(function(){return rr.push(l),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:m}),document.addEventListener("wheel",s,tr),document.addEventListener("touchmove",s,tr),document.addEventListener("touchstart",f,tr),function(){rr=rr.filter(function(h){return h!==l}),document.removeEventListener("wheel",s,tr),document.removeEventListener("touchmove",s,tr),document.removeEventListener("touchstart",f,tr)}},[]);var p=e.removeScrollBar,v=e.inert;return o.createElement(o.Fragment,null,v?o.createElement(l,{styles:py(a)}):null,p?o.createElement(ay,{gapMode:"margin"}):null)}const my=Wb(Kc,gy);var e1=o.forwardRef(function(e,t){return o.createElement(pa,et({},e,{ref:t,sideCar:my}))});e1.classNames=pa.classNames;const vy=e1;var by=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},nr=new WeakMap,wn=new WeakMap,xn={},Ga=0,t1=function(e){return e&&(e.host||t1(e.parentNode))},yy=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=t1(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},wy=function(e,t,r,n){var a=yy(t,Array.isArray(e)?e:[e]);xn[r]||(xn[r]=new WeakMap);var l=xn[r],i=[],c=new Set,s=new Set(a),d=function(g){!g||c.has(g)||(c.add(g),d(g.parentNode))};a.forEach(d);var f=function(g){!g||s.has(g)||Array.prototype.forEach.call(g.children,function(m){if(c.has(m))f(m);else try{var p=m.getAttribute(n),v=p!==null&&p!=="false",h=(nr.get(m)||0)+1,y=(l.get(m)||0)+1;nr.set(m,h),l.set(m,y),i.push(m),h===1&&v&&wn.set(m,!0),y===1&&m.setAttribute(r,"true"),v||m.setAttribute(n,"true")}catch(x){console.error("aria-hidden: cannot operate on ",m,x)}})};return f(t),c.clear(),Ga++,function(){i.forEach(function(g){var m=nr.get(g)-1,p=l.get(g)-1;nr.set(g,m),l.set(g,p),m||(wn.has(g)||g.removeAttribute(n),wn.delete(g)),p||g.removeAttribute(r)}),Ga--,Ga||(nr=new WeakMap,nr=new WeakMap,wn=new WeakMap,xn={})}},xy=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||by(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),wy(n,a,r,"aria-hidden")):function(){return null}};const r1="Dialog",[n1,Ey]=db(r1),[Sy,He]=n1(r1),a1=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:l,modal:i=!0}=e,c=o.useRef(null),s=o.useRef(null),[d=!1,f]=hb({prop:n,defaultProp:a,onChange:l});return o.createElement(Sy,{scope:t,triggerRef:c,contentRef:s,contentId:Ha(),titleId:Ha(),descriptionId:Ha(),open:d,onOpenChange:f,onOpenToggle:o.useCallback(()=>f(g=>!g),[f]),modal:i},r)},Cy="DialogTrigger",o1=o.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=He(Cy,r),l=Er(t,a.triggerRef);return o.createElement(_t.button,ne({type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":_l(a.open)},n,{ref:l,onClick:St(e.onClick,a.onOpenToggle)}))}),l1="DialogPortal",[Ry,i1]=n1(l1,{forceMount:void 0}),s1=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:a}=e,l=He(l1,t);return o.createElement(Ry,{scope:t,forceMount:r},o.Children.map(n,i=>o.createElement(fa,{present:r||l.open},o.createElement(Tb,{asChild:!0,container:a},i))))},ko="DialogOverlay",c1=o.forwardRef((e,t)=>{const r=i1(ko,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,l=He(ko,e.__scopeDialog);return l.modal?o.createElement(fa,{present:n||l.open},o.createElement(Iy,ne({},a,{ref:t}))):null}),Iy=o.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=He(ko,r);return o.createElement(vy,{as:rn,allowPinchZoom:!0,shards:[a.contentRef]},o.createElement(_t.div,ne({"data-state":_l(a.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),br="DialogContent",d1=o.forwardRef((e,t)=>{const r=i1(br,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,l=He(br,e.__scopeDialog);return o.createElement(fa,{present:n||l.open},l.modal?o.createElement(Ay,ne({},a,{ref:t})):o.createElement(_y,ne({},a,{ref:t})))}),Ay=o.forwardRef((e,t)=>{const r=He(br,e.__scopeDialog),n=o.useRef(null),a=Er(t,r.contentRef,n);return o.useEffect(()=>{const l=n.current;if(l)return xy(l)},[]),o.createElement(u1,ne({},e,{ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:St(e.onCloseAutoFocus,l=>{var i;l.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:St(e.onPointerDownOutside,l=>{const i=l.detail.originalEvent,c=i.button===0&&i.ctrlKey===!0;(i.button===2||c)&&l.preventDefault()}),onFocusOutside:St(e.onFocusOutside,l=>l.preventDefault())}))}),_y=o.forwardRef((e,t)=>{const r=He(br,e.__scopeDialog),n=o.useRef(!1),a=o.useRef(!1);return o.createElement(u1,ne({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,l),!l.defaultPrevented){var c;n.current||(c=r.triggerRef.current)===null||c===void 0||c.focus(),l.preventDefault()}n.current=!1,a.current=!1},onInteractOutside:l=>{var i,c;(i=e.onInteractOutside)===null||i===void 0||i.call(e,l),l.defaultPrevented||(n.current=!0,l.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const s=l.target;((c=r.triggerRef.current)===null||c===void 0?void 0:c.contains(s))&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&a.current&&l.preventDefault()}}))}),u1=o.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:l,...i}=e,c=He(br,r),s=o.useRef(null),d=Er(t,s);return zb(),o.createElement(o.Fragment,null,o.createElement(Rb,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:l},o.createElement(Eb,ne({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":_l(c.open)},i,{ref:d,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),f1="DialogTitle",p1=o.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=He(f1,r);return o.createElement(_t.h2,ne({id:a.titleId},n,{ref:t}))}),ky="DialogDescription",h1=o.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=He(ky,r);return o.createElement(_t.p,ne({id:a.descriptionId},n,{ref:t}))}),$y="DialogClose",g1=o.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=He($y,r);return o.createElement(_t.button,ne({type:"button"},n,{ref:t,onClick:St(e.onClick,()=>a.onOpenChange(!1))}))});function _l(e){return e?"open":"closed"}const Oy="DialogTitleWarning",[Ty,U$]=cb(Oy,{contentName:br,titleName:f1,docsSlug:"dialog"}),m1=a1,My=o1,v1=s1,b1=c1,y1=d1,w1=p1,x1=h1,E1=g1,Ly=Object.freeze(Object.defineProperty({__proto__:null,Close:E1,Content:y1,Description:x1,Dialog:a1,DialogClose:g1,DialogContent:d1,DialogDescription:h1,DialogOverlay:c1,DialogPortal:s1,DialogTitle:p1,DialogTrigger:o1,Overlay:b1,Portal:v1,Root:m1,Title:w1,Trigger:My,WarningProvider:Ty,createDialogScope:Ey},Symbol.toStringTag,{value:"Module"})),{deprecate:S1,logger:zy}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{global:Py}=__STORYBOOK_MODULE_GLOBAL__;var re=({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e};function By(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kr(e,t){return Kr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Kr(e,t)}function Fy(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Kr(e,t)}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},$o(e)}function Hy(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function C1(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(C1=function(){return!!e})()}function Ny(e,t,r){if(C1())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&Kr(a,r.prototype),a}function Oo(e){var t=typeof Map=="function"?new Map:void 0;return Oo=function(r){if(r===null||!Hy(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return Ny(r,arguments,$o(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Kr(n,r)},Oo(e)}var jy={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). - -`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). - -`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. - -`,4:`Couldn't generate valid rgb string from %s, it returned %s. - -`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. - -`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). - -`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). - -`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. - -`,9:`Please provide a number of steps to the modularScale helper. - -`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" - -`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. - -`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. - -`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. - -`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. - -`,16:`You must provide a template to this method. - -`,17:`You passed an unsupported selector state to this method. - -`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,19:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. - -`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,25:`fontFace expects localFonts to be an array. - -`,26:`fontFace expects fileFormats to be an array. - -`,27:`radialGradient requries at least 2 color-stops to properly render. - -`,28:`Please supply a filename to retinaImage() as the first argument. - -`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation - -`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) -To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') - -`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation - -`,34:`borderRadius expects a radius value as a string or number as the second argument. - -`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,36:`Property must be a string value. - -`,37:`Syntax Error at %s. - -`,38:`Formula contains a function that needs parentheses at %s. - -`,39:`Formula is missing closing parenthesis at %s. - -`,40:`Formula has too many closing parentheses at %s. - -`,41:`All values in a formula must have the same unit or be unitless. - -`,42:`Please provide a number of steps to the modularScale helper. - -`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. - -`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. - -`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. - -`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,48:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. - -`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. - -`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,53:`fontFace expects localFonts to be an array. - -`,54:`fontFace expects fileFormats to be an array. - -`,55:`fontFace expects a name of a font-family. - -`,56:`linearGradient requries at least 2 color-stops to properly render. - -`,57:`radialGradient requries at least 2 color-stops to properly render. - -`,58:`Please supply a filename to retinaImage() as the first argument. - -`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. - -`,62:`borderRadius expects a radius value as a string or number as the second argument. - -`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. - -`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). - -`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. - -`,67:`You must provide a template to this method. - -`,68:`You passed an unsupported selector state to this method. - -`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. - -`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. - -`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. - -`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. - -`,73:`Please provide a valid CSS variable. - -`,74:`CSS variable not found and no default was provided. - -`,75:`important requires a valid style object, got a %s instead. - -`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. - -`,77:`remToPx expects a value in "rem" but you provided it in "%s". - -`,78:`base must be set in "px" or "%" but you set it in "%s". -`};function Dy(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(c=l,s=i):a>=1&&a<2?(c=i,s=l):a>=2&&a<3?(s=l,d=i):a>=3&&a<4?(s=i,d=l):a>=4&&a<5?(c=i,d=l):a>=5&&a<6&&(c=l,d=i);var f=r-l/2,g=c+f,m=s+f,p=d+f;return n(g,m,p)}var d0={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"};function Vy(e){if(typeof e!="string")return e;var t=e.toLowerCase();return d0[t]?"#"+d0[t]:e}var Wy=/^#[a-fA-F0-9]{6}$/,Gy=/^#[a-fA-F0-9]{8}$/,qy=/^#[a-fA-F0-9]{3}$/,Yy=/^#[a-fA-F0-9]{4}$/,Ya=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Ky=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Xy=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Zy=/^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 kl(e){if(typeof e!="string")throw new nt(3);var t=Vy(e);if(t.match(Wy))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Gy)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(qy))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Yy)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=Ya.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var l=Ky.exec(t.substring(0,50));if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])};var i=Xy.exec(t);if(i){var c=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+Xr(c,s,d)+")",g=Ya.exec(f);if(!g)throw new nt(4,t,f);return{red:parseInt(""+g[1],10),green:parseInt(""+g[2],10),blue:parseInt(""+g[3],10)}}var m=Zy.exec(t.substring(0,50));if(m){var p=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,h=parseInt(""+m[3],10)/100,y="rgb("+Xr(p,v,h)+")",x=Ya.exec(y);if(!x)throw new nt(4,t,y);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new nt(5)}function Jy(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),l=Math.min(t,r,n),i=(a+l)/2;if(a===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var c,s=a-l,d=i>.5?s/(2-a-l):s/(a+l);switch(a){case t:c=(r-n)/s+(r=1?Vn(e,t,r):"rgba("+Xr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Vn(e.hue,e.saturation,e.lightness):"rgba("+Xr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new nt(2)}function Mo(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return To("#"+zt(e)+zt(t)+zt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return To("#"+zt(e.red)+zt(e.green)+zt(e.blue));throw new nt(6)}function Wn(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=kl(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Mo(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Mo(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new nt(7)}var n6=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},a6=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},o6=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},l6=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function I1(e){if(typeof e!="object")throw new nt(8);if(a6(e))return Wn(e);if(n6(e))return Mo(e);if(l6(e))return r6(e);if(o6(e))return t6(e);throw new nt(8)}function A1(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):A1(e,t,n)}}function $l(e){return A1(e,e.length,[])}function Ol(e,t,r){return Math.max(e,Math.min(t,r))}function i6(e,t){if(t==="transparent")return t;var r=R1(t);return I1(Y({},r,{lightness:Ol(0,1,r.lightness-parseFloat(e))}))}var s6=$l(i6),sr=s6;function c6(e,t){if(t==="transparent")return t;var r=R1(t);return I1(Y({},r,{lightness:Ol(0,1,r.lightness+parseFloat(e))}))}var d6=$l(c6),u0=d6;function u6(e,t){if(t==="transparent")return t;var r=kl(t),n=typeof r.alpha=="number"?r.alpha:1,a=Y({},r,{alpha:Ol(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Wn(a)}var f6=$l(u6),ke=f6,Sr=({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),mt=({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?ke(.1,e.color.defaultText):ke(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),ae=({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),Xt={margin:"16px 0"},p6=({href:e,...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return u.createElement("a",{href:r,target:n,...t})},_1=A(p6)(ae,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),k1=A.blockquote(ae,Xt,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),h6=e=>typeof e=="string",g6=/[\n\r]/g,m6=A.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),mt),v6=A(bl)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),Tl=({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=o.Children.toArray(t);return a.filter(h6).some(l=>l.match(g6))?u.createElement(v6,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):u.createElement(m6,{...r,className:e},a)},$1=A.div(ae),O1=A.dl(ae,Xt,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),T1=A.h1(ae,Sr,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),Ml=A.h2(ae,Sr,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),Ll=A.h3(ae,Sr,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),M1=A.h4(ae,Sr,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),L1=A.h5(ae,Sr,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),z1=A.h6(ae,Sr,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),P1=A.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),B1=A.img({maxWidth:"100%"}),F1=A.li(ae,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":mt({theme:e})})),b6={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},H1=A.ol(ae,Xt,b6,{listStyle:"decimal"}),N1=A.p(ae,Xt,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":mt({theme:e})})),j1=A.pre(ae,Xt,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),D1=A.span(ae,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),U1=A.table(ae,Xt,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),V1=A.title(mt),y6={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},W1=A.ul(ae,Xt,y6,{listStyle:"disc"}),ha=A.div(ae),G1={h1:e=>u.createElement(T1,{...re(e,"h1")}),h2:e=>u.createElement(Ml,{...re(e,"h2")}),h3:e=>u.createElement(Ll,{...re(e,"h3")}),h4:e=>u.createElement(M1,{...re(e,"h4")}),h5:e=>u.createElement(L1,{...re(e,"h5")}),h6:e=>u.createElement(z1,{...re(e,"h6")}),pre:e=>u.createElement(j1,{...re(e,"pre")}),a:e=>u.createElement(_1,{...re(e,"a")}),hr:e=>u.createElement(P1,{...re(e,"hr")}),dl:e=>u.createElement(O1,{...re(e,"dl")}),blockquote:e=>u.createElement(k1,{...re(e,"blockquote")}),table:e=>u.createElement(U1,{...re(e,"table")}),img:e=>u.createElement(B1,{...re(e,"img")}),div:e=>u.createElement($1,{...re(e,"div")}),span:e=>u.createElement(D1,{...re(e,"span")}),li:e=>u.createElement(F1,{...re(e,"li")}),ul:e=>u.createElement(W1,{...re(e,"ul")}),ol:e=>u.createElement(H1,{...re(e,"ol")}),p:e=>u.createElement(N1,{...re(e,"p")}),code:e=>u.createElement(Tl,{...re(e,"code")}),tt:e=>u.createElement(V1,{...re(e,"tt")}),resetwrapper:e=>u.createElement(ha,{...re(e,"resetwrapper")})},w6=A.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${ke(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${ke(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${ke(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${ke(.9,e.color.positiveText)}`:"none"};default:return{}}}),x6=({...e})=>u.createElement(w6,{...e}),E6=0,S6=e=>e.button===E6&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,C6=(e,t)=>{S6(e)&&(e.preventDefault(),t(e))},R6=A.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),I6=A.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:sr(.07,e.color.secondary),"svg path:not([fill])":{fill:sr(.07,e.color.secondary)}},"&:active":{color:sr(.1,e.color.secondary),"svg path:not([fill])":{fill:sr(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Ut=({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:l=void 0,style:i=void 0,...c})=>u.createElement(I6,{...c,onClick:r&&e?s=>C6(s,r):r,className:l},u.createElement(R6,{withArrow:n,containsIcon:a},t,n&&u.createElement(Il,null))),A6=A.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"&&e.color.darkest}})),Vt=[],yr=null,_6=o.lazy(async()=>{let{SyntaxHighlighter:e}=await Wt(()=>import("./syntaxhighlighter-BP7B2CQK-GHa07Qus.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return Vt.length>0&&(Vt.forEach(t=>{e.registerLanguage(...t)}),Vt=[]),yr===null&&(yr=e),{default:t=>u.createElement(e,{...t})}}),k6=o.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Wt(()=>import("./syntaxhighlighter-BP7B2CQK-GHa07Qus.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),Wt(()=>import("./formatter-2WMMO6ZP--ZppGSaP.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url)]);return Vt.length>0&&(Vt.forEach(r=>{e.registerLanguage(...r)}),Vt=[]),yr===null&&(yr=e),{default:r=>u.createElement(e,{...r,formatter:t})}}),ga=e=>u.createElement(o.Suspense,{fallback:u.createElement("div",null)},e.format!==!1?u.createElement(k6,{...e}):u.createElement(_6,{...e}));ga.registerLanguage=(...e)=>{if(yr!==null){yr.registerLanguage(...e);return}Vt.push(e)};var q1={};mh(q1,{Actions:()=>B6,CloseButton:()=>Z1,Col:()=>Q1,Container:()=>X1,Content:()=>M6,Description:()=>P6,Error:()=>F6,ErrorWrapper:()=>ed,Header:()=>L6,Overlay:()=>K1,Row:()=>J1,Title:()=>z6});var kt=o.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:l=!1,active:i=!1,onClick:c,...s},d)=>{let f="button";s.isLink&&(f="a"),e&&(f=rn);let g=n,m=r,[p,v]=o.useState(!1),h=y=>{c&&c(y),t!=="none"&&v(!0)};if(o.useEffect(()=>{let y=setTimeout(()=>{p&&v(!1)},1e3);return()=>clearTimeout(y)},[p]),s.primary&&(g="solid",m="medium"),(s.secondary||s.tertiary||s.gray||s.outline||s.inForm)&&(g="outline",m="medium"),s.small||s.isLink||s.primary||s.secondary||s.tertiary||s.gray||s.outline||s.inForm||s.containsIcon){let y=u.Children.toArray(s.children).filter(x=>typeof x=="string"&&x!=="");S1(`Use of deprecated props in the button ${y.length>0?`"${y.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return u.createElement($6,{as:f,ref:d,variant:g,size:m,padding:a,disabled:l,active:i,animating:p,animation:t,onClick:h,...s})});kt.displayName="Button";var $6=A("button",{shouldForwardProp:e=>Qo(e)})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:l,animation:i,padding:c})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:c==="small"&&r==="small"?"0 7px":c==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&a?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:a?ke(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:ke(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:ke(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${Wn(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&a?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let s=e.color.secondary;return t==="solid"&&(s=e.color.secondary),t==="outline"&&(s=e.button.background),t==="ghost"?ke(.86,e.color.secondary):e.base==="light"?sr(.02,s):u0(.03,s)})()},"&:active":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let s=e.color.secondary;return t==="solid"&&(s=e.color.secondary),t==="outline"&&(s=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?sr(.02,s):u0(.03,s)})()},"&:focus":{boxShadow:`${Wn(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:l&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),Ct=o.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>u.createElement(kt,{padding:e,variant:t,ref:n,...r}));Ct.displayName="IconButton";var Y1=ht({from:{opacity:0},to:{opacity:1}}),O6=ht({from:{maxHeight:0},to:{}}),T6=ht({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),K1=A.div({backgroundColor:"rgba(27, 28, 29, 0.2)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${Y1} 200ms`}),X1=A.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"rgba(255, 255, 255, 0.05) 0 0 0 1px inset, rgba(14, 18, 22, 0.35) 0px 10px 38px -10px",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${T6} 200ms`,"&:focus-visible":{outline:"none"}})),Z1=e=>u.createElement(E1,{asChild:!0},u.createElement(Ct,{...e},u.createElement(Fc,null))),M6=A.div({display:"flex",flexDirection:"column",margin:16,gap:16}),J1=A.div({display:"flex",justifyContent:"space-between",gap:16}),Q1=A.div({display:"flex",flexDirection:"column",gap:4}),L6=e=>u.createElement(J1,null,u.createElement(Q1,{...e}),u.createElement(Z1,null)),z6=A(w1)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),P6=A(x1)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),B6=A.div({display:"flex",flexDirection:"row-reverse",gap:8}),ed=A.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${O6} 300ms, ${Y1} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),F6=({children:e,...t})=>u.createElement(ed,{...t},u.createElement("div",null,e));function H6({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=s=>s.preventDefault(),className:l,container:i,...c}){return u.createElement(m1,{...c},u.createElement(v1,{container:i},u.createElement(b1,{asChild:!0},u.createElement(K1,null)),u.createElement(y1,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},u.createElement(X1,{className:l,width:t,height:r},e))))}var N6=Object.assign(H6,q1,{Dialog:Ly}),j6=e=>typeof e=="number"?e:Number(e),D6=A.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${yo}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${yo}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),U6=({col:e,row:t,outer:r,children:n,...a})=>{let l=j6(typeof r=="number"||!r?r:e||t);return u.createElement(D6,{col:e,row:t,outer:l,...a},n)},V6=A.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),W6=A.div(),G6=A.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),q6=({children:e,...t})=>{let[r,n]=o.Children.toArray(e);return u.createElement(G6,{...t},u.createElement(V6,null,r),n&&u.createElement(W6,null,n))};function Y6(e,t){var r=o.useRef(null),n=o.useRef(null);n.current=t;var a=o.useRef(null);o.useEffect(function(){l()});var l=o.useCallback(function(){var i=a.current,c=n.current,s=i||(c?c instanceof Element?c:c.current:null);r.current&&r.current.element===s&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:s,subscriber:e,cleanup:s?e(s):void 0})},[e]);return o.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),o.useCallback(function(i){a.current=i,l()},[l])}function f0(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}function td(e){e===void 0&&(e={});var t=e.onResize,r=o.useRef(void 0);r.current=t;var n=e.round||Math.round,a=o.useRef(),l=o.useState({width:void 0,height:void 0}),i=l[0],c=l[1],s=o.useRef(!1);o.useEffect(function(){return s.current=!1,function(){s.current=!0}},[]);var d=o.useRef({width:void 0,height:void 0}),f=Y6(o.useCallback(function(g){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(m){var p=m[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",h=f0(p,v,"inlineSize"),y=f0(p,v,"blockSize"),x=h?n(h):void 0,E=y?n(y):void 0;if(d.current.width!==x||d.current.height!==E){var b={width:x,height:E};d.current.width=x,d.current.height=E,r.current?r.current(b):s.current||c(b)}})}),a.current.instance.observe(g,{box:e.box}),function(){a.current&&a.current.instance.unobserve(g)}},[e.box,n]),e.ref);return o.useMemo(function(){return{ref:f,width:i.width,height:i.height}},[f,i.width,i.height])}var K6=A.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function X6({scale:e,children:t}){let r=o.useRef(null),[n,a]=o.useState(0),l=o.useCallback(({height:i})=>{i&&a(i/e)},[e]);return o.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),td({ref:r,onResize:l}),u.createElement(K6,{scale:e,elementHeight:n},u.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}var Z6=class extends o.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:r}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),r!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return u.createElement(u.Fragment,null,e)}},rd={Element:X6,IFrame:Z6},{document:J6}=Py,Q6=A.strong(({theme:e})=>({color:e.color.orange})),ew=A.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),p0=A.em(({theme:e})=>({color:e.textMutedColor})),tw=/(Error): (.*)\n/,rw=/at (?:(.*) )?\(?(.+)\)?/,nw=/([^@]+)?(?:\/<)?@(.+)?/,aw=/([^@]+)?@(.+)?/,nd=({error:e})=>{if(!e)return u.createElement(o.Fragment,null,"This error has no stack or message");if(!e.stack)return u.createElement(o.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} - -${t}`);let r=t.match(tw);if(!r)return u.createElement(o.Fragment,null,t);let[,n,a]=r,l=t.split(/\n/).slice(1),[,...i]=l.map(c=>{let s=c.match(rw)||c.match(nw)||c.match(aw);return s?{name:(s[1]||"").replace("/<",""),location:s[2].replace(J6.location.origin,"")}:null}).filter(Boolean);return u.createElement(o.Fragment,null,u.createElement("span",null,n),": ",u.createElement(Q6,null,a),u.createElement("br",null),i.map((c,s)=>c.name?u.createElement(o.Fragment,{key:s}," ","at ",u.createElement(ew,null,c.name)," (",u.createElement(p0,null,c.location),")",u.createElement("br",null)):u.createElement(o.Fragment,{key:s}," ","at ",u.createElement(p0,null,c.location),u.createElement("br",null))))},ow=A.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),lw=A.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),iw=({label:e,children:t,...r})=>u.createElement(ow,{...r},e?u.createElement(lw,null,u.createElement("span",null,e)):null,t),sw=o.useLayoutEffect,cw=sw,dw=function(e){var t=o.useRef(e);return cw(function(){t.current=e}),t},h0=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},uw=function(e,t){var r=o.useRef();return o.useCallback(function(n){e.current=n,r.current&&h0(r.current,null),r.current=t,t&&h0(t,n)},[t])},fw=uw,g0={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},pw=function(e){Object.keys(g0).forEach(function(t){e.style.setProperty(t,g0[t],"important")})},m0=pw,we=null,v0=function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize};function hw(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),we||(we=document.createElement("textarea"),we.setAttribute("tabindex","-1"),we.setAttribute("aria-hidden","true"),m0(we)),we.parentNode===null&&document.body.appendChild(we);var a=e.paddingSize,l=e.borderSize,i=e.sizingStyle,c=i.boxSizing;Object.keys(i).forEach(function(m){var p=m;we.style[p]=i[p]}),m0(we),we.value=t;var s=v0(we,e);we.value=t,s=v0(we,e),we.value="x";var d=we.scrollHeight-a,f=d*r;c==="border-box"&&(f=f+a+l),s=Math.max(f,s);var g=d*n;return c==="border-box"&&(g=g+a+l),s=Math.min(g,s),[s,d]}var b0=function(){},gw=function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},mw=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],vw=!!document.documentElement.currentStyle,bw=function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=gw(mw,t),n=r.boxSizing;if(n==="")return null;vw&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var a=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),l=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:l}},yw=bw;function ad(e,t,r){var n=dw(r);o.useLayoutEffect(function(){var a=function(l){return n.current(l)};if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}var ww=function(e){ad(window,"resize",e)},xw=function(e){ad(document.fonts,"loadingdone",e)},Ew=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],Sw=function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,l=e.onChange,i=l===void 0?b0:l,c=e.onHeightChange,s=c===void 0?b0:c,d=sl(e,Ew),f=d.value!==void 0,g=o.useRef(null),m=fw(g,t),p=o.useRef(0),v=o.useRef(),h=function(){var x=g.current,E=r&&v.current?v.current:yw(x);if(E){v.current=E;var b=hw(E,x.value||x.placeholder||"x",a,n),w=b[0],S=b[1];p.current!==w&&(p.current=w,x.style.setProperty("height",w+"px","important"),s(w,{rowHeight:S}))}},y=function(x){f||h(),i(x)};return o.useLayoutEffect(h),ww(h),xw(h),o.createElement("textarea",Y({},d,{onChange:y,ref:m}))},Cw=o.forwardRef(Sw),Rw={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},zl=({theme:e})=>({...Rw,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),Pl=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},od=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},Bl=({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},Iw=Object.assign(A(o.forwardRef(function({size:e,valid:t,align:r,...n},a){return u.createElement("input",{...n,ref:a})}))(zl,Pl,od,Bl,{minHeight:32}),{displayName:"Input"}),Aw=Object.assign(A(o.forwardRef(function({size:e,valid:t,align:r,...n},a){return u.createElement("select",{...n,ref:a})}))(zl,Pl,Bl,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),_w=Object.assign(A(o.forwardRef(function({size:e,valid:t,align:r,...n},a){return u.createElement(Cw,{...n,ref:a})}))(zl,Pl,od,Bl,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Cr=Object.assign(A.form({boxSizing:"border-box",width:"100%"}),{Field:iw,Input:Iw,Select:Aw,Textarea:_w,Button:kt}),kw=o.lazy(()=>Wt(()=>import("./WithTooltip-KJL26V4Q-452pmjeh.js"),__vite__mapDeps([8,1,2,3,4,5,6]),import.meta.url).then(e=>({default:e.WithTooltip}))),$w=e=>u.createElement(o.Suspense,{fallback:u.createElement("div",null)},u.createElement(kw,{...e})),Ow=o.lazy(()=>Wt(()=>import("./WithTooltip-KJL26V4Q-452pmjeh.js"),__vite__mapDeps([8,1,2,3,4,5,6]),import.meta.url).then(e=>({default:e.WithTooltipPure}))),ld=e=>u.createElement(o.Suspense,{fallback:u.createElement("div",null)},u.createElement(Ow,{...e})),Tw=A.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Mw=A.span(),Lw=A.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),zw=A.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),Pw=A.div({padding:15,width:280,boxSizing:"border-box"}),Bw=({title:e,desc:t,links:r})=>u.createElement(Pw,null,u.createElement(zw,null,e&&u.createElement(Tw,null,e),t&&u.createElement(Mw,null,t)),r&&u.createElement(Lw,null,r.map(({title:n,...a})=>u.createElement(Ut,{...a,key:n},n)))),Fw=A.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),Hw=({note:e,...t})=>u.createElement(Fw,{...t},e),Nw=A(({active:e,loading:t,disabled:r,...n})=>u.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:ke(.7,t.color.defaultText)}:{}),jw=A.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),Dw=A.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),Uw=A.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),Vw=A.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),Ww=A.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),Gw=Yt(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),qw=({loading:e=!1,title:t=u.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:a=!1,disabled:l=!1,isIndented:i,href:c=null,onClick:s=null,icon:d,LinkWrapper:f=null,...g})=>{let m=Gw(s,c,f),p={active:a,disabled:l};return u.createElement(Ww,{...p,...g,...m},d&&u.createElement(Vw,{...p},d),t||r?u.createElement(Dw,{isIndented:!d&&i},t&&u.createElement(Nw,{...p,loading:e},t),r&&u.createElement(Uw,{...p},r)):null,n&&u.createElement(jw,{...p},n))},id=qw,Yw=A.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),Kw=e=>{let{LinkWrapper:t,onClick:r,id:n,isIndented:a,...l}=e,{title:i,href:c,active:s}=l,d=o.useCallback(g=>{r(g,l)},[r]),f=!!r;return u.createElement(id,{title:i,active:s,href:c,id:`list-item-${n}`,LinkWrapper:t,isIndented:a,...l,...f?{onClick:d}:{}})},sd=({links:e,LinkWrapper:t=null})=>{let r=e.some(n=>n.icon);return u.createElement(Yw,null,e.map(({isGatsby:n,...a})=>u.createElement(Kw,{key:a.id,LinkWrapper:n?t:null,isIndented:r,...a})))},Xw=e=>typeof e.props.href=="string",Zw=e=>typeof e.props.href!="string";function Jw({children:e,...t},r){let n={props:t,ref:r};if(Xw(n))return u.createElement("a",{ref:n.ref,...n.props},e);if(Zw(n))return u.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}var cd=o.forwardRef(Jw);cd.displayName="ButtonOrLink";var sn=A(cd,{shouldForwardProp:Qo})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});sn.displayName="TabButton";var Qw=A.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),e8=A.div(()=>({marginTop:6,padding:7,height:28})),t8=()=>u.createElement(e8,null,u.createElement(Qw,null)),Lo=A.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});Lo.displayName="Side";var r8=({children:e,className:t,scrollable:r})=>r?u.createElement(da,{vertical:!1,className:t},e):u.createElement("div",{className:t},e),Fl=A(r8)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});Fl.displayName="Bar";var n8=A.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),ma=({children:e,backgroundColor:t,className:r,...n})=>{let[a,l]=o.Children.toArray(e);return u.createElement(Fl,{className:`sb-bar ${r}`,...n},u.createElement(n8,{bgColor:t},u.createElement(Lo,{scrollable:n.scrollable,left:!0},a),l?u.createElement(Lo,{right:!0},l):null))};ma.displayName="FlexBar";var dd=A.div(({active:e})=>e?{display:"block"}:{display:"none"}),a8=e=>o.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let l=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof l=="function"?l:({active:i})=>u.createElement(dd,{active:i,role:"tabpanel"},l)}}),o8=A.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),l8=A(sn)(({active:e,theme:t,preActive:r})=>` - color: ${r||e?t.barSelectedColor:t.barTextColor}; - .addon-collapsible-icon { - color: ${r||e?t.barSelectedColor:t.barTextColor}; - } - &:hover { - color: ${t.barHoverColor}; - .addon-collapsible-icon { - color: ${t.barHoverColor}; - } - } - `);function i8(e){let t=o.useRef(),r=o.useRef(),n=o.useRef(new Map),{width:a=1}=td({ref:t}),[l,i]=o.useState(e),[c,s]=o.useState([]),d=o.useRef(e),f=o.useCallback(({menuName:m,actions:p})=>{let v=c.some(({active:x})=>x),[h,y]=o.useState(!1);return u.createElement(u.Fragment,null,u.createElement(i4,{interactive:!0,visible:h,onVisibleChange:y,placement:"bottom",delayHide:100,tooltip:u.createElement(sd,{links:c.map(({title:x,id:E,color:b,active:w})=>({id:E,title:x,color:b,active:w,onClick:S=>{S.preventDefault(),p.onSelect(E)}}))})},u.createElement(l8,{ref:r,active:v,preActive:h,style:{visibility:c.length?"visible":"hidden"},"aria-hidden":!c.length,className:"tabbutton",type:"button",role:"tab"},m,u.createElement(o8,{className:"addon-collapsible-icon",isActive:v||h}))),c.map(({title:x,id:E,color:b},w)=>{let S=`index-${w}`;return u.createElement(sn,{id:`tabbutton-${ls(E)??S}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:C=>{n.current.set(E,C)},className:"tabbutton",type:"button",key:E,textColor:b,role:"tab"},x)}))},[c]),g=o.useCallback(()=>{if(!t.current||!r.current)return;let{x:m,width:p}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),h=c.length?m+p-v:m+p,y=[],x=0,E=e.filter(b=>{let{id:w}=b,S=n.current.get(w),{width:C=0}=(S==null?void 0:S.getBoundingClientRect())||{},R=m+x+C>h;return(!R||!S)&&y.push(b),x+=C,R});(y.length!==l.length||d.current!==e)&&(i(y),s(E),d.current=e)},[c.length,e,l]);return o.useLayoutEffect(g,[g,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:l,invisibleList:c,AddonTab:f}}var s8=A.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),c8=A.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),d8=A.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),u8=A.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),Hl=({title:e,description:t,footer:r})=>u.createElement(s8,null,u.createElement(c8,null,u.createElement(d8,null,e),t&&u.createElement(u8,null,t)),r),f8="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",p8=A.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),Nl=A.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});Nl.displayName="TabBar";var h8=A.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${f8}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),g8=({active:e,render:t,children:r})=>u.createElement(dd,{active:e},t?t():r),jl=o.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:l=null,backgroundColor:i,id:c=null,menuName:s="Tabs",emptyState:d,showToolsWhenEmpty:f})=>{let g=o.useMemo(()=>a8(e).map((x,E)=>({...x,active:t?x.id===t:E===0})),[e,t]),{visibleList:m,tabBarRef:p,tabRefs:v,AddonTab:h}=i8(g),y=d??u.createElement(Hl,{title:"Nothing found"});return!f&&g.length===0?y:u.createElement(p8,{absolute:n,bordered:a,id:c},u.createElement(ma,{scrollable:!1,border:!0,backgroundColor:i},u.createElement(Nl,{style:{whiteSpace:"normal"},ref:p,role:"tablist"},m.map(({title:x,id:E,active:b,color:w},S)=>{let C=`index-${S}`;return u.createElement(sn,{id:`tabbutton-${ls(E)??C}`,ref:R=>{v.current.set(E,R)},className:`tabbutton ${b?"tabbutton-active":""}`,type:"button",key:E,active:b,textColor:w,onClick:R=>{R.preventDefault(),r.onSelect(E)},role:"tab"},typeof x=="function"?u.createElement("title",null):x)}),u.createElement(h,{menuName:s,actions:r})),l),u.createElement(h8,{id:"panel-tab-content",bordered:a,absolute:n},g.length?g.map(({id:x,active:E,render:b})=>u.createElement(b,{key:x,active:E},null)):y))});jl.displayName="Tabs";var Dl=class extends o.Component{constructor(e){super(e),this.handlers={onSelect:t=>this.setState({selected:t})},this.state={selected:e.initial}}render(){let{bordered:e=!1,absolute:t=!1,children:r,backgroundColor:n,menuName:a}=this.props,{selected:l}=this.state;return u.createElement(jl,{bordered:e,absolute:t,selected:l,backgroundColor:n,menuName:a,actions:this.handlers},r)}};Dl.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var Ul=A.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});Ul.displayName="Separator";var m8=e=>e.reduce((t,r,n)=>r?u.createElement(o.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?u.createElement(Ul,{key:`s-${n}`}):null,r.render()||r):t,null),v8=e=>{let t=o.useRef();return o.useEffect(()=>{t.current=e},[e]),t.current},b8=(e,t)=>{let r=v8(t);return e?t:r},y8=({active:e,children:t})=>u.createElement("div",{hidden:!e},b8(e,t)),w8=sb,x8=A.svg` - display: inline-block; - shape-rendering: inherit; - vertical-align: middle; - fill: currentColor; - path { - fill: currentColor; - } -`,E8=({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||S1(`Use of the deprecated Icons ${`(${e})`||""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`);let a=Gn[e]||null;if(!a)return zy.warn(`Use of an unknown prop ${`(${e})`||""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`),null;let l=w8[a];return u.createElement(l,{...n})},S8=o.memo(function({icons:e=Object.keys(Gn)}){return u.createElement(x8,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>u.createElement("symbol",{id:`icon--${t}`,key:t},Gn[t])))}),Gn={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},C8=({alt:e,...t})=>u.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?u.createElement("title",null,e):null,u.createElement("defs",null,u.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),u.createElement("g",{fill:"none",fillRule:"evenodd"},u.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),u.createElement("mask",{id:"b",fill:"#fff"},u.createElement("use",{xlinkHref:"#a"})),u.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),u.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"}))),R8=e=>u.createElement("svg",{viewBox:"0 0 64 64",...e},u.createElement("title",null,"Storybook icon"),u.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},u.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),u.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),u.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"}))),I8=ht` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,A8=A.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${I8} 0.7s linear infinite`,mixBlendMode:"difference"})),y0=A.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),_8=A.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:ke(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),k8=A.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),w0=A.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),$8=A(Pc)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),O8=ht` - from { content: "..." } - 33% { content: "." } - 66% { content: ".." } - to { content: "..." } -`,T8=A.span({"&::after":{content:"'...'",animation:`${O8} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),ud=({progress:e,error:t,size:r,...n})=>{if(t)return u.createElement(y0,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},u.createElement($8,null),u.createElement(w0,null,t.message));if(e){let{value:a,modules:l}=e,{message:i}=e;return l&&(i+=` ${l.complete} / ${l.total} modules`),u.createElement(y0,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":i,role:"progressbar",...n},u.createElement(_8,null,u.createElement(k8,{style:{width:`${a*100}%`}})),u.createElement(w0,null,i,a<1&&u.createElement(T8,{key:i})))}return u.createElement(A8,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})};function M8(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),l=a?{...M8(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(l).map(i=>`${i[0]}=${i[1]}`).join("&")}`},L8=A.pre` - line-height: 18px; - padding: 11px 1rem; - white-space: pre-wrap; - background: rgba(0, 0, 0, 0.05); - color: ${F.darkest}; - border-radius: 3px; - margin: 1rem 0; - width: 100%; - display: block; - overflow: hidden; - font-family: ${rt.fonts.mono}; - font-size: ${rt.size.s2-1}px; -`,z8=({code:e,...t})=>u.createElement(L8,{id:"clipboard-code",...t},e),pd=G1,hd={};Object.keys(G1).forEach(e=>{hd[e]=o.forwardRef((t,r)=>o.createElement(e,{...t,ref:r}))});const P8=Object.freeze(Object.defineProperty({__proto__:null,A:_1,ActionBar:ml,AddonPanel:y8,Badge:x6,Bar:Fl,Blockquote:k1,Button:kt,ClipboardCode:z8,Code:Tl,DL:O1,Div:$1,DocumentWrapper:A6,EmptyTabContent:Hl,ErrorFormatter:nd,FlexBar:ma,Form:Cr,H1:T1,H2:Ml,H3:Ll,H4:M1,H5:L1,H6:z1,HR:P1,IconButton:Ct,IconButtonSkeleton:t8,Icons:E8,Img:B1,LI:F1,Link:Ut,ListItem:id,Loader:ud,Modal:N6,OL:H1,P:N1,Placeholder:q6,Pre:j1,ResetWrapper:ha,ScrollArea:da,Separator:Ul,Spaced:U6,Span:D1,StorybookIcon:R8,StorybookLogo:C8,Symbols:S8,SyntaxHighlighter:ga,TT:V1,TabBar:Nl,TabButton:sn,TabWrapper:g8,Table:U1,Tabs:jl,TabsState:Dl,TooltipLinkList:sd,TooltipMessage:Bw,TooltipNote:Hw,UL:W1,WithTooltip:$w,WithTooltipPure:ld,Zoom:rd,codeCommon:mt,components:pd,createCopyToClipboardFunction:vc,getStoryHref:fd,icons:Gn,interleaveSeparators:m8,nameSpaceClassNames:re,resetComponents:hd,withReset:ae},Symbol.toStringTag,{value:"Module"}));function B8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zr(e,t){return Zr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Zr(e,t)}function F8(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Zr(e,t)}function zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},zo(e)}function H8(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function N8(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ln(e,t,r){return N8()?Ln=Reflect.construct.bind():Ln=function(a,l,i){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(a,c),d=new s;return i&&Zr(d,i.prototype),d},Ln.apply(null,arguments)}function Po(e){var t=typeof Map=="function"?new Map:void 0;return Po=function(n){if(n===null||!H8(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return Ln(n,arguments,zo(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Zr(a,n)},Po(e)}var at=function(e){F8(t,e);function t(r){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this,B8(n)}return t}(Po(Error));function Xa(e){return Math.round(e*255)}function j8(e,t,r){return Xa(e)+","+Xa(t)+","+Xa(r)}function Jr(e,t,r,n){if(n===void 0&&(n=j8),t===0)return n(r,r,r);var a=(e%360+360)%360/60,l=(1-Math.abs(2*r-1))*t,i=l*(1-Math.abs(a%2-1)),c=0,s=0,d=0;a>=0&&a<1?(c=l,s=i):a>=1&&a<2?(c=i,s=l):a>=2&&a<3?(s=l,d=i):a>=3&&a<4?(s=i,d=l):a>=4&&a<5?(c=i,d=l):a>=5&&a<6&&(c=l,d=i);var f=r-l/2,g=c+f,m=s+f,p=d+f;return n(g,m,p)}var x0={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"};function D8(e){if(typeof e!="string")return e;var t=e.toLowerCase();return x0[t]?"#"+x0[t]:e}var U8=/^#[a-fA-F0-9]{6}$/,V8=/^#[a-fA-F0-9]{8}$/,W8=/^#[a-fA-F0-9]{3}$/,G8=/^#[a-fA-F0-9]{4}$/,Za=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,q8=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Y8=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,K8=/^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 va(e){if(typeof e!="string")throw new at(3);var t=D8(e);if(t.match(U8))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(V8)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(W8))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(G8)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=Za.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var l=q8.exec(t.substring(0,50));if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])};var i=Y8.exec(t);if(i){var c=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+Jr(c,s,d)+")",g=Za.exec(f);if(!g)throw new at(4,t,f);return{red:parseInt(""+g[1],10),green:parseInt(""+g[2],10),blue:parseInt(""+g[3],10)}}var m=K8.exec(t.substring(0,50));if(m){var p=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,h=parseInt(""+m[3],10)/100,y="rgb("+Jr(p,v,h)+")",x=Za.exec(y);if(!x)throw new at(4,t,y);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new at(5)}function X8(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),l=Math.min(t,r,n),i=(a+l)/2;if(a===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var c,s=a-l,d=i>.5?s/(2-a-l):s/(a+l);switch(a){case t:c=(r-n)/s+(r=1?qn(e,t,r):"rgba("+Jr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?qn(e.hue,e.saturation,e.lightness):"rgba("+Jr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new at(2)}function Fo(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Bo("#"+Pt(e)+Pt(t)+Pt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Bo("#"+Pt(e.red)+Pt(e.green)+Pt(e.blue));throw new at(6)}function ft(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=va(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Fo(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Fo(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new at(7)}var t9=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},r9=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},n9=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},a9=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function md(e){if(typeof e!="object")throw new at(8);if(r9(e))return ft(e);if(t9(e))return Fo(e);if(a9(e))return e9(e);if(n9(e))return Q8(e);throw new at(8)}function vd(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):vd(e,t,a)}}function ba(e){return vd(e,e.length,[])}function ya(e,t,r){return Math.max(e,Math.min(t,r))}function o9(e,t){if(t==="transparent")return t;var r=gd(t);return md(ne({},r,{lightness:ya(0,1,r.lightness-parseFloat(e))}))}var l9=ba(o9),Ke=l9;function i9(e,t){if(t==="transparent")return t;var r=gd(t);return md(ne({},r,{lightness:ya(0,1,r.lightness+parseFloat(e))}))}var s9=ba(i9),Bt=s9;function c9(e,t){if(t==="transparent")return t;var r=va(t),n=typeof r.alpha=="number"?r.alpha:1,a=ne({},r,{alpha:ya(0,1,(n*100+parseFloat(e)*100)/100)});return ft(a)}var d9=ba(c9),En=d9;function u9(e,t){if(t==="transparent")return t;var r=va(t),n=typeof r.alpha=="number"?r.alpha:1,a=ne({},r,{alpha:ya(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return ft(a)}var f9=ba(u9),te=f9;function Ht(){return Ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),S0={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},h9=["style","script"],g9=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,m9=/mailto:/i,v9=/\n{2,}$/,bd=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,b9=/^ *> ?/gm,y9=/^ {2,}\n/,w9=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,yd=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,wd=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,x9=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,E9=/^(?:\n *)*\n/,S9=/\r\n?/g,C9=/^\[\^([^\]]+)](:.*)\n/,R9=/^\[\^([^\]]+)]/,I9=/\f/g,A9=/^\s*?\[(x|\s)\]/,xd=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Ed=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Sd=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Ho=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,_9=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Cd=/^)/,k9=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,No=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,$9=/^\{.*\}$/,O9=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,T9=/^<([^ >]+@[^ >]+)>/,M9=/^<([^ >]+:\/[^ >]+)>/,L9=/-([a-z])?/gi,Rd=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,z9=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,P9=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,B9=/^\[([^\]]*)\] ?\[([^\]]*)\]/,F9=/(\[|\])/g,H9=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,N9=/\t/g,j9=/^ *\| */,D9=/(^ *\||\| *$)/g,U9=/ *$/,V9=/^ *:-+: *$/,W9=/^ *:-+ *$/,G9=/^ *-+: *$/,q9=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,Y9=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,K9=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,X9=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,Z9=/^\\([^0-9A-Za-z\s])/,J9=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,Q9=/^\n+/,ex=/^([ \t]*)/,tx=/\\([^\\])/g,C0=/ *\n+$/,rx=/(?:^|\n)( *)$/,Vl="(?:\\d+\\.)",Wl="(?:[*+-])";function Id(e){return"( *)("+(e===1?Vl:Wl)+") +"}const Ad=Id(1),_d=Id(2);function kd(e){return new RegExp("^"+(e===1?Ad:_d))}const nx=kd(1),ax=kd(2);function $d(e){return new RegExp("^"+(e===1?Ad:_d)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Vl:Wl)+" )[^\\n]*)*(\\n|$)","gm")}const Od=$d(1),Td=$d(2);function Md(e){const t=e===1?Vl:Wl;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const Ld=Md(1),zd=Md(2);function R0(e,t){const r=t===1,n=r?Ld:zd,a=r?Od:Td,l=r?nx:ax;return{t(i,c,s){const d=rx.exec(s);return d&&(c.o||!c._&&!c.u)?n.exec(i=d[1]+i):null},i:W.HIGH,l(i,c,s){const d=r?+i[2]:void 0,f=i[0].replace(v9,` -`).match(a);let g=!1;return{p:f.map(function(m,p){const v=l.exec(m)[0].length,h=new RegExp("^ {1,"+v+"}","gm"),y=m.replace(h,"").replace(l,""),x=p===f.length-1,E=y.indexOf(` - -`)!==-1||x&&g;g=E;const b=s._,w=s.o;let S;s.o=!0,E?(s._=!1,S=y.replace(C0,` - -`)):(s._=!0,S=y.replace(C0,""));const C=c(S,s);return s._=b,s.o=w,C}),m:r,g:d}},h:(i,c,s)=>e(i.m?"ol":"ul",{key:s.k,start:i.g},i.p.map(function(d,f){return e("li",{key:f},c(d,s))}))}}const ox=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,lx=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Pd=[bd,yd,wd,xd,Sd,Ed,Cd,Rd,Od,Ld,Td,zd],ix=[...Pd,/^[^\n]+(?: \n|\n{2,})/,Ho,No];function sx(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function cx(e){return G9.test(e)?"right":V9.test(e)?"center":W9.test(e)?"left":null}function I0(e,t,r){const n=r.$;r.$=!0;const a=t(e.trim(),r);r.$=n;let l=[[]];return a.forEach(function(i,c){i.type==="tableSeparator"?c!==0&&c!==a.length-1&&l.push([]):(i.type!=="text"||a[c+1]!=null&&a[c+1].type!=="tableSeparator"||(i.v=i.v.replace(U9,"")),l[l.length-1].push(i))}),l}function dx(e,t,r){r._=!0;const n=I0(e[1],t,r),a=e[2].replace(D9,"").split("|").map(cx),l=function(i,c,s){return i.trim().split(` -`).map(function(d){return I0(d,c,s)})}(e[3],t,r);return r._=!1,{S:a,A:l,L:n,type:"table"}}function A0(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function bt(e){return function(t,r){return r._?e.exec(t):null}}function yt(e){return function(t,r){return r._||r.u?e.exec(t):null}}function dt(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function Lr(e){return function(t){return e.exec(t)}}function ux(e,t,r){if(t._||t.u||r&&!r.endsWith(` -`))return null;let n="";e.split(` -`).every(l=>!Pd.some(i=>i.test(l))&&(n+=l+` -`,l.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function ar(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function _0(e){return e.replace(tx,"$1")}function zn(e,t,r){const n=r._||!1,a=r.u||!1;r._=!0,r.u=!0;const l=e(t,r);return r._=n,r.u=a,l}function fx(e,t,r){const n=r._||!1,a=r.u||!1;r._=!1,r.u=!0;const l=e(t,r);return r._=n,r.u=a,l}function px(e,t,r){return r._=!1,e(t,r)}const Qa=(e,t,r)=>({v:zn(t,e[1],r)});function eo(){return{}}function to(){return null}function hx(...e){return e.filter(Boolean).join(" ")}function ro(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}var W;function gx(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||sx,t.namedCodesToUnicode=t.namedCodesToUnicode?Ht({},S0,t.namedCodesToUnicode):S0;const r=t.createElement||o.createElement;function n(p,v,...h){const y=ro(t.overrides,`${p}.props`,{});return r(function(x,E){const b=ro(E,x);return b?typeof b=="function"||typeof b=="object"&&"render"in b?b:ro(E,`${x}.component`,x):x}(p,t.overrides),Ht({},v,y,{className:hx(v==null?void 0:v.className,y.className)||void 0}),...h)}function a(p){let v=!1;t.forceInline?v=!0:t.forceBlock||(v=H9.test(p)===!1);const h=f(d(v?p:`${p.trimEnd().replace(Q9,"")} - -`,{_:v}));for(;typeof h[h.length-1]=="string"&&!h[h.length-1].trim();)h.pop();if(t.wrapper===null)return h;const y=t.wrapper||(v?"span":"div");let x;if(h.length>1||t.forceWrapper)x=h;else{if(h.length===1)return x=h[0],typeof x=="string"?n("span",{key:"outer"},x):x;x=null}return o.createElement(y,{key:"outer"},x)}function l(p){const v=p.match(g9);return v?v.reduce(function(h,y,x){const E=y.indexOf("=");if(E!==-1){const b=function(R){return R.indexOf("-")!==-1&&R.match(k9)===null&&(R=R.replace(L9,function(I,_){return _.toUpperCase()})),R}(y.slice(0,E)).trim(),w=function(R){const I=R[0];return(I==='"'||I==="'")&&R.length>=2&&R[R.length-1]===I?R.slice(1,-1):R}(y.slice(E+1).trim()),S=E0[b]||b,C=h[S]=function(R,I){return R==="style"?I.split(/;\s?/).reduce(function(_,k){const $=k.slice(0,k.indexOf(":"));return _[$.replace(/(-[a-z])/g,O=>O[1].toUpperCase())]=k.slice($.length+1).trim(),_},{}):R==="href"?ar(I):(I.match($9)&&(I=I.slice(1,I.length-1)),I==="true"||I!=="false"&&I)}(b,w);typeof C=="string"&&(Ho.test(C)||No.test(C))&&(h[S]=o.cloneElement(a(C.trim()),{key:x}))}else y!=="style"&&(h[E0[y]||y]=!0);return h},{}):null}const i=[],c={},s={blockQuote:{t:dt(bd),i:W.HIGH,l:(p,v,h)=>({v:v(p[0].replace(b9,""),h)}),h:(p,v,h)=>n("blockquote",{key:h.k},v(p.v,h))},breakLine:{t:Lr(y9),i:W.HIGH,l:eo,h:(p,v,h)=>n("br",{key:h.k})},breakThematic:{t:dt(w9),i:W.HIGH,l:eo,h:(p,v,h)=>n("hr",{key:h.k})},codeBlock:{t:dt(wd),i:W.MAX,l:p=>({v:p[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(p,v,h)=>n("pre",{key:h.k},n("code",Ht({},p.O,{className:p.M?`lang-${p.M}`:""}),p.v))},codeFenced:{t:dt(yd),i:W.MAX,l:p=>({O:l(p[3]||""),v:p[4],M:p[2]||void 0,type:"codeBlock"})},codeInline:{t:yt(x9),i:W.LOW,l:p=>({v:p[2]}),h:(p,v,h)=>n("code",{key:h.k},p.v)},footnote:{t:dt(C9),i:W.MAX,l:p=>(i.push({I:p[2],j:p[1]}),{}),h:to},footnoteReference:{t:bt(R9),i:W.HIGH,l:p=>({v:p[1],B:`#${t.slugify(p[1])}`}),h:(p,v,h)=>n("a",{key:h.k,href:ar(p.B)},n("sup",{key:h.k},p.v))},gfmTask:{t:bt(A9),i:W.HIGH,l:p=>({R:p[1].toLowerCase()==="x"}),h:(p,v,h)=>n("input",{checked:p.R,key:h.k,readOnly:!0,type:"checkbox"})},heading:{t:dt(t.enforceAtxHeadings?Ed:xd),i:W.HIGH,l:(p,v,h)=>({v:zn(v,p[2],h),T:t.slugify(p[2]),C:p[1].length}),h:(p,v,h)=>n(`h${p.C}`,{id:p.T,key:h.k},v(p.v,h))},headingSetext:{t:dt(Sd),i:W.MAX,l:(p,v,h)=>({v:zn(v,p[1],h),C:p[2]==="="?1:2,type:"heading"})},htmlComment:{t:Lr(Cd),i:W.HIGH,l:()=>({}),h:to},image:{t:yt(lx),i:W.HIGH,l:p=>({D:p[1],B:_0(p[2]),F:p[3]}),h:(p,v,h)=>n("img",{key:h.k,alt:p.D||void 0,title:p.F||void 0,src:ar(p.B)})},link:{t:bt(ox),i:W.LOW,l:(p,v,h)=>({v:fx(v,p[1],h),B:_0(p[2]),F:p[3]}),h:(p,v,h)=>n("a",{key:h.k,href:ar(p.B),title:p.F},v(p.v,h))},linkAngleBraceStyleDetector:{t:bt(M9),i:W.MAX,l:p=>({v:[{v:p[1],type:"text"}],B:p[1],type:"link"})},linkBareUrlDetector:{t:(p,v)=>v.N?null:bt(O9)(p,v),i:W.MAX,l:p=>({v:[{v:p[1],type:"text"}],B:p[1],F:void 0,type:"link"})},linkMailtoDetector:{t:bt(T9),i:W.MAX,l(p){let v=p[1],h=p[1];return m9.test(h)||(h="mailto:"+h),{v:[{v:v.replace("mailto:",""),type:"text"}],B:h,type:"link"}}},orderedList:R0(n,1),unorderedList:R0(n,2),newlineCoalescer:{t:dt(E9),i:W.LOW,l:eo,h:()=>` -`},paragraph:{t:ux,i:W.LOW,l:Qa,h:(p,v,h)=>n("p",{key:h.k},v(p.v,h))},ref:{t:bt(z9),i:W.MAX,l:p=>(c[p[1]]={B:p[2],F:p[4]},{}),h:to},refImage:{t:yt(P9),i:W.MAX,l:p=>({D:p[1]||void 0,P:p[2]}),h:(p,v,h)=>n("img",{key:h.k,alt:p.D,src:ar(c[p.P].B),title:c[p.P].F})},refLink:{t:bt(B9),i:W.MAX,l:(p,v,h)=>({v:v(p[1],h),Z:v(p[0].replace(F9,"\\$1"),h),P:p[2]}),h:(p,v,h)=>c[p.P]?n("a",{key:h.k,href:ar(c[p.P].B),title:c[p.P].F},v(p.v,h)):n("span",{key:h.k},v(p.Z,h))},table:{t:dt(Rd),i:W.HIGH,l:dx,h:(p,v,h)=>n("table",{key:h.k},n("thead",null,n("tr",null,p.L.map(function(y,x){return n("th",{key:x,style:A0(p,x)},v(y,h))}))),n("tbody",null,p.A.map(function(y,x){return n("tr",{key:x},y.map(function(E,b){return n("td",{key:b,style:A0(p,b)},v(E,h))}))})))},tableSeparator:{t:function(p,v){return v.$?(v._=!0,j9.exec(p)):null},i:W.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:Lr(J9),i:W.MIN,l:p=>({v:p[0].replace(_9,(v,h)=>t.namedCodesToUnicode[h]?t.namedCodesToUnicode[h]:v)}),h:p=>p.v},textBolded:{t:yt(q9),i:W.MED,l:(p,v,h)=>({v:v(p[2],h)}),h:(p,v,h)=>n("strong",{key:h.k},v(p.v,h))},textEmphasized:{t:yt(Y9),i:W.LOW,l:(p,v,h)=>({v:v(p[2],h)}),h:(p,v,h)=>n("em",{key:h.k},v(p.v,h))},textEscaped:{t:yt(Z9),i:W.HIGH,l:p=>({v:p[1],type:"text"})},textMarked:{t:yt(K9),i:W.LOW,l:Qa,h:(p,v,h)=>n("mark",{key:h.k},v(p.v,h))},textStrikethroughed:{t:yt(X9),i:W.LOW,l:Qa,h:(p,v,h)=>n("del",{key:h.k},v(p.v,h))}};t.disableParsingRawHTML!==!0&&(s.htmlBlock={t:Lr(Ho),i:W.HIGH,l(p,v,h){const[,y]=p[3].match(ex),x=new RegExp(`^${y}`,"gm"),E=p[3].replace(x,""),b=(w=E,ix.some(I=>I.test(w))?px:zn);var w;const S=p[1].toLowerCase(),C=h9.indexOf(S)!==-1;h.N=h.N||S==="a";const R=C?p[3]:b(v,E,h);return h.N=!1,{O:l(p[2]),v:R,G:C,H:C?S:p[1]}},h:(p,v,h)=>n(p.H,Ht({key:h.k},p.O),p.G?p.v:v(p.v,h))},s.htmlSelfClosing={t:Lr(No),i:W.HIGH,l:p=>({O:l(p[2]||""),H:p[1]}),h:(p,v,h)=>n(p.H,Ht({},p.O,{key:h.k}))});const d=function(p){let v=Object.keys(p);function h(y,x){let E=[],b="";for(;y;){let w=0;for(;w{let{children:t,options:r}=e,n=function(a,l){if(a==null)return{};var i,c,s={},d=Object.keys(a);for(c=0;c=0||(s[i]=a[i]);return s}(e,p9);return o.cloneElement(gx(t,r),n)};function mx(e,t,r,n){for(var a=e.length,l=r+(n?1:-1);n?l--:++l-1}var kx=_x;function $x(e,t,r){for(var n=-1,a=e==null?0:e.length;++n=Wx){var d=t?null:Ux(e);if(d)return Vx(d);i=!1,a=Dx,s=new Hx}else s=t?[]:c;e:for(;++nfunction(){return t||(0,e[Dd(e)[0]])((t={exports:{}}).exports,t),t.exports},jC=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Dd(t))!NC.call(e,a)&&a!==r&&jd(e,a,{get:()=>t[a],enumerable:!(n=FC(t,a))||n.enumerable});return e},ql=(e,t,r)=>(r=e!=null?BC(HC(e)):{},jC(t||!e||!e.__esModule?jd(r,"default",{value:e,enumerable:!0}):r,e)),DC=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],UC=["detail"];function VC(e){const t=DC.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&UC.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var Ud=ze({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},a=Symbol("test"),l=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;var i=42;n[a]=i;for(a in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var c=Object.getOwnPropertySymbols(n);if(c.length!==1||c[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(n,a);if(s.value!==i||s.enumerable!==!0)return!1}return!0}}}),Vd=ze({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Ud();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),WC=ze({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,l="[object Function]";t.exports=function(c){var s=this;if(typeof s!="function"||a.call(s)!==l)throw new TypeError(r+s);for(var d=n.call(arguments,1),f,g=function(){if(this instanceof f){var y=s.apply(this,d.concat(n.call(arguments)));return Object(y)===y?y:this}else return s.apply(c,d.concat(n.call(arguments)))},m=Math.max(0,s.length-d.length),p=[],v=0;v"u"?r:g(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?g([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":m,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?g(g([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!f?r:g(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!f?r:g(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?g(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":p,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},h=function O(T){var H;if(T==="%AsyncFunction%")H=i("async function () {}");else if(T==="%GeneratorFunction%")H=i("function* () {}");else if(T==="%AsyncGeneratorFunction%")H=i("async function* () {}");else if(T==="%AsyncGenerator%"){var M=O("%AsyncGeneratorFunction%");M&&(H=M.prototype)}else if(T==="%AsyncIteratorPrototype%"){var L=O("%AsyncGenerator%");L&&(H=g(L.prototype))}return v[T]=H,H},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=Yl(),E=GC(),b=x.call(Function.call,Array.prototype.concat),w=x.call(Function.apply,Array.prototype.splice),S=x.call(Function.call,String.prototype.replace),C=x.call(Function.call,String.prototype.slice),R=x.call(Function.call,RegExp.prototype.exec),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,k=function(T){var H=C(T,0,1),M=C(T,-1);if(H==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&H!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var L=[];return S(T,I,function(N,U,B,D){L[L.length]=B?S(D,_,"$1"):U||N}),L},$=function(T,H){var M=T,L;if(E(y,M)&&(L=y[M],M="%"+L[0]+"%"),E(v,M)){var N=v[M];if(N===m&&(N=h(M)),typeof N>"u"&&!H)throw new l("intrinsic "+T+" exists, but is not available. Please file an issue!");return{alias:L,name:M,value:N}}throw new n("intrinsic "+T+" does not exist!")};t.exports=function(T,H){if(typeof T!="string"||T.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof H!="boolean")throw new l('"allowMissing" argument must be a boolean');if(R(/^%?[^%]*%?$/,T)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=k(T),L=M.length>0?M[0]:"",N=$("%"+L+"%",H),U=N.name,B=N.value,D=!1,J=N.alias;J&&(L=J[0],w(M,b([0,1],J)));for(var oe=1,Z=!0;oe=M.length){var q=c(B,Q);Z=!!q,Z&&"get"in q&&!("originalValue"in q.get)?B=q.get:B=B[Q]}else Z=E(B,Q),B=B[Q];Z&&!D&&(v[U]=B)}}return B}}}),qC=ze({"node_modules/call-bind/index.js"(e,t){var r=Yl(),n=Wd(),a=n("%Function.prototype.apply%"),l=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(l,a),c=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}t.exports=function(m){var p=i(r,l,arguments);if(c&&s){var v=c(p,"length");v.configurable&&s(p,"length",{value:1+d(0,m.length-(arguments.length-1))})}return p};var f=function(){return i(r,a,arguments)};s?s(t.exports,"apply",{value:f}):t.exports.apply=f}}),YC=ze({"node_modules/call-bind/callBound.js"(e,t){var r=Wd(),n=qC(),a=n(r("String.prototype.indexOf"));t.exports=function(i,c){var s=r(i,!!c);return typeof s=="function"&&a(i,".prototype.")>-1?n(s):s}}}),KC=ze({"node_modules/has-tostringtag/shams.js"(e,t){var r=Ud();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),XC=ze({"node_modules/is-regex/index.js"(e,t){var r=YC(),n=KC()(),a,l,i,c;n&&(a=r("Object.prototype.hasOwnProperty"),l=r("RegExp.prototype.exec"),i={},s=function(){throw i},c={toString:s,valueOf:s},typeof Symbol.toPrimitive=="symbol"&&(c[Symbol.toPrimitive]=s));var s,d=r("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor,g="[object RegExp]";t.exports=n?function(p){if(!p||typeof p!="object")return!1;var v=f(p,"lastIndex"),h=v&&a(v,"value");if(!h)return!1;try{l(p,c)}catch(y){return y===i}}:function(p){return!p||typeof p!="object"&&typeof p!="function"?!1:d(p)===g}}}),ZC=ze({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var l=r.call(a);return l==="[object Function]"||typeof a=="function"&&l!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),JC=ze({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=Vd()();n?(a=Symbol.prototype.toString,l=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:l.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,l,i}}),QC=ql(XC()),eR=ql(ZC()),tR=ql(JC());function rR(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var nR=typeof global=="object"&&global&&global.Object===Object&&global,aR=nR,oR=typeof self=="object"&&self&&self.Object===Object&&self,lR=aR||oR||Function("return this")(),Kl=lR,iR=Kl.Symbol,wr=iR,Gd=Object.prototype,sR=Gd.hasOwnProperty,cR=Gd.toString,zr=wr?wr.toStringTag:void 0;function dR(e){var t=sR.call(e,zr),r=e[zr];try{e[zr]=void 0;var n=!0}catch{}var a=cR.call(e);return n&&(t?e[zr]=r:delete e[zr]),a}var uR=dR,fR=Object.prototype,pR=fR.toString;function hR(e){return pR.call(e)}var gR=hR,mR="[object Null]",vR="[object Undefined]",F0=wr?wr.toStringTag:void 0;function bR(e){return e==null?e===void 0?vR:mR:F0&&F0 in Object(e)?uR(e):gR(e)}var yR=bR,H0=wr?wr.prototype:void 0;H0&&H0.toString;function wR(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var qd=wR,xR="[object AsyncFunction]",ER="[object Function]",SR="[object GeneratorFunction]",CR="[object Proxy]";function RR(e){if(!qd(e))return!1;var t=yR(e);return t==ER||t==SR||t==xR||t==CR}var IR=RR,AR=Kl["__core-js_shared__"],ao=AR,N0=function(){var e=/[^.]+$/.exec(ao&&ao.keys&&ao.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function _R(e){return!!N0&&N0 in e}var kR=_R,$R=Function.prototype,OR=$R.toString;function TR(e){if(e!=null){try{return OR.call(e)}catch{}try{return e+""}catch{}}return""}var MR=TR,LR=/[\\^$.*+?()[\]{}|]/g,zR=/^\[object .+?Constructor\]$/,PR=Function.prototype,BR=Object.prototype,FR=PR.toString,HR=BR.hasOwnProperty,NR=RegExp("^"+FR.call(HR).replace(LR,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function jR(e){if(!qd(e)||kR(e))return!1;var t=IR(e)?NR:zR;return t.test(MR(e))}var DR=jR;function UR(e,t){return e==null?void 0:e[t]}var VR=UR;function WR(e,t){var r=VR(e,t);return DR(r)?r:void 0}var Yd=WR;function GR(e,t){return e===t||e!==e&&t!==t}var qR=GR,YR=Yd(Object,"create"),Qr=YR;function KR(){this.__data__=Qr?Qr(null):{},this.size=0}var XR=KR;function ZR(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var JR=ZR,QR="__lodash_hash_undefined__",eI=Object.prototype,tI=eI.hasOwnProperty;function rI(e){var t=this.__data__;if(Qr){var r=t[e];return r===QR?void 0:r}return tI.call(t,e)?t[e]:void 0}var nI=rI,aI=Object.prototype,oI=aI.hasOwnProperty;function lI(e){var t=this.__data__;return Qr?t[e]!==void 0:oI.call(t,e)}var iI=lI,sI="__lodash_hash_undefined__";function cI(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Qr&&t===void 0?sI:t,this}var dI=cI;function Rr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var xI=wI;function EI(e,t){var r=this.__data__,n=xa(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var SI=EI;function Ir(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,l="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iYI(e).replace(/\n\s*/g,"").trim()),XI=function(t,r){const n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let l=n;return l=l.replace(t,"function"),l+a},ZI=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Xd(e){if(!qI(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=VC(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var JI=function(t){let r,n,a,l;return function(c,s){try{if(c==="")return l=[],r=new Map([[s,"[]"]]),n=new Map,a=[],s;const d=n.get(this)||this;for(;a.length&&d!==a[0];)a.shift(),l.pop();if(typeof s=="boolean")return s;if(s===void 0)return t.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return ZI.test(s)?t.allowDate?`_date_${s}`:void 0:s;if((0,QC.default)(s))return t.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,eR.default)(s)){if(!t.allowFunction)return;const{name:g}=s,m=s.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${g}|${(()=>{}).toString()}`:`_function_${g}|${KI(XI(c,m))}`}if((0,tR.default)(s)){if(!t.allowSymbol)return;const g=Symbol.keyFor(s);return g!==void 0?`_gsymbol_${g}`:`_symbol_${s.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(l)}`;if(s instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!t.allowClass)return;const f=r.get(s);if(!f){const g=Array.isArray(s)?s:Xd(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&t.allowClass)try{Object.assign(g,{"_constructor-name_":s.constructor.name})}catch{}return l.push(c),a.unshift(g),r.set(s,JSON.stringify(l)),s!==g&&n.set(s,g),g}return`_duplicate_${f}`}catch{return}}},QI={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},eA=(e,t={})=>{const r={...QI,...t};return JSON.stringify(Xd(e),JI(r),t.space)};/*! - * isobject - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - *//** - * @license - * Lodash (Custom Build) - * Build: `lodash modularize exports="es" -o ./` - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */function tA(e){var t=[].forEach,r=[].some,n=typeof window<"u"&&document.body,a,l=!0,i=" ";function c(E,b){var w=b.appendChild(d(E));if(E.children.length){var S=f(E.isCollapsed);E.children.forEach(function(C){c(C,S)}),w.appendChild(S)}}function s(E,b){var w=!1,S=f(w);if(b.forEach(function(C){c(C,S)}),a=E||a,a!==null)return a.firstChild&&a.removeChild(a.firstChild),b.length===0?a:a.appendChild(S)}function d(E){var b=document.createElement("li"),w=document.createElement("a");return e.listItemClass&&b.setAttribute("class",e.listItemClass),e.onClick&&(w.onclick=e.onClick),e.includeTitleTags&&w.setAttribute("title",E.textContent),e.includeHtml&&E.childNodes.length?t.call(E.childNodes,function(S){w.appendChild(S.cloneNode(!0))}):w.textContent=E.textContent,w.setAttribute("href",e.basePath+"#"+E.id),w.setAttribute("class",e.linkClass+i+"node-name--"+E.nodeName+i+e.extraLinkClasses),b.appendChild(w),b}function f(E){var b=e.orderedList?"ol":"ul",w=document.createElement(b),S=e.listClass+i+e.extraListClasses;return E&&(S=S+i+e.collapsibleClass,S=S+i+e.isCollapsedClass),w.setAttribute("class",S),w}function g(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var E;E=document.querySelector(e.scrollContainer).scrollTop}else E=document.documentElement.scrollTop||n.scrollTop;var b=document.querySelector(e.positionFixedSelector);e.fixedSidebarOffset==="auto"&&(e.fixedSidebarOffset=a.offsetTop),E>e.fixedSidebarOffset?b.className.indexOf(e.positionFixedClass)===-1&&(b.className+=i+e.positionFixedClass):b.className=b.className.replace(i+e.positionFixedClass,"")}function m(E){var b=0;return E!==null&&(b=E.offsetTop,e.hasInnerContainers&&(b+=m(E.offsetParent))),b}function p(E,b){return E&&E.className!==b&&(E.className=b),E}function v(E){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var b;b=document.querySelector(e.scrollContainer).scrollTop}else b=document.documentElement.scrollTop||n.scrollTop;e.positionFixedSelector&&g();var w=E,S;if(l&&a!==null&&w.length>0){r.call(w,function(O,T){if(m(O)>b+e.headingsOffset+10){var H=T===0?T:T-1;return S=w[H],!0}else if(T===w.length-1)return S=w[w.length-1],!0});var C=a.querySelector("."+e.activeLinkClass),R=a.querySelector("."+e.linkClass+".node-name--"+S.nodeName+'[href="'+e.basePath+"#"+S.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(C===R)return;var I=a.querySelectorAll("."+e.linkClass);t.call(I,function(O){p(O,O.className.replace(i+e.activeLinkClass,""))});var _=a.querySelectorAll("."+e.listItemClass);t.call(_,function(O){p(O,O.className.replace(i+e.activeListItemClass,""))}),R&&R.className.indexOf(e.activeLinkClass)===-1&&(R.className+=i+e.activeLinkClass);var k=R&&R.parentNode;k&&k.className.indexOf(e.activeListItemClass)===-1&&(k.className+=i+e.activeListItemClass);var $=a.querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call($,function(O){O.className.indexOf(e.isCollapsedClass)===-1&&(O.className+=i+e.isCollapsedClass)}),R&&R.nextSibling&&R.nextSibling.className.indexOf(e.isCollapsedClass)!==-1&&p(R.nextSibling,R.nextSibling.className.replace(i+e.isCollapsedClass,"")),h(R&&R.parentNode.parentNode)}}function h(E){return E&&E.className.indexOf(e.collapsibleClass)!==-1&&E.className.indexOf(e.isCollapsedClass)!==-1?(p(E,E.className.replace(i+e.isCollapsedClass,"")),h(E.parentNode.parentNode)):E}function y(E){var b=E.target||E.srcElement;typeof b.className!="string"||b.className.indexOf(e.linkClass)===-1||(l=!1)}function x(){l=!0}return{enableTocAnimation:x,disableTocAnimation:y,render:s,updateToc:v}}const rA={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0};function nA(e){var t=[].reduce;function r(d){return d[d.length-1]}function n(d){return+d.nodeName.toUpperCase().replace("H","")}function a(d){try{return d instanceof window.HTMLElement||d instanceof window.parent.HTMLElement}catch{return d instanceof window.HTMLElement}}function l(d){if(!a(d))return d;if(e.ignoreHiddenElements&&(!d.offsetHeight||!d.offsetParent))return null;const f=d.getAttribute("data-heading-label")||(e.headingLabelCallback?String(e.headingLabelCallback(d.innerText)):(d.innerText||d.textContent).trim());var g={id:d.id,children:[],nodeName:d.nodeName,headingLevel:n(d),textContent:f};return e.includeHtml&&(g.childNodes=d.childNodes),e.headingObjectCallback?e.headingObjectCallback(g,d):g}function i(d,f){for(var g=l(d),m=g.headingLevel,p=f,v=r(p),h=v?v.headingLevel:0,y=m-h;y>0&&(v=r(p),!(v&&m===v.headingLevel));)v&&v.children!==void 0&&(p=v.children),y--;return m>=e.collapseDepth&&(g.isCollapsed=!0),p.push(g),p}function c(d,f){var g=f;e.ignoreSelector&&(g=f.split(",").map(function(p){return p.trim()+":not("+e.ignoreSelector+")"}));try{return d.querySelectorAll(g)}catch{return console.warn("Headers not found with selector: "+g),null}}function s(d){return t.call(d,function(g,m){var p=l(m);return p&&i(p,g.nest),g},{nest:[]})}return{nestHeadingsArray:s,selectHeadings:c}}function aA(e){var t=e.duration,r=e.offset;if(typeof window>"u"||typeof location>"u")return;var n=location.hash?i(location.href):location.href;a();function a(){document.body.addEventListener("click",s,!1);function s(d){!l(d.target)||d.target.className.indexOf("no-smooth-scroll")>-1||d.target.href.charAt(d.target.href.length-2)==="#"&&d.target.href.charAt(d.target.href.length-1)==="!"||d.target.className.indexOf(e.linkClass)===-1||oA(d.target.hash,{duration:t,offset:r,callback:function(){c(d.target.hash)}})}}function l(s){return s.tagName.toLowerCase()==="a"&&(s.hash.length>0||s.href.charAt(s.href.length-1)==="#")&&(i(s.href)===n||i(s.href)+"#"===n)}function i(s){return s.slice(0,s.lastIndexOf("#"))}function c(s){var d=document.getElementById(s.substring(1));d&&(/^(?:a|select|input|button|textarea)$/i.test(d.tagName)||(d.tabIndex=-1),d.focus())}}function oA(e,t){var r=window.pageYOffset,n={duration:t.duration,offset:t.offset||0,callback:t.callback,easing:t.easing||g},a=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]')||document.querySelector('[id="'+e.split("#").join("")+'"]'),l=typeof e=="string"?n.offset+(e?a&&a.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e,i=typeof n.duration=="function"?n.duration(l):n.duration,c,s;requestAnimationFrame(function(m){c=m,d(m)});function d(m){s=m-c,window.scrollTo(0,n.easing(s,r,l,i)),st.clientHeight){var r=t.querySelector("."+e.activeListItemClass);if(r){var n=t.scrollTop,a=n+t.clientHeight,l=r.offsetTop,i=l+r.clientHeight;la-e.tocScrollOffset-D0&&(t.scrollTop+=i-a+e.tocScrollOffset+2*D0)}}}let G={},ut,oo,or,Qe,Hr;function iA(e){G=cA(rA,e||{}),G.scrollSmooth&&(G.duration=G.scrollSmoothDuration,G.offset=G.scrollSmoothOffset,aA(G)),ut=tA(G),oo=nA(G),Zd();const t=dA(G);if(t===null)return;const r=Jd(G);if(r===null||(or=oo.selectHeadings(t,G.headingSelector),or===null))return;const a=oo.nestHeadingsArray(or).nest;if(!G.skipRendering)ut.render(r,a);else return this;Qe=U0(function(i){ut.updateToc(or),!G.disableTocScrollSync&&lA(G);const c=i&&i.target&&i.target.scrollingElement&&i.target.scrollingElement.scrollTop===0;(i&&(i.eventPhase===0||i.currentTarget===null)||c)&&(ut.updateToc(or),G.scrollEndCallback&&G.scrollEndCallback(i))},G.throttleTimeout),Qe(),G.scrollContainer&&document.querySelector(G.scrollContainer)?(document.querySelector(G.scrollContainer).addEventListener("scroll",Qe,!1),document.querySelector(G.scrollContainer).addEventListener("resize",Qe,!1)):(document.addEventListener("scroll",Qe,!1),document.addEventListener("resize",Qe,!1));let l=null;Hr=U0(function(i){G.scrollSmooth&&ut.disableTocAnimation(i),ut.updateToc(or),l&&clearTimeout(l),l=setTimeout(function(){ut.enableTocAnimation()},G.scrollSmoothDuration)},G.throttleTimeout),G.scrollContainer&&document.querySelector(G.scrollContainer)?document.querySelector(G.scrollContainer).addEventListener("click",Hr,!1):document.addEventListener("click",Hr,!1)}function Zd(){const e=Jd(G);e!==null&&(G.skipRendering||e&&(e.innerHTML=""),G.scrollContainer&&document.querySelector(G.scrollContainer)?(document.querySelector(G.scrollContainer).removeEventListener("scroll",Qe,!1),document.querySelector(G.scrollContainer).removeEventListener("resize",Qe,!1),ut&&document.querySelector(G.scrollContainer).removeEventListener("click",Hr,!1)):(document.removeEventListener("scroll",Qe,!1),document.removeEventListener("resize",Qe,!1),ut&&document.removeEventListener("click",Hr,!1)))}const sA=Object.prototype.hasOwnProperty;function cA(){const e={};for(let t=0;t({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:te(.3,e.color.defaultText),fontSize:e.typography.size.s2})),Qd=e=>u.createElement(mA,{...e,className:"docblock-emptyblock sb-unstyled"}),vA=A(ga)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),bA=A.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),Sn=A.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${yo}`]:{margin:0}})),yA=()=>u.createElement(bA,null,u.createElement(Sn,null),u.createElement(Sn,{style:{width:"80%"}}),u.createElement(Sn,{style:{width:"30%"}}),u.createElement(Sn,{style:{width:"80%"}})),eu=({isLoading:e,error:t,language:r,code:n,dark:a,format:l=!1,...i})=>{let{typography:c}=js();if(e)return u.createElement(yA,null);if(t)return u.createElement(Qd,null,t);let s=u.createElement(vA,{bordered:!0,copyable:!0,format:l,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return s;let d=a?go.dark:go.light;return u.createElement(Ds,{theme:bo({...d,fontCode:c.fonts.mono,fontBase:c.fonts.base})},s)},se=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Jl=600,wA=A.h1(ae,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Jl}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),xA=A.h2(ae,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Jl}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:te(.25,e.color.defaultText)})),EA=A.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?te(.1,e.color.defaultText):te(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[se("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[se("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[se("div")]:t,[se("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[se("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[se("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[se("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[se("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[se("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[se("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[se("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[se("img")]:{maxWidth:"100%"},[se("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[se("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[se("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[se("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[se("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[se("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[se("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),SA=A.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Jl}px)`]:{}})),CA=({children:e,toc:t})=>u.createElement(SA,{className:"sbdocs sbdocs-wrapper"},u.createElement(EA,{className:"sbdocs sbdocs-content"},e),t),Sa=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),RA=A(ma)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),IA=A.div({display:"flex",alignItems:"center",gap:4}),AA=A.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),_A=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...l})=>u.createElement(RA,{...l},u.createElement(IA,{key:"left"},e?[1,2,3].map(i=>u.createElement(AA,{key:i})):u.createElement(u.Fragment,null,u.createElement(Ct,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},u.createElement(Oc,null)),u.createElement(Ct,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},u.createElement(Tc,null)),u.createElement(Ct,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},u.createElement(Mc,null))))),tu=o.createContext({scale:1}),{window:kA}=$e,$A=class extends o.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=kA.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...l}=this.props;return u.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...l})}},{PREVIEW_URL:OA}=$e,TA=OA||"iframe.html",jo=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,MA=e=>{let t=o.useRef(),[r,n]=o.useState(!0),[a,l]=o.useState(),{story:i,height:c,autoplay:s,forceInitialArgs:d,renderStoryToElement:f}=e;return o.useEffect(()=>{if(!(i&&t.current))return()=>{};let g=t.current,m=f(i,g,{showMain:()=>{},showError:({title:p,description:v})=>l(new Error(`${p} - ${v}`)),showException:p=>l(p)},{autoplay:s,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>m())}},[s,f,i]),a?u.createElement("pre",null,u.createElement(nd,{error:a})):u.createElement(u.Fragment,null,c?u.createElement("style",null,`#${jo(e)} { min-height: ${c}; transform: translateZ(0); overflow: auto }`):null,r&&u.createElement(ru,null),u.createElement("div",{ref:t,id:`${jo(e)}-inner`,"data-name":i.name}))},LA=({story:e,height:t="500px"})=>u.createElement("div",{style:{width:"100%",height:t}},u.createElement(tu.Consumer,null,({scale:r})=>u.createElement($A,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:fd(TA,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),zA=e=>{let{inline:t}=e;return u.createElement("div",{id:jo(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?u.createElement(MA,{...e}):u.createElement(LA,{...e}))},ru=()=>u.createElement(ud,null),PA=A.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),q0=A(eu)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Ke(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Ke(.05,e.background.content)}})),BA=A.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Sa(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),FA=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:u.createElement(q0,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:u.createElement(q0,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function HA(e){if(o.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var NA=A(_A)({position:"absolute",top:0,left:0,right:0,height:40}),jA=A.div({overflow:"hidden",position:"relative"}),nu=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:l=!1,isExpanded:i=!1,additionalActions:c,className:s,layout:d="padded",...f})=>{let[g,m]=o.useState(i),{source:p,actionItem:v}=FA(a,g,m),[h,y]=o.useState(1),x=[s].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),E=a?[v]:[],[b,w]=o.useState(c?[...c]:[]),S=[...E,...b],{window:C}=$e,R=o.useCallback(async _=>{let{createCopyToClipboardFunction:k}=await Wt(()=>Promise.resolve().then(()=>P8),void 0,import.meta.url);k()},[]),I=_=>{let k=C.getSelection();k&&k.type==="Range"||(_.preventDefault(),b.filter($=>$.title==="Copied").length===0&&R(p.props.code).then(()=>{w([...b,{title:"Copied",onClick:()=>{}}]),C.setTimeout(()=>w(b.filter($=>$.title!=="Copied")),1500)}))};return u.createElement(BA,{withSource:a,withToolbar:l,...f,className:x.join(" ")},l&&u.createElement(NA,{isLoading:e,border:!0,zoom:_=>y(h*_),resetZoom:()=>y(1),storyId:HA(n),baseUrl:"./iframe.html"}),u.createElement(tu.Provider,{value:{scale:h}},u.createElement(jA,{className:"docs-story",onCopyCapture:a&&I},u.createElement(PA,{isColumn:t||!Array.isArray(n),columns:r,layout:d},u.createElement(rd.Element,{scale:h},Array.isArray(n)?n.map((_,k)=>u.createElement("div",{key:k},_)):u.createElement("div",null,n))),u.createElement(ml,{actionItems:S}))),a&&g&&p)};A(nu)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var DA=A.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:mt({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),UA=({tags:e})=>{let t=(e.params||[]).filter(l=>l.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:u.createElement(u.Fragment,null,u.createElement(DA,null,u.createElement("tbody",null,n&&u.createElement("tr",{key:"deprecated"},u.createElement("td",{colSpan:2},u.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(l=>u.createElement("tr",{key:l.name},u.createElement("td",null,u.createElement("code",null,l.name)),u.createElement("td",null,l.description))),a&&u.createElement("tr",{key:"returns"},u.createElement("td",null,u.createElement("code",null,"Returns")),u.createElement("td",null,e.returns.description)))))},Do=8,Y0=A.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),VA=A.span(mt,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),WA=A.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),GA=A.div(mt,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),qA=A.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),YA=A(Uc)({marginLeft:4}),KA=A(Al)({marginLeft:4}),XA=()=>u.createElement("span",null,"-"),au=({text:e,simple:t})=>u.createElement(VA,{simple:t},e),ZA=Yt(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),JA=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return Zx(t)},K0=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Do)),r.map(n=>u.createElement(au,{key:n,text:n===""?'""':n}))},QA=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,l]=o.useState(!1),[i,c]=o.useState(t||!1);if(r==null)return null;let s=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(s))return u.createElement(au,{text:s});let d=JA(s),f=d.length;return f>Do?u.createElement(Y0,{isExpanded:i},K0(d,i),u.createElement(WA,{onClick:()=>c(!i)},i?"Show less...":`Show ${f-Do} more...`)):u.createElement(Y0,null,K0(d))}return u.createElement(ld,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{l(d)},tooltip:u.createElement(qA,{width:ZA(n)},u.createElement(ga,{language:"jsx",format:!1},n))},u.createElement(GA,{className:"sbdocs-expandable"},u.createElement("span",null,s),a?u.createElement(YA,null):u.createElement(KA,null)))},lo=({value:e,initialExpandedArgs:t})=>e==null?u.createElement(XA,null):u.createElement(QA,{value:e,initialExpandedArgs:t}),e_=A.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:te(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${En(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${En(.05,e.appBorderColor)} 0 0 0 2px inset`,color:En(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${En(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),t_=e=>e==="true",r_=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:l})=>{var f;let i=o.useCallback(()=>r(!1),[r]),c=!!((f=l==null?void 0:l.table)!=null&&f.readonly);if(t===void 0)return u.createElement(kt,{variant:"outline",size:"medium",id:Jn(e),onClick:i,disabled:c},"Set boolean");let s=Fe(e),d=typeof t=="string"?t_(t):t;return u.createElement(e_,{"aria-disabled":c,htmlFor:s,"aria-label":e},u.createElement("input",{id:s,type:"checkbox",onChange:g=>r(g.target.checked),checked:d,role:"switch",disabled:c,name:e,onBlur:n,onFocus:a}),u.createElement("span",{"aria-hidden":"true"},"False"),u.createElement("span",{"aria-hidden":"true"},"True"))},n_=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},a_=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},o_=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},l_=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},X0=A(Cr.Input)(({readOnly:e})=>({opacity:e?.5:1})),i_=A.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),s_=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:l})=>{var v;let[i,c]=o.useState(!0),s=o.useRef(),d=o.useRef(),f=!!((v=l==null?void 0:l.table)!=null&&v.readonly);o.useEffect(()=>{i!==!1&&(s&&s.current&&(s.current.value=o_(t)),d&&d.current&&(d.current.value=l_(t)))},[t]);let g=h=>{let y=n_(h.target.value),x=new Date(t);x.setFullYear(y.getFullYear(),y.getMonth(),y.getDate());let E=x.getTime();E&&r(E),c(!!E)},m=h=>{let y=a_(h.target.value),x=new Date(t);x.setHours(y.getHours()),x.setMinutes(y.getMinutes());let E=x.getTime();E&&r(E),c(!!E)},p=Fe(e);return u.createElement(i_,null,u.createElement(X0,{type:"date",max:"9999-12-31",ref:s,id:`${p}-date`,name:`${p}-date`,readOnly:f,onChange:g,onFocus:n,onBlur:a}),u.createElement(X0,{type:"time",id:`${p}-time`,name:`${p}-time`,ref:d,onChange:m,readOnly:f,onFocus:n,onBlur:a}),i?null:u.createElement("div",null,"invalid"))},c_=A.label({display:"flex"}),d_=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},u_=A(Cr.Input)(({readOnly:e})=>({opacity:e?.5:1})),f_=({name:e,value:t,onChange:r,min:n,max:a,step:l,onBlur:i,onFocus:c,argType:s})=>{var b;let[d,f]=o.useState(typeof t=="number"?t:""),[g,m]=o.useState(!1),[p,v]=o.useState(null),h=!!((b=s==null?void 0:s.table)!=null&&b.readonly),y=o.useCallback(w=>{f(w.target.value);let S=parseFloat(w.target.value);Number.isNaN(S)?v(new Error(`'${w.target.value}' is not a number`)):(r(S),v(null))},[r,v]),x=o.useCallback(()=>{f("0"),r(0),m(!0)},[m]),E=o.useRef(null);return o.useEffect(()=>{g&&E.current&&E.current.select()},[g]),o.useEffect(()=>{d!==(typeof t=="number"?t:"")&&f(t)},[t]),t===void 0?u.createElement(kt,{variant:"outline",size:"medium",id:Jn(e),onClick:x,disabled:h},"Set number"):u.createElement(c_,null,u.createElement(u_,{ref:E,id:Fe(e),type:"number",onChange:y,size:"flex",placeholder:"Edit number...",value:d,valid:p?"error":null,autoFocus:g,readOnly:h,name:e,min:n,max:a,step:l,onFocus:c,onBlur:i}))},ou=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},Uo=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],lu=(e,t)=>e&&t&&e.map(r=>t[r]),p_=A.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),h_=A.span({"[aria-readonly=true] &":{opacity:.5}}),g_=A.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Z0=({name:e,options:t,value:r,onChange:n,isInline:a,argType:l})=>{var m;if(!t)return Zl.warn(`Checkbox with no options: ${e}`),u.createElement(u.Fragment,null,"-");let i=Uo(r,t),[c,s]=o.useState(i),d=!!((m=l==null?void 0:l.table)!=null&&m.readonly),f=p=>{let v=p.target.value,h=[...c];h.includes(v)?h.splice(h.indexOf(v),1):h.push(v),n(lu(h,t)),s(h)};o.useEffect(()=>{s(Uo(r,t))},[r]);let g=Fe(e);return u.createElement(p_,{"aria-readonly":d,isInline:a},Object.keys(t).map((p,v)=>{let h=`${g}-${v}`;return u.createElement(g_,{key:h,htmlFor:h},u.createElement("input",{type:"checkbox",disabled:d,id:h,name:h,value:p,onChange:f,checked:c==null?void 0:c.includes(p)}),u.createElement(h_,null,p))}))},m_=A.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),v_=A.span({"[aria-readonly=true] &":{opacity:.5}}),b_=A.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),J0=({name:e,options:t,value:r,onChange:n,isInline:a,argType:l})=>{var d;if(!t)return Zl.warn(`Radio with no options: ${e}`),u.createElement(u.Fragment,null,"-");let i=ou(r,t),c=Fe(e),s=!!((d=l==null?void 0:l.table)!=null&&d.readonly);return u.createElement(m_,{"aria-readonly":s,isInline:a},Object.keys(t).map((f,g)=>{let m=`${c}-${g}`;return u.createElement(b_,{key:m,htmlFor:m},u.createElement("input",{type:"radio",id:m,name:m,disabled:s,value:f,onChange:p=>n(t[p.currentTarget.value]),checked:f===i}),u.createElement(v_,null,f))}))},y_={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},iu=A.select(y_,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),su=A.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),Q0="Choose option...",w_=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let l=f=>{n(r[f.currentTarget.value])},i=ou(t,r)||Q0,c=Fe(e),s=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return u.createElement(su,null,u.createElement(Al,null),u.createElement(iu,{disabled:s,id:c,value:i,onChange:l},u.createElement("option",{key:"no-selection",disabled:!0},Q0),Object.keys(r).map(f=>u.createElement("option",{key:f,value:f},f))))},x_=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let l=f=>{let g=Array.from(f.currentTarget.options).filter(m=>m.selected).map(m=>m.value);n(lu(g,r))},i=Uo(t,r),c=Fe(e),s=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return u.createElement(su,null,u.createElement(iu,{disabled:s,id:c,multiple:!0,value:i,onChange:l},Object.keys(r).map(f=>u.createElement("option",{key:f,value:f},f))))},es=e=>{let{name:t,options:r}=e;return r?e.isMulti?u.createElement(x_,{...e}):u.createElement(w_,{...e}):(Zl.warn(`Select with no options: ${t}`),u.createElement(u.Fragment,null,"-"))},E_=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,S_={check:Z0,"inline-check":Z0,radio:J0,"inline-radio":J0,select:es,"multi-select":es},lr=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?E_(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},l=S_[t];if(l)return u.createElement(l,{...a});throw new Error(`Unknown options type: ${t}`)},Ql="value",C_="key",R_="Error",I_="Object",A_="Array",__="String",k_="Number",$_="Boolean",O_="Date",T_="Null",M_="Undefined",L_="Function",z_="Symbol",cu="ADD_DELTA_TYPE",du="REMOVE_DELTA_TYPE",uu="UPDATE_DELTA_TYPE";function Nt(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function fu(e,t){let r=Nt(e),n=Nt(t);return(r==="Function"||n==="Function")&&n!==r}var ei=class extends o.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:l,inputRefValue:i}=this.state,c={};if(!t){if(!l.value)return;c.key=l.value}c.newValue=r(!1,n,a,c.key,i.value),e(c)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:l,deep:i}=this.props,c=o.cloneElement(r,{onClick:this.onSubmit}),s=o.cloneElement(n,{onClick:e}),d=a(Ql,l,i),f=o.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),g=null;if(!t){let m=a(C_,l,i);g=o.cloneElement(m,{placeholder:"Key",ref:this.refInputKey})}return u.createElement("span",{className:"rejt-add-value-node"},g,f,s,c)}};ei.defaultProps={onlyValue:!1,addButtonElement:u.createElement("button",null,"+"),cancelButtonElement:u.createElement("button",null,"c")};var pu=class extends o.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,l=n.length;a(n[l-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:l}=this.state,i=n[e];t(e,a,l,i).then(()=>{let c={keyPath:a,deep:l,key:e,oldValue:i,type:du};n.splice(e,1),this.setState({data:n});let{onUpdate:s,onDeltaUpdate:d}=this.props;s(a[a.length-1],n),d(c)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:l}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:c,onDeltaUpdate:s}=this.props;c(r[r.length-1],i),s({type:cu,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(l.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:l,keyPath:i,nextDeep:c}=this.state,s=l[e];a(e,i,c,s,t).then(()=>{l[e]=t,this.setState({data:l});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],l),f({type:uu,keyPath:i,deep:c,key:e,newValue:t,oldValue:s}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:l,getStyle:i,dataType:c,minusMenuElement:s}=this.props,{minus:d,collapsed:f}=i(e,t,r,n,c),g=l(e,t,r,n,c),m=o.cloneElement(s,{onClick:a,className:"rejt-minus-menu",style:d});return u.createElement("span",{className:"rejt-collapsed"},u.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!g&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:l}=this.state,{isCollapsed:i,handleRemove:c,onDeltaUpdate:s,readOnly:d,getStyle:f,dataType:g,addButtonElement:m,cancelButtonElement:p,editButtonElement:v,inputElementGenerator:h,textareaElementGenerator:y,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:b,beforeAddAction:w,beforeUpdateAction:S,logger:C,onSubmitValueParser:R}=this.props,{minus:I,plus:_,delimiter:k,ul:$,addForm:O}=f(e,t,r,n,g),T=d(e,t,r,n,g),H=o.cloneElement(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),M=o.cloneElement(x,{onClick:c,className:"rejt-minus-menu",style:I});return u.createElement("span",{className:"rejt-not-collapsed"},u.createElement("span",{className:"rejt-not-collapsed-delimiter",style:k},"["),!a&&H,u.createElement("ul",{className:"rejt-not-collapsed-list",style:$},t.map((L,N)=>u.createElement(Ca,{key:N,name:N.toString(),data:L,keyPath:r,deep:l,isCollapsed:i,handleRemove:this.handleRemoveItem(N),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:d,getStyle:f,addButtonElement:m,cancelButtonElement:p,editButtonElement:v,inputElementGenerator:h,textareaElementGenerator:y,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:b,beforeAddAction:w,beforeUpdateAction:S,logger:C,onSubmitValueParser:R}))),!T&&a&&u.createElement("div",{className:"rejt-add-form",style:O},u.createElement(ei,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:m,cancelButtonElement:p,inputElementGenerator:h,keyPath:r,deep:n,onSubmitValueParser:R})),u.createElement("span",{className:"rejt-not-collapsed-delimiter",style:k},"]"),!T&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:l,getStyle:i}=this.props,c=t?this.renderCollapsed():this.renderNotCollapsed(),s=i(e,r,n,a,l);return u.createElement("div",{className:"rejt-array-node"},u.createElement("span",{onClick:this.handleCollapseMode},u.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),c)}};pu.defaultProps={keyPath:[],deep:0,minusMenuElement:u.createElement("span",null," - "),plusMenuElement:u.createElement("span",null," + ")};var hu=class extends o.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:l}=this.state,{readOnly:i,dataType:c}=this.props,s=i(r,n,a,l,c);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:l,name:i,deep:c}=this.state;if(!l)return;let s=n(!0,a,c,i,l.value);e({value:s,key:i}).then(()=>{fu(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:l,originalValue:i,readOnly:c,dataType:s,getStyle:d,editButtonElement:f,cancelButtonElement:g,textareaElementGenerator:m,minusMenuElement:p,keyPath:v}=this.props,h=d(e,i,n,a,s),y=null,x=null,E=c(e,i,n,a,s);if(r&&!E){let b=m(Ql,v,a,e,i,s),w=o.cloneElement(f,{onClick:this.handleEdit}),S=o.cloneElement(g,{onClick:this.handleCancelEdit}),C=o.cloneElement(b,{ref:this.refInput,defaultValue:i});y=u.createElement("span",{className:"rejt-edit-form",style:h.editForm},C," ",S,w),x=null}else{y=u.createElement("span",{className:"rejt-value",style:h.value,onClick:E?null:this.handleEditMode},t);let b=o.cloneElement(p,{onClick:l,className:"rejt-minus-menu",style:h.minus});x=E?null:b}return u.createElement("li",{className:"rejt-function-value-node",style:h.li},u.createElement("span",{className:"rejt-name",style:h.name},e," :"," "),y,x)}};hu.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:u.createElement("button",null,"e"),cancelButtonElement:u.createElement("button",null,"c"),minusMenuElement:u.createElement("span",null," - ")};var Ca=class extends o.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:l,handleUpdateValue:i,onUpdate:c,onDeltaUpdate:s,readOnly:d,getStyle:f,addButtonElement:g,cancelButtonElement:m,editButtonElement:p,inputElementGenerator:v,textareaElementGenerator:h,minusMenuElement:y,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:w,logger:S,onSubmitValueParser:C}=this.props,R=()=>!0,I=Nt(e);switch(I){case R_:return u.createElement(Vo,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:l,onUpdate:c,onDeltaUpdate:s,readOnly:R,dataType:I,getStyle:f,addButtonElement:g,cancelButtonElement:m,editButtonElement:p,inputElementGenerator:v,textareaElementGenerator:h,minusMenuElement:y,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:w,logger:S,onSubmitValueParser:C});case I_:return u.createElement(Vo,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:l,onUpdate:c,onDeltaUpdate:s,readOnly:d,dataType:I,getStyle:f,addButtonElement:g,cancelButtonElement:m,editButtonElement:p,inputElementGenerator:v,textareaElementGenerator:h,minusMenuElement:y,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:w,logger:S,onSubmitValueParser:C});case A_:return u.createElement(pu,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:l,onUpdate:c,onDeltaUpdate:s,readOnly:d,dataType:I,getStyle:f,addButtonElement:g,cancelButtonElement:m,editButtonElement:p,inputElementGenerator:v,textareaElementGenerator:h,minusMenuElement:y,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:w,logger:S,onSubmitValueParser:C});case __:return u.createElement(xt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:f,cancelButtonElement:m,editButtonElement:p,inputElementGenerator:v,minusMenuElement:y,logger:S,onSubmitValueParser:C});case k_:return u.createElement(xt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:f,cancelButtonElement:m,editButtonElement:p,inputElementGenerator:v,minusMenuElement:y,logger:S,onSubmitValueParser:C});case $_:return u.createElement(xt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:f,cancelButtonElement:m,editButtonElement:p,inputElementGenerator:v,minusMenuElement:y,logger:S,onSubmitValueParser:C});case O_:return u.createElement(xt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:R,dataType:I,getStyle:f,cancelButtonElement:m,editButtonElement:p,inputElementGenerator:v,minusMenuElement:y,logger:S,onSubmitValueParser:C});case T_:return u.createElement(xt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:f,cancelButtonElement:m,editButtonElement:p,inputElementGenerator:v,minusMenuElement:y,logger:S,onSubmitValueParser:C});case M_:return u.createElement(xt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:f,cancelButtonElement:m,editButtonElement:p,inputElementGenerator:v,minusMenuElement:y,logger:S,onSubmitValueParser:C});case L_:return u.createElement(hu,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:f,cancelButtonElement:m,editButtonElement:p,textareaElementGenerator:h,minusMenuElement:y,logger:S,onSubmitValueParser:C});case z_:return u.createElement(xt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:R,dataType:I,getStyle:f,cancelButtonElement:m,editButtonElement:p,inputElementGenerator:v,minusMenuElement:y,logger:S,onSubmitValueParser:C});default:return null}}};Ca.defaultProps={keyPath:[],deep:0};var Vo=class extends o.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,l=n.length;a(n[l-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:l,logger:i}=this.props;l(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:c,onDeltaUpdate:s}=this.props;c(n[n.length-1],r),s({type:cu,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:l}=this.state,i=n[e];t(e,a,l,i).then(()=>{let c={keyPath:a,deep:l,key:e,oldValue:i,type:du};delete n[e],this.setState({data:n});let{onUpdate:s,onDeltaUpdate:d}=this.props;s(a[a.length-1],n),d(c)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:l,keyPath:i,nextDeep:c}=this.state,s=l[e];a(e,i,c,s,t).then(()=>{l[e]=t,this.setState({data:l});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],l),f({type:uu,keyPath:i,deep:c,key:e,newValue:t,oldValue:s}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:l,dataType:i,getStyle:c,minusMenuElement:s}=this.props,{minus:d,collapsed:f}=c(e,n,t,r,i),g=Object.getOwnPropertyNames(n),m=l(e,n,t,r,i),p=o.cloneElement(s,{onClick:a,className:"rejt-minus-menu",style:d});return u.createElement("span",{className:"rejt-collapsed"},u.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"{...}"," ",g.length," ",g.length===1?"key":"keys"),!m&&p)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:l}=this.state,{isCollapsed:i,handleRemove:c,onDeltaUpdate:s,readOnly:d,getStyle:f,dataType:g,addButtonElement:m,cancelButtonElement:p,editButtonElement:v,inputElementGenerator:h,textareaElementGenerator:y,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:b,beforeAddAction:w,beforeUpdateAction:S,logger:C,onSubmitValueParser:R}=this.props,{minus:I,plus:_,addForm:k,ul:$,delimiter:O}=f(e,t,r,n,g),T=Object.getOwnPropertyNames(t),H=d(e,t,r,n,g),M=o.cloneElement(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),L=o.cloneElement(x,{onClick:c,className:"rejt-minus-menu",style:I}),N=T.map(U=>u.createElement(Ca,{key:U,name:U,data:t[U],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(U),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:d,getStyle:f,addButtonElement:m,cancelButtonElement:p,editButtonElement:v,inputElementGenerator:h,textareaElementGenerator:y,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:b,beforeAddAction:w,beforeUpdateAction:S,logger:C,onSubmitValueParser:R}));return u.createElement("span",{className:"rejt-not-collapsed"},u.createElement("span",{className:"rejt-not-collapsed-delimiter",style:O},"{"),!H&&M,u.createElement("ul",{className:"rejt-not-collapsed-list",style:$},N),!H&&l&&u.createElement("div",{className:"rejt-add-form",style:k},u.createElement(ei,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:m,cancelButtonElement:p,inputElementGenerator:h,keyPath:r,deep:n,onSubmitValueParser:R})),u.createElement("span",{className:"rejt-not-collapsed-delimiter",style:O},"}"),!H&&L)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:l,dataType:i}=this.props,c=t?this.renderCollapsed():this.renderNotCollapsed(),s=l(e,r,n,a,i);return u.createElement("div",{className:"rejt-object-node"},u.createElement("span",{onClick:this.handleCollapseMode},u.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),c)}};Vo.defaultProps={keyPath:[],deep:0,minusMenuElement:u.createElement("span",null," - "),plusMenuElement:u.createElement("span",null," + ")};var xt=class extends o.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:l}=this.state,{readOnly:i,dataType:c}=this.props,s=i(r,n,a,l,c);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:l,name:i,deep:c}=this.state;if(!l)return;let s=n(!0,a,c,i,l.value);e({value:s,key:i}).then(()=>{fu(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:l,originalValue:i,readOnly:c,dataType:s,getStyle:d,editButtonElement:f,cancelButtonElement:g,inputElementGenerator:m,minusMenuElement:p,keyPath:v}=this.props,h=d(e,i,n,a,s),y=c(e,i,n,a,s),x=r&&!y,E=m(Ql,v,a,e,i,s),b=o.cloneElement(f,{onClick:this.handleEdit}),w=o.cloneElement(g,{onClick:this.handleCancelEdit}),S=o.cloneElement(E,{ref:this.refInput,defaultValue:JSON.stringify(i)}),C=o.cloneElement(p,{onClick:l,className:"rejt-minus-menu",style:h.minus});return u.createElement("li",{className:"rejt-value-node",style:h.li},u.createElement("span",{className:"rejt-name",style:h.name},e," : "),x?u.createElement("span",{className:"rejt-edit-form",style:h.editForm},S," ",w,b):u.createElement("span",{className:"rejt-value",style:h.value,onClick:y?null:this.handleEditMode},String(t)),!y&&!x&&C)}};xt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:u.createElement("button",null,"e"),cancelButtonElement:u.createElement("button",null,"c"),minusMenuElement:u.createElement("span",null," - ")};var P_={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},B_={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},F_={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function H_(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var gu=class extends o.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:l,addButtonElement:i,cancelButtonElement:c,editButtonElement:s,inputElement:d,textareaElement:f,minusMenuElement:g,plusMenuElement:m,beforeRemoveAction:p,beforeAddAction:v,beforeUpdateAction:h,logger:y,onSubmitValueParser:x,fallback:E=null}=this.props,b=Nt(e),w=a;Nt(a)==="Boolean"&&(w=()=>a);let S=d;d&&Nt(d)!=="Function"&&(S=()=>d);let C=f;return f&&Nt(f)!=="Function"&&(C=()=>f),b==="Object"||b==="Array"?u.createElement("div",{className:"rejt-tree"},u.createElement(Ca,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:w,getStyle:l,addButtonElement:i,cancelButtonElement:c,editButtonElement:s,inputElementGenerator:S,textareaElementGenerator:C,minusMenuElement:g,plusMenuElement:m,handleRemove:this.removeRoot,beforeRemoveAction:p,beforeAddAction:v,beforeUpdateAction:h,logger:y,onSubmitValueParser:x})):E}};gu.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return P_;case"Array":return B_;default:return F_}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>H_(a),inputElement:()=>u.createElement("input",null),textareaElement:()=>u.createElement("textarea",null),fallback:null};var{window:N_}=$e,j_=A.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),io=A.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),D_=A(Hc)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),U_=A(Nc)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),ts=A.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),V_=A(Ct)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),W_=A(Cr.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),G_={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},q_=e=>{e.currentTarget.dispatchEvent(new N_.KeyboardEvent("keydown",G_))},Y_=e=>{e.currentTarget.select()},K_=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),rs=({name:e,value:t,onChange:r,argType:n})=>{var b;let a=js(),l=o.useMemo(()=>t&&PC(t),[t]),i=l!=null,[c,s]=o.useState(!i),[d,f]=o.useState(null),g=!!((b=n==null?void 0:n.table)!=null&&b.readonly),m=o.useCallback(w=>{try{w&&r(JSON.parse(w)),f(void 0)}catch(S){f(S)}},[r]),[p,v]=o.useState(!1),h=o.useCallback(()=>{r({}),v(!0)},[v]),y=o.useRef(null);if(o.useEffect(()=>{p&&y.current&&y.current.select()},[p]),!i)return u.createElement(kt,{disabled:g,id:Jn(e),onClick:h},"Set object");let x=u.createElement(W_,{ref:y,id:Fe(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:w=>m(w.target.value),placeholder:"Edit JSON string...",autoFocus:p,valid:d?"error":null,readOnly:g}),E=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return u.createElement(j_,{"aria-readonly":g},E&&u.createElement(V_,{onClick:w=>{w.preventDefault(),s(S=>!S)}},c?u.createElement(zc,null):u.createElement(Lc,null),u.createElement("span",null,"RAW")),c?x:u.createElement(gu,{readOnly:g||!E,isCollapsed:E?void 0:()=>!0,data:l,rootName:e,onFullyUpdate:r,getStyle:K_(a),cancelButtonElement:u.createElement(io,{type:"button"},"Cancel"),editButtonElement:u.createElement(io,{type:"submit"},"Save"),addButtonElement:u.createElement(io,{type:"submit",primary:!0},"Save"),plusMenuElement:u.createElement(D_,null),minusMenuElement:u.createElement(U_,null),inputElement:(w,S,C,R)=>R?u.createElement(ts,{onFocus:Y_,onBlur:q_}):u.createElement(ts,null),fallback:x}))},X_=A.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Ke(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ke(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bt(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${ft(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${ft(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Ke(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:a?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:ft(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Ke(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ke(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bt(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${ft(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${ft(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Ke(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Ke(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ke(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bt(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${ft(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),mu=A.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),Z_=A(mu)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),J_=A.div({display:"flex",alignItems:"center",width:"100%"});function Q_(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var ek=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:l=1,onBlur:i,onFocus:c,argType:s})=>{var p;let d=v=>{r(d_(v.target.value))},f=t!==void 0,g=o.useMemo(()=>Q_(l),[l]),m=!!((p=s==null?void 0:s.table)!=null&&p.readonly);return u.createElement(J_,{"aria-readonly":m},u.createElement(mu,null,n),u.createElement(X_,{id:Fe(e),type:"range",disabled:m,onChange:d,name:e,value:t,min:n,max:a,step:l,onFocus:c,onBlur:i}),u.createElement(Z_,{numberOFDecimalsPlaces:g,max:a},f?t.toFixed(g):"--"," / ",a))},tk=A.label({display:"flex"}),rk=A.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),nk=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:l,argType:i})=>{var p;let c=v=>{r(v.target.value)},s=!!((p=i==null?void 0:i.table)!=null&&p.readonly),[d,f]=o.useState(!1),g=o.useCallback(()=>{r(""),f(!0)},[f]);if(t===void 0)return u.createElement(kt,{variant:"outline",size:"medium",disabled:s,id:Jn(e),onClick:g},"Set string");let m=typeof t=="string";return u.createElement(tk,null,u.createElement(Cr.Textarea,{id:Fe(e),maxLength:l,onChange:c,disabled:s,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:m?null:"error",name:e,value:m?t:"",onFocus:n,onBlur:a}),l&&u.createElement(rk,{isMaxed:(t==null?void 0:t.length)===l},(t==null?void 0:t.length)??0," / ",l))},ak=A(Cr.Input)({padding:10});function ok(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var lk=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var s;let l=o.useRef(null),i=(s=a==null?void 0:a.control)==null?void 0:s.readOnly;function c(d){if(!d.target.files)return;let f=Array.from(d.target.files).map(g=>URL.createObjectURL(g));e(f),ok(n)}return o.useEffect(()=>{n==null&&l.current&&(l.current.value=null)},[n,t]),u.createElement(ak,{ref:l,id:Fe(t),type:"file",name:t,multiple:!0,disabled:i,onChange:c,accept:r,size:"flex"})},ik=o.lazy(()=>Wt(()=>import("./Color-PRSJMWNM-eh9pW2fS.js"),__vite__mapDeps([9,2,5,1,3,4,6]),import.meta.url)),sk=e=>u.createElement(o.Suspense,{fallback:u.createElement("div",null)},u.createElement(ik,{...e})),ck={array:rs,object:rs,boolean:r_,color:sk,date:s_,number:f_,check:lr,"inline-check":lr,radio:lr,"inline-radio":lr,select:lr,"multi-select":lr,range:ek,text:nk,file:lk},ns=()=>u.createElement(u.Fragment,null,"-"),dk=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var h;let{key:a,control:l}=e,[i,c]=o.useState(!1),[s,d]=o.useState({value:t});o.useEffect(()=>{i||d({value:t})},[i,t]);let f=o.useCallback(y=>(d({value:y}),r({[a]:y}),y),[r,a]),g=o.useCallback(()=>c(!1),[]),m=o.useCallback(()=>c(!0),[]);if(!l||l.disable){let y=(l==null?void 0:l.disable)!==!0&&((h=e==null?void 0:e.type)==null?void 0:h.name)!=="function";return n&&y?u.createElement(Ut,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):u.createElement(ns,null)}let p={name:a,argType:e,value:s.value,onChange:f,onBlur:g,onFocus:m},v=ck[l.type]||ns;return u.createElement(v,{...p,...l,controlType:l.type})},uk=A.span({fontWeight:"bold"}),fk=A.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),pk=A.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...mt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),hk=A.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?te(.1,e.color.defaultText):te(.2,e.color.defaultText),marginTop:t?4:0})),gk=A.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?te(.1,e.color.defaultText):te(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),mk=A.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),vk=e=>e&&{summary:typeof e=="string"?e:e.name},Cn=e=>{var h;let[t,r]=o.useState(!1),{row:n,updateArgs:a,compact:l,expandable:i,initialExpandedArgs:c}=e,{name:s,description:d}=n,f=n.table||{},g=f.type||vk(n.type),m=f.defaultValue||n.defaultValue,p=(h=n.type)==null?void 0:h.required,v=d!=null&&d!=="";return u.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},u.createElement(mk,{expandable:i},u.createElement(uk,null,s),p?u.createElement(fk,{title:"Required"},"*"):null),l?null:u.createElement("td",null,v&&u.createElement(pk,null,u.createElement(Bd,null,d)),f.jsDocTags!=null?u.createElement(u.Fragment,null,u.createElement(gk,{hasDescription:v},u.createElement(lo,{value:g,initialExpandedArgs:c})),u.createElement(UA,{tags:f.jsDocTags})):u.createElement(hk,{hasDescription:v},u.createElement(lo,{value:g,initialExpandedArgs:c}))),l?null:u.createElement("td",null,u.createElement(lo,{value:m,initialExpandedArgs:c})),a?u.createElement("td",null,u.createElement(dk,{...e,isHovered:t})):null)},bk=A(Dc)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?te(.25,e.color.defaultText):te(.3,e.color.defaultText),border:"none",display:"inline-block"})),yk=A(Il)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?te(.25,e.color.defaultText):te(.3,e.color.defaultText),border:"none",display:"inline-block"})),wk=A.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),xk=A.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?te(.4,e.color.defaultText):te(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),Ek=A.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),Sk=A.td(()=>({position:"relative"})),Ck=A.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Bt(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),as=A.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),so=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[l,i]=o.useState(n),c=e==="subsection"?Ek:xk,s=(r==null?void 0:r.length)||0,d=e==="subsection"?`${s} item${s!==1?"s":""}`:"",f=`${l?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return u.createElement(u.Fragment,null,u.createElement(Ck,{title:f},u.createElement(c,{colSpan:1},u.createElement(as,{onClick:g=>i(!l),tabIndex:0},f),u.createElement(wk,null,l?u.createElement(bk,null):u.createElement(yk,null),t)),u.createElement(Sk,{colSpan:a-1},u.createElement(as,{onClick:g=>i(!l),tabIndex:-1,style:{outline:"none"}},f),l?null:d)),l?r:null)},Rn=A.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),ge=A.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ce=A.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),me=[2,4,2,2],Rk=()=>u.createElement(u.Fragment,null,u.createElement(Rn,null,u.createElement(ge,{numColumn:me[0]},u.createElement(ce,{width:"60%"})),u.createElement(ge,{numColumn:me[1]},u.createElement(ce,{width:"30%"})),u.createElement(ge,{numColumn:me[2]},u.createElement(ce,{width:"60%"})),u.createElement(ge,{numColumn:me[3]},u.createElement(ce,{width:"60%"}))),u.createElement(Rn,null,u.createElement(ge,{numColumn:me[0]},u.createElement(ce,{width:"60%"})),u.createElement(ge,{numColumn:me[1]},u.createElement(ce,{width:"80%"}),u.createElement(ce,{width:"30%"})),u.createElement(ge,{numColumn:me[2]},u.createElement(ce,{width:"60%"})),u.createElement(ge,{numColumn:me[3]},u.createElement(ce,{width:"60%"}))),u.createElement(Rn,null,u.createElement(ge,{numColumn:me[0]},u.createElement(ce,{width:"60%"})),u.createElement(ge,{numColumn:me[1]},u.createElement(ce,{width:"80%"}),u.createElement(ce,{width:"30%"})),u.createElement(ge,{numColumn:me[2]},u.createElement(ce,{width:"60%"})),u.createElement(ge,{numColumn:me[3]},u.createElement(ce,{width:"60%"}))),u.createElement(Rn,null,u.createElement(ge,{numColumn:me[0]},u.createElement(ce,{width:"60%"})),u.createElement(ge,{numColumn:me[1]},u.createElement(ce,{width:"80%"}),u.createElement(ce,{width:"30%"})),u.createElement(ge,{numColumn:me[2]},u.createElement(ce,{width:"60%"})),u.createElement(ge,{numColumn:me[3]},u.createElement(ce,{width:"60%"})))),Ik=A.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),Ak=A.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),_k=A.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),kk=({inAddonPanel:e})=>{let[t,r]=o.useState(!0);return o.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:u.createElement(Ik,{inAddonPanel:e},u.createElement(Hl,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:u.createElement(u.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:u.createElement(Ak,null,e&&u.createElement(u.Fragment,null,u.createElement(Ut,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},u.createElement(Bc,null)," Watch 5m video"),u.createElement(_k,null),u.createElement(Ut,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},u.createElement(Un,null)," Read docs")),!e&&u.createElement(Ut,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},u.createElement(Un,null)," Learn how to set that up"))}))},$k=A.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?te(.25,e.color.defaultText):te(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),Ok=A(Ct)(({theme:e})=>({margin:"-4px -12px -4px 0"})),Tk=A.span({display:"flex",justifyContent:"space-between"}),Mk={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},Lk=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([l,i])=>{let{category:c,subcategory:s}=(i==null?void 0:i.table)||{};if(c){let d=r.sections[c]||{ungrouped:[],subsections:{}};if(!s)d.ungrouped.push({key:l,...i});else{let f=d.subsections[s]||[];f.push({key:l,...i}),d.subsections[s]=f}r.sections[c]=d}else if(s){let d=r.ungroupedSubsections[s]||[];d.push({key:l,...i}),r.ungroupedSubsections[s]=d}else r.ungrouped.push({key:l,...i})});let n=Mk[t],a=l=>n?Object.keys(l).reduce((i,c)=>({...i,[c]:l[c].sort(n)}),{}):l;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((l,i)=>({...l,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},zk=(e,t,r)=>{try{return Ru(e,t,r)}catch(n){return fA.warn(n.message),!1}},Wo=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:l,sort:i="none",isLoading:c}=e;if("error"in e){let{error:E}=e;return u.createElement(Qd,null,E," ",u.createElement(Ut,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},u.createElement(Un,null)," Read the docs"))}if(c)return u.createElement(Rk,null);let{rows:s,args:d,globals:f}="rows"in e&&e,g=Lk(jf(s,E=>{var b;return!((b=E==null?void 0:E.table)!=null&&b.disable)&&zk(E,d||{},f||{})}),i),m=g.ungrouped.length===0,p=Object.entries(g.sections).length===0,v=Object.entries(g.ungroupedSubsections).length===0;if(m&&p&&v)return u.createElement(kk,{inAddonPanel:a});let h=1;t&&(h+=1),n||(h+=2);let y=Object.keys(g.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:l};return u.createElement(ha,null,u.createElement($k,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},u.createElement("thead",{className:"docblock-argstable-head"},u.createElement("tr",null,u.createElement("th",null,u.createElement("span",null,"Name")),n?null:u.createElement("th",null,u.createElement("span",null,"Description")),n?null:u.createElement("th",null,u.createElement("span",null,"Default")),t?u.createElement("th",null,u.createElement(Tk,null,"Control"," ",!c&&r&&u.createElement(Ok,{onClick:()=>r(),title:"Reset controls"},u.createElement(Vc,{"aria-hidden":!0})))):null)),u.createElement("tbody",{className:"docblock-argstable-body"},g.ungrouped.map(E=>u.createElement(Cn,{key:E.key,row:E,arg:d&&d[E.key],...x})),Object.entries(g.ungroupedSubsections).map(([E,b])=>u.createElement(so,{key:E,label:E,level:"subsection",colSpan:h},b.map(w=>u.createElement(Cn,{key:w.key,row:w,arg:d&&d[w.key],expandable:y,...x})))),Object.entries(g.sections).map(([E,b])=>u.createElement(so,{key:E,label:E,level:"section",colSpan:h},b.ungrouped.map(w=>u.createElement(Cn,{key:w.key,row:w,arg:d&&d[w.key],...x})),Object.entries(b.subsections).map(([w,S])=>u.createElement(so,{key:w,label:w,level:"subsection",colSpan:h},S.map(C=>u.createElement(Cn,{key:C.key,row:C,arg:d&&d[C.key],expandable:y,...x})))))))))},Pk=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?u.createElement(Wo,{...r[0][1],...t}):u.createElement(Dl,null,r.map((n,a)=>{let[l,i]=n,c=`prop_table_div_${l}`,s="div",d=a===0?t:{sort:t.sort};return u.createElement(s,{key:c,id:c,title:l},({active:f})=>f?u.createElement(Wo,{key:`prop_table_${l}`,...i,...d}):null)}))};A.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?te(.4,e.color.defaultText):te(.6,e.color.defaultText)}));A.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});A.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});A.div(ae,({theme:e})=>({...Sa(e),margin:"25px 0 40px",padding:"30px 20px"}));A.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));A.div(({theme:e})=>({color:e.base==="light"?te(.2,e.color.defaultText):te(.6,e.color.defaultText)}));A.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});A.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?te(.4,e.color.defaultText):te(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));A.div({display:"flex",flexDirection:"row"});A.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));A.div(({theme:e})=>({...Sa(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));A.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});A.div({flex:1,display:"flex",flexDirection:"row"});A.div({display:"flex",alignItems:"flex-start"});A.div({flex:"0 0 30%"});A.div({flex:1});A.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?te(.4,e.color.defaultText):te(.6,e.color.defaultText)}));A.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var Bk=A.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),Fk=A.div(({theme:e})=>({...Sa(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),Hk=A.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Nk=A.div({display:"flex",flexFlow:"row wrap"}),q$=({name:e,children:t})=>u.createElement(Hk,null,u.createElement(Fk,null,t),u.createElement(Bk,null,e)),Y$=({children:e,...t})=>u.createElement(ha,null,u.createElement(Nk,{...t,className:"docblock-icongallery sb-unstyled"},e)),jk=e=>`anchor--${e}`,vu=({storyId:e,children:t})=>u.createElement("div",{id:jk(e),className:"sb-anchor"},t);$e&&$e.__DOCS_CONTEXT__===void 0&&($e.__DOCS_CONTEXT__=o.createContext(null),$e.__DOCS_CONTEXT__.displayName="DocsContext");var Ne=$e?$e.__DOCS_CONTEXT__:o.createContext(null),Zt=(e,t)=>o.useContext(Ne).resolveOf(e,t),Dk=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),Uk=e=>{if(e)return typeof e=="string"?e.includes("-")?Dk(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function Vk(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function bu(e){return eA(e,{allowFunction:!1})}var yu=o.createContext({sources:{}}),wu="--unknown--",Wk=({children:e,channel:t})=>{let[r,n]=o.useState({});return o.useEffect(()=>{let a=(l,i=null,c=!1)=>{let{id:s,args:d=void 0,source:f,format:g}=typeof l=="string"?{id:l,source:i,format:c}:l,m=d?bu(d):wu;n(p=>({...p,[s]:{...p[s],[m]:{code:f,format:g}}}))};return t.on(ii,a),()=>t.off(ii,a)},[]),u.createElement(yu.Provider,{value:{sources:r}},e)},Gk=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[bu(t)])||(a==null?void 0:a[wu])||{code:""}},qk=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var s,d;let{__isArgsStory:a}=t.parameters,l=((s=t.parameters.docs)==null?void 0:s.source)||{},i=r||l.type||Aa.AUTO;if(l.code!==void 0)return l.code;let c=i===Aa.DYNAMIC||i===Aa.AUTO&&e&&a?e:l.originalSource||"";return((d=n??l.transform)==null?void 0:d(c,t))||c},Yk=(e,t,r)=>{var p,v,h,y;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let l=((v=(p=n==null?void 0:n.parameters)==null?void 0:p.docs)==null?void 0:v.source)||{},{code:i}=e,c=e.format??l.format,s=e.language??l.language??"jsx",d=e.dark??l.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:c,language:s,dark:d};let f=t.getStoryContext(n),g=e.__forceInitialArgs?f.initialArgs:f.unmappedArgs,m=Gk(n.id,g,r);return c=m.format??((y=(h=n.parameters.docs)==null?void 0:h.source)==null?void 0:y.format)??!1,{code:qk({snippet:m.code,storyContext:{...f,args:g},typeFromProps:e.type,transformFromProps:e.transform}),format:c,language:s,dark:d}};function Kk(e,t){let r=Xk([e],t);return r&&r[0]}function Xk(e,t){let[r,n]=o.useState({});return o.useEffect(()=>{Promise.all(e.map(async a=>{let l=await t.loadStory(a);n(i=>i[a]===l?i:{...i,[a]:l})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var Zk=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},Jk=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,l=a.story||{};if(a.disable)return null;if(e.inline??l.inline??!1){let c=e.height??l.height,s=e.autoplay??l.autoplay??!1;return{story:t,inline:!0,height:c,autoplay:s,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??l.height??l.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},Qk=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=o.useContext(Ne),r=Zk(e,t),n=Kk(r,t);if(!n)return u.createElement(ru,null);let a=Jk(e,n,t);return a?u.createElement(zA,{...a}):null},e$=e=>{var m,p,v,h,y,x,E,b,w,S;let t=o.useContext(Ne),r=o.useContext(yu),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:l}=Zt(n||"story",["story"]),i=Yk({...a,...n&&{of:n}},t,r),c=e.layout??l.parameters.layout??((p=(m=l.parameters.docs)==null?void 0:m.canvas)==null?void 0:p.layout)??"padded",s=e.withToolbar??((h=(v=l.parameters.docs)==null?void 0:v.canvas)==null?void 0:h.withToolbar)??!1,d=e.additionalActions??((x=(y=l.parameters.docs)==null?void 0:y.canvas)==null?void 0:x.additionalActions),f=e.sourceState??((b=(E=l.parameters.docs)==null?void 0:E.canvas)==null?void 0:b.sourceState)??"hidden",g=e.className??((S=(w=l.parameters.docs)==null?void 0:w.canvas)==null?void 0:S.className);return u.createElement(nu,{withSource:f==="none"?void 0:i,isExpanded:f==="shown",withToolbar:s,additionalActions:d,className:g,layout:c},u.createElement(Qk,{of:n||l.moduleExport,meta:e.meta,...e.story}))},t$=(e,t)=>{let r=t.getStoryContext(e),[n,a]=o.useState(r.globals);return o.useEffect(()=>{let l=i=>{a(i.globals)};return t.channel.on(W0,l),()=>t.channel.off(W0,l)},[t.channel]),[n]},r$=(e,t)=>{let r=n$(e,t);if(!r)throw new Error("No result when story was defined");return r},n$=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,l]=o.useState(r.args);o.useEffect(()=>{let s=d=>{d.storyId===n&&l(d.args)};return t.channel.on(G0,s),()=>t.channel.off(G0,s)},[n,t.channel]);let i=o.useCallback(s=>t.channel.emit(pA,{storyId:n,updatedArgs:s}),[n,t.channel]),c=o.useCallback(s=>t.channel.emit(hA,{storyId:n,argNames:s}),[n,t.channel]);return e&&[a,i,c]};function a$(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var o$=e=>{var w;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=o.useContext(Ne),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:l,component:i,subcomponents:c}=n,s=((w=a.docs)==null?void 0:w.controls)||{},d=e.include??s.include,f=e.exclude??s.exclude,g=e.sort??s.sort,[m,p,v]=r$(n,r),[h]=t$(n,r),y=V0(l,d,f);if(!(c&&Object.keys(c).length>0))return Object.keys(y).length>0||Object.keys(m).length>0?u.createElement(Wo,{rows:y,sort:g,args:m,globals:h,updateArgs:p,resetArgs:v}):null;let x=Uk(i),E=Object.fromEntries(Object.entries(c).map(([S,C])=>[S,{rows:V0(a$(C,a),d,f),sort:g}])),b={[x]:{rows:y,sort:g},...E};return u.createElement(Pk,{tabs:b,sort:g,args:m,globals:h,updateArgs:p,resetArgs:v})},{document:xu}=$e,l$=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return u.createElement(Tl,null,t);let n=e&&e.split("-");return u.createElement(eu,{language:n&&n[1]||"text",format:!1,code:t,...r})};function ti(e,t){e.channel.emit(gA,t)}var Go=pd.a,i$=({hash:e,children:t})=>{let r=o.useContext(Ne);return u.createElement(Go,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);xu.getElementById(a)&&ti(r,e)}},t)},s$=e=>{let{href:t,target:r,children:n,...a}=e,l=o.useContext(Ne);return!t||r==="_blank"||/^https?:\/\//.test(t)?u.createElement(Go,{...e}):t.startsWith("#")?u.createElement(i$,{hash:t},n):u.createElement(Go,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),ti(l,i.currentTarget.getAttribute("href")))},target:r,...a},n)},Eu=["h1","h2","h3","h4","h5","h6"],c$=Eu.reduce((e,t)=>({...e,[t]:A(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),d$=A.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),u$=({as:e,id:t,children:r,...n})=>{let a=o.useContext(Ne),l=c$[e],i=`#${t}`;return u.createElement(l,{id:t,...n},u.createElement(d$,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:c=>{xu.getElementById(t)&&ti(a,i)}},u.createElement(jc,null)),r)},ri=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return u.createElement(u$,{as:t,id:r,...a},n);let l=t,{as:i,...c}=e;return u.createElement(l,{...re(c,t)})},f$=Eu.reduce((e,t)=>({...e,[t]:r=>u.createElement(ri,{as:t,...r})}),{}),p$=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(qu`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' - This is often caused by not wrapping the child in a template string. - - This is invalid: - - # Some heading - A paragraph - - - Instead do: - - {\` - # Some heading - A paragraph - \`} - - `);return u.createElement(Bd,{...e,options:{forceBlock:!0,overrides:{code:l$,a:s$,...f$,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},h$=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(h$||{}),g$=e=>{var t,r,n,a,l,i,c,s;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:f}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((i=(l=d.docs)==null?void 0:l.extractComponentDescription)==null?void 0:i.call(l,f,{component:f,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:f}}=e;return((s=(c=f.docs)==null?void 0:c.extractComponentDescription)==null?void 0:s.call(c,d,{component:d,parameters:f}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},qo=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=Zt(t||"meta"),n=g$(r);return n?u.createElement(p$,null,n):null},m$=A.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),v$=A.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),b$=A.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),y$=({title:e})=>e===null?null:typeof e=="string"?u.createElement(b$,null,e):e,w$=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:l})=>(o.useEffect(()=>{let i={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...l},c=setTimeout(()=>iA(i),100);return()=>{clearTimeout(c),Zd()}},[t]),u.createElement(u.Fragment,null,u.createElement(m$,null,t?null:u.createElement(v$,null,u.createElement(y$,{title:e||null}),u.createElement("div",{className:"toc-wrapper"}))))),{document:x$,window:E$}=$e,S$=({context:e,theme:t,children:r})=>{var a,l,i,c,s;let n;try{n=(l=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:l.toc}catch{n=(s=(c=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:c.docs)==null?void 0:s.toc}return o.useEffect(()=>{let d;try{if(d=new URL(E$.parent.location.toString()),d.hash){let f=x$.getElementById(d.hash.substring(1));f&&setTimeout(()=>{Vk(f)},200)}}catch{}}),u.createElement(Ne.Provider,{value:e},u.createElement(Wk,{channel:e.channel},u.createElement(Ds,{theme:uh(t)},u.createElement(CA,{toc:n?u.createElement(w$,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},C$=/\s*\/\s*/,R$=e=>{let t=e.trim().split(C$);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},I$=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=Zt(r||"meta",["meta"]).preparedMeta}catch(l){if(t&&!l.message.includes("did you forget to use ?"))throw l}let a=t||R$(n==null?void 0:n.title);return a?u.createElement(wA,{className:"sbdocs-title sb-unstyled"},a):null},A$="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",_$=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=Zt(t||"meta",["meta"]).preparedMeta}catch(c){if(r&&!c.message.includes("did you forget to use ?"))throw c}let{componentSubtitle:a,docs:l}=(n==null?void 0:n.parameters)||{};a&&uA(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${A$}`);let i=r||(l==null?void 0:l.subtitle)||a;return i?u.createElement(xA,{className:"sbdocs-subtitle sb-unstyled"},i):null},k$=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return u.createElement(Ll,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return u.createElement(ri,{as:"h3",id:r},e)},Su=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var c,s;let{story:l}=Zt(e||"story",["story"]),i=((s=(c=l.parameters.docs)==null?void 0:c.canvas)==null?void 0:s.withToolbar)??r;return u.createElement(vu,{storyId:l.id},t&&u.createElement(u.Fragment,null,u.createElement(k$,null,l.name),u.createElement(qo,{of:e})),u.createElement(e$,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},$$=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=Zt(t||"meta",["meta"]),n=o.useContext(Ne).componentStoriesFromCSFFile(r)[0];return n?u.createElement(Su,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},O$=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return u.createElement(Ml,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return u.createElement(ri,{as:"h2",id:n,...r},e)},T$=A(O$)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),M$=({title:e="Stories",includePrimary:t=!0})=>{var c;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=o.useContext(Ne),l=r(),{stories:{filter:i}={filter:void 0}}=((c=n.parameters)==null?void 0:c.docs)||{};return i&&(l=l.filter(s=>i(s,a(s)))),l.some(s=>{var d;return(d=s.tags)==null?void 0:d.includes("autodocs")})&&(l=l.filter(s=>{var d;return(d=s.tags)==null?void 0:d.includes("autodocs")})),t||(l=l.slice(1)),!l||l.length===0?null:u.createElement(u.Fragment,null,u.createElement(T$,null,e),l.map(s=>s&&u.createElement(Su,{key:s.id,of:s.moduleExport,expanded:!0,__forceInitialArgs:!0})))},L$=()=>{let e=Zt("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return u.createElement(u.Fragment,null,u.createElement(I$,null),u.createElement(_$,null),u.createElement(qo,{of:"meta"}),r?u.createElement(qo,{of:"story"}):null,u.createElement($$,null),u.createElement(o$,null),r?null:u.createElement(M$,null))};function K$({context:e,docsParameter:t}){let r=t.container||S$,n=t.page||L$;return u.createElement(r,{context:e,theme:t.theme},u.createElement(n,null))}var X$=({of:e})=>{let t=o.useContext(Ne);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return u.createElement(vu,{storyId:r.id})}catch{return null}};export{s$ as A,l$ as C,K$ as D,Cr as F,f$ as H,Y$ as I,X$ as M,bl as S,Hw as T,i4 as W,Om as a,l4 as b,vc as c,q$ as d,$w as e,Z4 as f,Fe as g,Yt as m,A as n,D$ as s}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./syntaxhighlighter-BP7B2CQK-GHa07Qus.js","./iframe-391yXaUQ.js","./index-aXz8NaAs.js","./index-eaBuI5Jm.js","./index-LANyd4EQ.js","./index-lmOu_tDR.js","./index-PPLHz8o0.js","./formatter-2WMMO6ZP--ZppGSaP.js","./WithTooltip-KJL26V4Q-452pmjeh.js","./Color-PRSJMWNM-eh9pW2fS.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} diff --git a/assets/index-BOgtj0Ww.js b/assets/index-BOgtj0Ww.js new file mode 100644 index 00000000..f5477c99 --- /dev/null +++ b/assets/index-BOgtj0Ww.js @@ -0,0 +1 @@ +import{R as e}from"./index-ebcBgdYO.js";const o={},c=e.createContext(o);function u(n){const t=e.useContext(c);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function m(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=u(n.components),e.createElement(c.Provider,{value:t},n.children)}export{m as MDXProvider,u as useMDXComponents}; diff --git a/assets/index-Bd60Ok5f.js b/assets/index-Bd60Ok5f.js new file mode 100644 index 00000000..54ff48da --- /dev/null +++ b/assets/index-Bd60Ok5f.js @@ -0,0 +1,574 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BrjBE1XS.js","./iframe-kN1kpAQt.js","./index-ebcBgdYO.js","./index-LVLpks_4.js","./index-D-8MO0q_.js","./index-CK28Drts.js","./index-DrFu-skq.js","./Color-KGDBMAHA-BJd_stOw.js"])))=>i.map(i=>d[i]); +var hD=Object.defineProperty;var mD=(e,t,r)=>t in e?hD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var yr=(e,t,r)=>mD(e,typeof t!="symbol"?t+"":t,r);import{_ as sy}from"./iframe-kN1kpAQt.js";import{r as l,R as y,g as Es}from"./index-ebcBgdYO.js";import{b as uy,r as ap}from"./index-LVLpks_4.js";import{O as cy,P as gD}from"./index-D-8MO0q_.js";import{_ as fr,h as dy,i as Ca,j as op,d as hr,a as xs,c as gn,k as vD,l as yD,b as py,e as Yh,s as zu}from"./index-CK28Drts.js";import{d as bD}from"./index-DrFu-skq.js";var wD=Object.create,fy=Object.defineProperty,ED=Object.getOwnPropertyDescriptor,hy=Object.getOwnPropertyNames,xD=Object.getPrototypeOf,CD=Object.prototype.hasOwnProperty,Da=(e,t)=>function(){return t||(0,e[hy(e)[0]])((t={exports:{}}).exports,t),t.exports},DD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of hy(t))!CD.call(e,a)&&a!==r&&fy(e,a,{get:()=>t[a],enumerable:!(n=ED(t,a))||n.enumerable});return e},SD=(e,t,r)=>(r=e!=null?wD(xD(e)):{},DD(!e||!e.__esModule?fy(r,"default",{value:e,enumerable:!0}):r,e)),xt=e=>`control-${e.replace(/\s+/g,"-")}`,Cs=e=>`set-${e.replace(/\s+/g,"-")}`,AD=Object.create,ip=Object.defineProperty,kD=Object.getOwnPropertyDescriptor,_D=Object.getOwnPropertyNames,FD=Object.getPrototypeOf,ID=Object.prototype.hasOwnProperty,I=(e,t)=>ip(e,"name",{value:t,configurable:!0}),Fi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Ds=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),TD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of _D(t))!ID.call(e,a)&&a!==r&&ip(e,a,{get:()=>t[a],enumerable:!(n=kD(t,a))||n.enumerable});return e},lp=(e,t,r)=>(r=e!=null?AD(FD(e)):{},TD(t||!e||!e.__esModule?ip(r,"default",{value:e,enumerable:!0}):r,e)),RD=Ds(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,m=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,C=t?Symbol.for("react.fundamental"):60117,w=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function E(P){return typeof P=="string"||typeof P=="function"||P===a||P===p||P===i||P===o||P===m||P===f||typeof P=="object"&&P!==null&&(P.$$typeof===g||P.$$typeof===v||P.$$typeof===s||P.$$typeof===u||P.$$typeof===h||P.$$typeof===C||P.$$typeof===w||P.$$typeof===x||P.$$typeof===b)}I(E,"isValidElementType");function D(P){if(typeof P=="object"&&P!==null){var st=P.$$typeof;switch(st){case r:var kt=P.type;switch(kt){case d:case p:case a:case i:case o:case m:return kt;default:var Nr=kt&&kt.$$typeof;switch(Nr){case u:case h:case g:case v:case s:return Nr;default:return st}}case n:return st}}}I(D,"typeOf");var S=d,A=p,k=u,F=s,T=r,R=h,L=a,z=g,$=v,O=n,M=i,j=o,G=m,H=!1;function K(P){return H||(H=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),te(P)||D(P)===d}I(K,"isAsyncMode");function te(P){return D(P)===p}I(te,"isConcurrentMode");function le(P){return D(P)===u}I(le,"isContextConsumer");function Q(P){return D(P)===s}I(Q,"isContextProvider");function re(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}I(re,"isElement");function N(P){return D(P)===h}I(N,"isForwardRef");function Y(P){return D(P)===a}I(Y,"isFragment");function J(P){return D(P)===g}I(J,"isLazy");function pe(P){return D(P)===v}I(pe,"isMemo");function Se(P){return D(P)===n}I(Se,"isPortal");function At(P){return D(P)===i}I(At,"isProfiler");function Ue(P){return D(P)===o}I(Ue,"isStrictMode");function lt(P){return D(P)===m}I(lt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=A,e.ContextConsumer=k,e.ContextProvider=F,e.Element=T,e.ForwardRef=R,e.Fragment=L,e.Lazy=z,e.Memo=$,e.Portal=O,e.Profiler=M,e.StrictMode=j,e.Suspense=G,e.isAsyncMode=K,e.isConcurrentMode=te,e.isContextConsumer=le,e.isContextProvider=Q,e.isElement=re,e.isForwardRef=N,e.isFragment=Y,e.isLazy=J,e.isMemo=pe,e.isPortal=Se,e.isProfiler=At,e.isStrictMode=Ue,e.isSuspense=lt,e.isValidElementType=E,e.typeOf=D})()}),BD=Ds((e,t)=>{t.exports=RD()}),my=Ds((e,t)=>{var r=BD(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function u(b){return r.isMemo(b)?i:s[b.$$typeof]||n}I(u,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(b,C,w){if(typeof C!="string"){if(v){var x=f(C);x&&x!==v&&g(b,x,w)}var E=p(C);h&&(E=E.concat(h(C)));for(var D=u(b),S=u(C),A=0;A{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return I(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var h=typeof Fi=="function"&&Fi;if(!p&&h)return h(d,!0);if(s)return s(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}I(i,"s");for(var s=typeof Fi=="function"&&Fi,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var u;for(u=0;u0&&(w[C]={cacheItem:v,arg:arguments[C]},x?i(h,w):h.push(w),h.length>d&&s(h.shift())),f.wasMemoized=x,f.numArgs=C+1,b},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=h,f}};function i(d,p){var h=d.length,m=p.length,f,v,g;for(v=0;v=0&&(h=d[f],m=h.cacheItem.get(h.arg),!m||!m.size);f--)h.cacheItem.delete(h.arg)}I(s,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}I(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function qt(){return qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?be(Sa,--je):0,aa--,de===10&&(aa=1,ks--),de}I(Dy,"prev");function Pe(){return de=je2||oa(de)>3?"":" "}I(Sy,"whitespace");function Ay(e,t){for(;--t&&Pe()&&!(de<48||de>102||de>57&&de<65||de>70&&de<97););return Aa(e,Co()+(t<6&>()==32&&Pe()==32))}I(Ay,"escaping");function Il(e){for(;Pe();)switch(de){case e:return je;case 34:case 39:e!==34&&e!==39&&Il(de);break;case 40:e===41&&Il(e);break;case 92:Pe();break}return je}I(Il,"delimiter");function ky(e,t){for(;Pe()&&e+de!==57&&!(e+de===84&>()===47););return"/*"+Aa(t,je-1)+"*"+Ss(e===47?e:Pe())}I(ky,"commenter");function _y(e){for(;!oa(gt());)Pe();return Aa(e,je)}I(_y,"identifier");function Fy(e){return mp(So("",null,null,null,[""],e=hp(e),0,[0],e))}I(Fy,"compile");function So(e,t,r,n,a,o,i,s,u){for(var d=0,p=0,h=i,m=0,f=0,v=0,g=1,b=1,C=1,w=0,x="",E=a,D=o,S=n,A=x;b;)switch(v=w,w=Pe()){case 40:if(v!=108&&be(A,h-1)==58){Fl(A+=X(Do(w),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:A+=Do(w);break;case 9:case 10:case 13:case 32:A+=Sy(v);break;case 92:A+=Ay(Co()-1,7);continue;case 47:switch(gt()){case 42:case 47:po(Iy(ky(Pe(),Co()),t,r),u);break;default:A+="/"}break;case 123*g:s[d++]=pt(A)*C;case 125*g:case 59:case 0:switch(w){case 0:case 125:b=0;case 59+p:C==-1&&(A=X(A,/\f/g,"")),f>0&&pt(A)-h&&po(f>32?ld(A+";",n,r,h-1):ld(X(A," ","")+";",n,r,h-2),u);break;case 59:A+=";";default:if(po(S=id(A,t,r,d,p,a,s,x,E=[],D=[],h),o),w===123)if(p===0)So(A,t,S,S,E,o,h,s,D);else switch(m===99&&be(A,3)===110?100:m){case 100:case 108:case 109:case 115:So(e,S,S,n&&po(id(e,S,S,0,0,a,s,x,a,E=[],h),D),a,D,h,s,n?E:D);break;default:So(A,S,S,S,[""],D,0,s,D)}}d=p=f=0,g=C=1,x=A="",h=i;break;case 58:h=1+pt(A),f=v;default:if(g<1){if(w==123)--g;else if(w==125&&g++==0&&Dy()==125)continue}switch(A+=Ss(w),w*g){case 38:C=p>0?1:(A+="\f",-1);break;case 44:s[d++]=(pt(A)-1)*C,C=1;break;case 64:gt()===45&&(A+=Do(Pe())),m=gt(),p=h=pt(x=A+=_y(Co())),w++;break;case 45:v===45&&pt(A)==2&&(g=0)}}return o}I(So,"parse");function id(e,t,r,n,a,o,i,s,u,d,p){for(var h=a-1,m=a===0?o:[""],f=As(m),v=0,g=0,b=0;v0?m[C]+" "+w:X(w,/&\f/g,m[C])))&&(u[b++]=x);return Xo(e,t,r,a===0?dp:s,u,d,p)}I(id,"ruleset");function Iy(e,t,r){return Xo(e,t,r,cp,Ss(Cy()),na(e,2,-2),0)}I(Iy,"comment");function ld(e,t,r,n){return Xo(e,t,r,pp,na(e,0,n),na(e,n+1,-1),n)}I(ld,"declaration");function on(e,t){for(var r="",n=As(e),a=0;a-1},"isIgnoringComment"),KD=I(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var o=!!t.parent,i=o?t.parent.children:n,s=i.length-1;s>=0;s--){var u=i[s];if(u.line=0;r--)if(!By(t[r]))return!0;return!1},"isPrependedWithRegularRules"),Xh=I(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),JD=I(function(e,t,r){By(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Xh(e)):YD(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Xh(e)))},"incorrectImportAlarm");function gp(e,t){switch(by(e,t)){case 5103:return ee+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ee+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ee+e+_l+e+Fe+e+e;case 6828:case 4268:return ee+e+Fe+e+e;case 6165:return ee+e+Fe+"flex-"+e+e;case 5187:return ee+e+X(e,/(\w+).+(:[^]+)/,ee+"box-$1$2"+Fe+"flex-$1$2")+e;case 5443:return ee+e+Fe+"flex-item-"+X(e,/flex-|-self/,"")+e;case 4675:return ee+e+Fe+"flex-line-pack"+X(e,/align-content|flex-|-self/,"")+e;case 5548:return ee+e+Fe+X(e,"shrink","negative")+e;case 5292:return ee+e+Fe+X(e,"basis","preferred-size")+e;case 6060:return ee+"box-"+X(e,"-grow","")+ee+e+Fe+X(e,"grow","positive")+e;case 4554:return ee+X(e,/([^-])(transform)/g,"$1"+ee+"$2")+e;case 6187:return X(X(X(e,/(zoom-|grab)/,ee+"$1"),/(image-set)/,ee+"$1"),e,"")+e;case 5495:case 3959:return X(e,/(image-set\([^]*)/,ee+"$1$`$1");case 4968:return X(X(e,/(.+:)(flex-)?(.*)/,ee+"box-pack:$3"+Fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ee+e+e;case 4095:case 3583:case 4068:case 2532:return X(e,/(.+)-inline(.+)/,ee+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(pt(e)-1-t>6)switch(be(e,t+1)){case 109:if(be(e,t+4)!==45)break;case 102:return X(e,/(.+:)(.+)-([^]+)/,"$1"+ee+"$2-$3$1"+_l+(be(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Fl(e,"stretch")?gp(X(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(be(e,t+1)!==115)break;case 6444:switch(be(e,pt(e)-3-(~Fl(e,"!important")&&10))){case 107:return X(e,":",":"+ee)+e;case 101:return X(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ee+(be(e,14)===45?"inline-":"")+"box$3$1"+ee+"$2$3$1"+Fe+"$2box$3")+e}break;case 5936:switch(be(e,t+11)){case 114:return ee+e+Fe+X(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ee+e+Fe+X(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ee+e+Fe+X(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ee+e+Fe+e+e}return e}I(gp,"prefix");var ZD=I(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case pp:e.return=gp(e.value,e.length);break;case yy:return on([Nn(e,{value:X(e.value,"@","@"+ee)})],n);case dp:if(e.length)return Ey(e.props,function(a){switch(wy(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return on([Nn(e,{props:[X(a,/:(read-\w+)/,":"+_l+"$1")]})],n);case"::placeholder":return on([Nn(e,{props:[X(a,/:(plac\w+)/,":"+ee+"input-$1")]}),Nn(e,{props:[X(a,/:(plac\w+)/,":"+_l+"$1")]}),Nn(e,{props:[X(a,/:(plac\w+)/,Fe+"input-$1")]})],n)}return""})}},"prefixer"),XD=[ZD],QD=I(function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. +If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var g=v.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=e.stylisPlugins||XD;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var g=v.getAttribute("data-emotion").split(" "),b=1;b=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}I(zy,"murmur2");var nS={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Qh=`You have illegal escape sequence in your template literal, most likely inside content's property value. +Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". +You can read more about this here: +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,aS="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",oS=/[A-Z]|^ms/g,Ly=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vp=I(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),em=I(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),Lu=sp(function(e){return vp(e)?e:e.replace(oS,"-$&").toLowerCase()}),Tl=I(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(Ly,function(r,n,a){return $t={name:n,styles:a,next:$t},n})}return nS[e]!==1&&!vp(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");tm=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,rm=["normal","none","initial","inherit","unset"],nm=Tl,am=/^-ms-/,om=/-(.)/g,Ou={},Tl=I(function(e,t){if(e==="content"&&(typeof t!="string"||rm.indexOf(t)===-1&&!tm.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=nm(e,t);return r!==""&&!vp(e)&&e.indexOf("-")!==-1&&Ou[e]===void 0&&(Ou[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(am,"ms-").replace(om,function(n,a){return a.toUpperCase()})+"?")),r},"processStyleValue");var tm,rm,nm,am,om,Ou,Oy="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ia(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Oy);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return $t={name:r.name,styles:r.styles,next:$t},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)$t={name:n.name,styles:n.styles,next:$t},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return $y(e,t,r)}case"function":{if(e!==void 0){var o=$t,i=r(e);return $t=o,ia(e,t,i)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var s=[],u=r.replace(Ly,function(p,h,m){var f="animation"+s.length;return s.push("const "+f+" = keyframes`"+m.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+f+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+u+"`"]).join(` +`)+` + +You should wrap it with \`css\` like this: + +`+("css`"+u+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}I(ia,"handleInterpolation");function $y(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return qt({},e,t)},"getTheme"),uS=Jh(function(e){return Jh(function(t){return sS(e,t)})}),Hy=I(function(e){var t=l.useContext(cr);return e.theme!==t&&(t=uS(t)(e.theme)),l.createElement(cr.Provider,{value:t},e.children)},"ThemeProvider");function cS(e){var t=e.displayName||e.name||"Component",r=I(function(a,o){var i=l.useContext(cr);return l.createElement(e,qt({theme:i,ref:o},a))},"render"),n=l.forwardRef(r);return n.displayName="WithTheme("+t+")",tS(n,e)}I(cS,"withTheme");var sm="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",um="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",dS=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Fs(t,r,n),yp(function(){return Is(t,r,n)}),null},"Insertion"),pS=Ts(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[sm],o=[n],i="";typeof e.className=="string"?i=_s(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var s=la(o,void 0,l.useContext(cr));if(s.name.indexOf("-")===-1){var u=e[um];u&&(s=la([s,"label:"+u+";"]))}i+=t.key+"-"+s.name;var d={};for(var p in e)lS.call(e,p)&&p!=="css"&&p!==sm&&p!==um&&(d[p]=e[p]);return d.ref=r,d.className=i,l.createElement(l.Fragment,null,l.createElement(dS,{cache:t,serialized:s,isStringTag:typeof a=="string"}),l.createElement(a,d))});pS.displayName="EmotionCssPropInternal";lp(my());var fS={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},cm=!1,hS=Ts(function(e,t){!cm&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),cm=!0);var r=e.styles,n=la([r],void 0,l.useContext(cr)),a=l.useRef();return lm(function(){var o=t.key+"-global",i=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,u=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),u!==null&&(s=!0,u.setAttribute("data-emotion",o),i.hydrate([u])),a.current=[i,s],function(){i.flush()}},[t]),lm(function(){var o=a.current,i=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&Is(t,n.next,!0),i.tags.length){var u=i.tags[i.tags.length-1].nextElementSibling;i.before=u,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});hS.displayName="EmotionGlobal";function Rs(){for(var e=arguments.length,t=new Array(e),r=0;r component."),i="";for(var s in o)o[s]&&s&&(i&&(i+=" "),i+=s)}break}default:i=o}i&&(a&&(a+=" "),a+=i)}}return a},"classnames");function jy(e,t,r){var n=[],a=_s(e,n,r);return n.length<2?r:a+t(n)}I(jy,"merge");var gS=I(function(e){var t=e.cache,r=e.serializedArr;return yp(function(){for(var n=0;n96?yS:bS},"getDefaultShouldForwardProp"),fm=I(function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(o){return e.__emotion_forwardProp(o)&&a(o)}:a}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),hm=`You have illegal escape sequence in your template literal, most likely inside content's property value. +Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". +You can read more about this here: +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,wS=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Fs(t,r,n),yp(function(){return Is(t,r,n)}),null},"Insertion"),ES=I(function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. +You may have forgotten to import it.`);var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var s=fm(t,r,n),u=s||pm(a),d=!u("as");return function(){var p=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),p[0]==null||p[0].raw===void 0)h.push.apply(h,p);else{p[0][0]===void 0&&console.error(hm),h.push(p[0][0]);for(var m=p.length,f=1;f1?a-1:0),i=1;i=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,d=i):a>=3&&a<4?(u=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,h=s+p,m=u+p,f=d+p;return n(h,m,f)}I(ua,"hslToRgb");var mm={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"};function Yy(e){if(typeof e!="string")return e;var t=e.toLowerCase();return mm[t]?"#"+mm[t]:e}I(Yy,"nameToHex");var DS=/^#[a-fA-F0-9]{6}$/,SS=/^#[a-fA-F0-9]{8}$/,AS=/^#[a-fA-F0-9]{3}$/,kS=/^#[a-fA-F0-9]{4}$/,Nu=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,_S=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,FS=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,IS=/^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 Qo(e){if(typeof e!="string")throw new Pt(3);var t=Yy(e);if(t.match(DS))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(SS)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(AS))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(kS)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=Nu.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=_S.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=FS.exec(t);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+ua(s,u,d)+")",h=Nu.exec(p);if(!h)throw new Pt(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=IS.exec(t.substring(0,50));if(m){var f=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,g=parseInt(""+m[3],10)/100,b="rgb("+ua(f,v,g)+")",C=Nu.exec(b);if(!C)throw new Pt(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Pt(5)}I(Qo,"parseToRgb");function Jy(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,u=a-o,d=i>.5?u/(2-a-o):u/(a+o);switch(a){case t:s=(r-n)/u+(r=1?Bo(e,t,r):"rgba("+ua(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Bo(e.hue,e.saturation,e.lightness):"rgba("+ua(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Pt(2)}I(Qy,"hsla");function zl(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return sd("#"+Cr(e)+Cr(t)+Cr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return sd("#"+Cr(e.red)+Cr(e.green)+Cr(e.blue));throw new Pt(6)}I(zl,"rgb");function ca(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Qo(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?zl(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?zl(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Pt(7)}I(ca,"rgba");var RS=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),BS=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),zS=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),LS=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function xp(e){if(typeof e!="object")throw new Pt(8);if(BS(e))return ca(e);if(RS(e))return zl(e);if(LS(e))return Qy(e);if(zS(e))return Xy(e);throw new Pt(8)}I(xp,"toColorString");function Cp(e,t,r){return I(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Cp(e,t,n)},"fn")}I(Cp,"curried");function ei(e){return Cp(e,e.length,[])}I(ei,"curry");function ti(e,t,r){return Math.max(e,Math.min(t,r))}I(ti,"guard");function eb(e,t){if(t==="transparent")return t;var r=Ep(t);return xp(qt({},r,{lightness:ti(0,1,r.lightness-parseFloat(e))}))}I(eb,"darken");var OS=ei(eb),$S=OS;function tb(e,t){if(t==="transparent")return t;var r=Ep(t);return xp(qt({},r,{lightness:ti(0,1,r.lightness+parseFloat(e))}))}I(tb,"lighten");var MS=ei(tb),PS=MS;function rb(e,t){if(t==="transparent")return t;var r=Qo(t),n=typeof r.alpha=="number"?r.alpha:1,a=qt({},r,{alpha:ti(0,1,(n*100+parseFloat(e)*100)/100)});return ca(a)}I(rb,"opacify");var NS=ei(rb),HS=NS;function nb(e,t){if(t==="transparent")return t;var r=Qo(t),n=typeof r.alpha=="number"?r.alpha:1,a=qt({},r,{alpha:ti(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return ca(a)}I(nb,"transparentize");var jS=ei(nb),VS=jS,V={primary:"#FF4785",secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},Dr={app:"#F6F9FC",bar:V.lightest,content:V.lightest,preview:V.lightest,gridCellSize:10,hoverable:VS(.9,V.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Nt={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},ab=lp(zD(),1),US=(0,ab.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,ab.default)(1)(({color:e,background:t,typography:r})=>{let n=US({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var qS={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:Dr.app,appContentBg:V.lightest,appPreviewBg:V.lightest,appBorderColor:V.border,appBorderRadius:4,fontBase:Nt.fonts.base,fontCode:Nt.fonts.mono,textColor:V.darkest,textInverseColor:V.lightest,textMutedColor:V.dark,barTextColor:V.mediumdark,barHoverColor:V.secondary,barSelectedColor:V.secondary,barBg:V.lightest,buttonBg:Dr.app,buttonBorder:V.medium,booleanBg:V.mediumlight,booleanSelectedBg:V.lightest,inputBg:V.lightest,inputBorder:V.border,inputTextColor:V.darkest,inputBorderRadius:4},Ll=qS,WS={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:V.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Nt.fonts.base,fontCode:Nt.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:V.mediumdark,barHoverColor:V.secondary,barSelectedColor:V.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:V.lightest,inputBorderRadius:4},GS=WS,KS=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();const{logger:YS}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:Hu}=KS,JS=I(e=>({color:e}),"mkColor"),ZS=I(e=>typeof e!="string"?(YS.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),XS=I(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),QS=I((e,t)=>e==="darken"?ca(`${$S(1,t)}`,.95):e==="lighten"?ca(`${PS(1,t)}`,.95):t,"applyPolished"),ob=I(e=>t=>{if(!ZS(t)||!XS(t))return t;try{return QS(e,t)}catch{return t}},"colorFactory"),Wa=ob("lighten");ob("darken");var ib=I(()=>!Hu||!Hu.matchMedia?"light":Hu.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),ud={light:Ll,dark:GS,normal:Ll};ib();var eA={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},tA=mr` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,lb=mr` + 0%, 100% { opacity: 1; } + 50% { opacity: .4; } +`,rA=mr` + 0% { transform: translateY(1px); } + 25% { transform: translateY(0px); } + 50% { transform: translateY(-3px); } + 100% { transform: translateY(1px); } +`,nA=mr` + 0%, 100% { transform:translate3d(0,0,0); } + 12.5%, 62.5% { transform:translate3d(-4px,0,0); } + 37.5%, 87.5% { transform: translate3d(4px,0,0); } +`,aA=Rs` + animation: ${lb} 1.5s ease-in-out infinite; + color: transparent; + cursor: progress; +`,oA=Rs` + transition: all 150ms ease-out; + transform: translate3d(0, 0, 0); + + &:hover { + transform: translate3d(0, -2px, 0); + } + + &:active { + transform: translate3d(0, 0, 0); + } +`,iA={rotate360:tA,glow:lb,float:rA,jiggle:nA,inlineGlow:aA,hoverable:oA},lA={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},sA={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},uA=I(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:JS(n)}),{}),"convertColors"),cA=I(({colors:e,mono:t})=>{let r=uA(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),dA={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},pA={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},fA=I(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:V.tertiary,ancillary:V.ancillary,orange:V.orange,gold:V.gold,green:V.green,seafoam:V.seafoam,purple:V.purple,ultraviolet:V.ultraviolet,lightest:V.lightest,lighter:V.lighter,light:V.light,mediumlight:V.mediumlight,medium:V.medium,mediumdark:V.mediumdark,dark:V.dark,darker:V.darker,darkest:V.darkest,border:V.border,positive:V.positive,negative:V.negative,warning:V.warning,critical:V.critical,defaultText:e.textColor||V.darkest,inverseText:e.textInverseColor||V.lightest,positiveText:V.positiveText,negativeText:V.negativeText,warningText:V.warningText}),"createColors"),cd=I((e=ud[ib()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:o,appPreviewBg:i,appBorderColor:s,appBorderRadius:u,fontBase:d,fontCode:p,textColor:h,textInverseColor:m,barTextColor:f,barHoverColor:v,barSelectedColor:g,barBg:b,buttonBg:C,buttonBorder:w,booleanBg:x,booleanSelectedBg:E,inputBg:D,inputBorder:S,inputTextColor:A,inputBorderRadius:k,brandTitle:F,brandUrl:T,brandImage:R,brandTarget:L,gridCellSize:z,...$}=e;return{...$,base:t,color:fA(e),background:{app:a,bar:b,content:o,preview:i,gridCellSize:z||Dr.gridCellSize,hoverable:Dr.hoverable,positive:Dr.positive,negative:Dr.negative,warning:Dr.warning,critical:Dr.critical},typography:{fonts:{base:d,mono:p},weight:Nt.weight,size:Nt.size},animation:iA,easing:eA,input:{background:D,border:S,borderRadius:k,color:A},button:{background:C||D,border:w||S},boolean:{background:x||S,selectedBackground:E||D},layoutMargin:10,appBorderColor:s,appBorderRadius:u,barTextColor:f,barHoverColor:v||n,barSelectedColor:g||n,barBg:b,brand:{title:F,url:T,image:R||(F?null:void 0),target:L},code:cA({colors:t==="light"?dA:pA,mono:p}),addonActionsTheme:{...t==="light"?sA:lA,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:Nt.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:h,ARROW_COLOR:HS(.2,s),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:Nt.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:hA}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var mA=I(e=>Object.keys(e).length===0,"isEmpty"),ju=I(e=>e!=null&&typeof e=="object","isObject"),gA=I((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),vA=I(()=>Object.create(null),"makeObjectWithoutPrototype"),sb=I((e,t)=>e===t||!ju(e)||!ju(t)?{}:Object.keys(e).reduce((r,n)=>{if(gA(t,n)){let a=sb(e[n],t[n]);return ju(a)&&mA(a)||(r[n]=a),r}return r[n]=void 0,r},vA()),"deletedDiff"),yA=sb;function ub(e){for(var t=[],r=1;r{if(!e)return cd(Ll);let t=yA(Ll,e);return Object.keys(t).length&&hA.warn(ub` + Your theme is missing properties, you should update your theme! + + theme-data missing: + `,t),cd(e)},"ensure"),dd="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",wA=Object.create,ri=Object.defineProperty,EA=Object.getOwnPropertyDescriptor,xA=Object.getOwnPropertyNames,CA=Object.getPrototypeOf,DA=Object.prototype.hasOwnProperty,SA=(e,t,r)=>t in e?ri(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>ri(e,"name",{value:t,configurable:!0}),Ii=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),B=(e,t)=>()=>(e&&(t=e(e=0)),t),q=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ka=(e,t)=>{for(var r in t)ri(e,r,{get:t[r],enumerable:!0})},AA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of xA(t))!DA.call(e,a)&&a!==r&&ri(e,a,{get:()=>t[a],enumerable:!(n=EA(t,a))||n.enumerable});return e},De=(e,t,r)=>(r=e!=null?wA(CA(e)):{},AA(t||!e||!e.__esModule?ri(r,"default",{value:e,enumerable:!0}):r,e)),kA=(e,t,r)=>SA(e,t+"",r);function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t{c(U,"_extends")});function cb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var _A=B(()=>{c(cb,"_assertThisInitialized")});function da(e,t){return da=Object.setPrototypeOf?Object.setPrototypeOf.bind():c(function(r,n){return r.__proto__=n,r},"_setPrototypeOf"),da(e,t)}var Dp=B(()=>{c(da,"_setPrototypeOf")});function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf.bind():c(function(t){return t.__proto__||Object.getPrototypeOf(t)},"_getPrototypeOf"),Ol(e)}var FA=B(()=>{c(Ol,"_getPrototypeOf")}),Bs=q((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return c(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var h=typeof Ii=="function"&&Ii;if(!p&&h)return h(d,!0);if(s)return s(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}c(i,"s");for(var s=typeof Ii=="function"&&Ii,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var u;for(u=0;u0&&(w[C]={cacheItem:v,arg:arguments[C]},x?i(h,w):h.push(w),h.length>d&&s(h.shift())),f.wasMemoized=x,f.numArgs=C+1,b},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=h,f}};function i(d,p){var h=d.length,m=p.length,f,v,g;for(v=0;v=0&&(h=d[f],m=h.cacheItem.get(h.arg),!m||!m.size);f--)h.cacheItem.delete(h.arg)}c(s,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}c(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),db=q((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var o=a.util.clone(a.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,s=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,u=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(m,f){return m=m.replace(//g,function(){return i}).replace(//g,function(){return s}).replace(//g,function(){return u}),RegExp(m,f)}c(d,"re"),u=d(u).source,a.languages.jsx=a.languages.extend("markup",o),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=o.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var p=c(function(m){return m?typeof m=="string"?m:typeof m.content=="string"?m.content:m.content.map(p).join(""):""},"stringifyToken"),h=c(function(m){for(var f=[],v=0;v0&&f[f.length-1].tagName===p(g.content[0].content[1])&&f.pop():g.content[g.content.length-1].content==="/>"||f.push({tagName:p(g.content[0].content[1]),openedBraces:0}):f.length>0&&g.type==="punctuation"&&g.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&g.type==="punctuation"&&g.content==="}"?f[f.length-1].openedBraces--:b=!0),(b||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var C=p(g);v0&&(typeof m[v-1]=="string"||m[v-1].type==="plain-text")&&(C=p(m[v-1])+C,m.splice(v-1,1),v--),m[v]=new a.Token("plain-text",C,null,C)}g.content&&typeof g.content!="string"&&h(g.content)}},"walkTokens");a.hooks.add("after-tokenize",function(m){m.language!=="jsx"&&m.language!=="tsx"||h(m.tokens)})})(n)}c(r,"jsx")}),gm,pb,IA=B(()=>{gm=De(db()),pb=gm.default}),TA=q((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(a){var o="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},s={bash:i,environment:{pattern:RegExp("\\$"+o),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+o),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};a.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:s.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=a.languages.bash;for(var u=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=s.variable[1].inside,p=0;p{vm=De(TA()),fb=vm.default}),hb=q((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var i=a.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(n)}c(r,"css")}),ym,mb,BA=B(()=>{ym=De(hb()),mb=ym.default}),zA=q((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function o(h,m){return RegExp(h.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),m)}c(o,"withId"),a.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var i=["function","function-variable","method","method-variable","property-access"],s=0;s{bm=De(zA()),gb=bm.default}),OA=q((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}c(r,"json")}),wm,vb,$A=B(()=>{wm=De(OA()),vb=wm.default}),MA=q((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",c(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(w){return typeof w!="string"&&w.type!=="comment"&&w.type!=="scalar"}),i=0;function s(w){return o[i+w]}c(s,"getToken");function u(w,x){x=x||0;for(var E=0;E0)){var g=d(/^\{$/,/^\}$/);if(g===-1)continue;for(var b=i;b=0&&p(C,"variable-input")}}}}},"afterTokenizeGraphql"))}c(r,"graphql")}),Em,yb,PA=B(()=>{Em=De(MA()),yb=Em.default}),bb=q((e,t)=>{t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:c(function(a,o){var i={};i["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},i.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:i}};s["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var u={};u[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",u)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:c(function(a,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}c(r,"markup")}),xm,wb,NA=B(()=>{xm=De(bb()),wb=xm.default}),HA=q((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(v){return v=v.replace(//g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}c(i,"createInline");var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,u=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+u+d+"(?:"+u+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+u+d+")(?:"+u+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+u+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+u+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:a.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:i(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:i(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(v){["url","bold","italic","strike","code-snippet"].forEach(function(g){v!==g&&(a.languages.markdown[v].inside.content.inside[g]=a.languages.markdown[g])})}),a.hooks.add("after-tokenize",function(v){if(v.language!=="markdown"&&v.language!=="md")return;function g(b){if(!(!b||typeof b=="string"))for(var C=0,w=b.length;C",quot:'"'},m=String.fromCodePoint||String.fromCharCode;function f(v){var g=v.replace(p,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,C){if(C=C.toLowerCase(),C[0]==="#"){var w;return C[1]==="x"?w=parseInt(C.slice(2),16):w=Number(C.slice(1)),m(w)}else{var x=h[C];return x||b}}),g}c(f,"textContent"),a.languages.md=a.languages.markdown})(n)}c(r,"markdown")}),Cm,Eb,jA=B(()=>{Cm=De(HA()),Eb=Cm.default}),VA=q((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var o=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+i.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+i.source+")?)",u=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function p(h,m){m=(m||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return h});return RegExp(f,m)}c(p,"createValuePattern"),a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return"(?:"+u+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:p(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:p(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:p(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:p(d),lookbehind:!0,greedy:!0},number:{pattern:p(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}c(r,"yaml")}),Dm,xb,UA=B(()=>{Dm=De(VA()),xb=Dm.default}),Cb=q((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),a.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var o=a.languages.extend("typescript",{});delete o["class-name"],a.languages.typescript["class-name"].inside=o,a.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:o}}}}),a.languages.ts=a.languages.typescript})(n)}c(r,"typescript")}),qA=q((e,t)=>{var r=db(),n=Cb();t.exports=a,a.displayName="tsx",a.aliases=[];function a(o){o.register(r),o.register(n),function(i){var s=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",s),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var u=i.languages.tsx.tag;u.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+u.pattern.source+")",u.pattern.flags),u.lookbehind=!0}(o)}c(a,"tsx")}),Sm,Db,WA=B(()=>{Sm=De(qA()),Db=Sm.default}),Am,Sb,GA=B(()=>{Am=De(Cb()),Sb=Am.default});function zs(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}var Sp=B(()=>{c(zs,"_objectWithoutPropertiesLoose")});function Ab(e,t){if(e==null)return{};var r=zs(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var KA=B(()=>{Sp(),c(Ab,"_objectWithoutProperties")});function $l(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{c($l,"_arrayLikeToArray")});function _b(e){if(Array.isArray(e))return $l(e)}var YA=B(()=>{kb(),c(_b,"_arrayWithoutHoles")});function Fb(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var JA=B(()=>{c(Fb,"_iterableToArray")});function Ib(e,t){if(e){if(typeof e=="string")return $l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $l(e,t)}}var ZA=B(()=>{kb(),c(Ib,"_unsupportedIterableToArray")});function Tb(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var XA=B(()=>{c(Tb,"_nonIterableSpread")});function Rb(e){return _b(e)||Fb(e)||Ib(e)||Tb()}var QA=B(()=>{YA(),JA(),ZA(),XA(),c(Rb,"_toConsumableArray")});function pa(e){"@babel/helpers - typeof";return pa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pa(e)}var Bb=B(()=>{c(pa,"_typeof")});function zb(e,t){if(pa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(pa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ek=B(()=>{Bb(),c(zb,"toPrimitive")});function Lb(e){var t=zb(e,"string");return pa(t)=="symbol"?t:t+""}var tk=B(()=>{Bb(),ek(),c(Lb,"toPropertyKey")});function Ap(e,t,r){return t=Lb(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ob=B(()=>{tk(),c(Ap,"_defineProperty")});function pd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Qr(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function Mb(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return il[t]||(il[t]=$b(e)),il[t]}function Pb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(o){return o!=="token"}),a=Mb(n);return a.reduce(function(o,i){return Qr(Qr({},o),r[i])},t)}function fd(e){return e.join(" ")}function Nb(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return Ls({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function Ls(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,o=e.useInlineStyles,i=e.key,s=t.properties,u=t.type,d=t.tagName,p=t.value;if(u==="text")return p;if(d){var h=Nb(r,o),m;if(!o)m=Qr(Qr({},s),{},{className:fd(s.className)});else{var f=Object.keys(r).reduce(function(C,w){return w.split(".").forEach(function(x){C.includes(x)||C.push(x)}),C},[]),v=s.className&&s.className.includes("token")?["token"]:[],g=s.className&&v.concat(s.className.filter(function(C){return!f.includes(C)}));m=Qr(Qr({},s),{},{className:fd(g)||void 0,style:Pb(s.className,Object.assign({},s.style,a),r)})}var b=h(t.children);return y.createElement(d,U({key:i},m),b)}}var il,Hb=B(()=>{Ct(),Ob(),c(pd,"ownKeys"),c(Qr,"_objectSpread"),c($b,"powerSetPermutations"),il={},c(Mb,"getClassNameCombinations"),c(Pb,"createStyleObject"),c(fd,"createClassNameString"),c(Nb,"createChildren"),c(Ls,"createElement")}),jb,rk=B(()=>{jb=c(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function hd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ft(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return Ao({children:D,lineNumber:S,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:A,showLineNumbers:n,wrapLongLines:u})}c(v,"createWrappedLine");function g(D,S){if(n&&S&&a){var A=_p(s,S,i);D.unshift(kp(S,A))}return D}c(g,"createUnwrappedLine");function b(D,S){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||A.length>0?v(D,S,A):g(D,S)}c(b,"createLine");for(var C=c(function(){var D=p[f],S=D.children[0].value,A=Vb(S);if(A){var k=S.split(` +`);k.forEach(function(F,T){var R=n&&h.length+o,L={type:"text",value:"".concat(F,` +`)};if(T===0){var z=p.slice(m+1,f).concat(Ao({children:[L],className:D.properties.className})),$=b(z,R);h.push($)}else if(T===k.length-1){var O=p[f+1]&&p[f+1].children&&p[f+1].children[0],M={type:"text",value:"".concat(F)};if(O){var j=Ao({children:[M],className:D.properties.className});p.splice(f+1,0,j)}else{var G=[M],H=b(G,R,D.properties.className);h.push(H)}}else{var K=[L],te=b(K,R,D.properties.className);h.push(te)}}),m=f}f++},"_loop");f{KA(),QA(),Ob(),Hb(),rk(),Zb=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],c(hd,"ownKeys"),c(ft,"_objectSpread"),Xb=/\n/g,c(Vb,"getNewLines"),c(Ub,"getAllLineNumbers"),c(qb,"AllLineNumbers"),c(Wb,"getEmWidthOfNumber"),c(kp,"getInlineLineNumber"),c(_p,"assembleLineNumberStyles"),c(Ao,"createLineElement"),c(Fp,"flattenCodeTree"),c(Gb,"processLines"),c(Kb,"defaultRenderer"),c(Ip,"isHighlightJs"),c(Yb,"getCodeTree"),c(Jb,"default")}),ak=q((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,i){this.property=a,this.normal=o,i&&(this.space=i)}c(n,"Schema")}),ok=q((e,t)=>{var r=ak(),n=Qb();t.exports=a;function a(o){for(var i=o.length,s=[],u=[],d=-1,p,h;++d{t.exports=r;function r(n){return n.toLowerCase()}c(r,"normalize")}),e7=q((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(a,o){this.property=a,this.attribute=o}c(n,"Info")}),Rp=q(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}c(r,"increment")}),t7=q((e,t)=>{var r=e7(),n=Rp();t.exports=i,i.prototype=new r,i.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function i(u,d,p,h){var m=-1,f;for(s(this,"space",h),r.call(this,u,d);++m{var r=Tp(),n=Qb(),a=t7();t.exports=o;function o(i){var s=i.space,u=i.mustUseProperty||[],d=i.attributes||{},p=i.properties,h=i.transform,m={},f={},v,g;for(v in p)g=new a(v,h(d,v),p[v],s),u.indexOf(v)!==-1&&(g.mustUseProperty=!0),m[v]=g,f[r(v)]=v,f[r(g.attribute)]=v;return new n(m,f,s)}c(o,"create")}),ik=q((e,t)=>{var r=ni();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(a,o){return"xlink:"+o.slice(5).toLowerCase()}c(n,"xlinkTransform")}),lk=q((e,t)=>{var r=ni();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}c(n,"xmlTransform")}),sk=q((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}c(r,"caseSensitiveTransform")}),r7=q((e,t)=>{var r=sk();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}c(n,"caseInsensitiveTransform")}),uk=q((e,t)=>{var r=ni(),n=r7();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),ck=q((e,t)=>{var r=Rp(),n=ni(),a=r.booleanish,o=r.number,i=r.spaceSeparated;t.exports=n({transform:s,properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:i,ariaCurrent:null,ariaDescribedBy:i,ariaDetails:null,ariaDisabled:a,ariaDropEffect:i,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:i,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:i,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:i,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:i,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}});function s(u,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}c(s,"ariaTransform")}),dk=q((e,t)=>{var r=Rp(),n=ni(),a=r7(),o=r.boolean,i=r.overloadedBoolean,s=r.booleanish,u=r.number,d=r.spaceSeparated,p=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:u,colSpan:null,content:null,contentEditable:s,controls:o,controlsList:d,coords:u|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:i,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:u,hidden:o,high:u,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:u,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:u,rowSpan:u,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:p,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:s,width:u,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:u,security:null,unselectable:null}})}),pk=q((e,t)=>{var r=ok(),n=ik(),a=lk(),o=uk(),i=ck(),s=dk();t.exports=r([a,n,o,i,s])}),fk=q((e,t)=>{var r=Tp(),n=t7(),a=e7(),o="data";t.exports=d;var i=/^data[-\w.:]+$/i,s=/-[a-z]/g,u=/[A-Z]/g;function d(v,g){var b=r(g),C=g,w=a;return b in v.normal?v.property[v.normal[b]]:(b.length>4&&b.slice(0,4)===o&&i.test(g)&&(g.charAt(4)==="-"?C=p(g):g=h(g),w=n),new w(C,g))}c(d,"find");function p(v){var g=v.slice(5).replace(s,f);return o+g.charAt(0).toUpperCase()+g.slice(1)}c(p,"datasetToProperty");function h(v){var g=v.slice(4);return s.test(g)?v:(g=g.replace(u,m),g.charAt(0)!=="-"&&(g="-"+g),o+g)}c(h,"datasetToAttribute");function m(v){return"-"+v.toLowerCase()}c(m,"kebab");function f(v){return v.charAt(1).toUpperCase()}c(f,"camelcase")}),hk=q((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var i=a||"",s=o||"div",u={},d=0,p,h,m;d{e.parse=a,e.stringify=o;var t="",r=" ",n=/[ \t\n\r\f]+/g;function a(i){var s=String(i||t).trim();return s===t?[]:s.split(n)}c(a,"parse");function o(i){return i.join(r).trim()}c(o,"stringify")}),gk=q(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(i){for(var s=[],u=String(i||n),d=u.indexOf(t),p=0,h=!1,m;!h;)d===-1&&(d=u.length,h=!0),m=u.slice(p,d).trim(),(m||!h)&&s.push(m),p=d+1,d=u.indexOf(t,p);return s}c(a,"parse");function o(i,s){var u=s||{},d=u.padLeft===!1?n:r,p=u.padRight?r:n;return i[i.length-1]===n&&(i=i.concat(n)),i.join(p+t+d).trim()}c(o,"stringify")}),vk=q((e,t)=>{var r=fk(),n=Tp(),a=hk(),o=mk().parse,i=gk().parse;t.exports=u;var s={}.hasOwnProperty;function u(b,C,w){var x=w?g(w):null;return E;function E(S,A){var k=a(S,C),F=Array.prototype.slice.call(arguments,2),T=k.tagName.toLowerCase(),R;if(k.tagName=x&&s.call(x,T)?x[T]:T,A&&d(A,k)&&(F.unshift(A),A=null),A)for(R in A)D(k.properties,R,A[R]);return h(k.children,F),k.tagName==="template"&&(k.content={type:"root",children:k.children},k.children=[]),k}function D(S,A,k){var F,T,R;k==null||k!==k||(F=r(b,A),T=F.property,R=k,typeof R=="string"&&(F.spaceSeparated?R=o(R):F.commaSeparated?R=i(R):F.commaOrSpaceSeparated&&(R=o(i(R).join(" ")))),T==="style"&&typeof k!="string"&&(R=v(R)),T==="className"&&S.className&&(R=S.className.concat(R)),S[T]=m(F,T,R))}}c(u,"factory");function d(b,C){return typeof b=="string"||"length"in b||p(C.tagName,b)}c(d,"isChildren");function p(b,C){var w=C.type;return b==="input"||!w||typeof w!="string"?!1:typeof C.children=="object"&&"length"in C.children?!0:(w=w.toLowerCase(),b==="button"?w!=="menu"&&w!=="submit"&&w!=="reset"&&w!=="button":"value"in C)}c(p,"isNode");function h(b,C){var w,x;if(typeof C=="string"||typeof C=="number"){b.push({type:"text",value:String(C)});return}if(typeof C=="object"&&"length"in C){for(w=-1,x=C.length;++w{var r=pk(),n=vk(),a=n(r,"div");a.displayName="html",t.exports=a}),bk=q((e,t)=>{t.exports=yk()}),wk=q((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),Ek=q((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),n7=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}c(r,"decimal")}),xk=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=102||a>=65&&a<=70||a>=48&&a<=57}c(r,"hexadecimal")}),Ck=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=122||a>=65&&a<=90}c(r,"alphabetical")}),Dk=q((e,t)=>{var r=Ck(),n=n7();t.exports=a;function a(o){return r(o)||n(o)}c(a,"alphanumerical")}),Sk=q((e,t)=>{var r,n=59;t.exports=a;function a(o){var i="&"+o+";",s;return r=r||document.createElement("i"),r.innerHTML=i,s=r.textContent,s.charCodeAt(s.length-1)===n&&o!=="semi"||s===i?!1:s}c(a,"decodeEntity")}),Ak=q((e,t)=>{var r=wk(),n=Ek(),a=n7(),o=xk(),i=Dk(),s=Sk();t.exports=te;var u={}.hasOwnProperty,d=String.fromCharCode,p=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},m=9,f=10,v=12,g=32,b=38,C=59,w=60,x=61,E=35,D=88,S=120,A=65533,k="named",F="hexadecimal",T="decimal",R={};R[F]=16,R[T]=10;var L={};L[k]=i,L[T]=a,L[F]=o;var z=1,$=2,O=3,M=4,j=5,G=6,H=7,K={};K[z]="Named character references must be terminated by a semicolon",K[$]="Numeric character references must be terminated by a semicolon",K[O]="Named character references cannot be empty",K[M]="Numeric character references cannot be empty",K[j]="Named character references must be known",K[G]="Numeric character references cannot be disallowed",K[H]="Numeric character references cannot be outside the permissible Unicode range";function te(N,Y){var J={},pe,Se;Y||(Y={});for(Se in h)pe=Y[Se],J[Se]=pe??h[Se];return(J.position.indent||J.position.start)&&(J.indent=J.position.indent||[],J.position=J.position.start),le(N,J)}c(te,"parseEntities");function le(N,Y){var J=Y.additional,pe=Y.nonTerminated,Se=Y.text,At=Y.reference,Ue=Y.warning,lt=Y.textContext,P=Y.referenceContext,st=Y.warningContext,kt=Y.position,Nr=Y.indent||[],_n=N.length,_t=0,Ai=-1,Te=kt.column||1,Hr=kt.line||1,Ft="",Fn=[],It,In,Tt,Ae,ut,ge,ce,Rt,ki,Ru,jr,Va,Vr,er,qh,Ua,_i,Bt,ve;for(typeof J=="string"&&(J=J.charCodeAt(0)),Ua=qa(),Rt=Ue?fD:p,_t--,_n++;++_t<_n;)if(ut===f&&(Te=Nr[Ai]||1),ut=N.charCodeAt(_t),ut===b){if(ce=N.charCodeAt(_t+1),ce===m||ce===f||ce===v||ce===g||ce===b||ce===w||ce!==ce||J&&ce===J){Ft+=d(ut),Te++;continue}for(Vr=_t+1,Va=Vr,ve=Vr,ce===E?(ve=++Va,ce=N.charCodeAt(ve),ce===D||ce===S?(er=F,ve=++Va):er=T):er=k,It="",jr="",Ae="",qh=L[er],ve--;++ve<_n&&(ce=N.charCodeAt(ve),!!qh(ce));)Ae+=d(ce),er===k&&u.call(r,Ae)&&(It=Ae,jr=r[Ae]);Tt=N.charCodeAt(ve)===C,Tt&&(ve++,In=er===k?s(Ae):!1,In&&(It=Ae,jr=In)),Bt=1+ve-Vr,!Tt&&!pe||(Ae?er===k?(Tt&&!jr?Rt(j,1):(It!==Ae&&(ve=Va+It.length,Bt=1+ve-Va,Tt=!1),Tt||(ki=It?z:O,Y.attribute?(ce=N.charCodeAt(ve),ce===x?(Rt(ki,Bt),jr=null):i(ce)?jr=null:Rt(ki,Bt)):Rt(ki,Bt))),ge=jr):(Tt||Rt($,Bt),ge=parseInt(Ae,R[er]),Q(ge)?(Rt(H,Bt),ge=d(A)):ge in n?(Rt(G,Bt),ge=n[ge]):(Ru="",re(ge)&&Rt(G,Bt),ge>65535&&(ge-=65536,Ru+=d(ge>>>10|55296),ge=56320|ge&1023),ge=Ru+d(ge))):er!==k&&Rt(M,Bt)),ge?(Wh(),Ua=qa(),_t=ve-1,Te+=ve-Vr+1,Fn.push(ge),_i=qa(),_i.offset++,At&&At.call(P,ge,{start:Ua,end:_i},N.slice(Vr-1,ve)),Ua=_i):(Ae=N.slice(Vr-1,ve),Ft+=Ae,Te+=Ae.length,_t=ve-1)}else ut===10&&(Hr++,Ai++,Te=0),ut===ut?(Ft+=d(ut),Te++):Wh();return Fn.join("");function qa(){return{line:Hr,column:Te,offset:_t+(kt.offset||0)}}function fD(Gh,Kh){var Bu=qa();Bu.column+=Kh,Bu.offset+=Kh,Ue.call(st,K[Gh],Bu,Gh)}function Wh(){Ft&&(Fn.push(Ft),Se&&Se.call(lt,Ft,{start:Ua,end:qa()}),Ft="")}}c(le,"parse");function Q(N){return N>=55296&&N<=57343||N>1114111}c(Q,"prohibited");function re(N){return N>=1&&N<=8||N===11||N>=13&&N<=31||N>=127&&N<=159||N>=64976&&N<=65007||(N&65535)===65535||(N&65535)===65534}c(re,"disallowed")}),kk=q((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,s={},u={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:c(function x(E){return E instanceof d?new d(E.type,x(E.content),E.alias):Array.isArray(E)?E.map(x):E.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var x=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(x){var E=document.getElementsByTagName("script");for(var D in E)if(E[D].src==x)return E[D]}return null}},"currentScript"),isActive:c(function(x,E,D){for(var S="no-"+E;x;){var A=x.classList;if(A.contains(E))return!0;if(A.contains(S))return!1;x=x.parentElement}return!!D},"isActive")},languages:{plain:s,plaintext:s,text:s,txt:s,extend:c(function(x,E){var D=u.util.clone(u.languages[x]);for(var S in E)D[S]=E[S];return D},"extend"),insertBefore:c(function(x,E,D,S){S=S||u.languages;var A=S[x],k={};for(var F in A)if(A.hasOwnProperty(F)){if(F==E)for(var T in D)D.hasOwnProperty(T)&&(k[T]=D[T]);D.hasOwnProperty(F)||(k[F]=A[F])}var R=S[x];return S[x]=k,u.languages.DFS(u.languages,function(L,z){z===R&&L!=x&&(this[L]=k)}),k},"insertBefore"),DFS:c(function x(E,D,S,A){A=A||{};var k=u.util.objId;for(var F in E)if(E.hasOwnProperty(F)){D.call(E,F,E[F],S||F);var T=E[F],R=u.util.type(T);R==="Object"&&!A[k(T)]?(A[k(T)]=!0,x(T,D,null,A)):R==="Array"&&!A[k(T)]&&(A[k(T)]=!0,x(T,D,F,A))}},"DFS")},plugins:{},highlightAll:c(function(x,E){u.highlightAllUnder(document,x,E)},"highlightAll"),highlightAllUnder:c(function(x,E,D){var S={callback:D,container:x,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};u.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),u.hooks.run("before-all-elements-highlight",S);for(var A=0,k;k=S.elements[A++];)u.highlightElement(k,E===!0,S.callback)},"highlightAllUnder"),highlightElement:c(function(x,E,D){var S=u.util.getLanguage(x),A=u.languages[S];u.util.setLanguage(x,S);var k=x.parentElement;k&&k.nodeName.toLowerCase()==="pre"&&u.util.setLanguage(k,S);var F=x.textContent,T={element:x,language:S,grammar:A,code:F};function R(z){T.highlightedCode=z,u.hooks.run("before-insert",T),T.element.innerHTML=T.highlightedCode,u.hooks.run("after-highlight",T),u.hooks.run("complete",T),D&&D.call(T.element)}if(c(R,"insertHighlightedCode"),u.hooks.run("before-sanity-check",T),k=T.element.parentElement,k&&k.nodeName.toLowerCase()==="pre"&&!k.hasAttribute("tabindex")&&k.setAttribute("tabindex","0"),!T.code){u.hooks.run("complete",T),D&&D.call(T.element);return}if(u.hooks.run("before-highlight",T),!T.grammar){R(u.util.encode(T.code));return}if(E&&a.Worker){var L=new Worker(u.filename);L.onmessage=function(z){R(z.data)},L.postMessage(JSON.stringify({language:T.language,code:T.code,immediateClose:!0}))}else R(u.highlight(T.code,T.grammar,T.language))},"highlightElement"),highlight:c(function(x,E,D){var S={code:x,grammar:E,language:D};if(u.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=u.tokenize(S.code,S.grammar),u.hooks.run("after-tokenize",S),d.stringify(u.util.encode(S.tokens),S.language)},"highlight"),tokenize:c(function(x,E){var D=E.rest;if(D){for(var S in D)E[S]=D[S];delete E.rest}var A=new m;return f(A,A.head,x),h(x,A,E,A.head,0),g(A)},"tokenize"),hooks:{all:{},add:c(function(x,E){var D=u.hooks.all;D[x]=D[x]||[],D[x].push(E)},"add"),run:c(function(x,E){var D=u.hooks.all[x];if(!(!D||!D.length))for(var S=0,A;A=D[S++];)A(E)},"run")},Token:d};a.Prism=u;function d(x,E,D,S){this.type=x,this.content=E,this.alias=D,this.length=(S||"").length|0}c(d,"Token"),d.stringify=c(function x(E,D){if(typeof E=="string")return E;if(Array.isArray(E)){var S="";return E.forEach(function(R){S+=x(R,D)}),S}var A={type:E.type,content:x(E.content,D),tag:"span",classes:["token",E.type],attributes:{},language:D},k=E.alias;k&&(Array.isArray(k)?Array.prototype.push.apply(A.classes,k):A.classes.push(k)),u.hooks.run("wrap",A);var F="";for(var T in A.attributes)F+=" "+T+'="'+(A.attributes[T]||"").replace(/"/g,""")+'"';return"<"+A.tag+' class="'+A.classes.join(" ")+'"'+F+">"+A.content+""},"stringify");function p(x,E,D,S){x.lastIndex=E;var A=x.exec(D);if(A&&S&&A[1]){var k=A[1].length;A.index+=k,A[0]=A[0].slice(k)}return A}c(p,"matchPattern");function h(x,E,D,S,A,k){for(var F in D)if(!(!D.hasOwnProperty(F)||!D[F])){var T=D[F];T=Array.isArray(T)?T:[T];for(var R=0;R=k.reach);K+=H.value.length,H=H.next){var te=H.value;if(E.length>x.length)return;if(!(te instanceof d)){var le=1,Q;if(O){if(Q=p(G,K,x,$),!Q||Q.index>=x.length)break;var J=Q.index,re=Q.index+Q[0].length,N=K;for(N+=H.value.length;J>=N;)H=H.next,N+=H.value.length;if(N-=H.value.length,K=N,H.value instanceof d)continue;for(var Y=H;Y!==E.tail&&(Nk.reach&&(k.reach=Ue);var lt=H.prev;Se&&(lt=f(E,lt,Se),K+=Se.length),v(E,lt,le);var P=new d(F,z?u.tokenize(pe,z):pe,M,pe);if(H=f(E,lt,P),At&&f(E,H,At),le>1){var st={cause:F+","+R,reach:Ue};h(x,E,D,H.prev,K,st),k&&st.reach>k.reach&&(k.reach=st.reach)}}}}}}c(h,"matchGrammar");function m(){var x={value:null,prev:null,next:null},E={value:null,prev:x,next:null};x.next=E,this.head=x,this.tail=E,this.length=0}c(m,"LinkedList");function f(x,E,D){var S=E.next,A={value:D,prev:E,next:S};return E.next=A,S.prev=A,x.length++,A}c(f,"addAfter");function v(x,E,D){for(var S=E.next,A=0;A{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}c(r,"clike")}),Fk=q((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}c(r,"javascript")}),Ik=q((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=A();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=bk(),o=Ak(),i=kk(),s=bb(),u=hb(),d=_k(),p=Fk();n();var h={}.hasOwnProperty;function m(){}c(m,"Refractor"),m.prototype=i;var f=new m;t.exports=f,f.highlight=b,f.register=v,f.alias=g,f.registered=C,f.listLanguages=w,v(s),v(u),v(d),v(p),f.util.encode=D,f.Token.stringify=x;function v(k){if(typeof k!="function"||!k.displayName)throw new Error("Expected `function` for `grammar`, got `"+k+"`");f.languages[k.displayName]===void 0&&k(f)}c(v,"register");function g(k,F){var T=f.languages,R=k,L,z,$,O;F&&(R={},R[k]=F);for(L in R)for(z=R[L],z=typeof z=="string"?[z]:z,$=z.length,O=-1;++O<$;)T[z[O]]=T[L]}c(g,"alias");function b(k,F){var T=i.highlight,R;if(typeof k!="string")throw new Error("Expected `string` for `value`, got `"+k+"`");if(f.util.type(F)==="Object")R=F,F=null;else{if(typeof F!="string")throw new Error("Expected `string` for `name`, got `"+F+"`");if(h.call(f.languages,F))R=f.languages[F];else throw new Error("Unknown language: `"+F+"` is not registered")}return T.call(this,k,R,F)}c(b,"highlight");function C(k){if(typeof k!="string")throw new Error("Expected `string` for `language`, got `"+k+"`");return h.call(f.languages,k)}c(C,"registered");function w(){var k=f.languages,F=[],T;for(T in k)h.call(k,T)&&typeof k[T]=="object"&&F.push(T);return F}c(w,"listLanguages");function x(k,F,T){var R;return typeof k=="string"?{type:"text",value:k}:f.util.type(k)==="Array"?E(k,F):(R={type:k.type,content:f.Token.stringify(k.content,F,T),tag:"span",classes:["token",k.type],attributes:{},language:F,parent:T},k.alias&&(R.classes=R.classes.concat(k.alias)),f.hooks.run("wrap",R),a(R.tag+"."+R.classes.join("."),S(R.attributes),R.content))}c(x,"stringify");function E(k,F){for(var T=[],R=k.length,L=-1,z;++L{nk(),Ti=De(Ik()),Ri=Jb(Ti.default,{}),Ri.registerLanguage=function(e,t){return Ti.default.register(t)},Ri.alias=function(e,t){return Ti.default.alias(e,t)},ll=Ri}),Rk=B(()=>{Hb()}),km,Vu,Bp,a7=B(()=>{km=_.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Vu=_.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),Vu.displayName="ActionButton",Bp=c(({actionItems:e,...t})=>y.createElement(km,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},i)=>y.createElement(Vu,{key:i,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function o7(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function zp(...e){return t=>e.forEach(r=>o7(r,t))}function Ke(...e){return l.useCallback(zp(...e),e)}var _a=B(()=>{c(o7,"$6ed0406888f73fc4$var$setRef"),c(zp,"$6ed0406888f73fc4$export$43e446d32b3d21af"),c(Ke,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05")});function _m(e){return l.isValidElement(e)&&e.type===i7}function Fm(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}var zo,Bi,i7,Lp=B(()=>{Ct(),_a(),zo=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(_m);if(o){let i=o.props.children,s=a.map(u=>u===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:u);return l.createElement(Bi,U({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(Bi,U({},n,{ref:t}),r)}),zo.displayName="Slot",Bi=l.forwardRef((e,t)=>{let{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...Fm(n,r.props),ref:t?zp(t,r.ref):r.ref}):l.Children.count(r)>1?l.Children.only(null):null}),Bi.displayName="SlotClone",i7=c(({children:e})=>l.createElement(l.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45"),c(_m,"$5e63c961fc1ce211$var$isSlottable"),c(Fm,"$5e63c961fc1ce211$var$mergeProps")});function l7(e,t){e&&ap.flushSync(()=>e.dispatchEvent(t))}var Im,Me,ai=B(()=>{Ct(),Lp(),Im=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Me=Im.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?zo:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,U({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),c(l7,"$8927f6f2acc4f386$export$6d1a0317bde7de7f")}),Lo,Op=B(()=>{Lo=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{}});function s7(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function Tm(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,u]=s7(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=fo(n.current);o.current=s==="mounted"?d:"none"},[s]),Lo(()=>{let d=n.current,p=a.current;if(p!==e){let h=o.current,m=fo(d);e?u("MOUNT"):m==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(p&&h!==m?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,u]),Lo(()=>{if(t){let d=c(h=>{let m=fo(n.current).includes(h.animationName);h.target===t&&m&&ap.flushSync(()=>u("ANIMATION_END"))},"handleAnimationEnd"),p=c(h=>{h.target===t&&(o.current=fo(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function fo(e){return(e==null?void 0:e.animationName)||"none"}var sr,u7=B(()=>{_a(),Op(),c(s7,"$fe963b355347cc68$export$3e6543de14f8614f"),sr=c(e=>{let{present:t,children:r}=e,n=Tm(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=Ke(n.ref,a.ref);return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"$921a889cee6df7e8$export$99c2b779aa4e8b8b"),sr.displayName="Presence",c(Tm,"$921a889cee6df7e8$var$usePresence"),c(fo,"$921a889cee6df7e8$var$getAnimationName")});function c7(e,t){let r=l.createContext(t);function n(o){let{children:i,...s}=o,u=l.useMemo(()=>s,Object.values(s));return l.createElement(r.Provider,{value:u},i)}c(n,"Provider");function a(o){let i=l.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return c(a,"useContext"),n.displayName=e+"Provider",[n,a]}function $p(e,t=[]){let r=[];function n(o,i){let s=l.createContext(i),u=r.length;r=[...r,i];function d(h){let{scope:m,children:f,...v}=h,g=(m==null?void 0:m[e][u])||s,b=l.useMemo(()=>v,Object.values(v));return l.createElement(g.Provider,{value:b},f)}c(d,"Provider");function p(h,m){let f=(m==null?void 0:m[e][u])||s,v=l.useContext(f);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${o}\``)}return c(p,"useContext"),d.displayName=o+"Provider",[d,p]}c(n,"$c512c27ab02ef895$export$fd42f52fd3ae1109");let a=c(()=>{let o=r.map(i=>l.createContext(i));return c(function(i){let s=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:s}}),[i,s])},"useScope")},"createScope");return a.scopeName=e,[n,d7(a,...t)]}function d7(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return c(function(a){let o=n.reduce((i,{useScope:s,scopeName:u})=>{let d=s(a)[`__scope${u}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope1");return r.scopeName=t.scopeName,r}var p7=B(()=>{c(c7,"$c512c27ab02ef895$export$fd42f52fd3ae1109"),c($p,"$c512c27ab02ef895$export$50c7b4e9d9f19c1"),c(d7,"$c512c27ab02ef895$var$composeContextScopes")});function ze(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}var oi=B(()=>{c(ze,"$b1b2314f5f9a1d84$export$25bec8c6f54ee79a")});function f7(e){let t=l.useContext(h7);return e||t||"ltr"}var h7,Bk=B(()=>{h7=l.createContext(void 0),c(f7,"$f631663db3294ace$export$b39126d51d94e6f3")});function m7(e,[t,r]){return Math.min(r,Math.max(t,e))}var zk=B(()=>{c(m7,"$ae6933e535247d3d$export$7d15b64cf5a3a4c4")});function Ie(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var Mp=B(()=>{c(Ie,"$e42e1063c40fb3ef$export$b9ecd428b558ff10")});function Rm(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function Ga(e){return e?parseInt(e,10):0}function md(e,t){let r=e/t;return isNaN(r)?0:r}function ko(e){let t=md(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function Bm(e,t,r,n="ltr"){let a=ko(r),o=a/2,i=t||o,s=a-i,u=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-s,p=r.content-r.viewport,h=n==="ltr"?[0,p]:[p*-1,0];return Pp([u,d],h)(e)}function Uu(e,t,r="ltr"){let n=ko(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,s=o-n,u=r==="ltr"?[0,i]:[i*-1,0],d=m7(e,u);return Pp([0,i],[0,s])(d)}function Pp(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function qu(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),l.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Ur(e,t){let r=ze(t);Lo(()=>{let n=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}var Wu,Gu,Lk,zm,qe,Lm,Om,$m,zt,Mm,Pm,Nm,Ku,zi,Hm,jm,Vm,Yu,Ju,Li,Um,qm,Zu,Wm,Gm,Km,g7,v7,y7,b7,w7,Ok=B(()=>{Ct(),ai(),u7(),p7(),_a(),oi(),Bk(),Op(),zk(),Mp(),c(Rm,"$6c2e24571c90391f$export$3e6543de14f8614f"),Wu="ScrollArea",[Gu,Lk]=$p(Wu),[zm,qe]=Gu(Wu),Lm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[s,u]=l.useState(null),[d,p]=l.useState(null),[h,m]=l.useState(null),[f,v]=l.useState(null),[g,b]=l.useState(null),[C,w]=l.useState(0),[x,E]=l.useState(0),[D,S]=l.useState(!1),[A,k]=l.useState(!1),F=Ke(t,R=>u(R)),T=f7(a);return l.createElement(zm,{scope:r,type:n,dir:T,scrollHideDelay:o,scrollArea:s,viewport:d,onViewportChange:p,content:h,onContentChange:m,scrollbarX:f,onScrollbarXChange:v,scrollbarXEnabled:D,onScrollbarXEnabledChange:S,scrollbarY:g,onScrollbarYChange:b,scrollbarYEnabled:A,onScrollbarYEnabledChange:k,onCornerWidthChange:w,onCornerHeightChange:E},l.createElement(Me.div,U({dir:T},i,{ref:F,style:{position:"relative","--radix-scroll-area-corner-width":C+"px","--radix-scroll-area-corner-height":x+"px",...e.style}})))}),Om="ScrollAreaViewport",$m=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,...a}=e,o=qe(Om,r),i=l.useRef(null),s=Ke(t,i,o.onViewportChange);return l.createElement(l.Fragment,null,l.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),l.createElement(Me.div,U({"data-radix-scroll-area-viewport":""},a,{ref:s,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...e.style}}),l.createElement("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"}},n)))}),zt="ScrollAreaScrollbar",Mm=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=qe(zt,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:i}=a,s=e.orientation==="horizontal";return l.useEffect(()=>(s?o(!0):i(!0),()=>{s?o(!1):i(!1)}),[s,o,i]),a.type==="hover"?l.createElement(Pm,U({},n,{ref:t,forceMount:r})):a.type==="scroll"?l.createElement(Nm,U({},n,{ref:t,forceMount:r})):a.type==="auto"?l.createElement(Ku,U({},n,{ref:t,forceMount:r})):a.type==="always"?l.createElement(zi,U({},n,{ref:t})):null}),Pm=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=qe(zt,e.__scopeScrollArea),[o,i]=l.useState(!1);return l.useEffect(()=>{let s=a.scrollArea,u=0;if(s){let d=c(()=>{window.clearTimeout(u),i(!0)},"handlePointerEnter"),p=c(()=>{u=window.setTimeout(()=>i(!1),a.scrollHideDelay)},"handlePointerLeave");return s.addEventListener("pointerenter",d),s.addEventListener("pointerleave",p),()=>{window.clearTimeout(u),s.removeEventListener("pointerenter",d),s.removeEventListener("pointerleave",p)}}},[a.scrollArea,a.scrollHideDelay]),l.createElement(sr,{present:r||o},l.createElement(Ku,U({"data-state":o?"visible":"hidden"},n,{ref:t})))}),Nm=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=qe(zt,e.__scopeScrollArea),o=e.orientation==="horizontal",i=Ka(()=>u("SCROLL_END"),100),[s,u]=Rm("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return l.useEffect(()=>{if(s==="idle"){let d=window.setTimeout(()=>u("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[s,a.scrollHideDelay,u]),l.useEffect(()=>{let d=a.viewport,p=o?"scrollLeft":"scrollTop";if(d){let h=d[p],m=c(()=>{let f=d[p];h!==f&&(u("SCROLL"),i()),h=f},"handleScroll");return d.addEventListener("scroll",m),()=>d.removeEventListener("scroll",m)}},[a.viewport,o,u,i]),l.createElement(sr,{present:r||s!=="hidden"},l.createElement(zi,U({"data-state":s==="hidden"?"hidden":"visible"},n,{ref:t,onPointerEnter:Ie(e.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:Ie(e.onPointerLeave,()=>u("POINTER_LEAVE"))})))}),Ku=l.forwardRef((e,t)=>{let r=qe(zt,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=l.useState(!1),s=e.orientation==="horizontal",u=Ka(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=qe(zt,e.__scopeScrollArea),o=l.useRef(null),i=l.useRef(0),[s,u]=l.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=md(s.viewport,s.content),p={...n,sizes:s,onSizesChange:u,hasThumb:d>0&&d<1,onThumbChange:c(m=>o.current=m,"onThumbChange"),onThumbPointerUp:c(()=>i.current=0,"onThumbPointerUp"),onThumbPointerDown:c(m=>i.current=m,"onThumbPointerDown")};function h(m,f){return Bm(m,i.current,s,f)}return c(h,"getScrollPosition"),r==="horizontal"?l.createElement(Hm,U({},p,{ref:t,onThumbPositionChange:c(()=>{if(a.viewport&&o.current){let m=a.viewport.scrollLeft,f=Uu(m,s,a.dir);o.current.style.transform=`translate3d(${f}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:c(m=>{a.viewport&&(a.viewport.scrollLeft=m)},"onWheelScroll"),onDragScroll:c(m=>{a.viewport&&(a.viewport.scrollLeft=h(m,a.dir))},"onDragScroll")})):r==="vertical"?l.createElement(jm,U({},p,{ref:t,onThumbPositionChange:c(()=>{if(a.viewport&&o.current){let m=a.viewport.scrollTop,f=Uu(m,s);o.current.style.transform=`translate3d(0, ${f}px, 0)`}},"onThumbPositionChange"),onWheelScroll:c(m=>{a.viewport&&(a.viewport.scrollTop=m)},"onWheelScroll"),onDragScroll:c(m=>{a.viewport&&(a.viewport.scrollTop=h(m))},"onDragScroll")})):null}),Hm=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=qe(zt,e.__scopeScrollArea),[i,s]=l.useState(),u=l.useRef(null),d=Ke(t,u,o.onScrollbarXChange);return l.useEffect(()=>{u.current&&s(getComputedStyle(u.current))},[u]),l.createElement(Ju,U({"data-orientation":"horizontal"},a,{ref:d,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ko(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.x),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.x),"onDragScroll"),onWheelScroll:c((p,h)=>{if(o.viewport){let m=o.viewport.scrollLeft+p.deltaX;e.onWheelScroll(m),qu(m,h)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&o.viewport&&i&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:Ga(i.paddingLeft),paddingEnd:Ga(i.paddingRight)}})},"onResize")}))}),jm=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=qe(zt,e.__scopeScrollArea),[i,s]=l.useState(),u=l.useRef(null),d=Ke(t,u,o.onScrollbarYChange);return l.useEffect(()=>{u.current&&s(getComputedStyle(u.current))},[u]),l.createElement(Ju,U({"data-orientation":"vertical"},a,{ref:d,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ko(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.y),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.y),"onDragScroll"),onWheelScroll:c((p,h)=>{if(o.viewport){let m=o.viewport.scrollTop+p.deltaY;e.onWheelScroll(m),qu(m,h)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&o.viewport&&i&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:Ga(i.paddingTop),paddingEnd:Ga(i.paddingBottom)}})},"onResize")}))}),[Vm,Yu]=Gu(zt),Ju=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:s,onThumbPositionChange:u,onDragScroll:d,onWheelScroll:p,onResize:h,...m}=e,f=qe(zt,r),[v,g]=l.useState(null),b=Ke(t,F=>g(F)),C=l.useRef(null),w=l.useRef(""),x=f.viewport,E=n.content-n.viewport,D=ze(p),S=ze(u),A=Ka(h,10);function k(F){if(C.current){let T=F.clientX-C.current.left,R=F.clientY-C.current.top;d({x:T,y:R})}}return c(k,"handleDragScroll"),l.useEffect(()=>{let F=c(T=>{let R=T.target;v!=null&&v.contains(R)&&D(T,E)},"handleWheel");return document.addEventListener("wheel",F,{passive:!1}),()=>document.removeEventListener("wheel",F,{passive:!1})},[x,v,E,D]),l.useEffect(S,[n,S]),Ur(v,A),Ur(f.content,A),l.createElement(Vm,{scope:r,scrollbar:v,hasThumb:a,onThumbChange:ze(o),onThumbPointerUp:ze(i),onThumbPositionChange:S,onThumbPointerDown:ze(s)},l.createElement(Me.div,U({},m,{ref:b,style:{position:"absolute",...m.style},onPointerDown:Ie(e.onPointerDown,F=>{F.button===0&&(F.target.setPointerCapture(F.pointerId),C.current=v.getBoundingClientRect(),w.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),k(F))}),onPointerMove:Ie(e.onPointerMove,k),onPointerUp:Ie(e.onPointerUp,F=>{let T=F.target;T.hasPointerCapture(F.pointerId)&&T.releasePointerCapture(F.pointerId),document.body.style.webkitUserSelect=w.current,f.viewport&&(f.viewport.style.scrollBehavior=""),C.current=null})})))}),Li="ScrollAreaThumb",Um=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Yu(Li,e.__scopeScrollArea);return l.createElement(sr,{present:r||a.hasThumb},l.createElement(qm,U({ref:t},n)))}),qm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=qe(Li,r),i=Yu(Li,r),{onThumbPositionChange:s}=i,u=Ke(t,h=>i.onThumbChange(h)),d=l.useRef(),p=Ka(()=>{d.current&&(d.current(),d.current=void 0)},100);return l.useEffect(()=>{let h=o.viewport;if(h){let m=c(()=>{if(p(),!d.current){let f=Km(h,s);d.current=f,s()}},"handleScroll");return s(),h.addEventListener("scroll",m),()=>h.removeEventListener("scroll",m)}},[o.viewport,p,s]),l.createElement(Me.div,U({"data-state":i.hasThumb?"visible":"hidden"},a,{ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:Ie(e.onPointerDownCapture,h=>{let m=h.target.getBoundingClientRect(),f=h.clientX-m.left,v=h.clientY-m.top;i.onThumbPointerDown({x:f,y:v})}),onPointerUp:Ie(e.onPointerUp,i.onThumbPointerUp)}))}),Zu="ScrollAreaCorner",Wm=l.forwardRef((e,t)=>{let r=qe(Zu,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?l.createElement(Gm,U({},e,{ref:t})):null}),Gm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=qe(Zu,r),[o,i]=l.useState(0),[s,u]=l.useState(0),d=!!(o&&s);return Ur(a.scrollbarX,()=>{var p;let h=((p=a.scrollbarX)===null||p===void 0?void 0:p.offsetHeight)||0;a.onCornerHeightChange(h),u(h)}),Ur(a.scrollbarY,()=>{var p;let h=((p=a.scrollbarY)===null||p===void 0?void 0:p.offsetWidth)||0;a.onCornerWidthChange(h),i(h)}),d?l.createElement(Me.div,U({},n,{ref:t,style:{width:o,height:s,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}})):null}),c(Ga,"$57acba87d6e25586$var$toInt"),c(md,"$57acba87d6e25586$var$getThumbRatio"),c(ko,"$57acba87d6e25586$var$getThumbSize"),c(Bm,"$57acba87d6e25586$var$getScrollPositionFromPointer"),c(Uu,"$57acba87d6e25586$var$getThumbOffsetFromScroll"),c(Pp,"$57acba87d6e25586$var$linearScale"),c(qu,"$57acba87d6e25586$var$isScrollingWithinScrollbarBounds"),Km=c((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return c(function a(){let o={left:e.scrollLeft,top:e.scrollTop},i=r.left!==o.left,s=r.top!==o.top;(i||s)&&t(),r=o,n=window.requestAnimationFrame(a)},"loop")(),()=>window.cancelAnimationFrame(n)},"$57acba87d6e25586$var$addUnlinkedScrollListener"),c(Ka,"$57acba87d6e25586$var$useDebounceCallback"),c(Ur,"$57acba87d6e25586$var$useResizeObserver"),g7=Lm,v7=$m,y7=Mm,b7=Um,w7=Wm}),Ym,Jm,Xu,Qu,Ml,Np=B(()=>{Ok(),Ym=_(g7)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),Jm=_(v7)({width:"100%",height:"100%"}),Xu=_(y7)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),Qu=_(b7)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),Ml=l.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},i)=>y.createElement(Ym,{scrollbarsize:a,offset:n,className:o},y.createElement(Jm,{ref:i},e),t&&y.createElement(Xu,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(Qu,null)),r&&y.createElement(Xu,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(Qu,null)),t&&r&&y.createElement(w7,null))),Ml.displayName="ScrollArea"}),Hp={};ka(Hp,{SyntaxHighlighter:()=>_o,createCopyToClipboardFunction:()=>gd,default:()=>E7,supportedLanguages:()=>vd});const{logger:$k}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{global:Mk}=__STORYBOOK_MODULE_GLOBAL__;function gd(){return ho!=null&&ho.clipboard?e=>ho.clipboard.writeText(e):async e=>{let t=Hn.createElement("TEXTAREA"),r=Hn.activeElement;t.value=e,Hn.body.appendChild(t),t.select(),Hn.execCommand("copy"),Hn.body.removeChild(t),r.focus()}}var Zm,ho,Hn,Xm,vd,Qm,eg,tg,rg,ng,ag,og,ec,ig,lg,_o,E7,Os=B(()=>{Zm=De(Bs(),1),IA(),RA(),BA(),LA(),$A(),PA(),NA(),jA(),UA(),WA(),GA(),Tk(),Rk(),a7(),Np(),{navigator:ho,document:Hn,window:Xm}=Mk,vd={jsextra:gb,jsx:pb,json:vb,yml:xb,md:Eb,bash:fb,css:mb,html:wb,tsx:Db,typescript:Sb,graphql:yb},Object.entries(vd).forEach(([e,t])=>{ll.registerLanguage(e,t)}),Qm=(0,Zm.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),eg=gd(),c(gd,"createCopyToClipboardFunction"),tg=_.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),rg=c(({children:e,className:t})=>y.createElement(Ml,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),ng=_(rg)({position:"relative"},({theme:e})=>Qm(e)),ag=_.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),og=_.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),ec=c(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,a={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=a,{...e,children:t}},"processLineNumber"),ig=c(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>Ls({node:ec(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),lg=c((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>ec(a)),...n}):ig:e,"wrapRenderer"),_o=c(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:o=!0,formatter:i=void 0,className:s=void 0,showLineNumbers:u=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[p,h]=l.useState("");l.useEffect(()=>{i?i(o,e).then(h):h(e.trim())},[e,o,i]);let[m,f]=l.useState(!1),v=l.useCallback(b=>{b.preventDefault(),eg(p).then(()=>{f(!0),Xm.setTimeout(()=>f(!1),1500)}).catch($k.error)},[p]),g=lg(d.renderer,u);return y.createElement(tg,{bordered:n,padded:a,showLineNumbers:u,className:s},y.createElement(ng,null,y.createElement(ll,{padded:a||n,language:t,showLineNumbers:u,showInlineLineNumbers:u,useInlineStyles:!1,PreTag:ag,CodeTag:og,lineNumberContainerStyle:{},...d,renderer:g},p)),r?y.createElement(Bp,{actionItems:[{title:m?"Copied":"Copy",onClick:v}]}):null)},"SyntaxHighlighter"),_o.registerLanguage=(...e)=>ll.registerLanguage(...e),E7=_o});function sg(e){if(typeof e=="string")return Us;if(Array.isArray(e))return qs;if(!e)return;let{type:t}=e;if(df.has(t))return t}function ug(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(Ws(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=kw([...df].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function Xt(e){return Br(e),{type:Mo,contents:e}}function jp(e,t){return Br(t),{type:Po,contents:t,n:e}}function Ce(e,t={}){return Br(e),Gs(t.expandedStates,!0),{type:ha,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function x7(e){return jp(Number.NEGATIVE_INFINITY,e)}function C7(e){return jp({type:"root"},e)}function Vp(e){return Gs(e),{type:No,parts:e}}function Oo(e,t="",r={}){return Br(e),t!==""&&Br(t),{type:Ho,breakContents:e,flatContents:t,groupId:r.groupId}}function D7(e,t){return Br(e),{type:jo,contents:e,groupId:t.groupId,negate:t.negate}}function vn(e,t){Br(e),Gs(t);let r=[];for(let n=0;nt===""))return"";break;case ha:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ha&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Po:case Mo:case jo:case Wl:if(!e.contents)return"";break;case Ho:if(!e.flatContents&&!e.breakContents)return"";break;case qs:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof ma(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case Us:case Ul:case ql:case Gl:case Sr:case Kl:case Fo:break;default:throw new pf(e)}return e}function A7(e){return $s(e,t=>S7(t))}function tt(e,t=_w){return $s(e,r=>typeof r=="string"?vn(t,r.split(` +`)):r)}function cg(e,t){let r=t===!0||t===bo?bo:Sd,n=r===bo?Sd:bo,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function dg(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function pg(e){return(e==null?void 0:e.type)==="front-matter"}function tc(e,t){var r;if(e.type==="text"||e.type==="comment"||fi(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=t.parameters)!=null&&r.children)for(let n of t.parameters.children)Tw.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim())}async function fg(e,t){if(e.lang==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return C7([e.startDelimiter,oe,n,n?oe:"",e.endDelimiter])}}function ii(e,t=!0){return[Xt([xe,e]),t?xe:""]}function yn(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function yt(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(i,s)=>{a=n(i,s)});let o=await t(e,r,t);return a?Ce(o):ii(o)}function hg(e,t,r,n){let{node:a}=r,o=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/.test(o)?"":yt(o,e,{parser:"__ng_directive",__isInHtmlAttribute:!1,trailingComma:"none"},yn)}function yd(e,t){if(!t)return;let r=zw(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function k7(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function mg(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=k7(r,t.language)??yd(r,t.physicalFile)??yd(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function gg(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Up(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||cn(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Ps(e,t)&&!Wt(e)&&e.type!=="interpolation")}function li(e){return e.type==="attribute"||!e.parent||!e.prev?!1:_7(e.prev)}function _7(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function Ye(e){return e.type==="text"||e.type==="comment"}function Wt(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||ga(e)&&(e.name==="script"||e.name==="style"))}function F7(e){return e.children&&!Wt(e)}function I7(e){return Wt(e)||e.type==="interpolation"||qp(e)}function qp(e){return Xp(e).startsWith("pre")}function T7(e,t){var r,n;let a=o();if(a&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return a;function o(){return fi(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:cn(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||cn(e)&&e.parent||Wt(e.parent)||si(e.parent,t)||!N7(e.parent.cssDisplay))||e.prev&&!V7(e.prev.cssDisplay))}}function R7(e,t){return fi(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:cn(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||cn(e)&&e.parent||Wt(e.parent)||si(e.parent,t)||!H7(e.parent.cssDisplay))||e.next&&!j7(e.next.cssDisplay))}function B7(e){return U7(e.cssDisplay)&&!Wt(e)}function mo(e){return fi(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>O7(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Kp(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Yp(e.lastChild))}function Wp(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function sl(e){return Jp(e)||e.prev&&L7(e.prev)||Gp(e)}function L7(e){return Jp(e)||e.type==="element"&&e.fullName==="br"||Gp(e)}function Gp(e){return Kp(e)&&Yp(e)}function Kp(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Jp(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Ms(e){return e.lastChild?Ms(e.lastChild):e}function O7(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Zp(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function $7(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:o}=e.attrMap;return!o&&!a?"babel":hi(t,{language:o})??Zp(a)}function M7(e,t){if(!Ps(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return hi(t,{language:a})??Zp(n)}function P7(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?hi(t,{language:r}):"css"}function bd(e,t){return $7(e,t)??P7(e,t)??M7(e,t)}function Fa(e){return e==="block"||e==="list-item"||e.startsWith("table")}function N7(e){return!Fa(e)&&e!=="inline-block"}function H7(e){return!Fa(e)&&e!=="inline-block"}function j7(e){return!Fa(e)}function V7(e){return!Fa(e)}function U7(e){return!Fa(e)&&e!=="inline-block"}function cn(e){return Xp(e).startsWith("pre")}function q7(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function W7(e,t){var r;if(bn(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let a=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(a)return a[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(q7(e,a=>a.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||ga(e))&&Ow[e.name]||Lw}}function Xp(e){return e.type==="element"&&(!e.namespace||ga(e))&&Mw[e.name]||$w}function G7(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` +`)){if(r.length===0)continue;let n=mt.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` +`)}function ef(e){return Ne(!1,Ne(!1,e,"'","'"),""",'"')}function gr(e){return ef(e.value)}function si(e,t){return bn(e,t)&&!Nw.has(e.fullName)}function bn(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function Ps(e,t){return bn(e,t)&&(si(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function K7(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function Y7(e,t){let r=e.parent;if(!bn(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function tf(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?tt(t):tt(Qp(ff(t)),oe):vn(Ee,mt.split(t))}function rf(e,t){return bn(e,t)&&e.name==="script"}async function J7(e,t){let r=[];for(let[n,a]of e.split(hf).entries())if(n%2===0)r.push(tt(a));else try{r.push(Ce(["{{",Xt([Ee,await yt(a,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0,trailingComma:"none"})]),Ee,"}}"]))}catch{r.push("{{",tt(a),"}}")}return r}function Oi({parser:e}){return(t,r,n)=>yt(gr(n.node),t,{parser:e,trailingComma:"none"},yn)}function vg(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return Hw;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/.test(n)||/^ng-(?:if|show|hide|class|style)$/.test(n))return jw;if(n.startsWith("*"))return Vw;let a=gr(r);if(/^i18n(?:-.+)?$/.test(n))return()=>ii(Vp(tf(r,a.trim())),!a.includes("@@"));if(hf.test(a))return o=>J7(a,o)}function yg(e,t){let{node:r}=e,n=gr(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/).join(" ")}function wd(e){return e===" "||e===` +`||e==="\f"||e==="\r"||e===" "}function bg(e){let t=e.length,r,n,a,o,i,s=0,u;function d(f){let v,g=f.exec(e.substring(s));if(g)return[v]=g,s+=v.length,v}c(d,"p");let p=[];for(;;){if(d(Gw),s>=t){if(p.length===0)throw new Error("Must contain one or more image candidate strings.");return p}u=s,r=d(Kw),n=[],r.slice(-1)===","?(r=r.replace(Yw,""),m()):h()}function h(){for(d(Ww),a="",o="in descriptor";;){if(i=e.charAt(s),o==="in descriptor")if(wd(i))a&&(n.push(a),a="",o="after descriptor");else if(i===","){s+=1,a&&n.push(a),m();return}else if(i==="(")a+=i,o="in parens";else if(i===""){a&&n.push(a),m();return}else a+=i;else if(o==="in parens")if(i===")")a+=i,o="in descriptor";else if(i===""){n.push(a),m();return}else a+=i;else if(o==="after descriptor"&&!wd(i))if(i===""){m();return}else o="in descriptor",s-=1;s+=1}}c(h,"m");function m(){let f=!1,v,g,b,C,w={},x,E,D,S,A;for(C=0;CZ7(gr(e.node))}function Z7(e){let t=Zw(e),r=Xw.filter(p=>t.some(h=>Object.prototype.hasOwnProperty.call(h,p)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,a=kd[n],o=t.map(p=>p.source.value),i=Math.max(...o.map(p=>p.length)),s=t.map(p=>p[n]?String(p[n].value):""),u=s.map(p=>{let h=p.indexOf(".");return h===-1?p.length:h}),d=Math.max(...u);return ii(vn([",",Ee],o.map((p,h)=>{let m=[p],f=s[h];if(f){let v=i-p.length+1,g=d-u[h],b=" ".repeat(v+g);m.push(Oo(b," "),f+a)}return m})))}function X7(e,t){let{node:r}=e,n=gr(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>ii(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function Eg(e,t){let{root:r}=e;return ul.has(r)||ul.set(r,r.children.some(n=>rf(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),ul.get(r)}function Q7(e,t,r){let{node:n}=r,a=gr(n);return yt(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},yn)}function ew(e,t,{parseWithTs:r}){return yt(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function tw(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$_a-z][\w$]*])*$/i,n=e.trim();return t.test(n)||r.test(n)}async function rw(e,t,r,n){let a=gr(r.node),{left:o,operator:i,right:s}=nw(a),u=Ks(r,n);return[Ce(await yt(`function _(${o}) {}`,e,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",i," ",await yt(s,e,{parser:u?"__ts_expression":"__js_expression"})]}function nw(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,a=e.match(t);if(!a)return;let o={};if(o.for=a[3].trim(),!o.for)return;let i=Ne(!1,a[1].trim(),n,""),s=i.match(r);s?(o.alias=i.replace(r,""),o.iterator1=s[1].trim(),s[2]&&(o.iterator2=s[2].trim())):o.alias=i;let u=[o.alias,o.iterator1,o.iterator2];if(!u.some((d,p)=>!d&&(p===0||u.slice(p+1).some(Boolean))))return{left:u.filter(Boolean).join(","),operator:a[2],right:o.for}}function xg(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return rw;if(n==="generic"&&rf(r.parent,t))return Q7;let a=gr(r),o=Ks(e,t);if(K7(r)||Y7(r,t))return i=>ew(a,i,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return i=>aw(a,i,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return i=>ow(a,i,{parseWithTs:o});if(n.startsWith("v-"))return i=>nf(a,i,{parseWithTs:o})}function aw(e,t,{parseWithTs:r}){return tw(e)?nf(e,t,{parseWithTs:r}):yt(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},yn)}function ow(e,t,{parseWithTs:r}){return yt(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},yn)}function nf(e,t,{parseWithTs:r}){return yt(e,t,{parser:r?"__ts_expression":"__js_expression"},yn)}function Cg(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[Qw,X7,qw,e6,Uw]){let a=n(e,t);if(a)return iw(a)}}}function iw(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=$s(o,i=>typeof i=="string"?Ne(!1,i,'"',"""):i),[n.node.rawName,'="',Ce(o),'"']}}function Dg(e){return Array.isArray(e)&&e.length>0}function ui(e){return e.sourceSpan.start.offset}function ci(e){return e.sourceSpan.end.offset}function Pl(e,t){return[e.isSelfClosing?"":lw(e,t),Wn(e,t)]}function lw(e,t){return e.lastChild&&fa(e.lastChild)?"":[sw(e,t),Ns(e,t)]}function Wn(e,t){return(e.next?Tr(e.next):Ta(e.parent))?"":[Ia(e,t),Ir(e,t)]}function sw(e,t){return Ta(e)?Ia(e.lastChild,t):""}function Ir(e,t){return fa(e)?Ns(e.parent,t):di(e)?Hs(e.next):""}function Ns(e,t){if(mf(!e.isSelfClosing),af(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function af(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(li(e)||Up(e.parent,t))}function Tr(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!Ye(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Ta(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!Ye(Ms(e.lastChild))&&!cn(e)}function fa(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Ye(Ms(e))}function di(e){return e.next&&!Ye(e.next)&&Ye(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function uw(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?t[1]?t[1].split(/\s+/):!0:!1}function pi(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function cw(e,t,r){var n;let{node:a}=e;if(!Ys(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&uw(a.prev.value),i=typeof o=="boolean"?()=>o:Array.isArray(o)?h=>o.includes(h.rawName):()=>!1,s=e.map(({node:h})=>i(h)?tt(t.originalText.slice(ui(h),ci(h))):r(),"attrs"),u=a.type==="element"&&a.fullName==="script"&&a.attrs.length===1&&a.attrs[0].fullName==="src"&&a.children.length===0,d=t.singleAttributePerLine&&a.attrs.length>1&&!bn(a,t)?oe:Ee,p=[Xt([u?" ":Ee,vn(d,s)])];return a.firstChild&&pi(a.firstChild)||a.isSelfClosing&&Ta(a.parent)||u?p.push(a.isSelfClosing?" ":""):p.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?Ee:xe),p}function dw(e){return e.firstChild&&pi(e.firstChild)?"":js(e)}function Nl(e,t,r){let{node:n}=e;return[Gn(n,t),cw(e,t,r),n.isSelfClosing?"":dw(n)]}function Gn(e,t){return e.prev&&di(e.prev)?"":[Rr(e,t),Hs(e)]}function Rr(e,t){return pi(e)?js(e.parent):Tr(e)?Ia(e.prev,t):""}function Hs(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function js(e){switch(mf(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Sg(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&pi(e.firstChild)&&(r-=js(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&fa(e.lastChild)?n+=Ns(e,t).length:Ta(e)&&(n-=Ia(e.lastChild,t).length),t.originalText.slice(r,n)}function Ag(e,t){let{node:r}=e;switch(r.type){case"element":if(Wt(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Ps(r,t)){let n=bd(r,t);return n?async(a,o)=>{let i=gf(r,t),s=/^\s*$/.test(i),u="";return s||(u=await a(ff(i),{parser:n,__embeddedInHtml:!0}),s=u===""),[Rr(r,t),Ce(Nl(e,t,o)),s?"":oe,u,s?"":oe,Pl(r,t),Ir(r,t)]}:void 0}break;case"text":if(Wt(r.parent)){let n=bd(r.parent,t);if(n)return async a=>{let o=n==="markdown"?Qp(r.value.replace(/^[^\S\n]*\n/,"")):r.value,i={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let s="script",{attrMap:u}=r.parent;u&&(u.type==="module"||u.type==="text/babel"&&u["data-type"]==="module")&&(s="module"),i.__babelSourceType=s}return[Yn,Rr(r,t),await a(o,i),Ir(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?(a.parser="__ng_interpolation",a.trailingComma="none"):t.parser==="vue"?a.parser=Ks(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[Xt([Ee,await n(r.value,a)]),r.parent.next&&Tr(r.parent.next)?" ":Ee]};break;case"attribute":return t6(e,t);case"front-matter":return n=>Rw(r,n);case"angularControlFlowBlockParameters":return r6.has(e.parent.name)?Bw:void 0}}function Kn(e){if(Vn!==null&&typeof Vn.property){let t=Vn;return Vn=Kn.prototype=null,t}return Vn=Kn.prototype=e??Object.create(null),new Kn}function pw(e){return Kn(e)}function kg(e,t="type"){pw(e);function r(n){let a=n[t],o=e[a];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return o}return c(r,"r"),r}function fw(e){return/^\s*/.test(e)}function _g(e){return` + +`+e}function of(e){let t=ci(e);return e.type==="element"&&!e.endSourceSpan&&Ys(e.children)?Math.max(t,of(ma(!1,e.children,-1))):t}function jn(e,t,r){let n=e.node;if(li(n)){let a=of(n);return[Rr(n,t),tt(mt.trimEnd(t.originalText.slice(ui(n)+(n.prev&&di(n.prev)?Hs(n).length:0),a-(n.next&&Tr(n.next)?Ia(n,t).length:0)))),Ir(n,t)]}return r()}function go(e,t){return Ye(e)&&Ye(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?sl(t)?oe:Ee:"":sl(t)?oe:xe:di(e)&&(li(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&Tr(t)?"":!t.isLeadingSpaceSensitive||sl(t)||Tr(t)&&e.lastChild&&fa(e.lastChild)&&e.lastChild.lastChild&&fa(e.lastChild.lastChild)?oe:t.hasLeadingSpaces?Ee:xe}function Vs(e,t,r){let{node:n}=e;if(Wp(n))return[Yn,...e.map(o=>{let i=o.node,s=i.prev?go(i.prev,i):"";return[s?[s,mo(i.prev)?oe:""]:"",jn(o,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map((o,i)=>{let s=o.node;if(Ye(s)){if(s.prev&&Ye(s.prev)){let v=go(s.prev,s);if(v)return mo(s.prev)?[oe,oe,jn(o,t,r)]:[v,jn(o,t,r)]}return jn(o,t,r)}let u=[],d=[],p=[],h=[],m=s.prev?go(s.prev,s):"",f=s.next?go(s,s.next):"";return m&&(mo(s.prev)?u.push(oe,oe):m===oe?u.push(oe):Ye(s.prev)?d.push(m):d.push(Oo("",xe,{groupId:a[i-1]}))),f&&(mo(s)?Ye(s.next)&&h.push(oe,oe):f===oe?Ye(s.next)&&h.push(oe):p.push(f)),[...u,Ce([...d,Ce([jn(o,t,r),...p],{id:a[i]})]),...h]},"children")}function hw(e,t,r){let{node:n}=e,a=[];mw(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",Ce(r("parameters")),")"),a.push(" {");let o=lf(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(Xt([oe,Vs(e,t,r)])),o&&a.push(oe,"}")):o&&a.push("}"),Ce(a,{shouldBreak:!0})}function lf(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=n6.get(e.name))!=null&&r.has(e.next.name))}function mw(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!li(t)&&!lf(t)}function gw(e,t,r){return[Xt([xe,vn([";",Ee],e.map(r,"children"))]),xe]}function vw(e,t,r){let{node:n}=e;return[Gn(n,t),Ce([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",Xt([Ee,vn(Ee,e.map(r,"cases"))])]:"",xe]),Wn(n,t)]}function yw(e,t,r){let{node:n}=e;return[n.value," {",Ce([Xt([xe,e.map(({node:a})=>a.type==="text"&&!mt.trim(a.value)?"":r(),"expression")]),xe]),"}"]}function bw(e,t,r){let{node:n}=e;if(Up(n,t))return[Rr(n,t),Ce(Nl(e,t,r)),tt(gf(n,t)),...Pl(n,t),Ir(n,t)];let a=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),i=c(p=>Ce([Ce(Nl(e,t,r),{id:o}),p,Pl(n,t)]),"a"),s=c(p=>a?D7(p,{groupId:o}):(Wt(n)||si(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?p:Xt(p),"o"),u=c(()=>a?Oo(xe,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?Ee:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?x7(xe):xe,"u"),d=c(()=>(n.next?Tr(n.next):Ta(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?Oo(xe,"",{groupId:o}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?Ee:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`).test(n.lastChild.value)?"":xe,"p");return n.children.length===0?i(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?Ee:""):i([z7(n)?Yn:"",s([u(),Vs(e,t,r)]),d()])}function Hl(e){return e>=9&&e<=32||e==160}function sf(e){return 48<=e&&e<=57}function jl(e){return e>=97&&e<=122||e>=65&&e<=90}function ww(e){return e>=97&&e<=102||e>=65&&e<=70||sf(e)}function rc(e){return e===10||e===13}function nc(e){return 48<=e&&e<=55}function ac(e){return e===39||e===34||e===96}function Fg(e){return e.replace(a6,(...t)=>t[1].toUpperCase())}function Ig(e,t){for(let r of o6)r(e,t);return e}function Tg(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` +`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function Rg(e){let t=c(r=>{var n,a;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let a=0;at.type==="cdata",t=>``)}function zg(e){let t=c(r=>{var n,a;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!mt.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((a=r.next)==null?void 0:a.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+a.firstChild.value+``+i.value,o.sourceSpan=new Z(o.sourceSpan.start,i.sourceSpan.end),o.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,o.hasTrailingSpaces=i.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(i)}})}function Lg(e,t){if(t.parser==="html")return;let r=/{{(.+?)}}/s;e.walk(n=>{if(F7(n))for(let a of n.children){if(a.type!=="text")continue;let o=a.sourceSpan.start,i=null,s=a.value.split(r);for(let u=0;u0&&n.insertChildBefore(a,{type:"text",value:d,sourceSpan:new Z(o,i)});continue}i=o.moveBy(d.length+4),n.insertChildBefore(a,{type:"interpolation",sourceSpan:new Z(o,i),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new Z(o.moveBy(2),i.moveBy(-2))}]})}n.removeChild(a)}})}function Og(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&mt.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=I7(t),n=qp(t);if(!r)for(let a=0;a{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function Mg(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function Pg(e,t){e.walk(r=>{r.cssDisplay=W7(r,t)})}function Ng(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=B7(r);return}for(let a of n)a.isLeadingSpaceSensitive=T7(a,t),a.isTrailingSpaceSensitive=R7(a,t);for(let a=0;a{!Za[t]&&vo(t)===null&&(Za[t]=new W({canSelfClose:!1}))})),Za[e]??j2}function Ed(e,t,r=null){let n=[],a=e.visit?o=>e.visit(o,r)||o.visit(e,r):o=>o.visit(e,r);return t.forEach(o=>{let i=a(o);i&&n.push(i)}),n}function Vg(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];s6.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function Ug(e,t,r,n={}){let a=new c6(new vf(e,t),r,n);return a.tokenize(),new u6(xw(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function qr(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function sc(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function qg(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function ye(e){return!Hl(e)||e===0}function uc(e){return Hl(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function Wg(e){return(e<97||12257)}function Gg(e){return e===59||e===0||!ww(e)}function Kg(e){return e===59||e===0||!jl(e)}function Yg(e){return e!==125}function Jg(e,t){return xd(e)===xd(t)}function xd(e){return e>=97&&e<=122?e-97+65:e}function cc(e){return jl(e)||sf(e)||e===95}function dc(e){return e!==59&&ye(e)}function xw(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function fc(e,t){return Io[t]!==void 0?Io[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function Cd(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:i=!1}=t;return d6().parse(e,"angular-html-parser",{tokenizeExpansionForms:i,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:i},a,o)}function Zg(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function Xg(e){let t=e.match(f6);if(!t)return{content:e};let{startDelimiter:r,language:n,value:a="",endDelimiter:o}=t.groups,i=n.trim()||"yaml";if(r==="+++"&&(i="toml"),i!=="yaml"&&r!==o)return{content:e};let[s]=t;return{frontMatter:{type:"front-matter",lang:i,value:a,startDelimiter:r,endDelimiter:o,raw:s.replace(/\n$/,"")},content:Ne(!1,s,/[^\n]/g," ")+e.slice(s.length)}}function Qg(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function Cw(e,t){if(e.value)for(let{regex:r,parse:n}of g6){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function e2(e,t,r){let[,n,a,o]=r,i=4+n.length,s=e.sourceSpan.start.moveBy(i),u=s.moveBy(o.length),[d,p]=(()=>{try{return[!0,t(o,s).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new Z(s,u)}]]}})();return{type:"ieConditionalComment",complete:d,children:p,condition:Ne(!1,a.trim(),/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new Z(e.sourceSpan.start,s),endSourceSpan:new Z(u,e.sourceSpan.end)}}function t2(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:Ne(!1,n.trim(),/\s+/g," "),sourceSpan:e.sourceSpan}}function r2(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function Dw(e){if(e.type==="block"){if(e.name=Ne(!1,e.name.toLowerCase(),/\s+/g," ").trim(),e.type="angularControlFlowBlock",!Ys(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new Z(e.parameters[0].sourceSpan.start,ma(!1,e.parameters,-1).sourceSpan.end)}}}function Sw(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function uf(e,t,r){let{name:n,canSelfClose:a=!0,normalizeTagName:o=!1,normalizeAttributeName:i=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:u=!1,shouldParseAsRawText:d}=t,{rootNodes:p,errors:h}=Cd(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:u,getTagContentType:d?(...w)=>d(...w)?ht.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0});if(n==="vue"){if(p.some(D=>D.type==="docType"&&D.value==="html"||D.type==="element"&&D.name.toLowerCase()==="html"))return uf(e,_d,r);let w,x=c(()=>w??(w=Cd(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:u})),"y"),E=c(D=>x().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===D.startSourceSpan.start.offset)??D,"O");for(let[D,S]of p.entries()){let{endSourceSpan:A,startSourceSpan:k}=S;if(A===null)h=x().errors,p[D]=E(S);else if(Aw(S,r)){let F=x().errors.find(T=>T.span.start.offset>k.start.offset&&T.span.start.offset0&&Dd(h[0]);let m=c(w=>{let x=w.name.startsWith(":")?w.name.slice(1).split(":")[0]:null,E=w.nameSpan.toString(),D=x!==null&&E.startsWith(`${x}:`),S=D?E.slice(x.length+1):E;w.name=S,w.namespace=x,w.hasExplicitNamespace=D},"g"),f=c(w=>{switch(w.type){case"element":m(w);for(let x of w.attrs)m(x),x.valueSpan?(x.value=x.valueSpan.toString(),/["']/.test(x.value[0])&&(x.value=x.value.slice(1,-1))):x.value=null;break;case"comment":w.value=w.sourceSpan.toString().slice(4,-3);break;case"text":w.value=w.sourceSpan.toString();break}},"C"),v=c((w,x)=>{let E=w.toLowerCase();return x(E)?E:w},"_"),g=c(w=>{if(w.type==="element"&&(o&&(!w.namespace||w.namespace===w.tagDefinition.implicitNamespacePrefix||ga(w))&&(w.name=v(w.name,x=>v6.has(x))),i))for(let x of w.attrs)x.namespace||(x.name=v(x.name,E=>dl.has(w.name)&&(dl.get("*").has(E)||dl.get(w.name).has(E))))},"D"),b=c(w=>{w.sourceSpan&&w.endSourceSpan&&(w.sourceSpan=new Z(w.sourceSpan.start,w.endSourceSpan.end))},"I"),C=c(w=>{if(w.type==="element"){let x=Vl(u?w.name:w.name.toLowerCase());!w.namespace||w.namespace===x.implicitNamespacePrefix||ga(w)?w.tagDefinition=x:w.tagDefinition=Vl("")}},"B");return Ed(new class extends l6{visitExpansionCase(w,x){n==="angular"&&this.visitChildren(x,E=>{E(w.expression)})}visit(w){f(w),C(w),g(w),b(w)}},p),p}function Aw(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(a=>a.name==="lang"))==null?void 0:r.value;return!n||hi(t,{language:n})==="html"}function Dd(e){let{msg:t,span:{start:r,end:n}}=e;throw p6(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function cf(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?h6(e):{frontMatter:null,content:e},i=new vf(e,r.filepath),s=new Yl(i,0,0,0),u=s.moveBy(e.length),d={type:"root",sourceSpan:new Z(s,u),children:uf(o,t,r)};if(a){let m=new Yl(i,0,0,0),f=m.moveBy(a.raw.length);a.sourceSpan=new Z(m,f),d.children.unshift(a)}let p=new m6(d),h=c((m,f)=>{let{offset:v}=f,g=Ne(!1,e.slice(0,v),/[^\n\r]/g," "),b=cf(g+m,t,r,!1);b.sourceSpan=new Z(f,ma(!1,b.children,-1).sourceSpan.end);let C=b.children[0];return C.length===v?b.children.shift():(C.sourceSpan=new Z(C.sourceSpan.start.moveBy(v),C.sourceSpan.end),C.value=C.value.slice(v)),b},"m");return p.walk(m=>{if(m.type==="comment"){let f=Cw(m,h);f&&m.parent.replaceChild(m,f)}Dw(m),Sw(m)}),p}function Ja(e){return{parse:c((t,r)=>cf(t,e,r),"parse"),hasPragma:fw,astFormat:"html",locStart:ui,locEnd:ci}}var n2,hc,mc,tr,a2,o2,gc,i2,Ne,Us,qs,Ul,Mo,Po,ql,ha,No,Ho,jo,Wl,Gl,Sr,Kl,Fo,df,Ws,kw,vc,l2,pf,yc,Br,Gs,Yn,s2,u2,Ee,xe,oe,_w,c2,ma,bo,Sd,Fw,ct,bc,d2,p2,f2,h2,mt,wc,m2,Iw,fi,g2,Tw,v2,Rw,Bw,zw,hi,Lw,Ow,$w,Mw,ga,y2,ff,Pw,Nw,hf,Hw,jw,Vw,Uw,qw,Ww,Gw,Kw,Yw,Ad,Jw,Zw,kd,Xw,Qw,ul,Ks,e6,t6,Ec,mf,Ys,gf,r6,b2,Vn,w2,E2,x2,C2,D2,S2,n6,a6,$i,Yl,xc,vf,Cc,Z,Mi,Dc,Sc,o6,A2,k2,_2,F2,Ac,kc,I2,T2,_c,R2,B2,Fc,Ic,en,z2,ht,cl,Tc,L2,O2,$2,M2,P2,N2,Rc,H2,Bc,i6,zc,W,j2,Za,Lc,Tn,Oc,V2,$c,U2,Mc,q2,Pc,W2,Nc,G2,Hc,rr,jc,K2,Vc,Y2,Uc,Wr,qc,Wc,Gc,l6,Io,J2,s6,Pi,Z2,Kc,Yc,Ni,Jc,u6,X2,Hi,Zc,ji,Xc,c6,Xa,Qc,Qa,Q2,e0,Vi,Ui,We,t0,e5,r0,t5,qi,r5,n0,n5,Wi,d6,p6,f6,h6,eo,a0,Gr,m6,g6,dl,v6,_d,a5,o5,i5,l5,s5,y6,Pk=B(()=>{n2=Object.defineProperty,hc=c((e,t)=>{for(var r in t)n2(e,r,{get:t[r],enumerable:!0})},"Yr"),mc=c((e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},"jr"),tr=c((e,t,r)=>(mc(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),a2=c((e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},"Kr"),o2=c((e,t,r,n)=>(mc(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"Qr"),gc={},hc(gc,{languages:c(()=>F2,"languages"),options:c(()=>T2,"options"),parsers:c(()=>_c,"parsers"),printers:c(()=>s5,"printers")}),i2=c((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"Zs"),Ne=i2,Us="string",qs="array",Ul="cursor",Mo="indent",Po="align",ql="trim",ha="group",No="fill",Ho="if-break",jo="indent-if-break",Wl="line-suffix",Gl="line-suffix-boundary",Sr="line",Kl="label",Fo="break-parent",df=new Set([Ul,Mo,Po,ql,ha,No,Ho,jo,Wl,Gl,Sr,Kl,Fo]),c(sg,"ei"),Ws=sg,kw=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ti"),c(ug,"ri"),l2=(vc=class extends Error{constructor(t){super(ug(t));yr(this,"name","InvalidDocError");this.doc=t}},c(vc,"rr"),vc),pf=l2,yc=c(()=>{},"Xr"),Br=yc,Gs=yc,c(Xt,"L"),c(jp,"Jr"),c(Ce,"E"),c(x7,"Zr"),c(C7,"en"),c(Vp,"Ct"),c(Oo,"me"),c(D7,"tn"),Yn={type:Fo},s2={type:Sr,hard:!0},u2={type:Sr,hard:!0,literal:!0},Ee={type:Sr},xe={type:Sr,soft:!0},oe=[s2,Yn],_w=[u2,Yn],c(vn,"M"),c2=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ii"),ma=c2,c($s,"St"),c(S7,"ai"),c(A7,"nn"),c(tt,"T"),bo="'",Sd='"',c(cg,"oi"),Fw=cg,c(dg,"nr"),d2=(bc=class{constructor(e){a2(this,ct,void 0),o2(this,ct,new Set(e))}getLeadingWhitespaceCount(e){let t=tr(this,ct),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return tr(this,ct).has(e.charAt(0))}hasTrailingWhitespace(e){return tr(this,ct).has(ma(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${dg([...tr(this,ct)].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=tr(this,ct);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=tr(this,ct);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=tr(this,ct);return Array.prototype.every.call(e,r=>t.has(r))}},c(bc,"sr"),bc),ct=new WeakMap,p2=d2,f2=[" ",` +`,"\f","\r"," "],h2=new p2(f2),mt=h2,m2=(wc=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);yr(this,"name","UnexpectedNodeError");this.node=t}},c(wc,"ir"),wc),Iw=m2,c(pg,"ci"),fi=pg,g2=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Tw=new Set(["if","else if","for","switch","case"]),c(tc,"ln"),tc.ignoredProperties=g2,v2=tc,c(fg,"fi"),Rw=fg,c(ii,"ge"),c(yn,"j"),c(yt,"x"),c(hg,"mi"),Bw=hg,zw=c(e=>String(e).split(/[/\\]/).pop(),"gi"),c(yd,"fn"),c(k7,"di"),c(mg,"Ci"),hi=mg,Lw="inline",Ow={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},$w="normal",Mw={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},c(gg,"Si"),ga=gg,y2=c(e=>Ne(!1,e,/^[\t\f\r ]*\n/g,""),"_i"),ff=c(e=>y2(mt.trimEnd(e)),"ar"),Pw=c(e=>{let t=e,r=mt.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=mt.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"Sn"),c(Up,"Et"),c(li,"Se"),c(_7,"Ei"),c(Ye,"R"),c(Wt,"U"),c(F7,"_n"),c(I7,"En"),c(qp,"or"),c(T7,"An"),c(R7,"Dn"),c(B7,"vn"),c(mo,"Qe"),c(z7,"yn"),c(Wp,"ur"),c(sl,"At"),c(L7,"Ai"),c(Gp,"wn"),c(Kp,"bn"),c(Yp,"Tn"),c(Jp,"xn"),c(Ms,"Dt"),c(O7,"Di"),c(Zp,"kn"),c($7,"vi"),c(M7,"yi"),c(P7,"wi"),c(bd,"lr"),c(Fa,"Xe"),c(N7,"bi"),c(H7,"Ti"),c(j7,"xi"),c(V7,"ki"),c(U7,"Bi"),c(cn,"Ce"),c(q7,"Li"),c(W7,"Bn"),c(Xp,"Ln"),c(G7,"Fi"),c(Qp,"cr"),c(ef,"pr"),c(gr,"P"),Nw=new Set(["template","style","script"]),c(si,"Je"),c(bn,"_e"),c(Ps,"vt"),c(K7,"Fn"),c(Y7,"Pn"),c(tf,"yt"),c(rf,"wt"),hf=/{{(.+?)}}/s,c(J7,"Nn"),c(Oi,"fr"),Hw=Oi({parser:"__ng_action"}),jw=Oi({parser:"__ng_binding"}),Vw=Oi({parser:"__ng_directive"}),c(vg,"$i"),Uw=vg,c(yg,"Oi"),qw=yg,c(wd,"$n"),Ww=/^[ \t\n\r\u000c]+/,Gw=/^[, \t\n\r\u000c]+/,Kw=/^[^ \t\n\r\u000c]+/,Yw=/[,]+$/,Ad=/^\d+$/,Jw=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,c(bg,"Wi"),Zw=bg,c(wg,"zi"),kd={width:"w",height:"h",density:"x"},Xw=Object.keys(kd),c(Z7,"Yi"),Qw=wg,c(X7,"Vn"),ul=new WeakMap,c(Eg,"ji"),Ks=Eg,c(Q7,"Un"),c(ew,"Wn"),c(tw,"zn"),c(rw,"Gn"),c(nw,"Ki"),c(xg,"Qi"),c(aw,"Xi"),c(ow,"Ji"),c(nf,"Yn"),e6=xg,c(Cg,"Zi"),c(iw,"ea"),t6=Cg,Ec=new Proxy(()=>{},{get:c(()=>Ec,"get")}),mf=Ec,c(Dg,"ta"),Ys=Dg,c(ui,"se"),c(ci,"ie"),c(Pl,"Ze"),c(lw,"ra"),c(Wn,"Ee"),c(sw,"na"),c(Ir,"W"),c(Ns,"bt"),c(Ia,"Ae"),c(af,"Xn"),c(Tr,"K"),c(Ta,"De"),c(fa,"ve"),c(di,"et"),c(uw,"sa"),c(pi,"tt"),c(cw,"ia"),c(dw,"aa"),c(Nl,"rt"),c(Gn,"ye"),c(Rr,"z"),c(Hs,"Tt"),c(js,"xt"),c(Sg,"oa"),gf=Sg,r6=new Set(["if","else if","for","switch","case"]),c(Ag,"la"),b2=Ag,Vn=null,c(Kn,"st"),w2=10;for(let e=0;e<=w2;e++)Kn();c(pw,"dr"),c(kg,"pa"),E2=kg,x2={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},C2=x2,D2=E2(C2),S2=D2,c(fw,"rs"),c(_g,"ns"),n6=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]),c(of,"is"),c(jn,"it"),c(go,"Bt"),c(Vs,"qe"),c(hw,"as"),c(lf,"os"),c(mw,"ma"),c(gw,"us"),c(vw,"ls"),c(yw,"cs"),c(bw,"ps"),c(Hl,"Lt"),c(sf,"Cr"),c(jl,"Ft"),c(ww,"hs"),c(rc,"Sr"),c(nc,"_r"),c(ac,"Er"),a6=/-+([a-z0-9])/g,c(Fg,"ms"),Yl=($i=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,a=this.line,o=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){a--;let i=t.substring(0,n-1).lastIndexOf(` +`);o=i>0?n-i:n}else o--;for(;n0;){let i=t.charCodeAt(n);n++,e--,i==10?(a++,o=0):o++}return new $i(this.file,n,a,o)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let a=n,o=0,i=0;for(;o0&&(n--,o++,!(r[n]==` +`&&++i==t)););for(o=0,i=0;o]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},c(Dc,"Ve"),Dc),o6=[Tg,Rg,Bg,Lg,Og,Pg,$g,Mg,Ng,zg],c(Ig,"Ca"),c(Tg,"Sa"),c(Rg,"_a"),c(Ew,"Ea"),c(Bg,"Aa"),c(zg,"Da"),c(Lg,"va"),c(Og,"ya"),c($g,"wa"),c(Mg,"ba"),c(Pg,"Ta"),c(Ng,"xa"),A2=Ig,c(Hg,"ka"),k2={preprocess:A2,print:Hg,insertPragma:_g,massageAstNode:v2,embed:b2,getVisitorKeys:S2},_2=k2,F2=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],Ac={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},kc="HTML",I2={bracketSameLine:Ac.bracketSameLine,htmlWhitespaceSensitivity:{category:kc,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:Ac.singleAttributePerLine,vueIndentScriptAndStyle:{category:kc,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},T2=I2,_c={},hc(_c,{angular:c(()=>o5,"angular"),html:c(()=>a5,"html"),lwc:c(()=>l5,"lwc"),vue:c(()=>i5,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(R2||(R2={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(B2||(B2={})),Fc={name:"custom-elements"},Ic={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(en||(en={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(z2||(z2={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(ht||(ht={})),c($o,"at"),c(oc,"yr"),c(ic,"wr"),c(vo,"Ue"),c(Ya,"We"),c(lc,"br"),c(yo,"Nt"),L2=(Tc=class{},c(Tc,"Rt"),Tc),O2="boolean",$2="number",M2="string",P2="object",N2=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],Rc=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),H2=Array.from(Rc).reduce((e,[t,r])=>(e.set(t,r),e),new Map),i6=(Bc=class extends L2{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,N2.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),o=a.split(","),[i,s]=n.split("^");i.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let u=s&&this._schema.get(s.toLowerCase());if(u){for(let[d,p]of u)t.set(d,p);for(let d of this._eventSchema.get(s.toLowerCase()))r.add(d)}o.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),O2);break;case"#":t.set(d.substring(1),$2);break;case"%":t.set(d.substring(1),P2);break;default:t.set(d,M2)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===Ic.name))return!0;if(e.indexOf("-")>-1){if(oc(e)||ic(e))return!1;if(r.some(n=>n.name===Fc.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===Ic.name)||e.indexOf("-")>-1&&(oc(e)||ic(e)||t.some(r=>r.name===Fc.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=lc()[e+"|"+t];return n||(n=lc()["*|"+t],n||en.NONE)}getMappedPropName(e){return Rc.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... +If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>H2.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Fg(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(jg(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let i=r.match(/^[+-]?[\d\.]+([a-z]*)$/);i&&i[1].length==0&&(o=`Please provide a CSS unit value for ${t}:${r}`)}return{error:o,value:a+n}}},c(Bc,"$t"),Bc),c(jg,"Oa"),W=(zc=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=ht.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:i=!1,canSelfClose:s=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(u=>this.closedByChildren[u]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=i,this.canSelfClose=s??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},c(zc,"h"),zc),c(Vl,"ze"),Tn=(Lc=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},c(Lc,"be"),Lc),V2=(Oc=class extends Tn{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},c(Oc,"Ot"),Oc),U2=($c=class extends Tn{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},c($c,"Mt"),$c),q2=(Mc=class extends Tn{constructor(e,t,r,n,a,o){super(n,o),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},c(Mc,"qt"),Mc),W2=(Pc=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},c(Pc,"Ht"),Pc),G2=(Nc=class extends Tn{constructor(e,t,r,n,a,o,i){super(r,i),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=o,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},c(Nc,"Vt"),Nc),rr=(Hc=class extends Tn{constructor(e,t,r,n,a,o=null,i=null,s){super(n,s),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=a,this.endSourceSpan=o,this.nameSpan=i,this.type="element"}visit(e,t){return e.visitElement(this,t)}},c(Hc,"G"),Hc),K2=(jc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},c(jc,"Ut"),jc),Y2=(Vc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},c(Vc,"Wt"),Vc),Wr=(Uc=class{constructor(e,t,r,n,a,o=null){this.name=e,this.parameters=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=a,this.endSourceSpan=o,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},c(Uc,"Z"),Uc),Wc=(qc=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},c(qc,"ut"),qc),c(Ed,"zt"),l6=(Gc=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitChildren(e,t){let r=[],n=this;function a(o){o&&r.push(Ed(n,o,e))}return c(a,"i"),t(a),Array.prototype.concat.apply([],r)}},c(Gc,"lt"),Gc),Io={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` +`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},J2="",Io.ngsp=J2,s6=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],c(Vg,"ws"),Z2=(Pi=class{static fromArray(e){return e?(Vg("interpolation",e),new Pi(e[0],e[1])):Kc}constructor(e,t){this.start=e,this.end=t}},c(Pi,"t"),Pi),Kc=new Z2("{{","}}"),Ni=(Yc=class extends Sc{constructor(e,t,r){super(r,e),this.tokenType=t}},c(Yc,"pt"),Yc),u6=(Jc=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},c(Jc,"Pr"),Jc),c(Ug,"Ms"),X2=/\r\n?/g,c(qr,"Ye"),c(sc,"Ls"),c(qg,"oo"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Hi||(Hi={})),ji=(Zc=class{constructor(e){this.error=e}},c(Zc,"ht"),Zc),c6=(Xc=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Kc,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new Q2(e,n):new Qc(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(X2,` +`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(30),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>Hl(r)?!e:cc(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(ye),this._attemptCharCode(41))this._attemptCharCodeUntilFn(ye);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(dc);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&ac(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(dc)}}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Yg(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new Ni("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new Ni("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new Ni(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new ji(r)}handleError(e){if(e instanceof Vi&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof ji)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return Jg(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(qr(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!Wg(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(uc,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!jl(this._cursor.peek()))throw this._createError(qr(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(ye);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[i,s]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(ye),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(ye);let u=this._consumeAttributeValue();a.push({prefix:i,name:s,value:u})}else a.push({prefix:i,name:s});this._attemptCharCodeUntilFn(ye)}this._consumeTagOpenEnd()}catch(i){if(i instanceof ji){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw i}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let o=this._getTagContentType(t,r,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(r,t),o===ht.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):o===ht.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(ye),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(ye),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(qr(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=c(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=c(()=>uc(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(ye),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(ye),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(ye),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(ye),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(ye)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(ye),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(ye),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(ye),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let i=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(a.join(""))],i),a.length=0,this._consumeInterpolation(t,i,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let o=this._processCarriageReturns(a.join(""));return this._endToken([o]),o}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let a=this._cursor.clone(),o=null,i=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let s=this._cursor.clone();if(this._isTagStart()){this._cursor=s,n.push(this._getProcessedChars(a,s)),this._endToken(n);return}if(o===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(a,s)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(i=!0);let u=this._cursor.peek();this._cursor.advance(),u===92?this._cursor.advance():u===o?o=null:!i&&o===null&&ac(u)&&(o=u)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),cc(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=Ya(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Ya(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},c(Xc,"Nr"),Xc),c(ye,"k"),c(uc,"Fs"),c(Wg,"uo"),c(Gg,"lo"),c(Kg,"co"),c(Yg,"po"),c(Jg,"ho"),c(xd,"Ps"),c(cc,"Ns"),c(dc,"Is"),c(xw,"fo"),Qc=(Xa=class{constructor(e,t){if(e instanceof Xa){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new Xa(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),a=this.locationFromCursor(this),o=r!==e?this.locationFromCursor(r):n;return new Z(n,a,o)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Vi('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):rc(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Yl(e.file,e.state.offset,e.state.line,e.state.column)}},c(Xa,"t"),Xa),Q2=(Qa=class extends Qc{constructor(e,t){e instanceof Qa?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Qa(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(nc(e())){let t="",r=0,n=this.clone();for(;nc(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else rc(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new Vi("Invalid hexadecimal escape sequence",e);return n}},c(Qa,"t"),Qa),Vi=(e0=class{constructor(e,t){this.msg=e,this.cursor=t}},c(e0,"ft"),e0),We=(Ui=class extends Sc{static create(e,t,r){return new Ui(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},c(Ui,"t"),Ui),e5=(t0=class{constructor(e,t){this.rootNodes=e,this.errors=t}},c(t0,"Or"),t0),t5=(r0=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let o=c(f=>(v,...g)=>f(v.toLowerCase(),...g),"a"),i=n?this.getTagDefinition:o(this.getTagDefinition),s=c(f=>i(f).getContentType(),"u"),u=n?a:o(a),d=Ug(e,t,a?(f,v,g,b)=>{let C=u(f,v,g,b);return C!==void 0?C:s(f)}:s,r),p=r&&r.canSelfClose||!1,h=r&&r.allowHtmComponentClosingTags||!1,m=new r5(d.tokens,i,p,h,n);return m.build(),new e5(m.rootNodes,d.errors.concat(m.errors))}},c(r0,"Qt"),r0),r5=(qi=class{constructor(e,t,r,n,a){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==30;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._advance();for(let e of this._containerStack)e instanceof Wr&&this.errors.push(We.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(a.errors),null;let o=new Z(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),i=new Z(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new W2(e.parts[0],a.rootNodes,o,e.sourceSpan,i)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(pc(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(We.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(pc(r,20))r.pop();else return this.errors.push(We.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===30)return this.errors.push(We.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` +`){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` +`){let a=this._getContainer();a!=null&&a.children.length===0&&this.getTagDefinition(a.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,fc):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new V2(n,new Z(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof rr&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let a=this._getElementFullName(t,r,this._getClosestParentElement()),o=!1;if(this._peek.type===2){this._advance(),o=!0;let m=this.getTagDefinition(a);this.canSelfClose||m.canSelfClose||vo(a)!==null||m.isVoid||this.errors.push(We.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),o=!1);let i=this._peek.sourceSpan.fullStart,s=new Z(e.sourceSpan.start,i,e.sourceSpan.fullStart),u=new Z(e.sourceSpan.start,i,e.sourceSpan.fullStart),d=new Z(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),p=new rr(a,n,[],s,u,void 0,d),h=this._getContainer();this._pushContainer(p,h instanceof rr&&this.getTagDefinition(h.name).isClosedByChild(p.name)),o?this._popContainer(a,rr,s):e.type===4&&(this._popContainer(a,rr,null),this.errors.push(We.create(a,s,`Opening tag "${a}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(We.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,rr,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(We.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let a=this._containerStack.length-1;a>=0;a--){let o=this._containerStack[a];if(vo(o.name)?o.name===e:(e==null||o.name.toLowerCase()===e.toLowerCase())&&o instanceof t)return o.endSourceSpan=r,o.sourceSpan.end=r!==null?r.end:o.sourceSpan.end,this._containerStack.splice(a,this._containerStack.length-a),!n;(o instanceof Wr||o instanceof rr&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=Ya(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let a="",o=[],i,s;if(this._peek.type===16)for(i=this._peek.sourceSpan,s=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();o.push(d),d.type===17?a+=d.parts.join("").replace(/&([^;]+);/g,fc):d.type===9?a+=d.parts[0]:a+=d.parts.join(""),s=r=d.sourceSpan.end}this._peek.type===15&&(s=r=this._advance().sourceSpan.end);let u=i&&s&&new Z((n==null?void 0:n.sourceSpan.start)??i.start,s,(n==null?void 0:n.sourceSpan.fullStart)??i.fullStart);return new G2(t,a,new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,u,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new Wc(i.parts[0],i.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Wr(e.parts[0],t,[],n,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,Wr,e.sourceSpan)||this.errors.push(We.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new Wc(i.parts[0],i.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Wr(e.parts[0],t,[],n,a);this._pushContainer(o,!1),this._popContainer(null,Wr,null),this.errors.push(We.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof rr)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=$o(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=vo(r.name))}return Ya(e,t)}},c(qi,"t"),qi),c(pc,"qs"),c(fc,"Hs"),n5=(n0=class extends t5{constructor(){super(Vl)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},c(n0,"Xt"),n0),Wi=null,d6=c(()=>(Wi||(Wi=new n5),Wi),"mo"),c(Cd,"Hr"),c(Zg,"go"),p6=Zg,f6=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s"),c(Xg,"So"),h6=Xg,eo={attrs:!0,children:!0,cases:!0,expression:!0},a0=new Set(["parent"]),m6=(Gr=class{constructor(e={}){for(let t of new Set([...a0,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in eo&&(t=t.map(r=>this.createChild(r))),!a0.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in eo){let n=this[r];if(n){let a=Qg(n,o=>o.map(e));t!==n&&(t||(t=new Gr({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let r in this)r in eo||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in eo){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},c(Gr,"t"),Gr),c(Qg,"_o"),g6=[{regex:/^(\[if([^\]]*)]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),l5=Ja({name:"lwc",canSelfClose:!1}),s5={html:_2},y6=gc});function b6(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"}function Js(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}function yf(e,t){let r;switch(t){case` +`:r=/\n/g;break;case"\r":r=/\r/g;break;case`\r +`:r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function w6(e){return gi(!1,e,/\r\n?/g,` +`)}function u5(e){if(typeof e=="string")return Or;if(Array.isArray(e))return dr;if(!e)return;let{type:t}=e;if(If.has(t))return t}function c5(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if($r(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=s8([...If].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function d5(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===Jd){r(a.pop());continue}r&&a.push(o,Jd);let i=$r(o);if(!i)throw new pn(o);if((t==null?void 0:t(o))!==!1)switch(i){case dr:case Je:{let s=i===dr?o:o.parts;for(let u=s.length,d=u-1;d>=0;--d)a.push(s[d]);break}case He:a.push(o.flatContents,o.breakContents);break;case $e:if(n&&o.expandedStates)for(let s=o.expandedStates.length,u=s-1;u>=0;--u)a.push(o.expandedStates[u]);else a.push(o.contents);break;case Kt:case Gt:case Yt:case bt:case Jt:a.push(o.contents);break;case Or:case kr:case Vt:case Ut:case we:case Ze:break;default:throw new pn(o)}}}function Vo(e){return wt(e),{type:Gt,contents:e}}function dn(e,t){return wt(t),{type:Kt,contents:t,n:e}}function Fd(e,t={}){return wt(e),Qs(t.expandedStates,!0),{type:$e,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function p5(e){return dn(Number.NEGATIVE_INFINITY,e)}function f5(e){return dn({type:"root"},e)}function h5(e){return dn(-1,e)}function m5(e,t){return Fd(e[0],{...t,expandedStates:e})}function Id(e){return Qs(e),{type:Je,parts:e}}function g5(e,t="",r={}){return wt(e),t!==""&&wt(t),{type:He,breakContents:e,flatContents:t,groupId:r.groupId}}function v5(e,t){return wt(e),{type:Yt,contents:e,groupId:t.groupId,negate:t.negate}}function Jl(e){return wt(e),{type:Jt,contents:e}}function Td(e,t){wt(e),Qs(t);let r=[];for(let n=0;n0){for(let a=0;a0?`, { ${p.join(", ")} }`:"";return`indentIfBreak(${n(o.contents)}${h})`}if(o.type===$e){let p=[];o.break&&o.break!=="propagated"&&p.push("shouldBreak: true"),o.id&&p.push(`id: ${a(o.id)}`);let h=p.length>0?`, { ${p.join(", ")} }`:"";return o.expandedStates?`conditionalGroup([${o.expandedStates.map(m=>n(m)).join(",")}]${h})`:`group(${n(o.contents)}${h})`}if(o.type===Je)return`fill([${o.parts.map(p=>n(p)).join(", ")}])`;if(o.type===Jt)return"lineSuffix("+n(o.contents)+")";if(o.type===Ut)return"lineSuffixBoundary";if(o.type===bt)return`label(${JSON.stringify(o.label)}, ${n(o.contents)})`;throw new Error("Unknown doc type "+o.type)}function a(o){if(typeof o!="symbol")return JSON.stringify(String(o));if(o in t)return t[o];let i=o.description||"symbol";for(let s=0;;s++){let u=i+(s>0?` #${s}`:"");if(!r.has(u))return r.add(u),t[o]=`Symbol.for(${JSON.stringify(u)})`}}}function b5(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function w5(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function E5(e){if(!e)return 0;if(!d8.test(e))return e.length;e=e.replace(u8()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=c8(n)?1:2)}return t}function Uo(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(o){if(r.has(o))return r.get(o);let i=a(o);return r.set(o,i),i}function a(o){switch($r(o)){case dr:return t(o.map(n));case Je:return t({...o,parts:o.parts.map(n)});case He:return t({...o,breakContents:n(o.breakContents),flatContents:n(o.flatContents)});case $e:{let{expandedStates:i,contents:s}=o;return i?(i=i.map(n),s=i[0]):s=n(s),t({...o,contents:s,expandedStates:i})}case Kt:case Gt:case Yt:case bt:case Jt:return t({...o,contents:n(o.contents)});case Or:case kr:case Vt:case Ut:case we:case Ze:return t(o);default:throw new pn(o)}}}function Zl(e,t,r){let n=r,a=!1;function o(i){if(a)return!1;let s=t(i);s!==void 0&&(a=!0,n=s)}return c(o,"u"),ts(e,o),n}function x6(e){if(e.type===$e&&e.break||e.type===we&&e.hard||e.type===Ze)return!0}function x5(e){return Zl(e,x6,!1)}function Bd(e){if(e.length>0){let t=me(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function C6(e){let t=new Set,r=[];function n(o){if(o.type===Ze&&Bd(r),o.type===$e){if(r.push(o),t.has(o))return!1;t.add(o)}}c(n,"n");function a(o){o.type===$e&&r.pop().break&&Bd(r)}c(a,"o"),ts(e,n,a,!0)}function D6(e){return e.type===we&&!e.hard?e.soft?"":" ":e.type===He?e.flatContents:e}function C5(e){return Uo(e,D6)}function zd(e){for(e=[...e];e.length>=2&&me(!1,e,-2).type===we&&me(!1,e,-1).type===Ze;)e.length-=2;if(e.length>0){let t=Jn(me(!1,e,-1));e[e.length-1]=t}return e}function Jn(e){switch($r(e)){case Kt:case Gt:case Yt:case $e:case Jt:case bt:{let t=Jn(e.contents);return{...e,contents:t}}case He:return{...e,breakContents:Jn(e.breakContents),flatContents:Jn(e.flatContents)};case Je:return{...e,parts:zd(e.parts)};case dr:return zd(e);case Or:return e.replace(/[\n\r]*$/,"");case kr:case Vt:case Ut:case we:case Ze:break;default:throw new pn(e)}return e}function Ld(e){return Jn(A6(e))}function S6(e){switch($r(e)){case Je:if(e.parts.every(t=>t===""))return"";break;case $e:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===$e&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Kt:case Gt:case Yt:case Jt:if(!e.contents)return"";break;case He:if(!e.flatContents&&!e.breakContents)return"";break;case dr:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof me(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case Or:case kr:case Vt:case Ut:case we:case bt:case Ze:break;default:throw new pn(e)}return e}function A6(e){return Uo(e,t=>S6(t))}function D5(e,t=Xd){return Uo(e,r=>typeof r=="string"?Td(t,r.split(` +`)):r)}function k6(e){if(e.type===we)return!0}function S5(e){return Zl(e,k6,!1)}function bf(e,t){return e.type===bt?{...e,contents:t(e.contents)}:t(e)}function wf(){return{value:"",length:0,queue:[]}}function _6(e,t){return Xl(e,{type:"indent"},t)}function F6(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||wf():t<0?Xl(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Xl(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Xl(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],a="",o=0,i=0,s=0;for(let v of n)switch(v.type){case"indent":p(),r.useTabs?u(1):d(r.tabWidth);break;case"stringAlign":p(),a+=v.n,o+=v.n.length;break;case"numberAlign":i+=1,s+=v.n;break;default:throw new Error(`Unexpected type '${v.type}'`)}return m(),{...e,value:a,length:o,queue:n};function u(v){a+=" ".repeat(v),o+=r.tabWidth*v}function d(v){a+=" ".repeat(v),o+=v}function p(){r.useTabs?h():m()}function h(){i>0&&u(i),f()}function m(){s>0&&d(s),f()}function f(){i=0,s=0}}function Ql(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===Zn){r++;continue}for(let o=a.length-1;o>=0;o--){let i=a[o];if(i===" "||i===" ")t++;else{e[n]=a.slice(0,o+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(Zn);return t}function wo(e,t,r,n,a,o){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,s=[e],u=[];for(;r>=0;){if(s.length===0){if(i===0)return!0;s.push(t[--i]);continue}let{mode:d,doc:p}=s.pop();switch($r(p)){case Or:u.push(p),r-=ns(p);break;case dr:case Je:{let h=p8(p);for(let m=h.length-1;m>=0;m--)s.push({mode:d,doc:h[m]});break}case Gt:case Kt:case Yt:case bt:s.push({mode:d,doc:p.contents});break;case Vt:r+=Ql(u);break;case $e:{if(o&&p.break)return!1;let h=p.break?Be:d,m=p.expandedStates&&h===Be?me(!1,p.expandedStates,-1):p.contents;s.push({mode:h,doc:m});break}case He:{let h=(p.groupId?a[p.groupId]||dt:d)===Be?p.breakContents:p.flatContents;h&&s.push({mode:d,doc:h});break}case we:if(d===Be||p.hard)return!0;p.soft||(u.push(" "),r--);break;case Jt:n=!0;break;case Ut:if(n)return!1;break}}return!1}function qo(e,t){let r={},n=t.printWidth,a=Js(t.endOfLine),o=0,i=[{ind:wf(),mode:Be,doc:e}],s=[],u=!1,d=[],p=0;for(C6(e);i.length>0;){let{ind:m,mode:f,doc:v}=i.pop();switch($r(v)){case Or:{let g=a!==` +`?gi(!1,v,` +`,a):v;s.push(g),i.length>0&&(o+=ns(g));break}case dr:for(let g=v.length-1;g>=0;g--)i.push({ind:m,mode:f,doc:v[g]});break;case kr:if(p>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Zn),p++;break;case Gt:i.push({ind:_6(m,t),mode:f,doc:v.contents});break;case Kt:i.push({ind:F6(m,v.n,t),mode:f,doc:v.contents});break;case Vt:o-=Ql(s);break;case $e:switch(f){case dt:if(!u){i.push({ind:m,mode:v.break?Be:dt,doc:v.contents});break}case Be:{u=!1;let g={ind:m,mode:dt,doc:v.contents},b=n-o,C=d.length>0;if(!v.break&&wo(g,i,b,C,r))i.push(g);else if(v.expandedStates){let w=me(!1,v.expandedStates,-1);if(v.break){i.push({ind:m,mode:Be,doc:w});break}else for(let x=1;x=v.expandedStates.length){i.push({ind:m,mode:Be,doc:w});break}else{let E=v.expandedStates[x],D={ind:m,mode:dt,doc:E};if(wo(D,i,b,C,r)){i.push(D);break}}}else i.push({ind:m,mode:Be,doc:v.contents});break}}v.id&&(r[v.id]=me(!1,i,-1).mode);break;case Je:{let g=n-o,{parts:b}=v;if(b.length===0)break;let[C,w]=b,x={ind:m,mode:dt,doc:C},E={ind:m,mode:Be,doc:C},D=wo(x,[],g,d.length>0,r,!0);if(b.length===1){D?i.push(x):i.push(E);break}let S={ind:m,mode:dt,doc:w},A={ind:m,mode:Be,doc:w};if(b.length===2){D?i.push(S,x):i.push(A,E);break}b.splice(0,2);let k={ind:m,mode:f,doc:Id(b)},F=b[0];wo({ind:m,mode:dt,doc:[C,w,F]},[],g,d.length>0,r,!0)?i.push(k,S,x):D?i.push(k,A,x):i.push(k,A,E);break}case He:case Yt:{let g=v.groupId?r[v.groupId]:f;if(g===Be){let b=v.type===He?v.breakContents:v.negate?v.contents:Vo(v.contents);b&&i.push({ind:m,mode:f,doc:b})}if(g===dt){let b=v.type===He?v.flatContents:v.negate?Vo(v.contents):v.contents;b&&i.push({ind:m,mode:f,doc:b})}break}case Jt:d.push({ind:m,mode:f,doc:v.contents});break;case Ut:d.length>0&&i.push({ind:m,mode:f,doc:ml});break;case we:switch(f){case dt:if(v.hard)u=!0;else{v.soft||(s.push(" "),o+=1);break}case Be:if(d.length>0){i.push({ind:m,mode:f,doc:v},...d.reverse()),d.length=0;break}v.literal?m.root?(s.push(a,m.root.value),o=m.root.length):(s.push(a),o=0):(o-=Ql(s),s.push(a+m.value),o=m.length);break}break;case bt:i.push({ind:m,mode:f,doc:v.contents});break;case Ze:break;default:throw new pn(v)}i.length===0&&d.length>0&&(i.push(...d.reverse()),d.length=0)}let h=s.indexOf(Zn);if(h!==-1){let m=s.indexOf(Zn,h+1),f=s.slice(0,h).join(""),v=s.slice(h+1,m).join(""),g=s.slice(m+1).join("");return{formatted:f+v+g,cursorNodeStart:f.length,cursorNodeText:v}}return{formatted:s.join("")}}function A5(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=c(o=>h8(o)&&n(o),"o");for(let o of r(e)){let i=e[o];if(Array.isArray(i))for(let s of i)a(s)&&(yield s);else a(i)&&(yield i)}}function*I6(e,t){let r=[e];for(let n=0;n{let a=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:o}=t,i=r;for(;i>=0&&i0}function T5(e){return e?t=>e(t,t1):g8}function T6(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function Zs(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=T6(e)}function tn(e,t){t.leading=!0,t.trailing=!1,Zs(e,t)}function To(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Zs(e,t)}function rn(e,t){t.leading=!1,t.trailing=!0,Zs(e,t)}function Xs(e,t){if(gl.has(e))return gl.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:a},locStart:o,locEnd:i}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...Ef(e,{getVisitorKeys:yi(a)})]).flatMap(u=>n(u)?[u]:Xs(u,t));return s.sort((u,d)=>o(u)-o(d)||i(u)-i(d)),gl.set(e,s),s}function xf(e,t,r,n){let{locStart:a,locEnd:o}=r,i=a(t),s=o(t),u=Xs(e,r),d,p,h=0,m=u.length;for(;h>1,v=u[f],g=a(v),b=o(v);if(g<=i&&s<=b)return xf(v,t,r,v);if(b<=i){d=v,h=f+1;continue}if(s<=g){p=v,m=f;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:f}=n,v=pl(f,t,r);d&&pl(f,d,r)!==v&&(d=null),p&&pl(f,p,r)!==v&&(p=null)}return{enclosingNode:n,precedingNode:d,followingNode:p}}function R6(e,t){let{comments:r}=e;if(delete e.comments,!m8(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:s={}},originalText:u}=t,{ownLine:d=vl,endOfLine:p=vl,remaining:h=vl}=s,m=r.map((f,v)=>({...xf(e,f,t),comment:f,text:u,options:t,ast:e,isLastComment:r.length-1===v}));for(let[f,v]of m.entries()){let{comment:g,precedingNode:b,enclosingNode:C,followingNode:w,text:x,options:E,ast:D,isLastComment:S}=v;if(E.parser==="json"||E.parser==="json5"||E.parser==="jsonc"||E.parser==="__js_expression"||E.parser==="__ts_expression"||E.parser==="__vue_expression"||E.parser==="__vue_ts_expression"){if(a(g)-a(D)<=0){tn(D,g);continue}if(o(g)-o(D)>=0){rn(D,g);continue}}let A;if(i?A=[v]:(g.enclosingNode=C,g.precedingNode=b,g.followingNode=w,A=[g,x,E,D,S]),B6(x,E,m,f))g.placement="ownLine",d(...A)||(w?tn(w,g):b?rn(b,g):To(C||D,g));else if(z6(x,E,m,f))g.placement="endOfLine",p(...A)||(b?rn(b,g):w?tn(w,g):To(C||D,g));else if(g.placement="remaining",!h(...A))if(b&&w){let k=n.length;k>0&&n[k-1].followingNode!==w&&Od(n,E),n.push(v)}else b?rn(b,g):w?tn(w,g):To(C||D,g)}if(Od(n,t),!i)for(let f of r)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode}function B6(e,t,r,n){let{comment:a,precedingNode:o}=r[n],{locStart:i,locEnd:s}=t,u=i(a);if(o)for(let d=n-1;d>=0;d--){let{comment:p,precedingNode:h}=r[d];if(h!==o||!Tf(e.slice(s(p),u)))break;u=i(p)}return ur(e,u,{backwards:!0})}function z6(e,t,r,n){let{comment:a,followingNode:o}=r[n],{locStart:i,locEnd:s}=t,u=s(a);if(o)for(let d=n+1;d0;--u){let{comment:d,precedingNode:p,followingNode:h}=e[u-1];os.strictEqual(p,o),os.strictEqual(h,i);let m=t.originalText.slice(t.locEnd(d),s);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,m,t))??/^[\s(]*$/.test(m))s=t.locStart(d);else break}for(let[d,{comment:p}]of e.entries())d1&&d.comments.sort((p,h)=>t.locStart(p)-t.locStart(h));e.length=0}function pl(e,t,r){let n=r.locStart(t)-1;for(let a=1;a!n.has(s)).length===0)return{leading:"",trailing:""};let a=[],o=[],i;return e.each(()=>{let s=e.node;if(n!=null&&n.has(s))return;let{leading:u,trailing:d}=s;u?a.push(L6(e,t)):d&&(i=O6(e,t,i),o.push(i.doc))},"comments"),{leading:a,trailing:o}}function M6(e,t,r){let{leading:n,trailing:a}=$6(e,r);return!n&&!a?t:bf(t,o=>[n,o,a])}function P6(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function B5(e){return()=>{}}function $d({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of H6(Object.assign({},...e.map(({options:o})=>o),y8)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,...N6(a.choices,r,e)])),a.pluginDefaults=Object.fromEntries(e.filter(o=>{var i;return((i=o.defaultOptions)==null?void 0:i[a.name])!==void 0}).map(o=>[o.name,o.defaultOptions[a.name]])),n.push(a));return{languages:r,options:n}}function*N6(e,t,r){let n=new Set(e.map(a=>a.value));for(let a of t)if(a.parsers){for(let o of a.parsers)if(!n.has(o)){n.add(o);let i=r.find(u=>u.parsers&&Object.prototype.hasOwnProperty.call(u.parsers,o)),s=a.name;i!=null&&i.name&&(s+=` (plugin: ${i.name})`),yield{value:o,description:s}}}}function H6(e){let t=[];for(let[r,n]of Object.entries(e)){let a={name:r,...n};Array.isArray(a.default)&&(a.default=me(!1,a.default,-1).value),t.push(a)}return t}function Md(e,t){if(!t)return;let r=b8(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function j6(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function z5(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=j6(r,t.language)??Md(r,t.physicalFile)??Md(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function o0(e,t,r,n){return[`Invalid ${nn.default.red(n.key(e))} value.`,`Expected ${nn.default.blue(r)},`,`but received ${t===n1?nn.default.gray("nothing"):nn.default.red(n.value(t))}.`].join(" ")}function Pd({text:e,list:t},r){let n=[];return e&&n.push(`- ${nn.default.blue(e)}`),t&&n.push([`- ${nn.default.blue(t.title)}:`].concat(t.values.map(a=>Pd(a,r-a1.length).replace(/^|\n/g,`$&${a1}`))).join(` +`)),Nd(n,r)}function Nd(e,t){if(e.length===1)return e[0];let[r,n]=e,[a,o]=e.map(i=>i.split(` +`,1)[0].length);return a>t&&a>o?n:r}function L5(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,a=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-a);)n--,a--;let o=0;for(;os?d>s?s+1:d:d>u?u+1:d;return s}function O5(e,t){let r=new e(t),n=Object.create(r);for(let a of E8)a in t&&(n[a]=V6(t[a],r,or.prototype[a].length));return n}function V6(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function i0({from:e,to:t}){return{from:[e],to:t}}function $5(e,t){let r=Object.create(null);for(let n of e){let a=n[t];if(r[a])throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r[a]=n}return r}function M5(e,t){let r=new Map;for(let n of e){let a=n[t];if(r.has(a))throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r.set(a,n)}return r}function P5(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function N5(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function H5(e){return e===Math.floor(e)}function j5(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,a=["undefined","object","boolean","number","string"];return r!==n?a.indexOf(r)-a.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function V5(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function l0(e){return e===void 0?{}:e}function Hd(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return U6((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(Hd)}}:{text:t}}function s0(e,t){return e===!0?!0:e===!1?{value:t}:e}function u0(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function jd(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function fl(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>jd(r,t)):[jd(e,t)]}function c0(e,t){let r=fl(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function U6(e,t){if(!e)throw new Error(t)}function U5(e,t,{logger:r=!1,isCLI:n=!1,passThrough:a=!1,FlagSchema:o,descriptor:i}={}){if(n){if(!o)throw new Error("'FlagSchema' option is required.");if(!i)throw new Error("'descriptor' option is required.")}else i=Kr;let s=a?Array.isArray(a)?(m,f)=>a.includes(m)?{[m]:f}:void 0:(m,f)=>({[m]:f}):(m,f,v)=>{let{_:g,...b}=v.schemas;return i1(m,f,{...v,schemas:b})},u=q6(t,{isCLI:n,FlagSchema:o}),d=new _8(u,{logger:r,unknown:s,descriptor:i}),p=r!==!1;p&&L0&&(d._hasDeprecationWarned=L0);let h=d.normalize(e);return p&&(L0=d._hasDeprecationWarned),h}function q6(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(C8.create({name:"_"}));for(let a of e)n.push(W6(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(x8.create({name:a.alias,sourceName:a.name}));return n}function W6(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},i,s={};switch(e.type){case"int":i=k8,t&&(o.preprocess=Number);break;case"string":i=l1;break;case"choice":i=A8,o.choices=e.choices.map(u=>u!=null&&u.redirect?{...u,redirect:{to:{key:e.name,value:u.redirect}}}:u);break;case"boolean":i=S8;break;case"flag":i=n,o.flags=r.flatMap(u=>[u.alias,u.description&&u.name,u.oppositeDescription&&`no-${u.name}`].filter(Boolean));break;case"path":i=l1;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?o.validate=(u,d,p)=>e.exception(u)||d.validate(u,p):o.validate=(u,d,p)=>u===void 0||d.validate(u,p),e.redirect&&(s.redirect=u=>u?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let u=o.preprocess||(d=>d);o.preprocess=(d,p,h)=>p.preprocess(u(Array.isArray(d)?me(!1,d,-1):d),h)}return e.array?D8.create({...t?{preprocess:c(u=>Array.isArray(u)?u:[u],"preprocess")}:{},...s,valueSchema:i.create(o)}):i.create({...o,...s})}function Df(e,t){if(!t)throw new Error("parserName is required.");let r=Bf(!1,e,a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new Rf(n)}function G6(e,t){if(!t)throw new Error("astFormat is required.");let r=Bf(!1,e,a=>a.printers&&Object.prototype.hasOwnProperty.call(a.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new Rf(n)}function Sf({plugins:e,parser:t}){let r=Df(e,t);return Af(r,t)}function Af(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function K6(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function q5(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=w8(n,{physicalFile:n.filepath}),!n.parser)throw new r1(`No parser could be inferred for file "${n.filepath}".`)}else throw new r1("No parser and no file path given, couldn't infer a parser.");let a=$d({plugins:e.plugins,showDeprecated:!0}).options,o={...s1,...Object.fromEntries(a.filter(m=>m.default!==void 0).map(m=>[m.name,m.default]))},i=Df(n.plugins,n.parser),s=await Af(i,n.parser);n.astFormat=s.astFormat,n.locEnd=s.locEnd,n.locStart=s.locStart;let u=(r=i.printers)!=null&&r[s.astFormat]?i:G6(n.plugins,s.astFormat),d=await K6(u,s.astFormat);n.printer=d;let p=u.defaultOptions?Object.fromEntries(Object.entries(u.defaultOptions).filter(([,m])=>m!==void 0)):{},h={...o,...p};for(let[m,f]of Object.entries(h))(n[m]===null||n[m]===void 0)&&(n[m]=f);return n.parser==="json"&&(n.trailingComma="none"),F8(n,a,{passThrough:Object.keys(s1),...t})}async function W5(e,t){let r=await Sf(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){Y6(o,e)}return{text:n,ast:a}}function Y6(e,t){let{loc:r}=e;if(r){let n=(0,I8.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}async function J6(e,t,r,n,a){let{embeddedLanguageFormatting:o,printer:{embed:i,hasPrettierIgnore:s=c(()=>!1,"s"),getVisitorKeys:u}}=r;if(!i||o!=="auto")return;if(i.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=yi(i.getVisitorKeys??u),p=[];f();let h=e.stack;for(let{print:v,node:g,pathStack:b}of p)try{e.stack=b;let C=await v(m,t,e,r);C&&a.set(g,C)}catch(C){if(globalThis.PRETTIER_DEBUG)throw C}e.stack=h;function m(v,g){return Z6(v,g,r,n)}c(m,"f");function f(){let{node:v}=e;if(v===null||typeof v!="object"||s(e))return;for(let b of d(v))Array.isArray(v[b])?e.each(f,b):e.call(f,b);let g=i(e,r);if(g){if(typeof g=="function"){p.push({print:g,node:v,pathStack:[...e.stack]});return}a.set(v,g)}}c(f,"p")}async function Z6(e,t,r,n){let a=await wn({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await Ra(e,a),i=await n(o,a);return Ld(i)}function G5(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:a,locEnd:o,[Symbol.for("printedComments")]:i}=t,{node:s}=e,u=a(s),d=o(s);for(let p of n)a(p)>=u&&o(p)<=d&&i.add(p);return r.slice(u,d)}async function mi(e,t){({ast:e}=await kf(e,t));let r=new Map,n=new f8(e),a=v8(t),o=new Map;await J6(n,s,t,mi,o);let i=await Vd(n,t,s,void 0,o);return P6(t),i;function s(d,p){return d===void 0||d===n?u(p):Array.isArray(d)?n.call(()=>u(p),...d):n.call(()=>u(p),d)}function u(d){a(n);let p=n.node;if(p==null)return"";let h=p&&typeof p=="object"&&d===void 0;if(h&&r.has(p))return r.get(p);let m=Vd(n,t,s,d,o);return h&&r.set(p,m),m}}function Vd(e,t,r,n,a){var o;let{node:i}=e,{printer:s}=t,u;return(o=s.hasPrettierIgnore)!=null&&o.call(s,e)?u=T8(e,t):a.has(i)?u=a.get(i):u=s.print(e,t,r,n),i===t.cursorNode&&(u=bf(u,d=>[rs,d,rs])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(u=M6(e,u,t)),u}async function kf(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,R6(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function K5(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=yi(t.printer.getVisitorKeys),i=c(u=>n(u)<=r&&a(u)>=r,"i"),s=e;for(let u of I6(e,{getVisitorKeys:o,filter:i}))s=u;return s}function Y5(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let a=yi(n),o=r.ignoredProperties??new Set;return i(e);function i(s,u){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(m=>i(m,u)).filter(Boolean);let d={},p=new Set(a(s));for(let m in s)!Object.prototype.hasOwnProperty.call(s,m)||o.has(m)||(p.has(m)?d[m]=i(s[m],s):d[m]=s[m]);let h=r(s,d,u);if(h!==null)return h??d}}function X6(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>zf.has(a.type)&&n.has(a))}function Ud(e){let t=e.length-1;for(;;){let r=e[t];if((r==null?void 0:r.type)==="Program"||(r==null?void 0:r.type)==="File")t--;else break}return e.slice(0,t+1)}function Q6(e,t,{locStart:r,locEnd:n}){let a=e.node,o=t.node;if(a===o)return{startNode:a,endNode:o};let i=r(e.node);for(let u of Ud(t.parentNodes))if(r(u)>=i)o=u;else break;let s=n(t.node);for(let u of Ud(e.parentNodes)){if(n(u)<=s)a=u;else break;if(a===o)break}return{startNode:a,endNode:o}}function es(e,t,r,n,a=[],o){let{locStart:i,locEnd:s}=r,u=i(e),d=s(e);if(!(t>d||tn);let s=e.slice(n,a).search(/\S/),u=s===-1;if(!u)for(n+=s;a>n&&!/\S/.test(e[a-1]);--a);let d=es(r,n,t,(f,v)=>qd(t,f,v),[],"rangeStart"),p=u?d:es(r,a,t,f=>qd(t,f),[],"rangeEnd");if(!d||!p)return{rangeStart:0,rangeEnd:0};let h,m;if(z8(t)){let f=X6(d,p);h=f,m=f}else({startNode:h,endNode:m}=Q6(d,p,t));return{rangeStart:Math.min(o(h),o(m)),rangeEnd:Math.max(i(h),i(m))}}async function _f(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:a}=await Ra(e,t);t.cursorOffset>=0&&(t.cursorNode=R8(n,t));let o=await mi(n,t);r>0&&(o=Rd([_r,o],r,t.tabWidth));let i=qo(o,t);if(r>0){let u=i.formatted.trim();i.cursorNodeStart!==void 0&&(i.cursorNodeStart-=i.formatted.indexOf(u)),i.formatted=u+Js(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let u,d,p,h,m;if(t.cursorNode&&i.cursorNodeText?(u=t.locStart(t.cursorNode),d=a.slice(u,t.locEnd(t.cursorNode)),p=t.cursorOffset-u,h=i.cursorNodeStart,m=i.cursorNodeText):(u=0,d=a,p=t.cursorOffset,h=0,m=i.formatted),d===m)return{formatted:i.formatted,cursorOffset:h+p,comments:s};let f=d.split("");f.splice(p,0,u1);let v=m.split(""),g=(0,l8.diffArrays)(f,v),b=h;for(let C of g)if(C.removed){if(C.value.includes(u1))break}else b+=C.count;return{formatted:i.formatted,cursorOffset:b,comments:s}}return{formatted:i.formatted,cursorOffset:-1,comments:s}}async function r8(e,t){let{ast:r,text:n}=await Ra(e,t),{rangeStart:a,rangeEnd:o}=t8(n,t,r),i=n.slice(a,o),s=Math.min(a,n.lastIndexOf(` +`,a)+1),u=n.slice(s,a).match(/^\s*/)[0],d=as(u,t.tabWidth),p=await _f(i,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>a&&t.cursorOffset<=o?t.cursorOffset-a:-1,endOfLine:"lf"},d),h=p.formatted.trimEnd(),{cursorOffset:m}=t;m>o?m+=h.length-i.length:p.cursorOffset>=0&&(m=p.cursorOffset+a);let f=n.slice(0,a)+h+n.slice(o);if(t.endOfLine!=="lf"){let v=Js(t.endOfLine);m>=0&&v===`\r +`&&(m+=yf(f.slice(0,m),` +`)),f=gi(!1,f,` +`,v)}return{formatted:f,cursorOffset:m,comments:p.comments}}function hl(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Wd(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=hl(e,r,-1),n=hl(e,n,0),a=hl(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function Ff(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=Wd(e,t),i=e.charAt(0)===Lf;if(i&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=b6(e)),e.includes("\r")){let s=c(u=>yf(e.slice(0,Math.max(u,0)),`\r +`),"s");r-=s(r),n-=s(n),a-=s(a),e=w6(e)}return{hasBOM:i,text:e,options:Wd(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function Gd(e,t){let r=await Sf(t);return!r.hasPragma||r.hasPragma(e)}async function Kd(e,t){let{hasBOM:r,text:n,options:a}=Ff(e,await wn(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await Gd(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function J5(e,t,r){let{text:n,options:a}=Ff(e,await wn(t)),o=await Ra(n,a);return r&&(r.preprocessForPrint&&(o.ast=await kf(o.ast,a)),r.massage&&(o.ast=B8(o.ast,a))),o}async function Z5(e,t){t=await wn(t);let r=await mi(e,t);return qo(r,t)}async function X5(e,t){let r=E6(e),{formatted:n}=await Kd(r,{...t,parser:"__js_expression"});return n}async function Q5(e,t){t=await wn(t);let{ast:r}=await Ra(e,t);return mi(r,t)}async function ev(e,t){return qo(e,await wn(t))}function tv(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,a.length/t.length),0)}function lv(e,t){let r=tu(e,t);return r===!1?"":e.charAt(r)}function sv(e,t,r){for(let n=t;ni===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i));return t+a+t}function a8(e,t,r){return tu(e,r(t))}function dv(e,t){return arguments.length===2||typeof t=="number"?tu(e,t):a8(...arguments)}function o8(e,t,r){return eu(e,r(t))}function pv(e,t){return arguments.length===2||typeof t=="number"?eu(e,t):o8(...arguments)}function i8(e,t,r){return ss(e,r(t))}function fv(e,t){return arguments.length===2||typeof t=="number"?ss(e,t):i8(...arguments)}function br(e,t=1){return async(...r)=>{let n=r[t]??{},a=n.plugins??[];return r[t]={...n,plugins:Array.isArray(a)?a:Object.values(a)},e(...r)}}async function Yd(e,t){let{formatted:r}=await c1(e,{...t,cursorOffset:-1});return r}async function hv(e,t){return await Yd(e,t)===e}var mv,to,gv,vv,yv,bv,wv,ro,no,d0,Bn,Ev,xv,p0,zn,Cv,Dv,ao,f0,Sv,Av,kv,_v,h0,Fv,gi,l8,Or,dr,kr,Gt,Kt,Vt,$e,Je,He,Yt,Jt,Ut,we,bt,Ze,If,$r,s8,m0,Iv,pn,Jd,ts,g0,wt,Qs,Tv,Eo,Rv,ml,v0,Zd,Bv,_r,Xd,rs,zv,me,u8,c8,d8,ns,p8,Be,dt,Zn,as,Gi,y0,oo,Ki,b0,Lv,f8,w0,os,h8,Ov,pr,Qd,e1,zr,ur,m8,t1,g8,yi,gl,vl,Tf,eu,v8,E0,Rf,x0,r1,y8,b8,w8,Kr,C0,$v,nn,n1,io,a1,Mv,D0,yl,o1,i1,E8,S0,or,A0,x8,k0,C8,_0,D8,F0,S8,I0,A8,T0,Pv,R0,k8,B0,l1,Nv,Hv,jv,Vv,z0,_8,L0,F8,Uv,Bf,s1,wn,I8,Ra,T8,R8,B8,z8,zf,L8,Lf,u1,O0,qv,Wv,Gv,Kv,$0,is,ls,tu,ss,Yv,Jv,Zv,Xv,Qv,e4,c1,t4,r4,O8,Nk=B(()=>{mv=Object.create,to=Object.defineProperty,gv=Object.getOwnPropertyDescriptor,vv=Object.getOwnPropertyNames,yv=Object.getPrototypeOf,bv=Object.prototype.hasOwnProperty,wv=c((e,t)=>()=>(e&&(t=e(e=0)),t),"Eu"),ro=c((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"Me"),no=c((e,t)=>{for(var r in t)to(e,r,{get:t[r],enumerable:!0})},"We"),d0=c((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of vv(t))!bv.call(e,a)&&a!==r&&to(e,a,{get:c(()=>t[a],"get"),enumerable:!(n=gv(t,a))||n.enumerable});return e},"ur"),Bn=c((e,t,r)=>(r=e!=null?mv(yv(e)):{},d0(t||!e||!e.__esModule?to(r,"default",{value:e,enumerable:!0}):r,e)),"he"),Ev=c(e=>d0(to({},"__esModule",{value:!0}),e),"Cu"),xv=c((e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},"hu"),p0=c((e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},"ht"),zn=c((e,t,r)=>(xv(e,t,"access private method"),r),"ce"),Cv=ro(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){}c(t,"or"),t.prototype={diff:c(function(a,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.callback;typeof i=="function"&&(s=i,i={}),this.options=i;var u=this;function d(w){return s?(setTimeout(function(){s(void 0,w)},0),!0):w}c(d,"i"),a=this.castInput(a),o=this.castInput(o),a=this.removeEmpty(this.tokenize(a)),o=this.removeEmpty(this.tokenize(o));var p=o.length,h=a.length,m=1,f=p+h;i.maxEditLength&&(f=Math.min(f,i.maxEditLength));var v=[{newPos:-1,components:[]}],g=this.extractCommon(v[0],o,a,0);if(v[0].newPos+1>=p&&g+1>=h)return d([{value:this.join(o),count:o.length}]);function b(){for(var w=-1*m;w<=m;w+=2){var x=void 0,E=v[w-1],D=v[w+1],S=(D?D.newPos:0)-w;E&&(v[w-1]=void 0);var A=E&&E.newPos+1=p&&S+1>=h)return d(r(u,x.components,o,a,u.useLongestToken));v[w]=x}m++}if(c(b,"p"),s)c(function w(){setTimeout(function(){if(m>f)return s();b()||w()},0)},"F")();else for(;m<=f;){var C=b();if(C)return C}},"diff"),pushComponent:c(function(a,o,i){var s=a[a.length-1];s&&s.added===o&&s.removed===i?a[a.length-1]={count:s.count+1,added:o,removed:i}:a.push({count:1,added:o,removed:i})},"pushComponent"),extractCommon:c(function(a,o,i,s){for(var u=o.length,d=i.length,p=a.newPos,h=p-s,m=0;p+1C.length?x:C}),f.value=a.join(g)}else f.value=a.join(i.slice(h,h+f.count));h+=f.count,f.added||(m+=f.count)}}var b=o[p-1];return p>1&&typeof b.value=="string"&&(b.added||b.removed)&&a.equals("",b.value)&&(o[p-2].value+=b.value,o.pop()),o}c(r,"yu");function n(a){return{newPos:a.newPos,components:a.components.slice(0)}}c(n,"Au")}),Dv=ro(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=a,e.arrayDiff=void 0;var t=r(Cv());function r(o){return o&&o.__esModule?o:{default:o}}c(r,"_u");var n=new t.default;e.arrayDiff=n,n.tokenize=function(o){return o.slice()},n.join=n.removeEmpty=function(o){return o};function a(o,i,s){return n.diff(o,i,s)}c(a,"ku")}),ao=ro((e,t)=>{var r=new Proxy(String,{get:c(()=>r,"get")});t.exports=r}),f0={},no(f0,{default:c(()=>Av,"default"),shouldHighlight:c(()=>Sv,"shouldHighlight")}),kv=wv(()=>{Sv=c(()=>!1,"Eo"),Av=String}),_v=ro(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=h,e.default=m;var t=(kv(),Ev(f0)),r=a(ao(),!0);function n(f){if(typeof WeakMap!="function")return null;var v=new WeakMap,g=new WeakMap;return(n=c(function(b){return b?g:v},"Tn"))(f)}c(n,"Tn");function a(f,v){if(!v&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var g=n(v);if(g&&g.has(f))return g.get(f);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in f)if(w!=="default"&&Object.prototype.hasOwnProperty.call(f,w)){var x=C?Object.getOwnPropertyDescriptor(f,w):null;x&&(x.get||x.set)?Object.defineProperty(b,w,x):b[w]=f[w]}return b.default=f,g&&g.set(f,b),b}c(a,"ho");var o;function i(f){return f?(o!=null||(o=new r.default.constructor({enabled:!0,level:1})),o):r.default}c(i,"go");var s=!1;function u(f){return{gutter:f.grey,marker:f.red.bold,message:f.red.bold}}c(u,"yo");var d=/\r\n|[\n\r\u2028\u2029]/;function p(f,v,g){let b=Object.assign({column:0,line:-1},f.start),C=Object.assign({},b,f.end),{linesAbove:w=2,linesBelow:x=3}=g||{},E=b.line,D=b.column,S=C.line,A=C.column,k=Math.max(E-(w+1),0),F=Math.min(v.length,S+x);E===-1&&(k=0),S===-1&&(F=v.length);let T=S-E,R={};if(T)for(let L=0;L<=T;L++){let z=L+E;if(!D)R[z]=!0;else if(L===0){let $=v[z-1].length;R[z]=[D,$-D+1]}else if(L===T)R[z]=[0,A];else{let $=v[z-L].length;R[z]=[0,$]}}else D===A?D?R[E]=[D,0]:R[E]=!0:R[E]=[D,A-D];return{start:k,end:F,markerLines:R}}c(p,"Ao");function h(f,v,g={}){let b=(g.highlightCode||g.forceColor)&&(0,t.shouldHighlight)(g),C=i(g.forceColor),w=u(C),x=c((R,L)=>b?R(L):L,"i"),E=f.split(d),{start:D,end:S,markerLines:A}=p(v,E,g),k=v.start&&typeof v.start.column=="number",F=String(S).length,T=(b?(0,t.default)(f,g):f).split(d,S).slice(D,S).map((R,L)=>{let z=D+1+L,$=` ${` ${z}`.slice(-F)} |`,O=A[z],M=!A[z+1];if(O){let j="";if(Array.isArray(O)){let G=R.slice(0,Math.max(O[0]-1,0)).replace(/[^\t]/g," "),H=O[1]||1;j=[` + `,x(w.gutter,$.replace(/\d/g," "))," ",G,x(w.marker,"^").repeat(H)].join(""),M&&g.message&&(j+=" "+x(w.message,g.message))}return[x(w.marker,">"),x(w.gutter,$),R.length>0?` ${R}`:"",j].join("")}else return` ${x(w.gutter,$)}${R.length>0?` ${R}`:""}`}).join(` +`);return g.message&&!k&&(T=`${" ".repeat(F+1)}${g.message} +${T}`),b?C.reset(T):T}c(h,"vn");function m(f,v,g,b={}){if(!s){s=!0;let C="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let w=new Error(C);w.name="DeprecationWarning",console.warn(new Error(C))}}return g=Math.max(g,0),h(f,{start:{column:g,line:v}},b)}c(m,"Bo")}),h0={},no(h0,{__debug:c(()=>r4,"__debug"),check:c(()=>hv,"check"),doc:c(()=>O0,"doc"),format:c(()=>Yd,"format"),formatWithCursor:c(()=>c1,"formatWithCursor"),getSupportInfo:c(()=>t4,"getSupportInfo"),util:c(()=>$0,"util"),version:c(()=>Kv,"version")}),Fv=c((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"gu"),gi=Fv,l8=Bn(Dv(),1),c(b6,"Dr"),c(Js,"Ae"),c(yf,"yt"),c(w6,"ar"),Or="string",dr="array",kr="cursor",Gt="indent",Kt="align",Vt="trim",$e="group",Je="fill",He="if-break",Yt="indent-if-break",Jt="line-suffix",Ut="line-suffix-boundary",we="line",bt="label",Ze="break-parent",If=new Set([kr,Gt,Kt,Vt,$e,Je,He,Yt,Jt,Ut,we,bt,Ze]),c(u5,"xu"),$r=u5,s8=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"bu"),c(c5,"wu"),Iv=(m0=class extends Error{constructor(t){super(c5(t));yr(this,"name","InvalidDocError");this.doc=t}},c(m0,"At"),m0),pn=Iv,Jd={},c(d5,"Ou"),ts=d5,g0=c(()=>{},"lr"),wt=g0,Qs=g0,c(Vo,"ie"),c(dn,"oe"),c(Fd,"Bt"),c(p5,"fr"),c(f5,"Fr"),c(h5,"pr"),c(m5,"dr"),c(Id,"Ge"),c(g5,"mr"),c(v5,"Er"),c(Jl,"_e"),Tv={type:Ut},Eo={type:Ze},Rv={type:Vt},ml={type:we,hard:!0},v0={type:we,hard:!0,literal:!0},Zd={type:we},Bv={type:we,soft:!0},_r=[ml,Eo],Xd=[v0,Eo],rs={type:kr},c(Td,"be"),c(Rd,"qe"),c(y5,"yr"),c(Lt,"J"),c(E6,"Ar"),zv=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Nu"),me=zv,u8=c(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"Br"),c(b5,"_r"),c(w5,"kr"),c8=c(e=>!(b5(e)||w5(e)),"xr"),d8=/[^\x20-\x7F]/,c(E5,"Tu"),ns=E5,p8=c(e=>{if(Array.isArray(e))return e;if(e.type!==Je)throw new Error(`Expect doc to be 'array' or '${Je}'.`);return e.parts},"Or"),c(Uo,"Ne"),c(Zl,"Je"),c(x6,"vu"),c(x5,"Nr"),c(Bd,"br"),c(C6,"Sr"),c(D6,"Pu"),c(C5,"Tr"),c(zd,"wr"),c(Jn,"Oe"),c(Ld,"Xe"),c(S6,"Lu"),c(A6,"Iu"),c(D5,"vr"),c(k6,"Ru"),c(S5,"Pr"),c(bf,"Ze"),Be=Symbol("MODE_BREAK"),dt=Symbol("MODE_FLAT"),Zn=Symbol("cursor"),c(wf,"Lr"),c(_6,"Yu"),c(F6,"ju"),c(Xl,"kt"),c(Ql,"xt"),c(wo,"Qe"),c(qo,"fe"),c(A5,"Vu"),as=A5,Lv=(b0=class{constructor(e){p0(this,Gi),p0(this,oo),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return me(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:me(!1,this.stack,-2)}get node(){return me(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=me(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...zn(this,oo,Ki).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?me(!1,e,-2):null}getValue(){return me(!1,this.stack,-1)}getNode(e=0){let t=zn(this,Gi,y0).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,a=me(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=zn(this,Gi,y0).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,a=me(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{for(let o=0;o{r[a]=e(n,a,o)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let a of e){if(n===void 0)return!1;let o=null;if(typeof r=="number"&&(o=r,r=this.stack[t--],n=this.stack[t--]),a&&!a(n,r,o))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of zn(this,oo,Ki).call(this))if(e(t))return t}hasAncestor(e){for(let t of zn(this,oo,Ki).call(this))if(e(t))return!0;return!1}},c(b0,"bt"),b0),Gi=new WeakSet,y0=c(function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},"wt"),oo=new WeakSet,Ki=c(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"et"),f8=Lv,w0=new Proxy(()=>{},{get:c(()=>w0,"get")}),os=w0,c(k5,"$u"),h8=k5,c(Ef,"Ot"),c(I6,"jr"),c(Rn,"de"),Ov=Rn(/\s/),pr=Rn(" "),Qd=Rn(",; "),e1=Rn(/[^\n\r]/),c(_5,"Mu"),zr=_5,c(F5,"Wu"),ur=F5,c(I5,"Uu"),m8=I5,t1=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),g8=c(e=>Object.keys(e).filter(t=>!t1.has(t)),"zu"),c(T5,"Gu"),yi=T5,c(T6,"Ku"),c(Zs,"St"),c(tn,"te"),c(To,"X"),c(rn,"re"),gl=new WeakMap,c(Xs,"nt"),c(xf,"Wr"),vl=c(()=>!1,"vt"),c(R6,"Ur"),Tf=c(e=>!/[\S\n\u2028\u2029]/.test(e),"zr"),c(B6,"Hu"),c(z6,"qu"),c(Od,"Mr"),c(pl,"Pt"),c(R5,"Ju"),eu=R5,c(Cf,"Gr"),c(L6,"Xu"),c(O6,"Zu"),c($6,"Qu"),c(M6,"Kr"),c(P6,"Hr"),c(B5,"eo"),v8=B5,Rf=(E0=class extends Error{constructor(){super(...arguments);yr(this,"name","ConfigError")}},c(E0,"Le"),E0),r1=(x0=class extends Error{constructor(){super(...arguments);yr(this,"name","UndefinedParserError")}},c(x0,"Ie"),x0),y8={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing +(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:c(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:c(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). +The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. +The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment +in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},c($d,"ut"),c(N6,"to"),c(H6,"ro"),b8=c(e=>String(e).split(/[/\\]/).pop(),"no"),c(Md,"Xr"),c(j6,"uo"),c(z5,"oo"),w8=z5,Kr={key:c(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Kr.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Kr.key(r)}: ${Kr.value(e[r])}`).join(", ")} }`},pair:c(({key:e,value:t})=>Kr.value({[e]:t}),"pair")},C0=Bn(ao(),1),$v=c((e,t,{descriptor:r})=>{let n=[`${C0.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${C0.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"tn"),nn=Bn(ao(),1),n1=Symbol.for("vnopts.VALUE_NOT_EXIST"),io=Symbol.for("vnopts.VALUE_UNCHANGED"),a1=" ".repeat(2),Mv=c((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(o0(e,t,n,r.descriptor)),a&&o.push([o0(e,t,a.title,r.descriptor)].concat(a.values.map(i=>Pd(i,r.loggerPrintWidth))).join(` +`)),Nd(o,r.loggerPrintWidth)},"un"),c(o0,"nn"),c(Pd,"on"),c(Nd,"sn"),D0=Bn(ao(),1),yl=[],o1=[],c(L5,"Rt"),i1=c((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${D0.default.yellow(r.pair({key:e,value:t}))}.`],i=Object.keys(a).sort().find(s=>L5(e,s)<3);i&&o.push(`Did you mean ${D0.default.blue(r.key(i))}?`),n.warn(o.join(" "))},"it"),E8=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],c(O5,"so"),or=(S0=class{static create(e){return O5(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return io}},c(S0,"w"),S0),c(V6,"Do"),x8=(A0=class extends or{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},c(A0,"st"),A0),C8=(k0=class extends or{expected(){return"anything"}validate(){return!0}},c(k0,"Dt"),k0),D8=(_0=class extends or{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let a=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);a!==!0&&r.push(a.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let a=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);a!==!1&&r.push(...a.map(({value:o})=>({value:[o]})))}return r}forward(e,t){let r=[];for(let n of e){let a=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...a.map(i0))}return r}redirect(e,t){let r=[],n=[];for(let a of e){let o=t.normalizeRedirectResult(this._valueSchema.redirect(a,t),a);"remain"in o&&r.push(o.remain),n.push(...o.redirect.map(i0))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},c(_0,"at"),_0),c(i0,"an"),S8=(F0=class extends or{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},c(F0,"ct"),F0),c($5,"ln"),c(M5,"fn"),c(P5,"Fn"),c(N5,"pn"),c(H5,"dn"),c(j5,"mn"),c(V5,"En"),c(l0,"jt"),c(Hd,"Vt"),c(s0,"$t"),c(u0,"Mt"),c(jd,"cn"),c(fl,"lt"),c(c0,"Wt"),c(U6,"ao"),A8=(I0=class extends or{constructor(e){super(e),this._choices=M5(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(a=>this._choices.get(a)).filter(({hidden:a})=>!a).map(a=>a.value).sort(j5).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},c(I0,"ft"),I0),Pv=(T0=class extends or{expected(){return"a number"}validate(e,t){return typeof e=="number"}},c(T0,"Ft"),T0),k8=(R0=class extends Pv{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&H5(e)}},c(R0,"pt"),R0),l1=(B0=class extends or{expected(){return"a string"}validate(e){return typeof e=="string"}},c(B0,"Ye"),B0),Nv=Kr,Hv=i1,jv=Mv,Vv=$v,_8=(z0=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=Nv,unknown:o=Hv,invalid:i=jv,deprecated:s=Vv,missing:u=c(()=>!1,"a"),required:d=c(()=>!1,"c"),preprocess:p=c(m=>m,"d"),postprocess:h=c(()=>io,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:c(()=>{},"warn")},loggerPrintWidth:n,schemas:$5(e,"name"),normalizeDefaultResult:l0,normalizeExpectedResult:Hd,normalizeDeprecatedResult:u0,normalizeForwardResult:fl,normalizeRedirectResult:c0,normalizeValidateResult:s0},this._unknownHandler=o,this._invalidHandler=V5(i),this._deprecatedHandler=s,this._identifyMissing=(m,f)=>!(m in f)||u(m,f),this._identifyRequired=d,this._preprocess=p,this._postprocess=h,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=P5()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=c(()=>{for(;r.length!==0;){let a=r.shift(),o=this._applyNormalization(a,t);r.push(...o)}},"u");n();for(let a of Object.keys(this._utils.schemas)){let o=this._utils.schemas[a];if(!(a in t)){let i=l0(o.default(this._utils));"value"in i&&r.push({[a]:i.value})}}n();for(let a of Object.keys(this._utils.schemas)){if(!(a in t))continue;let o=this._utils.schemas[a],i=t[a],s=o.postprocess(i,this._utils);s!==io&&(this._applyValidation(s,a,o),t[a]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:a}=this._partitionOptionKeys(e);for(let o of n){let i=this._utils.schemas[o],s=i.preprocess(e[o],this._utils);this._applyValidation(s,o,i);let u=c(({from:h,to:m})=>{r.push(typeof m=="string"?{[m]:h}:{[m.key]:m.value})},"a"),d=c(({value:h,redirectTo:m})=>{let f=u0(i.deprecated(h,this._utils),s,!0);if(f!==!1)if(f===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,m,this._utils));else for(let{value:v}of f){let g={key:o,value:v};if(!this._hasDeprecationWarned(g)){let b=typeof m=="string"?{key:m,value:v}:m;this._utils.logger.warn(this._deprecatedHandler(g,b,this._utils))}}},"c");fl(i.forward(s,this._utils),s).forEach(u);let p=c0(i.redirect(s,this._utils),s);if(p.redirect.forEach(u),"remain"in p){let h=p.remain;t[o]=o in t?i.overlap(t[o],h,this._utils):h,d({value:h})}for(let{from:h,to:m}of p.redirect)d({value:h,redirectTo:m})}for(let o of a){let i=e[o];this._applyUnknownHandler(o,i,t,(s,u)=>{r.push({[s]:u})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,n1,this._utils)}_partitionOptionKeys(e){let[t,r]=N5(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=s0(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let a=this._unknownHandler(e,t,this._utils);if(a)for(let o of Object.keys(a)){if(this._identifyMissing(o,a))continue;let i=a[o];o in this._utils.schemas?n(o,i):r[o]=i}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==io){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let a of r){let o=t.override[a];this._applyValidation(o,a,this._utils.schemas[a]),e[a]=o}for(let a of n){let o=t.override[a];this._applyUnknownHandler(a,o,e,(i,s)=>{let u=this._utils.schemas[i];this._applyValidation(s,i,u),e[i]=s})}}}}},c(z0,"dt"),z0),c(U5,"lo"),c(q6,"fo"),c(W6,"Fo"),F8=U5,Uv=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return a}}},"po"),Bf=Uv,c(Df,"Gt"),c(G6,"Bn"),c(Sf,"mt"),c(Af,"Kt"),c(K6,"_n"),s1={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},c(q5,"mo"),wn=q5,I8=Bn(_v(),1),c(W5,"_o"),c(Y6,"ko"),Ra=W5,c(J6,"In"),c(Z6,"xo"),c(G5,"bo"),T8=G5,c(mi,"je"),c(Vd,"Yn"),c(kf,"qt"),c(K5,"wo"),R8=K5,c(Y5,"Oo"),B8=Y5,z8=c(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","No"),c(X6,"So"),c(Ud,"$n"),c(Q6,"To"),c(es,"Jt"),c(e8,"vo"),zf=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),L8=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),c(qd,"Mn"),c(t8,"Un"),Lf="\uFEFF",u1=Symbol("cursor"),c(_f,"Jn"),c(r8,"Lo"),c(hl,"Xt"),c(Wd,"Gn"),c(Ff,"Xn"),c(Gd,"Kn"),c(Kd,"Zt"),c(J5,"Zn"),c(Z5,"Qn"),c(X5,"eu"),c(Q5,"tu"),c(ev,"ru"),O0={},no(O0,{builders:c(()=>qv,"builders"),printer:c(()=>Wv,"printer"),utils:c(()=>Gv,"utils")}),qv={join:Td,line:Zd,softline:Bv,hardline:_r,literalline:Xd,group:Fd,conditionalGroup:m5,fill:Id,lineSuffix:Jl,lineSuffixBoundary:Tv,cursor:rs,breakParent:Eo,ifBreak:g5,trim:Rv,indent:Vo,indentIfBreak:v5,align:dn,addAlignmentToDoc:Rd,markAsRoot:f5,dedentToRoot:p5,dedent:h5,hardlineWithoutBreakParent:ml,literallineWithoutBreakParent:v0,label:y5,concat:c(e=>e,"concat")},Wv={printDocToString:qo},Gv={willBreak:x5,traverseDoc:ts,findInDoc:Zl,mapDoc:Uo,removeLines:C5,stripTrailingHardline:Ld,replaceEndOfLine:D5,canBreak:S5},Kv="3.2.5",$0={},no($0,{addDanglingComment:c(()=>To,"addDanglingComment"),addLeadingComment:c(()=>tn,"addLeadingComment"),addTrailingComment:c(()=>rn,"addTrailingComment"),getAlignmentSize:c(()=>as,"getAlignmentSize"),getIndentSize:c(()=>Yv,"getIndentSize"),getMaxContinuousCount:c(()=>Jv,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:c(()=>Zv,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:c(()=>dv,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:c(()=>ns,"getStringWidth"),hasNewline:c(()=>ur,"hasNewline"),hasNewlineInRange:c(()=>Xv,"hasNewlineInRange"),hasSpaces:c(()=>Qv,"hasSpaces"),isNextLineEmpty:c(()=>fv,"isNextLineEmpty"),isNextLineEmptyAfterIndex:c(()=>ss,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:c(()=>pv,"isPreviousLineEmpty"),makeString:c(()=>e4,"makeString"),skip:c(()=>Rn,"skip"),skipEverythingButNewLine:c(()=>e1,"skipEverythingButNewLine"),skipInlineComment:c(()=>is,"skipInlineComment"),skipNewline:c(()=>zr,"skipNewline"),skipSpaces:c(()=>pr,"skipSpaces"),skipToLineEnd:c(()=>Qd,"skipToLineEnd"),skipTrailingComment:c(()=>ls,"skipTrailingComment"),skipWhitespace:c(()=>Ov,"skipWhitespace")}),c(tv,"Vo"),is=tv,c(rv,"$o"),ls=rv,c(nv,"Mo"),tu=nv,c(av,"Wo"),ss=av,c(ov,"Uo"),Yv=ov,c(n8,"er"),c(iv,"zo"),Jv=iv,c(lv,"Go"),Zv=lv,c(sv,"Ko"),Xv=sv,c(uv,"Ho"),Qv=uv,c(cv,"qo"),e4=cv,c(a8,"Jo"),c(dv,"Xo"),c(o8,"Zo"),c(pv,"Qo"),c(i8,"ei"),c(fv,"ti"),c(br,"ae"),c1=br(Kd),c(Yd,"lu"),c(hv,"ri"),t4=br($d,0),r4={parse:br(J5),formatAST:br(Z5),formatDoc:br(X5),printToDoc:br(Q5),printDocToString:br(ev)},O8=h0});function $8(e){for(var t=[],r=1;r{c($8,"dedent")}),M8={};ka(M8,{formatter:()=>P8});var n4,P8,jk=B(()=>{n4=De(Bs(),1),Pk(),Nk(),Hk(),P8=(0,n4.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?$8(t):(await O8.format(t,{parser:e,plugins:[y6],htmlWhitespaceSensitivity:"ignore"})).trim())}),d1,p1,Vk=B(()=>{d1=c(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),p1=typeof window<"u"&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect}),Le,Qe,et,Oe,us,Xn,ln,Qn,N8,Of,Un,H8,f1,$f,a4,o4,i4,l4,s4,u4,c4,d4,p4,j8,at=B(()=>{Le="top",Qe="bottom",et="right",Oe="left",us="auto",Xn=[Le,Qe,et,Oe],ln="start",Qn="end",N8="clippingParents",Of="viewport",Un="popper",H8="reference",f1=Xn.reduce(function(e,t){return e.concat([t+"-"+ln,t+"-"+Qn])},[]),$f=[].concat(Xn,[us]).reduce(function(e,t){return e.concat([t,t+"-"+ln,t+"-"+Qn])},[]),a4="beforeRead",o4="read",i4="afterRead",l4="beforeMain",s4="main",u4="afterMain",c4="beforeWrite",d4="write",p4="afterWrite",j8=[a4,o4,i4,l4,s4,u4,c4,d4,p4]});function Et(e){return e?(e.nodeName||"").toLowerCase():null}var En=B(()=>{c(Et,"getNodeName")});function Ve(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Qt=B(()=>{c(Ve,"getWindow")});function Lr(e){var t=Ve(e).Element;return e instanceof t||e instanceof Element}function Xe(e){var t=Ve(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ru(e){if(typeof ShadowRoot>"u")return!1;var t=Ve(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var ot=B(()=>{Qt(),c(Lr,"isElement"),c(Xe,"isHTMLElement"),c(ru,"isShadowRoot")});function f4(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!Xe(o)||!Et(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var s=a[i];s===!1?o.removeAttribute(i):o.setAttribute(i,s===!0?"":s)}))})}function h4(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=i.reduce(function(u,d){return u[d]="",u},{});!Xe(a)||!Et(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(u){a.removeAttribute(u)}))})}}var V8,Uk=B(()=>{En(),ot(),c(f4,"applyStyles"),c(h4,"effect"),V8={name:"applyStyles",enabled:!0,phase:"write",fn:f4,effect:h4,requires:["computeStyles"]}});function vt(e){return e.split("-")[0]}var xn=B(()=>{c(vt,"getBasePlacement")}),Fr,Wo,fn,Cn=B(()=>{Fr=Math.max,Wo=Math.min,fn=Math.round});function cs(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var U8=B(()=>{c(cs,"getUAString")});function Mf(){return!/^((?!chrome|android).)*safari/i.test(cs())}var q8=B(()=>{U8(),c(Mf,"isLayoutViewport")});function hn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&Xe(e)&&(a=e.offsetWidth>0&&fn(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&fn(n.height)/e.offsetHeight||1);var i=Lr(e)?Ve(e):window,s=i.visualViewport,u=!Mf()&&r,d=(n.left+(u&&s?s.offsetLeft:0))/a,p=(n.top+(u&&s?s.offsetTop:0))/o,h=n.width/a,m=n.height/o;return{width:h,height:m,top:p,right:d+h,bottom:p+m,left:d,x:d,y:p}}var bi=B(()=>{ot(),Cn(),Qt(),q8(),c(hn,"getBoundingClientRect")});function nu(e){var t=hn(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var Pf=B(()=>{bi(),c(nu,"getLayoutRect")});function Nf(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&ru(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var W8=B(()=>{ot(),c(Nf,"contains")});function Zt(e){return Ve(e).getComputedStyle(e)}var wi=B(()=>{Qt(),c(Zt,"getComputedStyle")});function G8(e){return["table","td","th"].indexOf(Et(e))>=0}var qk=B(()=>{En(),c(G8,"isTableElement")});function vr(e){return((Lr(e)?e.ownerDocument:e.document)||window.document).documentElement}var Mr=B(()=>{ot(),c(vr,"getDocumentElement")});function Ei(e){return Et(e)==="html"?e:e.assignedSlot||e.parentNode||(ru(e)?e.host:null)||vr(e)}var au=B(()=>{En(),Mr(),ot(),c(Ei,"getParentNode")});function h1(e){return!Xe(e)||Zt(e).position==="fixed"?null:e.offsetParent}function K8(e){var t=/firefox/i.test(cs()),r=/Trident/i.test(cs());if(r&&Xe(e)){var n=Zt(e);if(n.position==="fixed")return null}var a=Ei(e);for(ru(a)&&(a=a.host);Xe(a)&&["html","body"].indexOf(Et(a))<0;){var o=Zt(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Ba(e){for(var t=Ve(e),r=h1(e);r&&G8(r)&&Zt(r).position==="static";)r=h1(r);return r&&(Et(r)==="html"||Et(r)==="body"&&Zt(r).position==="static")?t:r||K8(e)||t}var xi=B(()=>{Qt(),En(),wi(),ot(),qk(),au(),U8(),c(h1,"getTrueOffsetParent"),c(K8,"getContainingBlock"),c(Ba,"getOffsetParent")});function ou(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Hf=B(()=>{c(ou,"getMainAxisFromPlacement")});function ea(e,t,r){return Fr(e,Wo(t,r))}function Y8(e,t,r){var n=ea(e,t,r);return n>r?r:n}var J8=B(()=>{Cn(),c(ea,"within"),c(Y8,"withinMaxClamp")});function jf(){return{top:0,right:0,bottom:0,left:0}}var Z8=B(()=>{c(jf,"getFreshSideObject")});function Vf(e){return Object.assign({},jf(),e)}var X8=B(()=>{Z8(),c(Vf,"mergePaddingObject")});function Uf(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Q8=B(()=>{c(Uf,"expandToHashMap")});function m4(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=vt(r.placement),u=ou(s),d=[Oe,et].indexOf(s)>=0,p=d?"height":"width";if(!(!o||!i)){var h=eE(a.padding,r),m=nu(o),f=u==="y"?Le:Oe,v=u==="y"?Qe:et,g=r.rects.reference[p]+r.rects.reference[u]-i[u]-r.rects.popper[p],b=i[u]-r.rects.reference[u],C=Ba(o),w=C?u==="y"?C.clientHeight||0:C.clientWidth||0:0,x=g/2-b/2,E=h[f],D=w-m[p]-h[v],S=w/2-m[p]/2+x,A=ea(E,S,D),k=u;r.modifiersData[n]=(t={},t[k]=A,t.centerOffset=A-S,t)}}function g4(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||Nf(t.elements.popper,a)&&(t.elements.arrow=a))}var eE,tE,Wk=B(()=>{xn(),Pf(),W8(),xi(),Hf(),J8(),X8(),Q8(),at(),eE=c(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Vf(typeof e!="number"?e:Uf(e,Xn))},"toPaddingObject"),c(m4,"arrow"),c(g4,"effect"),tE={name:"arrow",enabled:!0,phase:"main",fn:m4,effect:g4,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function mn(e){return e.split("-")[1]}var Ci=B(()=>{c(mn,"getVariation")});function rE(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:fn(r*a)/a||0,y:fn(n*a)/a||0}}function m1(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,h=e.isFixed,m=i.x,f=m===void 0?0:m,v=i.y,g=v===void 0?0:v,b=typeof p=="function"?p({x:f,y:g}):{x:f,y:g};f=b.x,g=b.y;var C=i.hasOwnProperty("x"),w=i.hasOwnProperty("y"),x=Oe,E=Le,D=window;if(d){var S=Ba(r),A="clientHeight",k="clientWidth";if(S===Ve(r)&&(S=vr(r),Zt(S).position!=="static"&&s==="absolute"&&(A="scrollHeight",k="scrollWidth")),S=S,a===Le||(a===Oe||a===et)&&o===Qn){E=Qe;var F=h&&S===D&&D.visualViewport?D.visualViewport.height:S[A];g-=F-n.height,g*=u?1:-1}if(a===Oe||(a===Le||a===Qe)&&o===Qn){x=et;var T=h&&S===D&&D.visualViewport?D.visualViewport.width:S[k];f-=T-n.width,f*=u?1:-1}}var R=Object.assign({position:s},d&&nE),L=p===!0?rE({x:f,y:g},Ve(r)):{x:f,y:g};if(f=L.x,g=L.y,u){var z;return Object.assign({},R,(z={},z[E]=w?"0":"",z[x]=C?"0":"",z.transform=(D.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",z))}return Object.assign({},R,(t={},t[E]=w?g+"px":"",t[x]=C?f+"px":"",t.transform="",t))}function v4(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,i=o===void 0?!0:o,s=r.roundOffsets,u=s===void 0?!0:s,d={placement:vt(t.placement),variation:mn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,m1(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,m1(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var nE,aE,Gk=B(()=>{at(),xi(),Qt(),Mr(),wi(),xn(),Ci(),Cn(),nE={top:"auto",right:"auto",bottom:"auto",left:"auto"},c(rE,"roundOffsetsByDPR"),c(m1,"mapToStyles"),c(v4,"computeStyles"),aE={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:v4,data:{}}});function y4(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,i=n.resize,s=i===void 0?!0:i,u=Ve(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(p){p.addEventListener("scroll",r.update,xo)}),s&&u.addEventListener("resize",r.update,xo),function(){o&&d.forEach(function(p){p.removeEventListener("scroll",r.update,xo)}),s&&u.removeEventListener("resize",r.update,xo)}}var xo,oE,Kk=B(()=>{Qt(),xo={passive:!0},c(y4,"effect"),oE={name:"eventListeners",enabled:!0,phase:"write",fn:c(function(){},"fn"),effect:y4,data:{}}});function Ro(e){return e.replace(/left|right|bottom|top/g,function(t){return iE[t]})}var iE,Yk=B(()=>{iE={left:"right",right:"left",bottom:"top",top:"bottom"},c(Ro,"getOppositePlacement")});function g1(e){return e.replace(/start|end/g,function(t){return lE[t]})}var lE,Jk=B(()=>{lE={start:"end",end:"start"},c(g1,"getOppositeVariationPlacement")});function iu(e){var t=Ve(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var qf=B(()=>{Qt(),c(iu,"getWindowScroll")});function lu(e){return hn(vr(e)).left+iu(e).scrollLeft}var Wf=B(()=>{bi(),Mr(),qf(),c(lu,"getWindowScrollBarX")});function sE(e,t){var r=Ve(e),n=vr(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,u=0;if(a){o=a.width,i=a.height;var d=Mf();(d||!d&&t==="fixed")&&(s=a.offsetLeft,u=a.offsetTop)}return{width:o,height:i,x:s+lu(e),y:u}}var Zk=B(()=>{Qt(),Mr(),Wf(),q8(),c(sE,"getViewportRect")});function uE(e){var t,r=vr(e),n=iu(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Fr(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Fr(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+lu(e),u=-n.scrollTop;return Zt(a||r).direction==="rtl"&&(s+=Fr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:u}}var Xk=B(()=>{Mr(),wi(),Wf(),qf(),Cn(),c(uE,"getDocumentRect")});function su(e){var t=Zt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var Gf=B(()=>{wi(),c(su,"isScrollParent")});function Kf(e){return["html","body","#document"].indexOf(Et(e))>=0?e.ownerDocument.body:Xe(e)&&su(e)?e:Kf(Ei(e))}var Qk=B(()=>{au(),Gf(),En(),ot(),c(Kf,"getScrollParent")});function ta(e,t){var r;t===void 0&&(t=[]);var n=Kf(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Ve(n),i=a?[o].concat(o.visualViewport||[],su(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(ta(Ei(i)))}var cE=B(()=>{Qk(),au(),Qt(),Gf(),c(ta,"listScrollParents")});function ds(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var dE=B(()=>{c(ds,"rectToClientRect")});function pE(e,t){var r=hn(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function v1(e,t,r){return t===Of?ds(sE(e,r)):Lr(t)?pE(t,r):ds(uE(vr(e)))}function fE(e){var t=ta(Ei(e)),r=["absolute","fixed"].indexOf(Zt(e).position)>=0,n=r&&Xe(e)?Ba(e):e;return Lr(n)?t.filter(function(a){return Lr(a)&&Nf(a,n)&&Et(a)!=="body"}):[]}function hE(e,t,r,n){var a=t==="clippingParents"?fE(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce(function(u,d){var p=v1(e,d,n);return u.top=Fr(p.top,u.top),u.right=Wo(p.right,u.right),u.bottom=Wo(p.bottom,u.bottom),u.left=Fr(p.left,u.left),u},v1(e,i,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var e_=B(()=>{at(),Zk(),Xk(),cE(),xi(),Mr(),wi(),ot(),bi(),au(),W8(),En(),dE(),Cn(),c(pE,"getInnerBoundingClientRect"),c(v1,"getClientRectFromMixedType"),c(fE,"getClippingParents"),c(hE,"getClippingRect")});function Yf(e){var t=e.reference,r=e.element,n=e.placement,a=n?vt(n):null,o=n?mn(n):null,i=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(a){case Le:u={x:i,y:t.y-r.height};break;case Qe:u={x:i,y:t.y+t.height};break;case et:u={x:t.x+t.width,y:s};break;case Oe:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var d=a?ou(a):null;if(d!=null){var p=d==="y"?"height":"width";switch(o){case ln:u[d]=u[d]-(t[p]/2-r[p]/2);break;case Qn:u[d]=u[d]+(t[p]/2-r[p]/2);break}}return u}var mE=B(()=>{xn(),Ci(),Hf(),at(),c(Yf,"computeOffsets")});function va(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,i=o===void 0?e.strategy:o,s=r.boundary,u=s===void 0?N8:s,d=r.rootBoundary,p=d===void 0?Of:d,h=r.elementContext,m=h===void 0?Un:h,f=r.altBoundary,v=f===void 0?!1:f,g=r.padding,b=g===void 0?0:g,C=Vf(typeof b!="number"?b:Uf(b,Xn)),w=m===Un?H8:Un,x=e.rects.popper,E=e.elements[v?w:m],D=hE(Lr(E)?E:E.contextElement||vr(e.elements.popper),u,p,i),S=hn(e.elements.reference),A=Yf({reference:S,element:x,strategy:"absolute",placement:a}),k=ds(Object.assign({},x,A)),F=m===Un?k:S,T={top:D.top-F.top+C.top,bottom:F.bottom-D.bottom+C.bottom,left:D.left-F.left+C.left,right:F.right-D.right+C.right},R=e.modifiersData.offset;if(m===Un&&R){var L=R[a];Object.keys(T).forEach(function(z){var $=[et,Qe].indexOf(z)>=0?1:-1,O=[Le,Qe].indexOf(z)>=0?"y":"x";T[z]+=L[O]*$})}return T}var uu=B(()=>{e_(),Mr(),bi(),mE(),dE(),at(),ot(),X8(),Q8(),c(va,"detectOverflow")});function gE(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,d=u===void 0?$f:u,p=mn(n),h=p?s?f1:f1.filter(function(v){return mn(v)===p}):Xn,m=h.filter(function(v){return d.indexOf(v)>=0});m.length===0&&(m=h);var f=m.reduce(function(v,g){return v[g]=va(e,{placement:g,boundary:a,rootBoundary:o,padding:i})[vt(g)],v},{});return Object.keys(f).sort(function(v,g){return f[v]-f[g]})}var t_=B(()=>{Ci(),at(),uu(),xn(),c(gE,"computeAutoPlacement")});function vE(e){if(vt(e)===us)return[];var t=Ro(e);return[g1(e),t,g1(t)]}function b4(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!0:i,u=r.fallbackPlacements,d=r.padding,p=r.boundary,h=r.rootBoundary,m=r.altBoundary,f=r.flipVariations,v=f===void 0?!0:f,g=r.allowedAutoPlacements,b=t.options.placement,C=vt(b),w=C===b,x=u||(w||!v?[Ro(b)]:vE(b)),E=[b].concat(x).reduce(function(re,N){return re.concat(vt(N)===us?gE(t,{placement:N,boundary:p,rootBoundary:h,padding:d,flipVariations:v,allowedAutoPlacements:g}):N)},[]),D=t.rects.reference,S=t.rects.popper,A=new Map,k=!0,F=E[0],T=0;T=0,O=$?"width":"height",M=va(t,{placement:R,boundary:p,rootBoundary:h,altBoundary:m,padding:d}),j=$?z?et:Oe:z?Qe:Le;D[O]>S[O]&&(j=Ro(j));var G=Ro(j),H=[];if(o&&H.push(M[L]<=0),s&&H.push(M[j]<=0,M[G]<=0),H.every(function(re){return re})){F=R,k=!1;break}A.set(R,H)}if(k)for(var K=v?3:1,te=c(function(re){var N=E.find(function(Y){var J=A.get(Y);if(J)return J.slice(0,re).every(function(pe){return pe})});if(N)return F=N,"break"},"_loop"),le=K;le>0;le--){var Q=te(le);if(Q==="break")break}t.placement!==F&&(t.modifiersData[n]._skip=!0,t.placement=F,t.reset=!0)}}var yE,r_=B(()=>{Yk(),xn(),Jk(),uu(),t_(),at(),Ci(),c(vE,"getExpandedFallbackPlacements"),c(b4,"flip"),yE={name:"flip",enabled:!0,phase:"main",fn:b4,requiresIfExists:["offset"],data:{_skip:!1}}});function y1(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function b1(e){return[Le,et,Qe,Oe].some(function(t){return e[t]>=0})}function w4(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=va(t,{elementContext:"reference"}),s=va(t,{altBoundary:!0}),u=y1(i,n),d=y1(s,a,o),p=b1(u),h=b1(d);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}var bE,n_=B(()=>{at(),uu(),c(y1,"getSideOffsets"),c(b1,"isAnySideFullyClipped"),c(w4,"hide"),bE={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:w4}});function wE(e,t,r){var n=vt(e),a=[Oe,Le].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[Oe,et].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function E4(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=$f.reduce(function(p,h){return p[h]=wE(h,t.rects,o),p},{}),s=i[t.placement],u=s.x,d=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var EE,a_=B(()=>{xn(),at(),c(wE,"distanceAndSkiddingToXY"),c(E4,"offset"),EE={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:E4}});function x4(e){var t=e.state,r=e.name;t.modifiersData[r]=Yf({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var xE,o_=B(()=>{mE(),c(x4,"popperOffsets"),xE={name:"popperOffsets",enabled:!0,phase:"read",fn:x4,data:{}}});function CE(e){return e==="x"?"y":"x"}var i_=B(()=>{c(CE,"getAltAxis")});function C4(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!1:i,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,h=r.padding,m=r.tether,f=m===void 0?!0:m,v=r.tetherOffset,g=v===void 0?0:v,b=va(t,{boundary:u,rootBoundary:d,padding:h,altBoundary:p}),C=vt(t.placement),w=mn(t.placement),x=!w,E=ou(C),D=CE(E),S=t.modifiersData.popperOffsets,A=t.rects.reference,k=t.rects.popper,F=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,T=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(S){if(o){var z,$=E==="y"?Le:Oe,O=E==="y"?Qe:et,M=E==="y"?"height":"width",j=S[E],G=j+b[$],H=j-b[O],K=f?-k[M]/2:0,te=w===ln?A[M]:k[M],le=w===ln?-k[M]:-A[M],Q=t.elements.arrow,re=f&&Q?nu(Q):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:jf(),Y=N[$],J=N[O],pe=ea(0,A[M],re[M]),Se=x?A[M]/2-K-pe-Y-T.mainAxis:te-pe-Y-T.mainAxis,At=x?-A[M]/2+K+pe+J+T.mainAxis:le+pe+J+T.mainAxis,Ue=t.elements.arrow&&Ba(t.elements.arrow),lt=Ue?E==="y"?Ue.clientTop||0:Ue.clientLeft||0:0,P=(z=R==null?void 0:R[E])!=null?z:0,st=j+Se-P-lt,kt=j+At-P,Nr=ea(f?Wo(G,st):G,j,f?Fr(H,kt):H);S[E]=Nr,L[E]=Nr-j}if(s){var _n,_t=E==="x"?Le:Oe,Ai=E==="x"?Qe:et,Te=S[D],Hr=D==="y"?"height":"width",Ft=Te+b[_t],Fn=Te-b[Ai],It=[Le,Oe].indexOf(C)!==-1,In=(_n=R==null?void 0:R[D])!=null?_n:0,Tt=It?Ft:Te-A[Hr]-k[Hr]-In+T.altAxis,Ae=It?Te+A[Hr]+k[Hr]-In-T.altAxis:Fn,ut=f&&It?Y8(Tt,Te,Ae):ea(f?Tt:Ft,Te,f?Ae:Fn);S[D]=ut,L[D]=ut-Te}t.modifiersData[n]=L}}var DE,l_=B(()=>{at(),xn(),Hf(),i_(),J8(),Pf(),xi(),uu(),Ci(),Z8(),Cn(),c(C4,"preventOverflow"),DE={name:"preventOverflow",enabled:!0,phase:"main",fn:C4,requiresIfExists:["offset"]}}),SE=B(()=>{});function AE(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var s_=B(()=>{c(AE,"getHTMLElementScroll")});function kE(e){return e===Ve(e)||!Xe(e)?iu(e):AE(e)}var u_=B(()=>{qf(),Qt(),ot(),s_(),c(kE,"getNodeScroll")});function _E(e){var t=e.getBoundingClientRect(),r=fn(t.width)/e.offsetWidth||1,n=fn(t.height)/e.offsetHeight||1;return r!==1||n!==1}function FE(e,t,r){r===void 0&&(r=!1);var n=Xe(t),a=Xe(t)&&_E(t),o=vr(t),i=hn(e,a,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((Et(t)!=="body"||su(o))&&(s=kE(t)),Xe(t)?(u=hn(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=lu(o))),{x:i.left+s.scrollLeft-u.x,y:i.top+s.scrollTop-u.y,width:i.width,height:i.height}}var c_=B(()=>{bi(),u_(),En(),ot(),Wf(),Mr(),Gf(),Cn(),c(_E,"isElementScaled"),c(FE,"getCompositeRect")});function IE(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&a(u)}}),n.push(o)}return c(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function TE(e){var t=IE(e);return j8.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var d_=B(()=>{at(),c(IE,"order"),c(TE,"orderModifiers")});function RE(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var p_=B(()=>{c(RE,"debounce")});function BE(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var f_=B(()=>{c(BE,"mergeByName")});function w1(){for(var e=arguments.length,t=new Array(e),r=0;r{c_(),Pf(),cE(),xi(),d_(),p_(),f_(),ot(),E1={placement:"bottom",modifiers:[],strategy:"absolute"},c(w1,"areValidElements"),c(zE,"popperGenerator")}),D4,LE,m_=B(()=>{h_(),Kk(),o_(),Gk(),Uk(),a_(),r_(),l_(),Wk(),n_(),SE(),D4=[oE,xE,aE,V8,EE,yE,DE,tE,bE],LE=zE({defaultModifiers:D4})}),g_=B(()=>{at(),SE(),m_()}),v_=q((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(s,u){if(s===u)return!0;if(s&&u&&typeof s=="object"&&typeof u=="object"){if(s.constructor!==u.constructor)return!1;var d,p,h;if(Array.isArray(s)){if(d=s.length,d!=u.length)return!1;for(p=d;p--!==0;)if(!i(s[p],u[p]))return!1;return!0}var m;if(n&&s instanceof Map&&u instanceof Map){if(s.size!==u.size)return!1;for(m=s.entries();!(p=m.next()).done;)if(!u.has(p.value[0]))return!1;for(m=s.entries();!(p=m.next()).done;)if(!i(p.value[1],u.get(p.value[0])))return!1;return!0}if(a&&s instanceof Set&&u instanceof Set){if(s.size!==u.size)return!1;for(m=s.entries();!(p=m.next()).done;)if(!u.has(p.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(u)){if(d=s.length,d!=u.length)return!1;for(p=d;p--!==0;)if(s[p]!==u[p])return!1;return!0}if(s.constructor===RegExp)return s.source===u.source&&s.flags===u.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof u.valueOf=="function")return s.valueOf()===u.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof u.toString=="function")return s.toString()===u.toString();if(h=Object.keys(s),d=h.length,d!==Object.keys(u).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(u,h[p]))return!1;if(r&&s instanceof Element)return!1;for(p=d;p--!==0;)if(!((h[p]==="_owner"||h[p]==="__v"||h[p]==="__o")&&s.$$typeof)&&!i(s[h[p]],u[h[p]]))return!1;return!0}return s!==s&&u!==u}c(i,"equal"),t.exports=c(function(s,u){try{return i(s,u)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),S4,A4,OE,y_=B(()=>{g_(),S4=De(v_()),Vk(),A4=[],OE=c(function(e,t,r){r===void 0&&(r={});var n=l.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||A4},o=l.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=o[0],s=o[1],u=l.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:c(function(h){var m=h.state,f=Object.keys(m.elements);ap.flushSync(function(){s({styles:d1(f.map(function(v){return[v,m.styles[v]||{}]})),attributes:d1(f.map(function(v){return[v,m.attributes[v]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=l.useMemo(function(){var h={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[u,{name:"applyStyles",enabled:!1}])};return(0,S4.default)(n.current,h)?n.current||h:(n.current=h,h)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,u]),p=l.useRef();return p1(function(){p.current&&p.current.setOptions(d)},[d]),p1(function(){if(!(e==null||t==null)){var h=r.createPopper||LE,m=h(e,t,d);return p.current=m,function(){m.destroy(),p.current=null}}},[e,t,r.createPopper]),{state:p.current?p.current.state:null,styles:i.styles,attributes:i.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},"usePopper")}),b_=B(()=>{y_()});function Jf(e){var t=l.useRef(e);return t.current=e,l.useCallback(function(){return t.current},[])}function $E(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?PE:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var o=l.useState(t),i=o[0],s=o[1],u=Jf(i),d=l.useCallback(function(h){var m=u(),f=typeof h=="function"?h(m):h;typeof f.persist=="function"&&f.persist(),s(f),typeof a=="function"&&a(f)},[u,a]),p=r!==void 0;return[p?r:i,p?a:d]}function x1(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:c(function(){return null},"toJSON")}}}function ME(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(D1).reduce(function(O,M){var j;return U({},O,(j={},j[M]=O[M]!==void 0?O[M]:D1[M],j))},e),i=l.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),s=U({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||i}),u=l.useState(null),d=u[0],p=u[1],h=l.useState(null),m=h[0],f=h[1],v=$E({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),g=v[0],b=v[1],C=l.useRef();l.useEffect(function(){return function(){return clearTimeout(C.current)}},[]);var w=OE(o.followCursor?C1:d,m,s),x=w.styles,E=w.attributes,D=zs(w,NE),S=D.update,A=Jf({visible:g,triggerRef:d,tooltipRef:m,finalConfig:o}),k=l.useCallback(function(O){return Array.isArray(o.trigger)?o.trigger.includes(O):o.trigger===O},Array.isArray(o.trigger)?o.trigger:[o.trigger]),F=l.useCallback(function(){clearTimeout(C.current),C.current=window.setTimeout(function(){return b(!1)},o.delayHide)},[o.delayHide,b]),T=l.useCallback(function(){clearTimeout(C.current),C.current=window.setTimeout(function(){return b(!0)},o.delayShow)},[o.delayShow,b]),R=l.useCallback(function(){A().visible?F():T()},[A,F,T]);l.useEffect(function(){if(A().finalConfig.closeOnOutsideClick){var O=c(function(M){var j,G=A(),H=G.tooltipRef,K=G.triggerRef,te=(M.composedPath==null||(j=M.composedPath())==null?void 0:j[0])||M.target;te instanceof Node&&H!=null&&K!=null&&!H.contains(te)&&!K.contains(te)&&F()},"handleClickOutside");return document.addEventListener("mousedown",O),function(){return document.removeEventListener("mousedown",O)}}},[A,F]),l.useEffect(function(){if(!(d==null||!k("click")))return d.addEventListener("click",R),function(){return d.removeEventListener("click",R)}},[d,k,R]),l.useEffect(function(){if(!(d==null||!k("double-click")))return d.addEventListener("dblclick",R),function(){return d.removeEventListener("dblclick",R)}},[d,k,R]),l.useEffect(function(){if(!(d==null||!k("right-click"))){var O=c(function(M){M.preventDefault(),R()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",O),function(){return d.removeEventListener("contextmenu",O)}}},[d,k,R]),l.useEffect(function(){if(!(d==null||!k("focus")))return d.addEventListener("focus",T),d.addEventListener("blur",F),function(){d.removeEventListener("focus",T),d.removeEventListener("blur",F)}},[d,k,T,F]),l.useEffect(function(){if(!(d==null||!k("hover")))return d.addEventListener("mouseenter",T),d.addEventListener("mouseleave",F),function(){d.removeEventListener("mouseenter",T),d.removeEventListener("mouseleave",F)}},[d,k,T,F]),l.useEffect(function(){if(!(m==null||!k("hover")||!A().finalConfig.interactive))return m.addEventListener("mouseenter",T),m.addEventListener("mouseleave",F),function(){m.removeEventListener("mouseenter",T),m.removeEventListener("mouseleave",F)}},[m,k,T,F,A]);var L=D==null||(r=D.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;l.useEffect(function(){o.closeOnTriggerHidden&&L&&F()},[o.closeOnTriggerHidden,F,L]),l.useEffect(function(){if(!o.followCursor||d==null)return;function O(M){var j=M.clientX,G=M.clientY;C1.getBoundingClientRect=x1(j,G),S==null||S()}return c(O,"setMousePosition"),d.addEventListener("mousemove",O),function(){return d.removeEventListener("mousemove",O)}},[o.followCursor,d,S]),l.useEffect(function(){if(!(m==null||S==null||o.mutationObserverOptions==null)){var O=new MutationObserver(S);return O.observe(m,o.mutationObserverOptions),function(){return O.disconnect()}}},[o.mutationObserverOptions,m,S]);var z=c(function(O){return O===void 0&&(O={}),U({},O,{style:U({},O.style,x.popper)},E.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),$=c(function(O){return O===void 0&&(O={}),U({},O,E.arrow,{style:U({},O.style,x.arrow),"data-popper-arrow":!0})},"getArrowProps");return U({getArrowProps:$,getTooltipProps:z,setTooltipRef:f,setTriggerRef:p,tooltipRef:m,triggerRef:d,visible:g},D)}var PE,NE,C1,D1,w_=B(()=>{Sp(),Ct(),b_(),c(Jf,"useGetLatest"),PE=c(function(){},"noop"),c($E,"useControlledState"),c(x1,"generateBoundingClientRect"),NE=["styles","attributes"],C1={getBoundingClientRect:x1()},D1={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},c(ME,"usePopperTooltip")}),k4,Ge,nr,_4,F4,S1,E_=B(()=>{k4=De(Bs(),1),Ge=(0,k4.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),nr=8,_4=_.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Ge("top",r,`${nr*-1}px`,"auto")}`,top:`${Ge("bottom",r,`${nr*-1}px`,"auto")}`,right:`${Ge("left",r,`${nr*-1}px`,"auto")}`,left:`${Ge("right",r,`${nr*-1}px`,"auto")}`,borderBottomWidth:`${Ge("top",r,"0",nr)}px`,borderTopWidth:`${Ge("bottom",r,"0",nr)}px`,borderRightWidth:`${Ge("left",r,"0",nr)}px`,borderLeftWidth:`${Ge("right",r,"0",nr)}px`,borderTopColor:Ge("top",r,e.color[t]||t||e.base==="light"?Wa(e.background.app):e.background.app,"transparent"),borderBottomColor:Ge("bottom",r,e.color[t]||t||e.base==="light"?Wa(e.background.app):e.background.app,"transparent"),borderLeftColor:Ge("left",r,e.color[t]||t||e.base==="light"?Wa(e.background.app):e.background.app,"transparent"),borderRightColor:Ge("right",r,e.color[t]||t||e.base==="light"?Wa(e.background.app):e.background.app,"transparent")})),F4=_.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?Wa(e.background.app):e.background.app,filter:` + drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) + drop-shadow(0 1px 3px rgba(0,0,0,0.1)) + `,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),S1=y.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:i,...s},u)=>y.createElement(F4,{"data-testid":"tooltip",hasChrome:t,ref:u,...s,color:o},t&&i&&y.createElement(_4,{placement:e,...n,color:o}),r)),S1.displayName="Tooltip"}),Zf={};ka(Zf,{WithToolTipState:()=>ps,WithTooltip:()=>ps,WithTooltipPure:()=>A1});const{global:x_}=__STORYBOOK_MODULE_GLOBAL__;var lo,I4,T4,A1,ps,Xf=B(()=>{w_(),E_(),{document:lo}=x_,I4=_.div` + display: inline-block; + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,T4=_.g` + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,A1=c(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:a=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:o=!0,defaultVisible:i=!1,withArrows:s,offset:u,tooltip:d,children:p,closeOnTriggerHidden:h,mutationObserverOptions:m,delayHide:f,visible:v,interactive:g,delayShow:b,strategy:C,followCursor:w,onVisibleChange:x,...E})=>{let D=e?T4:I4,{getArrowProps:S,getTooltipProps:A,setTooltipRef:k,setTriggerRef:F,visible:T,state:R}=ME({trigger:t,placement:n,defaultVisible:i,delayHide:f,interactive:g,closeOnOutsideClick:r,closeOnTriggerHidden:h,onVisibleChange:x,delayShow:b,followCursor:w,mutationObserverOptions:m,visible:v,offset:u},{modifiers:a,strategy:C}),L=y.createElement(S1,{placement:R==null?void 0:R.placement,ref:k,hasChrome:o,arrowProps:S(),withArrows:s,...A()},typeof d=="function"?d({onHide:c(()=>x(!1),"onHide")}):d);return y.createElement(y.Fragment,null,y.createElement(D,{trigger:t,ref:F,...E},p),T&&uy.createPortal(L,lo.body))},"WithTooltipPure"),ps=c(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=l.useState(e),o=l.useCallback(i=>{t&&t(i)===!1||a(i)},[t]);return l.useEffect(()=>{let i=c(()=>o(!1),"hide");lo.addEventListener("keydown",i,!1);let s=Array.from(lo.getElementsByTagName("iframe")),u=[];return s.forEach(d=>{let p=c(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",i),u.push(()=>{try{d.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}},"bind");p(),d.addEventListener("load",p),u.push(()=>{d.removeEventListener("load",p)})}),()=>{lo.removeEventListener("keydown",i),u.forEach(d=>{d()})}}),y.createElement(A1,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),se=c(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");Ct();_A();Dp();function HE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,da(e,t)}c(HE,"_inheritsLoose");FA();Dp();function jE(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}c(jE,"_isNativeFunction");Dp();function Qf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Qf=c(function(){return!!e},"_isNativeReflectConstruct"))()}c(Qf,"_isNativeReflectConstruct");function VE(e,t,r){if(Qf())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&da(a,r.prototype),a}c(VE,"_construct");function fs(e){var t=typeof Map=="function"?new Map:void 0;return fs=c(function(r){if(r===null||!jE(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return VE(r,arguments,Ol(this).constructor)}return c(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),da(n,r)},"_wrapNativeSuper"),fs(e)}c(fs,"_wrapNativeSuper");var C_={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). + +`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). + +`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. + +`,4:`Couldn't generate valid rgb string from %s, it returned %s. + +`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. + +`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). + +`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). + +`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. + +`,9:`Please provide a number of steps to the modularScale helper. + +`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" + +`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. + +`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. + +`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. + +`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. + +`,16:`You must provide a template to this method. + +`,17:`You passed an unsupported selector state to this method. + +`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,19:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. + +`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,25:`fontFace expects localFonts to be an array. + +`,26:`fontFace expects fileFormats to be an array. + +`,27:`radialGradient requries at least 2 color-stops to properly render. + +`,28:`Please supply a filename to retinaImage() as the first argument. + +`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation + +`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) +To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') + +`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation + +`,34:`borderRadius expects a radius value as a string or number as the second argument. + +`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,36:`Property must be a string value. + +`,37:`Syntax Error at %s. + +`,38:`Formula contains a function that needs parentheses at %s. + +`,39:`Formula is missing closing parenthesis at %s. + +`,40:`Formula has too many closing parentheses at %s. + +`,41:`All values in a formula must have the same unit or be unitless. + +`,42:`Please provide a number of steps to the modularScale helper. + +`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. + +`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. + +`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. + +`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,48:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. + +`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. + +`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,53:`fontFace expects localFonts to be an array. + +`,54:`fontFace expects fileFormats to be an array. + +`,55:`fontFace expects a name of a font-family. + +`,56:`linearGradient requries at least 2 color-stops to properly render. + +`,57:`radialGradient requries at least 2 color-stops to properly render. + +`,58:`Please supply a filename to retinaImage() as the first argument. + +`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. + +`,62:`borderRadius expects a radius value as a string or number as the second argument. + +`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. + +`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). + +`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. + +`,67:`You must provide a template to this method. + +`,68:`You passed an unsupported selector state to this method. + +`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. + +`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. + +`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. + +`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. + +`,73:`Please provide a valid CSS variable. + +`,74:`CSS variable not found and no default was provided. + +`,75:`important requires a valid style object, got a %s instead. + +`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. + +`,77:`remToPx expects a value in "rem" but you provided it in "%s". + +`,78:`base must be set in "px" or "%" but you set it in "%s". +`};function UE(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,d=i):a>=3&&a<4?(u=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,h=s+p,m=u+p,f=d+p;return n(h,m,f)}c(ya,"hslToRgb");var R4={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"};function WE(e){if(typeof e!="string")return e;var t=e.toLowerCase();return R4[t]?"#"+R4[t]:e}c(WE,"nameToHex");var D_=/^#[a-fA-F0-9]{6}$/,S_=/^#[a-fA-F0-9]{8}$/,A_=/^#[a-fA-F0-9]{3}$/,k_=/^#[a-fA-F0-9]{4}$/,M0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,__=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,F_=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,I_=/^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 cu(e){if(typeof e!="string")throw new Ht(3);var t=WE(e);if(t.match(D_))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(S_)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(A_))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(k_)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=M0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=__.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=F_.exec(t);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+ya(s,u,d)+")",h=M0.exec(p);if(!h)throw new Ht(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=I_.exec(t.substring(0,50));if(m){var f=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,g=parseInt(""+m[3],10)/100,b="rgb("+ya(f,v,g)+")",C=M0.exec(b);if(!C)throw new Ht(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Ht(5)}c(cu,"parseToRgb");function GE(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,u=a-o,d=i>.5?u/(2-a-o):u/(a+o);switch(a){case t:s=(r-n)/u+(r=1?Go(e,t,r):"rgba("+ya(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Go(e.hue,e.saturation,e.lightness):"rgba("+ya(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ht(2)}c(JE,"hsla");function hs(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return k1("#"+Ar(e)+Ar(t)+Ar(r));if(typeof e=="object"&&t===void 0&&r===void 0)return k1("#"+Ar(e.red)+Ar(e.green)+Ar(e.blue));throw new Ht(6)}c(hs,"rgb");function Ko(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=cu(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?hs(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?hs(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ht(7)}c(Ko,"rgba");var R_=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),B_=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),z_=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),L_=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function th(e){if(typeof e!="object")throw new Ht(8);if(B_(e))return Ko(e);if(R_(e))return hs(e);if(L_(e))return JE(e);if(z_(e))return YE(e);throw new Ht(8)}c(th,"toColorString");function rh(e,t,r){return c(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):rh(e,t,n)},"fn")}c(rh,"curried");function du(e){return rh(e,e.length,[])}c(du,"curry");function pu(e,t,r){return Math.max(e,Math.min(t,r))}c(pu,"guard");function ZE(e,t){if(t==="transparent")return t;var r=eh(t);return th(U({},r,{lightness:pu(0,1,r.lightness-parseFloat(e))}))}c(ZE,"darken");var O_=du(ZE),qn=O_;function XE(e,t){if(t==="transparent")return t;var r=eh(t);return th(U({},r,{lightness:pu(0,1,r.lightness+parseFloat(e))}))}c(XE,"lighten");var $_=du(XE),B4=$_;function QE(e,t){if(t==="transparent")return t;var r=cu(t),n=typeof r.alpha=="number"?r.alpha:1,a=U({},r,{alpha:pu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Ko(a)}c(QE,"transparentize");var M_=du(QE),rt=M_,za=c(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),Pr=c(({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?rt(.1,e.color.defaultText):rt(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),ue=c(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),Dn={margin:"16px 0"},P_=c(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return y.createElement("a",{href:r,target:n,...t})},"Link"),N_=_(P_)(ue,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),H_=_.blockquote(ue,Dn,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));Os();var j_=c(e=>typeof e=="string","isReactChildString"),V_=/[\n\r]/g,U_=_.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),Pr),q_=_(_o)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),e9=c(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=l.Children.toArray(t);return a.filter(j_).some(o=>o.match(V_))?y.createElement(q_,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):y.createElement(U_,{...r,className:e},a)},"Code"),W_=_.div(ue),G_=_.dl(ue,Dn,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),K_=_.h1(ue,za,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),t9=_.h2(ue,za,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),r9=_.h3(ue,za,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),Y_=_.h4(ue,za,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),J_=_.h5(ue,za,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),Z_=_.h6(ue,za,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),X_=_.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),Q_=_.img({maxWidth:"100%"}),eF=_.li(ue,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":Pr({theme:e})})),tF={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},rF=_.ol(ue,Dn,tF,{listStyle:"decimal"}),nF=_.p(ue,Dn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":Pr({theme:e})})),aF=_.pre(ue,Dn,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),oF=_.span(ue,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),iF=_.table(ue,Dn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),lF=_.title(Pr),sF={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},uF=_.ul(ue,Dn,sF,{listStyle:"disc"}),nh=_.div(ue),n9={h1:c(e=>y.createElement(K_,{...se(e,"h1")}),"h1"),h2:c(e=>y.createElement(t9,{...se(e,"h2")}),"h2"),h3:c(e=>y.createElement(r9,{...se(e,"h3")}),"h3"),h4:c(e=>y.createElement(Y_,{...se(e,"h4")}),"h4"),h5:c(e=>y.createElement(J_,{...se(e,"h5")}),"h5"),h6:c(e=>y.createElement(Z_,{...se(e,"h6")}),"h6"),pre:c(e=>y.createElement(aF,{...se(e,"pre")}),"pre"),a:c(e=>y.createElement(N_,{...se(e,"a")}),"a"),hr:c(e=>y.createElement(X_,{...se(e,"hr")}),"hr"),dl:c(e=>y.createElement(G_,{...se(e,"dl")}),"dl"),blockquote:c(e=>y.createElement(H_,{...se(e,"blockquote")}),"blockquote"),table:c(e=>y.createElement(iF,{...se(e,"table")}),"table"),img:c(e=>y.createElement(Q_,{...se(e,"img")}),"img"),div:c(e=>y.createElement(W_,{...se(e,"div")}),"div"),span:c(e=>y.createElement(oF,{...se(e,"span")}),"span"),li:c(e=>y.createElement(eF,{...se(e,"li")}),"li"),ul:c(e=>y.createElement(uF,{...se(e,"ul")}),"ul"),ol:c(e=>y.createElement(rF,{...se(e,"ol")}),"ol"),p:c(e=>y.createElement(nF,{...se(e,"p")}),"p"),code:c(e=>y.createElement(e9,{...se(e,"code")}),"code"),tt:c(e=>y.createElement(lF,{...se(e,"tt")}),"tt"),resetwrapper:c(e=>y.createElement(nh,{...se(e,"resetwrapper")}),"resetwrapper")},cF=_.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${rt(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${rt(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${rt(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${rt(.9,e.color.positiveText)}`:"none"};default:return{}}}),ere=c(({...e})=>y.createElement(cF,{...e}),"Badge"),a9={};ka(a9,{AccessibilityAltIcon:()=>bB,AccessibilityIcon:()=>yB,AddIcon:()=>xT,AdminIcon:()=>sB,AlertAltIcon:()=>YT,AlertIcon:()=>KT,AlignLeftIcon:()=>eI,AlignRightIcon:()=>tI,AppleIcon:()=>wI,ArrowDownIcon:()=>BR,ArrowLeftIcon:()=>zR,ArrowRightIcon:()=>LR,ArrowSolidDownIcon:()=>$R,ArrowSolidLeftIcon:()=>MR,ArrowSolidRightIcon:()=>PR,ArrowSolidUpIcon:()=>OR,ArrowUpIcon:()=>RR,AzureDevOpsIcon:()=>AI,BackIcon:()=>ZR,BasketIcon:()=>yR,BatchAcceptIcon:()=>mT,BatchDenyIcon:()=>hT,BeakerIcon:()=>bR,BellIcon:()=>eR,BitbucketIcon:()=>kI,BoldIcon:()=>sI,BookIcon:()=>qF,BookmarkHollowIcon:()=>lR,BookmarkIcon:()=>sR,BottomBarIcon:()=>XI,BottomBarToggleIcon:()=>QI,BoxIcon:()=>aT,BranchIcon:()=>vI,BrowserIcon:()=>UI,ButtonIcon:()=>NT,CPUIcon:()=>eT,CalendarIcon:()=>XF,CameraIcon:()=>RF,CategoryIcon:()=>KF,CertificateIcon:()=>hR,ChangedIcon:()=>kT,ChatIcon:()=>zT,CheckIcon:()=>pT,ChevronDownIcon:()=>AR,ChevronLeftIcon:()=>kR,ChevronRightIcon:()=>l9,ChevronSmallDownIcon:()=>FR,ChevronSmallLeftIcon:()=>IR,ChevronSmallRightIcon:()=>TR,ChevronSmallUpIcon:()=>_R,ChevronUpIcon:()=>SR,ChromaticIcon:()=>_I,ChromeIcon:()=>DI,CircleHollowIcon:()=>oR,CircleIcon:()=>iR,ClearIcon:()=>FT,CloseAltIcon:()=>yT,CloseIcon:()=>DT,CloudHollowIcon:()=>xR,CloudIcon:()=>CR,CogIcon:()=>lT,CollapseIcon:()=>HR,CommandIcon:()=>UT,CommentAddIcon:()=>TT,CommentIcon:()=>IT,CommentsIcon:()=>BT,CommitIcon:()=>gI,CompassIcon:()=>tB,ComponentDrivenIcon:()=>FI,ComponentIcon:()=>fF,ContrastIcon:()=>SF,ControlsIcon:()=>gT,CopyIcon:()=>GF,CreditIcon:()=>PT,CrossIcon:()=>i9,DashboardIcon:()=>oB,DatabaseIcon:()=>tT,DeleteIcon:()=>ST,DiamondIcon:()=>uR,DirectionIcon:()=>uB,DiscordIcon:()=>II,DocChartIcon:()=>nI,DocListIcon:()=>aI,DocumentIcon:()=>WF,DownloadIcon:()=>JR,DragIcon:()=>oI,EditIcon:()=>iT,EllipsisIcon:()=>cT,EmailIcon:()=>JT,ExpandAltIcon:()=>NR,ExpandIcon:()=>jR,EyeCloseIcon:()=>CF,EyeIcon:()=>xF,FaceHappyIcon:()=>mB,FaceNeutralIcon:()=>gB,FaceSadIcon:()=>vB,FacebookIcon:()=>TI,FailedIcon:()=>_T,FastForwardIcon:()=>PF,FigmaIcon:()=>RI,FilterIcon:()=>rI,FlagIcon:()=>ER,FolderIcon:()=>YF,FormIcon:()=>fT,GDriveIcon:()=>BI,GithubIcon:()=>zI,GitlabIcon:()=>LI,GlobeIcon:()=>eB,GoogleIcon:()=>OI,GraphBarIcon:()=>QF,GraphLineIcon:()=>ZF,GraphqlIcon:()=>$I,GridAltIcon:()=>vF,GridIcon:()=>hF,GrowIcon:()=>_F,HeartHollowIcon:()=>cR,HeartIcon:()=>dR,HomeIcon:()=>lB,HourglassIcon:()=>wR,InfoIcon:()=>qT,ItalicIcon:()=>uI,JumpToIcon:()=>aR,KeyIcon:()=>$T,LightningIcon:()=>DF,LightningOffIcon:()=>o9,LinkBrokenIcon:()=>QT,LinkIcon:()=>XT,LinkedinIcon:()=>VI,LinuxIcon:()=>EI,ListOrderedIcon:()=>dI,ListUnorderedIcon:()=>pI,LocationIcon:()=>rB,LockIcon:()=>LT,MarkdownIcon:()=>hI,MarkupIcon:()=>lI,MediumIcon:()=>MI,MemoryIcon:()=>rT,MenuIcon:()=>iI,MergeIcon:()=>bI,MirrorIcon:()=>kF,MobileIcon:()=>WI,MoonIcon:()=>UF,NutIcon:()=>sT,OutboxIcon:()=>MT,OutlineIcon:()=>mF,PaintBrushIcon:()=>FF,PaperClipIcon:()=>cI,ParagraphIcon:()=>fI,PassedIcon:()=>AT,PhoneIcon:()=>ZT,PhotoDragIcon:()=>gF,PhotoIcon:()=>pF,PinAltIcon:()=>wT,PinIcon:()=>nB,PlayBackIcon:()=>OF,PlayIcon:()=>LF,PlayNextIcon:()=>$F,PlusIcon:()=>vT,PointerDefaultIcon:()=>jT,PointerHandIcon:()=>VT,PowerIcon:()=>oT,PrintIcon:()=>JF,ProceedIcon:()=>XR,ProfileIcon:()=>hB,PullRequestIcon:()=>yI,QuestionIcon:()=>WT,RSSIcon:()=>tR,RedirectIcon:()=>qR,ReduxIcon:()=>PI,RefreshIcon:()=>QR,ReplyIcon:()=>GR,RepoIcon:()=>mI,RequestChangeIcon:()=>RT,RewindIcon:()=>MF,RulerIcon:()=>IF,SearchIcon:()=>yF,ShareAltIcon:()=>rR,ShareIcon:()=>nR,ShieldIcon:()=>vR,SideBySideIcon:()=>HF,SidebarAltIcon:()=>YI,SidebarAltToggleIcon:()=>JI,SidebarIcon:()=>KI,SidebarToggleIcon:()=>ZI,SpeakerIcon:()=>zF,StackedIcon:()=>jF,StarHollowIcon:()=>pR,StarIcon:()=>fR,StickerIcon:()=>DR,StopAltIcon:()=>NF,StopIcon:()=>TF,StorybookIcon:()=>SI,StructureIcon:()=>nT,SubtractIcon:()=>CT,SunIcon:()=>VF,SupportIcon:()=>GT,SwitchAltIcon:()=>AF,SyncIcon:()=>KR,TabletIcon:()=>qI,ThumbsUpIcon:()=>gR,TimeIcon:()=>aB,TimerIcon:()=>iB,TransferIcon:()=>UR,TrashIcon:()=>bT,TwitterIcon:()=>NI,TypeIcon:()=>HT,UbuntuIcon:()=>xI,UndoIcon:()=>WR,UnfoldIcon:()=>VR,UnlockIcon:()=>OT,UnpinIcon:()=>ET,UploadIcon:()=>YR,UserAddIcon:()=>pB,UserAltIcon:()=>dB,UserIcon:()=>cB,UsersIcon:()=>fB,VSCodeIcon:()=>jI,VerifiedIcon:()=>mR,VideoIcon:()=>BF,WandIcon:()=>dT,WatchIcon:()=>GI,WindowsIcon:()=>CI,WrenchIcon:()=>uT,YoutubeIcon:()=>HI,ZoomIcon:()=>bF,ZoomOutIcon:()=>wF,ZoomResetIcon:()=>EF,iconList:()=>dF});var dF=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],pF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),fF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),hF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),mF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),gF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),l.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),vF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),yF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),bF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),wF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),EF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),xF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),CF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),DF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),o9=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),SF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),AF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),kF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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 10.5h10v-10l-10 10z",fill:e}))),_F=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),l.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),FF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),IF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),TF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),RF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),BF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),zF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),l.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),l.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),LF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),OF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),$F=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),MF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),PF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),NF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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-11z",fill:e}))),HF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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 10.5v-10h5v10H2z",fill:e}))),jF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),VF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),l.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3492"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),UF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3493"},l.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),qF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),WF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),GF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),KF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),YF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),JF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),ZF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),XF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),QF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),eI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),tI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),rI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),nI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.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-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),aI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.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-11zM2 4v8h10V4H2z",fill:e}))),oI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),iI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),lI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),sI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),uI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),cI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),dI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),pI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),fI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),hI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),mI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),gI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),vI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),yI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),bI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),wI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),EI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),xI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},l.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3497"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),CI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),DI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3496"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),SI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),AI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},l.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3503"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),kI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),_I=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),FI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),II=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),TI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),RI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),BI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),zI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),LI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),OI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),$I=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),MI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),PI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),NI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),HI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),jI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),VI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),UI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}))),qI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}))),WI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}))),GI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}))),KI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}),l.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:e}))),YI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}),l.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:e}))),JI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}),l.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:e}))),ZI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}),l.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:e}))),XI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}),l.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:e}))),QI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}),l.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:e}))),eT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}),l.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:e}))),tT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}))),rT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}),l.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:e}))),nT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}))),aT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}))),oT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),l.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:e}))),iT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),lT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),sT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),uT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),cT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),dT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),pT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),fT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),hT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),mT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),gT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),vT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),yT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),i9=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),bT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),wT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3502"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),ET=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},l.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3501"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),xT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),CT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),DT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),ST=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),AT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),kT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),_T=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),FT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),IT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),TT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),RT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),BT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),zT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),LT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),OT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},l.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3614"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),$T=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),MT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),l.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),PT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),NT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),l.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),HT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),jT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),VT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),UT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),qT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),WT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),GT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),KT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),YT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),JT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),ZT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),XT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),QT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),eR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),tR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),rR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),nR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),aR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),l.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),oR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),iR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),lR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),sR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),uR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1449_588"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),cR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),dR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),pR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),fR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),hR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),mR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),gR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),vR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),yR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),l.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),l.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),bR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),wR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),ER=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),xR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),CR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),DR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),SR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),AR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),kR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),l9=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),_R=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),FR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),IR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),TR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),RR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),BR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),zR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),LR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),OR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),$R=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),MR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),PR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),NR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),HR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),jR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),VR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),l.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),l.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),UR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),qR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),WR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),GR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),KR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),YR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),JR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),ZR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),XR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),QR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),eB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),tB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),rB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),nB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),aB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),oB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),iB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),lB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),sB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),l.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),uB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},l.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3594"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),cB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),dB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),pB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),fB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),l.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),hB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),mB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),gB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),vB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),yB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),l.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),bB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),wB=0,EB=c(e=>e.button===wB&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),xB=c((e,t)=>{EB(e)&&(e.preventDefault(),t(e))},"cancelled"),CB=_.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),DB=_.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:qn(.07,e.color.secondary),"svg path:not([fill])":{fill:qn(.07,e.color.secondary)}},"&:active":{color:qn(.1,e.color.secondary),"svg path:not([fill])":{fill:qn(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),ra=c(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:o=void 0,style:i=void 0,...s})=>y.createElement(DB,{...s,onClick:r&&e?u=>xB(u,r):r,className:o},y.createElement(CB,{withArrow:n,containsIcon:a},t,n&&y.createElement(l9,null))),"Link"),tre=_.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}})),sn=[],ba=null,SB=l.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(Os(),Hp));return sn.length>0&&(sn.forEach(t=>{e.registerLanguage(...t)}),sn=[]),ba===null&&(ba=e),{default:c(t=>y.createElement(e,{...t}),"default")}}),AB=l.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(Os(),Hp)),Promise.resolve().then(()=>(jk(),M8))]);return sn.length>0&&(sn.forEach(r=>{e.registerLanguage(...r)}),sn=[]),ba===null&&(ba=e),{default:c(r=>y.createElement(e,{...r,formatter:t}),"default")}}),ah=c(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},e.format!==!1?y.createElement(AB,{...e}):y.createElement(SB,{...e})),"SyntaxHighlighter");ah.registerLanguage=(...e)=>{if(ba!==null){ba.registerLanguage(...e);return}sn.push(e)};Os();a7();var s9={};ka(s9,{Close:()=>ix,Content:()=>nx,Description:()=>ox,Dialog:()=>j9,DialogClose:()=>Q9,DialogContent:()=>K9,DialogDescription:()=>X9,DialogOverlay:()=>G9,DialogPortal:()=>W9,DialogTitle:()=>Z9,DialogTrigger:()=>V9,Overlay:()=>rx,Portal:()=>tx,Root:()=>ex,Title:()=>ax,Trigger:()=>bz,WarningProvider:()=>yz,createDialogScope:()=>sz});Ct();Mp();_a();p7();Op();var kB=l.useId||(()=>{}),_B=0;function El(e){let[t,r]=l.useState(kB());return Lo(()=>{e||r(n=>n??String(_B++))},[e]),e||(t?`radix-${t}`:"")}c(El,"$1746a345f3d73bb7$export$f680877a34711e37");oi();function u9({prop:e,defaultProp:t,onChange:r=c(()=>{},"onChange")}){let[n,a]=c9({defaultProp:t,onChange:r}),o=e!==void 0,i=o?e:n,s=ze(r),u=l.useCallback(d=>{if(o){let p=typeof d=="function"?d(e):d;p!==e&&s(p)}else a(d)},[o,e,a,s]);return[i,u]}c(u9,"$71cd76cc60e0454e$export$6f32135080cb4c3");function c9({defaultProp:e,onChange:t}){let r=l.useState(e),[n]=r,a=l.useRef(n),o=ze(t);return l.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}c(c9,"$71cd76cc60e0454e$var$useUncontrolledState");Ct();Mp();ai();_a();oi();oi();function d9(e,t=globalThis==null?void 0:globalThis.document){let r=ze(e);l.useEffect(()=>{let n=c(a=>{a.key==="Escape"&&r(a)},"handleKeyDown");return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}c(d9,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var _1="dismissableLayer.update",FB="dismissableLayer.pointerDownOutside",IB="dismissableLayer.focusOutside",z4,TB=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),RB=l.forwardRef((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:u,...d}=e,p=l.useContext(TB),[h,m]=l.useState(null),f=(r=h==null?void 0:h.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,v]=l.useState({}),g=Ke(t,k=>m(k)),b=Array.from(p.layers),[C]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),w=b.indexOf(C),x=h?b.indexOf(h):-1,E=p.layersWithOutsidePointerEventsDisabled.size>0,D=x>=w,S=p9(k=>{let F=k.target,T=[...p.branches].some(R=>R.contains(F));!D||T||(o==null||o(k),s==null||s(k),k.defaultPrevented||(u==null||u()))},f),A=f9(k=>{let F=k.target;[...p.branches].some(T=>T.contains(F))||(i==null||i(k),s==null||s(k),k.defaultPrevented||(u==null||u()))},f);return d9(k=>{x===p.layers.size-1&&(a==null||a(k),!k.defaultPrevented&&u&&(k.preventDefault(),u()))},f),l.useEffect(()=>{if(h)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(z4=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(h)),p.layers.add(h),F1(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=z4)}},[h,f,n,p]),l.useEffect(()=>()=>{h&&(p.layers.delete(h),p.layersWithOutsidePointerEventsDisabled.delete(h),F1())},[h,p]),l.useEffect(()=>{let k=c(()=>v({}),"handleUpdate");return document.addEventListener(_1,k),()=>document.removeEventListener(_1,k)},[]),l.createElement(Me.div,U({},d,{ref:g,style:{pointerEvents:E?D?"auto":"none":void 0,...e.style},onFocusCapture:Ie(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Ie(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Ie(e.onPointerDownCapture,S.onPointerDownCapture)}))});function p9(e,t=globalThis==null?void 0:globalThis.document){let r=ze(e),n=l.useRef(!1),a=l.useRef(()=>{});return l.useEffect(()=>{let o=c(s=>{if(s.target&&!n.current){let u=function(){oh(FB,r,d,{discrete:!0})};c(u,"handleAndDispatchPointerDownOutsideEvent");let d={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=u,t.addEventListener("click",a.current,{once:!0})):u()}else t.removeEventListener("click",a.current);n.current=!1},"handlePointerDown"),i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:c(()=>n.current=!0,"onPointerDownCapture")}}c(p9,"$5cb92bef7577960e$var$usePointerDownOutside");function f9(e,t=globalThis==null?void 0:globalThis.document){let r=ze(e),n=l.useRef(!1);return l.useEffect(()=>{let a=c(o=>{o.target&&!n.current&&oh(IB,r,{originalEvent:o},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:c(()=>n.current=!0,"onFocusCapture"),onBlurCapture:c(()=>n.current=!1,"onBlurCapture")}}c(f9,"$5cb92bef7577960e$var$useFocusOutside");function F1(){let e=new CustomEvent(_1);document.dispatchEvent(e)}c(F1,"$5cb92bef7577960e$var$dispatchUpdate");function oh(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?l7(a,o):a.dispatchEvent(o)}c(oh,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent");Ct();_a();ai();oi();var P0="focusScope.autoFocusOnMount",N0="focusScope.autoFocusOnUnmount",L4={bubbles:!1,cancelable:!0},BB=l.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...i}=e,[s,u]=l.useState(null),d=ze(a),p=ze(o),h=l.useRef(null),m=Ke(t,g=>u(g)),f=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let g=function(x){if(f.paused||!s)return;let E=x.target;s.contains(E)?h.current=E:ir(h.current,{select:!0})},b=function(x){if(f.paused||!s)return;let E=x.relatedTarget;E!==null&&(s.contains(E)||ir(h.current,{select:!0}))},C=function(x){if(document.activeElement===document.body)for(let E of x)E.removedNodes.length>0&&ir(s)};c(g,"handleFocusIn"),c(b,"handleFocusOut"),c(C,"handleMutations"),document.addEventListener("focusin",g),document.addEventListener("focusout",b);let w=new MutationObserver(C);return s&&w.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b),w.disconnect()}}},[n,s,f.paused]),l.useEffect(()=>{if(s){O4.add(f);let g=document.activeElement;if(!s.contains(g)){let b=new CustomEvent(P0,L4);s.addEventListener(P0,d),s.dispatchEvent(b),b.defaultPrevented||(h9(b9(ih(s)),{select:!0}),document.activeElement===g&&ir(s))}return()=>{s.removeEventListener(P0,d),setTimeout(()=>{let b=new CustomEvent(N0,L4);s.addEventListener(N0,p),s.dispatchEvent(b),b.defaultPrevented||ir(g??document.body,{select:!0}),s.removeEventListener(N0,p),O4.remove(f)},0)}}},[s,d,p,f]);let v=l.useCallback(g=>{if(!r&&!n||f.paused)return;let b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,C=document.activeElement;if(b&&C){let w=g.currentTarget,[x,E]=m9(w);x&&E?!g.shiftKey&&C===E?(g.preventDefault(),r&&ir(x,{select:!0})):g.shiftKey&&C===x&&(g.preventDefault(),r&&ir(E,{select:!0})):C===w&&g.preventDefault()}},[r,n,f.paused]);return l.createElement(Me.div,U({tabIndex:-1},i,{ref:m,onKeyDown:v}))});function h9(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(ir(n,{select:t}),document.activeElement!==r)return}c(h9,"$d3863c46a17e8a28$var$focusFirst");function m9(e){let t=ih(e),r=I1(t,e),n=I1(t.reverse(),e);return[r,n]}c(m9,"$d3863c46a17e8a28$var$getTabbableEdges");function ih(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c(n=>{let a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}c(ih,"$d3863c46a17e8a28$var$getTabbableCandidates");function I1(e,t){for(let r of e)if(!g9(r,{upTo:t}))return r}c(I1,"$d3863c46a17e8a28$var$findVisible");function g9(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}c(g9,"$d3863c46a17e8a28$var$isHidden");function v9(e){return e instanceof HTMLInputElement&&"select"in e}c(v9,"$d3863c46a17e8a28$var$isSelectableInput");function ir(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&v9(e)&&t&&e.select()}}c(ir,"$d3863c46a17e8a28$var$focus");var O4=y9();function y9(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=T1(e,t),e.unshift(t)},remove(t){var r;e=T1(e,t),(r=e[0])===null||r===void 0||r.resume()}}}c(y9,"$d3863c46a17e8a28$var$createFocusScopesStack");function T1(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}c(T1,"$d3863c46a17e8a28$var$arrayRemove");function b9(e){return e.filter(t=>t.tagName!=="A")}c(b9,"$d3863c46a17e8a28$var$removeLinks");Ct();ai();var zB=l.forwardRef((e,t)=>{var r;let{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...a}=e;return n?uy.createPortal(l.createElement(Me.div,U({},a,{ref:t})),n):null});u7();ai();var H0=0;function w9(){l.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:R1()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:R1()),H0++,()=>{H0===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),H0--}},[])}c(w9,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c");function R1(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}c(R1,"$3db38b7d1fb3fe6a$var$createFocusGuard");var Mt=c(function(){return Mt=Object.assign||c(function(e){for(var t,r=1,n=arguments.length;r"u")return NB;var t=HB(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),VB=B9(),ms="data-scroll-locked",UB=c(function(e,t,r,n){var a=e.left,o=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),` + .`.concat(LB,` { + overflow: hidden `).concat(n,`; + padding-right: `).concat(s,"px ").concat(n,`; + } + body[`).concat(ms,`] { + overflow: hidden `).concat(n,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` + padding-left: `.concat(a,`px; + padding-top: `).concat(o,`px; + padding-right: `).concat(i,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(s,"px ").concat(n,`; + `),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),` + } + + .`).concat(xl,` { + right: `).concat(s,"px ").concat(n,`; + } + + .`).concat(Cl,` { + margin-right: `).concat(s,"px ").concat(n,`; + } + + .`).concat(xl," .").concat(xl,` { + right: 0 `).concat(n,`; + } + + .`).concat(Cl," .").concat(Cl,` { + margin-right: 0 `).concat(n,`; + } + + body[`).concat(ms,`] { + `).concat(OB,": ").concat(s,`px; + } +`)},"getStyles"),qB=c(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n,o=l.useMemo(function(){return jB(a)},[a]);return l.useEffect(function(){return document.body.setAttribute(ms,""),function(){document.body.removeAttribute(ms)}},[]),l.createElement(VB,{styles:UB(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),B1=!1;if(typeof window<"u")try{so=Object.defineProperty({},"passive",{get:c(function(){return B1=!0,!0},"get")}),window.addEventListener("test",so,so),window.removeEventListener("test",so,so)}catch{B1=!1}var so,Ln=B1?{passive:!1}:!1,WB=c(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),z9=c(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!WB(e)&&r[t]==="visible")},"elementCanBeScrolled"),GB=c(function(e){return z9(e,"overflowY")},"elementCouldBeVScrolled"),KB=c(function(e){return z9(e,"overflowX")},"elementCouldBeHScrolled"),M4=c(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=L9(e,r);if(n){var a=O9(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),YB=c(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),JB=c(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),L9=c(function(e,t){return e==="v"?GB(t):KB(t)},"elementCouldBeScrolled"),O9=c(function(e,t){return e==="v"?YB(t):JB(t)},"getScrollVariables"),ZB=c(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),XB=c(function(e,t,r,n,a){var o=ZB(e,window.getComputedStyle(t).direction),i=o*n,s=r.target,u=t.contains(s),d=!1,p=i>0,h=0,m=0;do{var f=O9(e,s),v=f[0],g=f[1],b=f[2],C=g-b-o*v;(v||C)&&L9(e,s)&&(h+=C,m+=v),s=s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return(p&&(a&&h===0||!a&&i>h)||!p&&(a&&m===0||!a&&-i>m))&&(d=!0),d},"handleScroll"),Yi=c(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),P4=c(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),N4=c(function(e){return e&&"current"in e?e.current:e},"extractRef"),QB=c(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),ez=c(function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},"generateStyle"),tz=0,On=[];function $9(e){var t=l.useRef([]),r=l.useRef([0,0]),n=l.useRef(),a=l.useState(tz++)[0],o=l.useState(function(){return B9()})[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var g=E9([e.lockRef.current],(e.shards||[]).map(N4),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(g,b){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var C=Yi(g),w=r.current,x="deltaX"in g?g.deltaX:w[0]-C[0],E="deltaY"in g?g.deltaY:w[1]-C[1],D,S=g.target,A=Math.abs(x)>Math.abs(E)?"h":"v";if("touches"in g&&A==="h"&&S.type==="range")return!1;var k=M4(A,S);if(!k)return!0;if(k?D=A:(D=A==="v"?"h":"v",k=M4(A,S)),!k)return!1;if(!n.current&&"changedTouches"in g&&(x||E)&&(n.current=D),!D)return!0;var F=n.current||D;return XB(F,b,g,F==="h"?x:E,!0)},[]),u=l.useCallback(function(g){var b=g;if(!(!On.length||On[On.length-1]!==o)){var C="deltaY"in b?P4(b):Yi(b),w=t.current.filter(function(D){return D.name===b.type&&D.target===b.target&&QB(D.delta,C)})[0];if(w&&w.should){b.cancelable&&b.preventDefault();return}if(!w){var x=(i.current.shards||[]).map(N4).filter(Boolean).filter(function(D){return D.contains(b.target)}),E=x.length>0?s(b,x[0]):!i.current.noIsolation;E&&b.cancelable&&b.preventDefault()}}},[]),d=l.useCallback(function(g,b,C,w){var x={name:g,delta:b,target:C,should:w};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(E){return E!==x})},1)},[]),p=l.useCallback(function(g){r.current=Yi(g),n.current=void 0},[]),h=l.useCallback(function(g){d(g.type,P4(g),g.target,s(g,e.lockRef.current))},[]),m=l.useCallback(function(g){d(g.type,Yi(g),g.target,s(g,e.lockRef.current))},[]);l.useEffect(function(){return On.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",u,Ln),document.addEventListener("touchmove",u,Ln),document.addEventListener("touchstart",p,Ln),function(){On=On.filter(function(g){return g!==o}),document.removeEventListener("wheel",u,Ln),document.removeEventListener("touchmove",u,Ln),document.removeEventListener("touchstart",p,Ln)}},[]);var f=e.removeScrollBar,v=e.inert;return l.createElement(l.Fragment,null,v?l.createElement(o,{styles:ez(a)}):null,f?l.createElement(qB,{gapMode:"margin"}):null)}c($9,"RemoveScrollSideCar");var rz=_9(F9,$9),M9=l.forwardRef(function(e,t){return l.createElement(fu,Mt({},e,{ref:t,sideCar:rz}))});M9.classNames=fu.classNames;var nz=M9,az=c(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),$n=new WeakMap,Ji=new WeakMap,Zi={},U0=0,P9=c(function(e){return e&&(e.host||P9(e.parentNode))},"unwrapHost"),oz=c(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=P9(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),iz=c(function(e,t,r,n){var a=oz(t,Array.isArray(e)?e:[e]);Zi[r]||(Zi[r]=new WeakMap);var o=Zi[r],i=[],s=new Set,u=new Set(a),d=c(function(h){!h||s.has(h)||(s.add(h),d(h.parentNode))},"keep");a.forEach(d);var p=c(function(h){!h||u.has(h)||Array.prototype.forEach.call(h.children,function(m){if(s.has(m))p(m);else{var f=m.getAttribute(n),v=f!==null&&f!=="false",g=($n.get(m)||0)+1,b=(o.get(m)||0)+1;$n.set(m,g),o.set(m,b),i.push(m),g===1&&v&&Ji.set(m,!0),b===1&&m.setAttribute(r,"true"),v||m.setAttribute(n,"true")}})},"deep");return p(t),s.clear(),U0++,function(){i.forEach(function(h){var m=$n.get(h)-1,f=o.get(h)-1;$n.set(h,m),o.set(h,f),m||(Ji.has(h)||h.removeAttribute(n),Ji.delete(h)),f||h.removeAttribute(r)}),U0--,U0||($n=new WeakMap,$n=new WeakMap,Ji=new WeakMap,Zi={})}},"applyAttributeToOthers"),lz=c(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||az(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),iz(n,a,r,"aria-hidden")):function(){return null}},"hideOthers");Lp();var N9="Dialog",[H9,sz]=$p(N9),[uz,Dt]=H9(N9),j9=c(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,s=l.useRef(null),u=l.useRef(null),[d=!1,p]=u9({prop:n,defaultProp:a,onChange:o});return l.createElement(uz,{scope:t,triggerRef:s,contentRef:u,contentId:El(),titleId:El(),descriptionId:El(),open:d,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(h=>!h),[p]),modal:i},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),cz="DialogTrigger",V9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(cz,r),o=Ke(t,a.triggerRef);return l.createElement(Me.button,U({type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":hu(a.open)},n,{ref:o,onClick:Ie(e.onClick,a.onOpenToggle)}))}),U9="DialogPortal",[dz,q9]=H9(U9,{forceMount:void 0}),W9=c(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=Dt(U9,t);return l.createElement(dz,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(sr,{present:r||o.open},l.createElement(zB,{asChild:!0,container:a},i))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),z1="DialogOverlay",G9=l.forwardRef((e,t)=>{let r=q9(z1,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=Dt(z1,e.__scopeDialog);return o.modal?l.createElement(sr,{present:n||o.open},l.createElement(pz,U({},a,{ref:t}))):null}),pz=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(z1,r);return l.createElement(nz,{as:zo,allowPinchZoom:!0,shards:[a.contentRef]},l.createElement(Me.div,U({"data-state":hu(a.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),wa="DialogContent",K9=l.forwardRef((e,t)=>{let r=q9(wa,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=Dt(wa,e.__scopeDialog);return l.createElement(sr,{present:n||o.open},o.modal?l.createElement(fz,U({},a,{ref:t})):l.createElement(hz,U({},a,{ref:t})))}),fz=l.forwardRef((e,t)=>{let r=Dt(wa,e.__scopeDialog),n=l.useRef(null),a=Ke(t,r.contentRef,n);return l.useEffect(()=>{let o=n.current;if(o)return lz(o)},[]),l.createElement(Y9,U({},e,{ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ie(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:Ie(e.onPointerDownOutside,o=>{let i=o.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&o.preventDefault()}),onFocusOutside:Ie(e.onFocusOutside,o=>o.preventDefault())}))}),hz=l.forwardRef((e,t)=>{let r=Dt(wa,e.__scopeDialog),n=l.useRef(!1),a=l.useRef(!1);return l.createElement(Y9,U({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c(o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var s;n.current||(s=r.triggerRef.current)===null||s===void 0||s.focus(),o.preventDefault()}n.current=!1,a.current=!1},"onCloseAutoFocus"),onInteractOutside:c(o=>{var i,s;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));let u=o.target;!((s=r.triggerRef.current)===null||s===void 0)&&s.contains(u)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()},"onInteractOutside")}))}),Y9=l.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=Dt(wa,r),u=l.useRef(null),d=Ke(t,u);return w9(),l.createElement(l.Fragment,null,l.createElement(BB,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o},l.createElement(RB,U({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":hu(s.open)},i,{ref:d,onDismiss:c(()=>s.onOpenChange(!1),"onDismiss")}))),!1)}),J9="DialogTitle",Z9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(J9,r);return l.createElement(Me.h2,U({id:a.titleId},n,{ref:t}))}),mz="DialogDescription",X9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(mz,r);return l.createElement(Me.p,U({id:a.descriptionId},n,{ref:t}))}),gz="DialogClose",Q9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(gz,r);return l.createElement(Me.button,U({type:"button"},n,{ref:t,onClick:Ie(e.onClick,()=>a.onOpenChange(!1))}))});function hu(e){return e?"open":"closed"}c(hu,"$5d3850c4d0b4e6c7$var$getState");var vz="DialogTitleWarning",[yz,rre]=c7(vz,{contentName:wa,titleName:J9,docsSlug:"dialog"}),ex=j9,bz=V9,tx=W9,rx=G9,nx=K9,ax=Z9,ox=X9,ix=Q9,lx={};ka(lx,{Actions:()=>_z,CloseButton:()=>dx,Col:()=>fx,Container:()=>cx,Content:()=>Dz,Description:()=>kz,Error:()=>Fz,ErrorWrapper:()=>hx,Header:()=>Sz,Overlay:()=>ux,Row:()=>px,Title:()=>Az});Lp();const{deprecate:wz}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Sn=l.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:o=!1,active:i=!1,onClick:s,...u},d)=>{let p="button";u.isLink&&(p="a"),e&&(p=zo);let h=n,m=r,[f,v]=l.useState(!1),g=c(b=>{s&&s(b),t!=="none"&&v(!0)},"handleClick");if(l.useEffect(()=>{let b=setTimeout(()=>{f&&v(!1)},1e3);return()=>clearTimeout(b)},[f]),u.primary&&(h="solid",m="medium"),(u.secondary||u.tertiary||u.gray||u.outline||u.inForm)&&(h="outline",m="medium"),u.small||u.isLink||u.primary||u.secondary||u.tertiary||u.gray||u.outline||u.inForm||u.containsIcon){let b=y.Children.toArray(u.children).filter(C=>typeof C=="string"&&C!=="");wz(`Use of deprecated props in the button ${b.length>0?`"${b.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return y.createElement(Ez,{as:p,ref:d,variant:h,size:m,padding:a,disabled:o,active:i,animating:f,animation:t,onClick:g,...u})});Sn.displayName="Button";var Ez=_("button",{shouldForwardProp:c(e=>up(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:o,animation:i="none",padding:s})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:s==="small"&&r==="small"?"0 7px":s==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&a?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:a?rt(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:rt(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:rt(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${Ko(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&a?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?rt(.86,e.color.secondary):e.base==="light"?qn(.02,u):B4(.03,u)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?qn(.02,u):B4(.03,u)})()},"&:focus":{boxShadow:`${Ko(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),un=l.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>y.createElement(Sn,{padding:e,variant:t,ref:n,...r}));un.displayName="IconButton";var sx=mr({from:{opacity:0},to:{opacity:1}}),xz=mr({from:{maxHeight:0},to:{}}),Cz=mr({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),ux=_.div({backgroundColor:"rgba(27, 28, 29, 0.2)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${sx} 200ms`}),cx=_.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"rgba(255, 255, 255, 0.05) 0 0 0 1px inset, rgba(14, 18, 22, 0.35) 0px 10px 38px -10px",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${Cz} 200ms`,"&:focus-visible":{outline:"none"}})),dx=c(e=>y.createElement(ix,{asChild:!0},y.createElement(un,{...e},y.createElement(i9,null))),"CloseButton"),Dz=_.div({display:"flex",flexDirection:"column",margin:16,gap:16}),px=_.div({display:"flex",justifyContent:"space-between",gap:16}),fx=_.div({display:"flex",flexDirection:"column",gap:4}),Sz=c(e=>y.createElement(px,null,y.createElement(fx,{...e}),y.createElement(dx,null)),"Header"),Az=_(ax)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),kz=_(ox)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),_z=_.div({display:"flex",flexDirection:"row-reverse",gap:8}),hx=_.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${xz} 300ms, ${sx} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),Fz=c(({children:e,...t})=>y.createElement(hx,{...t},y.createElement("div",null,e)),"Error");function mx({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=c(u=>u.preventDefault(),"onInteractOutside"),className:o,container:i,...s}){return y.createElement(ex,{...s},y.createElement(tx,{container:i},y.createElement(rx,{asChild:!0},y.createElement(ux,null)),y.createElement(nx,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},y.createElement(cx,{className:o,width:t,height:r},e))))}c(mx,"BaseModal");var nre=Object.assign(mx,lx,{Dialog:s9}),Iz=c(e=>typeof e=="number"?e:Number(e),"toNumber"),Tz=_.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${dd}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${dd}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),are=c(({col:e,row:t,outer:r,children:n,...a})=>{let o=Iz(typeof r=="number"||!r?r:e||t);return y.createElement(Tz,{col:e,row:t,outer:o,...a},n)},"Spaced"),Rz=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Bz=_.div(),zz=_.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),ore=c(({children:e,...t})=>{let[r,n]=l.Children.toArray(e);return y.createElement(zz,{...t},y.createElement(Rz,null,r),n&&y.createElement(Bz,null,n))},"Placeholder");Np();function gx(e,t){var r=l.useRef(null),n=l.useRef(null);n.current=t;var a=l.useRef(null);l.useEffect(function(){o()});var o=l.useCallback(function(){var i=a.current,s=n.current,u=i||(s?s instanceof Element?s:s.current:null);r.current&&r.current.element===u&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:u,subscriber:e,cleanup:u?e(u):void 0})},[e]);return l.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),l.useCallback(function(i){a.current=i,o()},[o])}c(gx,"useResolvedElement");function L1(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}c(L1,"extractSize");function sh(e){e===void 0&&(e={});var t=e.onResize,r=l.useRef(void 0);r.current=t;var n=e.round||Math.round,a=l.useRef(),o=l.useState({width:void 0,height:void 0}),i=o[0],s=o[1],u=l.useRef(!1);l.useEffect(function(){return u.current=!1,function(){u.current=!0}},[]);var d=l.useRef({width:void 0,height:void 0}),p=gx(l.useCallback(function(h){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(m){var f=m[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",g=L1(f,v,"inlineSize"),b=L1(f,v,"blockSize"),C=g?n(g):void 0,w=b?n(b):void 0;if(d.current.width!==C||d.current.height!==w){var x={width:C,height:w};d.current.width=C,d.current.height=w,r.current?r.current(x):u.current||s(x)}})}),a.current.instance.observe(h,{box:e.box}),function(){a.current&&a.current.instance.unobserve(h)}},[e.box,n]),e.ref);return l.useMemo(function(){return{ref:p,width:i.width,height:i.height}},[p,i.width,i.height])}c(sh,"useResizeObserver");var Lz=_.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function vx({scale:e,children:t}){let r=l.useRef(null),[n,a]=l.useState(0),o=l.useCallback(({height:i})=>{i&&a(i/e)},[e]);return l.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),sh({ref:r,onResize:o}),y.createElement(Lz,{scale:e,elementHeight:n},y.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}c(vx,"ZoomElement");var yx=class extends l.Component{constructor(){super(...arguments);yr(this,"iframe",null)}componentDidMount(){let{iFrameRef:r}=this.props;this.iframe=r.current}shouldComponentUpdate(r){let{scale:n,active:a}=this.props;return n!==r.scale&&this.setIframeInnerZoom(r.scale),a!==r.active&&this.iframe.setAttribute("data-is-storybook",r.active?"true":"false"),r.children.props.src!==this.props.children.props.src}setIframeInnerZoom(r){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${r*100}%`,height:`${r*100}%`,transform:`scale(${1/r})`,transformOrigin:"top left"})}catch{this.setIframeZoom(r)}}setIframeZoom(r){Object.assign(this.iframe.style,{width:`${r*100}%`,height:`${r*100}%`,transform:`scale(${1/r})`,transformOrigin:"top left"})}render(){let{children:r}=this.props;return y.createElement(y.Fragment,null,r)}};c(yx,"ZoomIFrame");var Oz=yx,$z={Element:vx,IFrame:Oz};const{global:Mz}=__STORYBOOK_MODULE_GLOBAL__;var{document:Pz}=Mz,Nz=_.strong(({theme:e})=>({color:e.color.orange})),Hz=_.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),H4=_.em(({theme:e})=>({color:e.textMutedColor})),jz=/(Error): (.*)\n/,Vz=/at (?:(.*) )?\(?(.+)\)?/,Uz=/([^@]+)?(?:\/<)?@(.+)?/,qz=/([^@]+)?@(.+)?/,Wz=c(({error:e})=>{if(!e)return y.createElement(l.Fragment,null,"This error has no stack or message");if(!e.stack)return y.createElement(l.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} + +${t}`);let r=t.match(jz);if(!r)return y.createElement(l.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...i]=o.map(s=>{let u=s.match(Vz)||s.match(Uz)||s.match(qz);return u?{name:(u[1]||"").replace("/<",""),location:u[2].replace(Pz.location.origin,"")}:null}).filter(Boolean);return y.createElement(l.Fragment,null,y.createElement("span",null,n),": ",y.createElement(Nz,null,a),y.createElement("br",null),i.map((s,u)=>s!=null&&s.name?y.createElement(l.Fragment,{key:u}," ","at ",y.createElement(Hz,null,s.name)," (",y.createElement(H4,null,s.location),")",y.createElement("br",null)):y.createElement(l.Fragment,{key:u}," ","at ",y.createElement(H4,null,s==null?void 0:s.location),y.createElement("br",null))))},"ErrorFormatter"),Gz=_.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Kz=_.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),Yz=c(({label:e,children:t,...r})=>y.createElement(Gz,{...r},e?y.createElement(Kz,null,y.createElement("span",null,e)):null,t),"Field");Ct();Sp();var Jz=l.useLayoutEffect,Zz=Jz,Xz=c(function(e){var t=l.useRef(e);return Zz(function(){t.current=e}),t},"useLatest"),j4=c(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),Qz=c(function(e,t){var r=l.useRef();return l.useCallback(function(n){e.current=n,r.current&&j4(r.current,null),r.current=t,t&&j4(t,n)},[t])},"useComposedRef"),eL=Qz,V4={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},tL=c(function(e){Object.keys(V4).forEach(function(t){e.style.setProperty(t,V4[t],"important")})},"forceHiddenStyles"),U4=tL,Re=null,q4=c(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function bx(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),Re||(Re=document.createElement("textarea"),Re.setAttribute("tabindex","-1"),Re.setAttribute("aria-hidden","true"),U4(Re)),Re.parentNode===null&&document.body.appendChild(Re);var a=e.paddingSize,o=e.borderSize,i=e.sizingStyle,s=i.boxSizing;Object.keys(i).forEach(function(m){var f=m;Re.style[f]=i[f]}),U4(Re),Re.value=t;var u=q4(Re,e);Re.value=t,u=q4(Re,e),Re.value="x";var d=Re.scrollHeight-a,p=d*r;s==="border-box"&&(p=p+a+o),u=Math.max(p,u);var h=d*n;return s==="border-box"&&(h=h+a+o),u=Math.min(h,u),[u,d]}c(bx,"calculateNodeHeight");var W4=c(function(){},"noop"),rL=c(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),nL=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],aL=!!document.documentElement.currentStyle,oL=c(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=rL(nL,t),n=r.boxSizing;if(n==="")return null;aL&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var a=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),o=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:o}},"getSizingData"),iL=oL;function uh(e,t,r){var n=Xz(r);l.useLayoutEffect(function(){var a=c(function(o){return n.current(o)},"handler");if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}c(uh,"useListener");var lL=c(function(e){uh(window,"resize",e)},"useWindowResizeListener"),sL=c(function(e){uh(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),uL=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],cL=c(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,i=o===void 0?W4:o,s=e.onHeightChange,u=s===void 0?W4:s,d=zs(e,uL),p=d.value!==void 0,h=l.useRef(null),m=eL(h,t),f=l.useRef(0),v=l.useRef(),g=c(function(){var C=h.current,w=r&&v.current?v.current:iL(C);if(w){v.current=w;var x=bx(w,C.value||C.placeholder||"x",a,n),E=x[0],D=x[1];f.current!==E&&(f.current=E,C.style.setProperty("height",E+"px","important"),u(E,{rowHeight:D}))}},"resizeTextarea"),b=c(function(C){p||g(),i(C)},"handleChange");return l.useLayoutEffect(g),lL(g),sL(g),l.createElement("textarea",U({},d,{onChange:b,ref:m}))},"TextareaAutosize"),dL=l.forwardRef(cL),pL={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},ch=c(({theme:e})=>({...pL,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),dh=c(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),wx=c(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),ph=c(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),fL=Object.assign(_(l.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return y.createElement("input",{...n,ref:a})},"Input")))(ch,dh,wx,ph,{minHeight:32}),{displayName:"Input"}),hL=Object.assign(_(l.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return y.createElement("select",{...n,ref:a})},"Select")))(ch,dh,ph,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),mL=Object.assign(_(l.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return y.createElement(dL,{...n,ref:a})},"Textarea")))(ch,dh,wx,ph,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Di=Object.assign(_.form({boxSizing:"border-box",width:"100%"}),{Field:Yz,Input:fL,Select:hL,Textarea:mL,Button:Sn}),gL=l.lazy(()=>Promise.resolve().then(()=>(Xf(),Zf)).then(e=>({default:e.WithTooltip}))),lre=c(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(gL,{...e})),"WithTooltip"),vL=l.lazy(()=>Promise.resolve().then(()=>(Xf(),Zf)).then(e=>({default:e.WithTooltipPure}))),yL=c(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(vL,{...e})),"WithTooltipPure"),bL=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),wL=_.span(),EL=_.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),xL=_.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),CL=_.div({padding:15,width:280,boxSizing:"border-box"}),sre=c(({title:e,desc:t,links:r})=>y.createElement(CL,null,y.createElement(xL,null,e&&y.createElement(bL,null,e),t&&y.createElement(wL,null,t)),r&&y.createElement(EL,null,r.map(({title:n,...a})=>y.createElement(ra,{...a,key:n},n)))),"TooltipMessage"),DL=_.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),ure=c(({note:e,...t})=>y.createElement(DL,{...t},e),"TooltipNote"),SL=De(Bs(),1),AL=_(({active:e,loading:t,disabled:r,...n})=>y.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:rt(.7,t.color.defaultText)}:{}),kL=_.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),_L=_.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),FL=_.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),IL=_.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),TL=_.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),RL=(0,SL.default)(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),BL=c(({loading:e=!1,title:t=y.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:a=!1,disabled:o=!1,isIndented:i,href:s=void 0,onClick:u=void 0,icon:d,LinkWrapper:p=void 0,...h})=>{let m=RL(u,s,p),f={active:a,disabled:o};return y.createElement(TL,{...f,...h,...m},d&&y.createElement(IL,{...f},d),t||r?y.createElement(_L,{isIndented:!!(!d&&i)},t&&y.createElement(AL,{...f,loading:e},t),r&&y.createElement(FL,{...f},r)):null,n&&y.createElement(kL,{...f},n))},"ListItem"),zL=BL,LL=_.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),OL=c(e=>{let{LinkWrapper:t,onClick:r,id:n,isIndented:a,...o}=e,{title:i,href:s,active:u}=o,d=l.useCallback(h=>{r(h,o)},[r]),p=!!r;return y.createElement(zL,{title:i,active:u,href:s,id:`list-item-${n}`,LinkWrapper:t,isIndented:a,...o,...p?{onClick:d}:{}})},"Item"),$L=c(({links:e,LinkWrapper:t=null})=>{let r=e.some(n=>n.icon);return y.createElement(LL,null,e.map(({isGatsby:n,...a})=>y.createElement(OL,{key:a.id,LinkWrapper:n?t:null,isIndented:r,...a})))},"TooltipLinkList"),ML=c(e=>typeof e.props.href=="string","isLink"),PL=c(e=>typeof e.props.href!="string","isButton");function Ex({children:e,...t},r){let n={props:t,ref:r};if(ML(n))return y.createElement("a",{ref:n.ref,...n.props},e);if(PL(n))return y.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}c(Ex,"ForwardRefFunction");var xx=l.forwardRef(Ex);xx.displayName="ButtonOrLink";var mu=_(xx,{shouldForwardProp:up})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});mu.displayName="TabButton";var NL=_.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),HL=_.div(()=>({marginTop:6,padding:7,height:28})),cre=c(()=>y.createElement(HL,null,y.createElement(NL,null)),"IconButtonSkeleton");Np();var O1=_.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});O1.displayName="Side";var jL=c(({children:e,className:t,scrollable:r})=>r?y.createElement(Ml,{vertical:!1,className:t},e):y.createElement("div",{className:t},e),"UnstyledBar"),Cx=_(jL)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});Cx.displayName="Bar";var VL=_.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),fh=c(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=l.Children.toArray(e);return y.createElement(Cx,{className:`sb-bar ${r}`,...n},y.createElement(VL,{bgColor:t},y.createElement(O1,{scrollable:n.scrollable,left:!0},a),o?y.createElement(O1,{right:!0},o):null))},"FlexBar");fh.displayName="FlexBar";var Dx=_.div(({active:e})=>e?{display:"block"}:{display:"none"}),UL=c(e=>l.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let o=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof o=="function"?o:({active:i})=>y.createElement(Dx,{active:i,role:"tabpanel"},o)}}),"childrenToList");Xf();var qL=_.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),WL=_(mu)(({active:e,theme:t,preActive:r})=>` + color: ${r||e?t.barSelectedColor:t.barTextColor}; + .addon-collapsible-icon { + color: ${r||e?t.barSelectedColor:t.barTextColor}; + } + &:hover { + color: ${t.barHoverColor}; + .addon-collapsible-icon { + color: ${t.barHoverColor}; + } + } + `);function Sx(e){let t=l.useRef(),r=l.useRef(),n=l.useRef(new Map),{width:a=1}=sh({ref:t}),[o,i]=l.useState(e),[s,u]=l.useState([]),d=l.useRef(e),p=l.useCallback(({menuName:m,actions:f})=>{let v=s.some(({active:C})=>C),[g,b]=l.useState(!1);return y.createElement(y.Fragment,null,y.createElement(ps,{interactive:!0,visible:g,onVisibleChange:b,placement:"bottom",delayHide:100,tooltip:y.createElement($L,{links:s.map(({title:C,id:w,color:x,active:E})=>({id:w,title:C,color:x,active:E,onClick:c(D=>{D.preventDefault(),f.onSelect(w)},"onClick")}))})},y.createElement(WL,{ref:r,active:v,preActive:g,style:{visibility:s.length?"visible":"hidden"},"aria-hidden":!s.length,className:"tabbutton",type:"button",role:"tab"},m,y.createElement(qL,{className:"addon-collapsible-icon",isActive:v||g}))),s.map(({title:C,id:w,color:x},E)=>{let D=`index-${E}`;return y.createElement(mu,{id:`tabbutton-${cy(w)??D}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(w,S)},className:"tabbutton",type:"button",key:w,textColor:x,role:"tab"},C)}))},[s]),h=l.useCallback(()=>{if(!t.current||!r.current)return;let{x:m,width:f}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),g=s.length?m+f-v:m+f,b=[],C=0,w=e.filter(x=>{let{id:E}=x,D=n.current.get(E),{width:S=0}=(D==null?void 0:D.getBoundingClientRect())||{},A=m+C+S>g;return(!A||!D)&&b.push(x),C+=S,A});(b.length!==o.length||d.current!==e)&&(i(b),u(w),d.current=e)},[s.length,e,o]);return l.useLayoutEffect(h,[h,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:s,AddonTab:p}}c(Sx,"useList");var GL=_.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),KL=_.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),YL=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),JL=_.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),Ax=c(({title:e,description:t,footer:r})=>y.createElement(GL,null,y.createElement(KL,null,y.createElement(YL,null,e),t&&y.createElement(JL,null,t)),r),"EmptyTabContent"),ZL="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",XL=_.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),kx=_.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});kx.displayName="TabBar";var QL=_.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${ZL}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),dre=c(({active:e,render:t,children:r})=>y.createElement(Dx,{active:e},t?t():r),"TabWrapper"),_x=l.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:o=null,backgroundColor:i,id:s=null,menuName:u="Tabs",emptyState:d,showToolsWhenEmpty:p})=>{let h=l.useMemo(()=>UL(e).map((C,w)=>({...C,active:t?C.id===t:w===0})),[e,t]),{visibleList:m,tabBarRef:f,tabRefs:v,AddonTab:g}=Sx(h),b=d??y.createElement(Ax,{title:"Nothing found"});return!p&&h.length===0?b:y.createElement(XL,{absolute:n,bordered:a,id:s},y.createElement(fh,{scrollable:!1,border:!0,backgroundColor:i},y.createElement(kx,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},m.map(({title:C,id:w,active:x,color:E},D)=>{let S=`index-${D}`;return y.createElement(mu,{id:`tabbutton-${cy(w)??S}`,ref:A=>{v.current.set(w,A)},className:`tabbutton ${x?"tabbutton-active":""}`,type:"button",key:w,active:x,textColor:E,onClick:A=>{A.preventDefault(),r.onSelect(w)},role:"tab"},typeof C=="function"?y.createElement("title",null):C)}),y.createElement(g,{menuName:u,actions:r})),o),y.createElement(QL,{id:"panel-tab-content",bordered:a,absolute:n},h.length?h.map(({id:C,active:w,render:x})=>y.createElement(x,{key:C,active:w},null)):b))});_x.displayName="Tabs";var $1=class extends l.Component{constructor(r){super(r);yr(this,"handlers",{onSelect:c(r=>this.setState({selected:r}),"onSelect")});this.state={selected:r.initial}}render(){let{bordered:r=!1,absolute:n=!1,children:a,backgroundColor:o,menuName:i}=this.props,{selected:s}=this.state;return y.createElement(_x,{bordered:r,absolute:n,selected:s,backgroundColor:o,menuName:i,actions:this.handlers},a)}};c($1,"TabsState"),kA($1,"defaultProps",{children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0});var eO=$1,Fx=_.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});Fx.displayName="Separator";var fre=c(e=>e.reduce((t,r,n)=>r?y.createElement(l.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?y.createElement(Fx,{key:`s-${n}`}):null,r.render()||r):t,null),"interleaveSeparators"),tO=c(e=>{let t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current},"usePrevious"),rO=c((e,t)=>{let r=tO(t);return e?t:r},"useUpdate"),hre=c(({active:e,children:t})=>y.createElement("div",{hidden:!e},rO(e,t)),"AddonPanel");const{deprecate:nO,logger:aO}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var oO=a9,iO=_.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + path { + fill: currentColor; + } +`,mre=c(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||nO(`Use of the deprecated Icons ${`(${e})`||""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`);let a=M1[e]||null;if(!a)return aO.warn(`Use of an unknown prop ${`(${e})`||""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`),null;let o=oO[a];return y.createElement(o,{...n})},"Icons"),gre=l.memo(c(function({icons:e=Object.keys(M1)}){return y.createElement(iO,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>y.createElement("symbol",{id:`icon--${t}`,key:t},M1[t])))},"Symbols")),M1={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},vre=c(({alt:e,...t})=>y.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?y.createElement("title",null,e):null,y.createElement("defs",null,y.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),y.createElement("g",{fill:"none",fillRule:"evenodd"},y.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),y.createElement("mask",{id:"b",fill:"#fff"},y.createElement("use",{xlinkHref:"#a"})),y.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),y.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"}))),"StorybookLogo"),yre=c(e=>y.createElement("svg",{viewBox:"0 0 64 64",...e},y.createElement("title",null,"Storybook icon"),y.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},y.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),y.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),y.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"}))),"StorybookIcon"),lO=mr` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,sO=_.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${lO} 0.7s linear infinite`,mixBlendMode:"difference"})),G4=_.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),uO=_.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:rt(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),cO=_.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),K4=_.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),dO=_(o9)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),pO=mr` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,fO=_.span({"&::after":{content:"'...'",animation:`${pO} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),hO=c(({progress:e,error:t,size:r,...n})=>{if(t)return y.createElement(G4,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},y.createElement(dO,null),y.createElement(K4,null,t.message));if(e){let{value:a,modules:o}=e,{message:i}=e;return o&&(i+=` ${o.complete} / ${o.total} modules`),y.createElement(G4,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":i,role:"progressbar",...n},y.createElement(uO,null,y.createElement(cO,{style:{width:`${a*100}%`}})),y.createElement(K4,null,i,a<1&&y.createElement(fO,{key:i})))}return y.createElement(sO,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader");function Ix(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{...Ix(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(i=>`${i[0]}=${i[1]}`).join("&")}`},"getStoryHref"),gO=_.pre` + line-height: 18px; + padding: 11px 1rem; + white-space: pre-wrap; + background: rgba(0, 0, 0, 0.05); + color: ${V.darkest}; + border-radius: 3px; + margin: 1rem 0; + width: 100%; + display: block; + overflow: hidden; + font-family: ${Nt.fonts.mono}; + font-size: ${Nt.size.s2-1}px; +`,bre=c(({code:e,...t})=>y.createElement(gO,{id:"clipboard-code",...t},e),"ClipboardCode"),vO=n9,yO={};Object.keys(n9).forEach(e=>{yO[e]=l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});function Ea(){return Ea=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Sl(e,t,r){return xO()?Sl=Reflect.construct.bind():Sl=function(a,o,i){var s=[null];s.push.apply(s,o);var u=Function.bind.apply(a,s),d=new u;return i&&Yo(d,i.prototype),d},Sl.apply(null,arguments)}function N1(e){var t=typeof Map=="function"?new Map:void 0;return N1=function(n){if(n===null||!EO(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return Sl(n,arguments,P1(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Yo(a,n)},N1(e)}var jt=function(e){wO(t,e);function t(r){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this,bO(n)}return t}(N1(Error));function q0(e){return Math.round(e*255)}function CO(e,t,r){return q0(e)+","+q0(t)+","+q0(r)}function Jo(e,t,r,n){if(n===void 0&&(n=CO),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(a%2-1)),s=0,u=0,d=0;a>=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,d=i):a>=3&&a<4?(u=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,h=s+p,m=u+p,f=d+p;return n(h,m,f)}var Y4={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"};function DO(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Y4[t]?"#"+Y4[t]:e}var SO=/^#[a-fA-F0-9]{6}$/,AO=/^#[a-fA-F0-9]{8}$/,kO=/^#[a-fA-F0-9]{3}$/,_O=/^#[a-fA-F0-9]{4}$/,W0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,FO=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,IO=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,TO=/^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 gu(e){if(typeof e!="string")throw new jt(3);var t=DO(e);if(t.match(SO))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(AO)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(kO))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(_O)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=W0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=FO.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=IO.exec(t);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Jo(s,u,d)+")",h=W0.exec(p);if(!h)throw new jt(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=TO.exec(t.substring(0,50));if(m){var f=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,g=parseInt(""+m[3],10)/100,b="rgb("+Jo(f,v,g)+")",C=W0.exec(b);if(!C)throw new jt(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new jt(5)}function RO(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,u=a-o,d=i>.5?u/(2-a-o):u/(a+o);switch(a){case t:s=(r-n)/u+(r=1?gs(e,t,r):"rgba("+Jo(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?gs(e.hue,e.saturation,e.lightness):"rgba("+Jo(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new jt(2)}function j1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return H1("#"+Yr(e)+Yr(t)+Yr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return H1("#"+Yr(e.red)+Yr(e.green)+Yr(e.blue));throw new jt(6)}function lr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=gu(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?j1(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?j1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new jt(7)}var $O=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},MO=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},PO=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},NO=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function Rx(e){if(typeof e!="object")throw new jt(8);if(MO(e))return lr(e);if($O(e))return j1(e);if(NO(e))return OO(e);if(PO(e))return LO(e);throw new jt(8)}function Bx(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Bx(e,t,a)}}function vu(e){return Bx(e,e.length,[])}function yu(e,t,r){return Math.max(e,Math.min(t,r))}function HO(e,t){if(t==="transparent")return t;var r=Tx(t);return Rx(Ea({},r,{lightness:yu(0,1,r.lightness-parseFloat(e))}))}var jO=vu(HO),Ot=jO;function VO(e,t){if(t==="transparent")return t;var r=Tx(t);return Rx(Ea({},r,{lightness:yu(0,1,r.lightness+parseFloat(e))}))}var UO=vu(VO),Jr=UO;function qO(e,t){if(t==="transparent")return t;var r=gu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ea({},r,{alpha:yu(0,1,(n*100+parseFloat(e)*100)/100)});return lr(a)}var WO=vu(qO),Xi=WO;function GO(e,t){if(t==="transparent")return t;var r=gu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ea({},r,{alpha:yu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return lr(a)}var KO=vu(GO),ie=KO,YO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),JO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),ZO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),XO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),QO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),e$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),V1=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),wre=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),t$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),r$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),n$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),a$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),o$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),i$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),zx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),l$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));function s$(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r-1}var D$=C$,S$=bu;function A$(e,t){var r=this.__data__,n=S$(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var k$=A$,_$=c$,F$=y$,I$=E$,T$=D$,R$=k$;function La(e){var t=-1,r=e==null?0:e.length;for(this.clear();++ts))return!1;var d=o.get(e),p=o.get(t);if(d&&p)return d==t&&p==e;var h=-1,m=!0,f=r&jP?new MP:void 0;for(o.set(e,t),o.set(t,e);++h-1&&e%1==0&&e-1&&e%1==0&&e<=jN}var xh=VN,UN=xs,qN=xh,WN=gn,GN="[object Arguments]",KN="[object Array]",YN="[object Boolean]",JN="[object Date]",ZN="[object Error]",XN="[object Function]",QN="[object Map]",eH="[object Number]",tH="[object Object]",rH="[object RegExp]",nH="[object Set]",aH="[object String]",oH="[object WeakMap]",iH="[object ArrayBuffer]",lH="[object DataView]",sH="[object Float32Array]",uH="[object Float64Array]",cH="[object Int8Array]",dH="[object Int16Array]",pH="[object Int32Array]",fH="[object Uint8Array]",hH="[object Uint8ClampedArray]",mH="[object Uint16Array]",gH="[object Uint32Array]",ae={};ae[sH]=ae[uH]=ae[cH]=ae[dH]=ae[pH]=ae[fH]=ae[hH]=ae[mH]=ae[gH]=!0;ae[GN]=ae[KN]=ae[iH]=ae[YN]=ae[lH]=ae[JN]=ae[ZN]=ae[XN]=ae[QN]=ae[eH]=ae[tH]=ae[rH]=ae[nH]=ae[aH]=ae[oH]=!1;function vH(e){return WN(e)&&qN(e.length)&&!!ae[UN(e)]}var yH=vH;function bH(e){return function(t){return e(t)}}var Ch=bH,bs={exports:{}};bs.exports;(function(e,t){var r=vD,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===n,i=o&&r.process,s=function(){try{var u=a&&a.require&&a.require("util").types;return u||i&&i.binding&&i.binding("util")}catch{}}();e.exports=s})(bs,bs.exports);var Dh=bs.exports,wH=yH,EH=Ch,a3=Dh,o3=a3&&a3.isTypedArray,xH=o3?EH(o3):wH,Wx=xH,CH=kN,DH=qx,SH=hr,AH=wh,kH=Eh,_H=Wx,FH=Object.prototype,IH=FH.hasOwnProperty;function TH(e,t){var r=SH(e),n=!r&&DH(e),a=!r&&!n&&AH(e),o=!r&&!n&&!a&&_H(e),i=r||n||a||o,s=i?CH(e.length,String):[],u=s.length;for(var d in e)(t||IH.call(e,d))&&!(i&&(d=="length"||a&&(d=="offset"||d=="parent")||o&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||kH(d,u)))&&s.push(d);return s}var Gx=TH,RH=Object.prototype;function BH(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||RH;return e===r}var Sh=BH,zH=yD,LH=zH(Object.keys,Object),OH=LH,$H=Sh,MH=OH,PH=Object.prototype,NH=PH.hasOwnProperty;function HH(e){if(!$H(e))return MH(e);var t=[];for(var r in Object(e))NH.call(e,r)&&r!="constructor"&&t.push(r);return t}var jH=HH,VH=dy,UH=xh;function qH(e){return e!=null&&UH(e.length)&&!VH(e)}var Kx=qH,WH=Gx,GH=jH,KH=Kx;function YH(e){return KH(e)?WH(e):GH(e)}var Cu=YH,JH=jx,ZH=bh,XH=Cu;function QH(e){return JH(e,XH,ZH)}var Yx=QH,i3=Yx,ej=1,tj=Object.prototype,rj=tj.hasOwnProperty;function nj(e,t,r,n,a,o){var i=r&ej,s=i3(e),u=s.length,d=i3(t),p=d.length;if(u!=p&&!i)return!1;for(var h=u;h--;){var m=s[h];if(!(i?m in t:rj.call(t,m)))return!1}var f=o.get(e),v=o.get(t);if(f&&v)return f==t&&v==e;var g=!0;o.set(e,t),o.set(t,e);for(var b=i;++h(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),k3={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},Fq=["style","script"],Iq=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,Tq=/mailto:/i,Rq=/\n{2,}$/,lC=/^(\s*>[\s\S]*?)(?=\n{2,})/,Bq=/^ *> ?/gm,zq=/^ {2,}\n/,Lq=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,sC=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,uC=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,Oq=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,$q=/^(?:\n *)*\n/,Mq=/\r\n?/g,Pq=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,Nq=/^\[\^([^\]]+)]/,Hq=/\f/g,jq=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,Vq=/^\s*?\[(x|\s)\]/,cC=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,dC=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,pC=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Y1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,Uq=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,fC=/^)/,qq=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,J1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,Wq=/^\{.*\}$/,Gq=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,Kq=/^<([^ >]+@[^ >]+)>/,Yq=/^<([^ >]+:\/[^ >]+)>/,Jq=/-([a-z])?/gi,hC=/^(.*\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,Zq=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,Xq=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Qq=/^\[([^\]]*)\] ?\[([^\]]*)\]/,eW=/(\[|\])/g,tW=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,rW=/\t/g,nW=/(^ *\||\| *$)/g,aW=/^ *:-+: *$/,oW=/^ *:-+ *$/,iW=/^ *-+: *$/,Au="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",lW=new RegExp(`^([*_])\\1${Au}\\1\\1(?!\\1)`),sW=new RegExp(`^([*_])${Au}\\1(?!\\1|\\w)`),uW=new RegExp(`^==${Au}==`),cW=new RegExp(`^~~${Au}~~`),dW=/^\\([^0-9A-Za-z\s])/,pW=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,fW=/^\n+/,hW=/^([ \t]*)/,mW=/\\([^\\])/g,_3=/ *\n+$/,gW=/(?:^|\n)( *)$/,Rh="(?:\\d+\\.)",Bh="(?:[*+-])";function mC(e){return"( *)("+(e===1?Rh:Bh)+") +"}const gC=mC(1),vC=mC(2);function yC(e){return new RegExp("^"+(e===1?gC:vC))}const vW=yC(1),yW=yC(2);function bC(e){return new RegExp("^"+(e===1?gC:vC)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Rh:Bh)+" )[^\\n]*)*(\\n|$)","gm")}const wC=bC(1),EC=bC(2);function xC(e){const t=e===1?Rh:Bh;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const CC=xC(1),DC=xC(2);function F3(e,t){const r=t===1,n=r?CC:DC,a=r?wC:EC,o=r?vW:yW;return{match(i,s,u){const d=gW.exec(u);return d&&(s.list||!s.inline&&!s.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,s,u){const d=r?+i[2]:void 0,p=i[0].replace(Rq,` +`).match(a);let h=!1;return{items:p.map(function(m,f){const v=o.exec(m)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),b=m.replace(g,"").replace(o,""),C=f===p.length-1,w=b.indexOf(` + +`)!==-1||C&&h;h=w;const x=u.inline,E=u.list;let D;u.list=!0,w?(u.inline=!1,D=b.replace(_3,` + +`)):(u.inline=!0,D=b.replace(_3,""));const S=s(D,u);return u.inline=x,u.list=E,S}),ordered:r,start:d}},render:(i,s,u)=>e(i.ordered?"ol":"ul",{key:u.key,start:i.type==="20"?i.start:void 0},i.items.map(function(d,p){return e("li",{key:p},s(d,u))}))}}const bW=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),wW=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,SC=[lC,sC,uC,cC,pC,dC,fC,hC,wC,CC,EC,DC],EW=[...SC,/^[^\n]+(?: \n|\n{2,})/,Y1,J1];function xW(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function CW(e){return iW.test(e)?"right":aW.test(e)?"center":oW.test(e)?"left":null}function I3(e,t,r,n){const a=r.inTable;r.inTable=!0;let o=e.trim().split(/( *(?:`[^`]*`|<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/).reduce((s,u)=>(u.trim()==="|"?s.push(n?{type:"26"}:{type:"27",text:u}):u!==""&&s.push.apply(s,t(u,r)),s),[]);r.inTable=a;let i=[[]];return o.forEach(function(s,u){s.type==="26"?u!==0&&u!==o.length-1&&i.push([]):(s.type!=="27"||o[u+1]!=null&&o[u+1].type!=="26"||(s.text=s.text.trimEnd()),i[i.length-1].push(s))}),i}function DW(e,t,r){r.inline=!0;const n=e[2]?e[2].replace(nW,"").split("|").map(CW):[],a=e[3]?function(i,s,u){return i.trim().split(` +`).map(function(d){return I3(d,s,u,!0)})}(e[3],t,r):[],o=I3(e[1],t,r,!!a.length);return r.inline=!1,a.length?{align:n,cells:a,header:o,type:"25"}:{children:o,type:"21"}}function T3(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function wr(e){return function(t,r){return r.inline?e.exec(t):null}}function Er(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function ar(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function uo(e){return function(t){return e.exec(t)}}function SW(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` +`))return null;let n="";e.split(` +`).every(o=>!SC.some(i=>i.test(o))&&(n+=o+` +`,o.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function Mn(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function R3(e){return e.replace(mW,"$1")}function Al(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function AW(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function kW(e,t,r){const n=r.inline||!1;r.inline=!1;const a=e(t,r);return r.inline=n,a}const Z0=(e,t,r)=>({children:Al(t,e[1],r)});function X0(){return{}}function Q0(){return null}function _W(...e){return e.filter(Boolean).join(" ")}function ed(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function FW(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||xW,t.namedCodesToUnicode=t.namedCodesToUnicode?Xr({},k3,t.namedCodesToUnicode):k3;const r=t.createElement||l.createElement;function n(f,v,...g){const b=ed(t.overrides,`${f}.props`,{});return r(function(C,w){const x=ed(w,C);return x?typeof x=="function"||typeof x=="object"&&"render"in x?x:ed(w,`${C}.component`,C):C}(f,t.overrides),Xr({},v,b,{className:_W(v==null?void 0:v.className,b.className)||void 0}),...g)}function a(f){f=f.replace(jq,"");let v=!1;t.forceInline?v=!0:t.forceBlock||(v=tW.test(f)===!1);const g=p(d(v?f:`${f.trimEnd().replace(fW,"")} + +`,{inline:v}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;const b=t.wrapper||(v?"span":"div");let C;if(g.length>1||t.forceWrapper)C=g;else{if(g.length===1)return C=g[0],typeof C=="string"?n("span",{key:"outer"},C):C;C=null}return l.createElement(b,{key:"outer"},C)}function o(f){const v=f.match(Iq);return v?v.reduce(function(g,b,C){const w=b.indexOf("=");if(w!==-1){const x=function(A){return A.indexOf("-")!==-1&&A.match(qq)===null&&(A=A.replace(Jq,function(k,F){return F.toUpperCase()})),A}(b.slice(0,w)).trim(),E=function(A){const k=A[0];return(k==='"'||k==="'")&&A.length>=2&&A[A.length-1]===k?A.slice(1,-1):A}(b.slice(w+1).trim()),D=A3[x]||x,S=g[D]=function(A,k){return A==="style"?k.split(/;\s?/).reduce(function(F,T){const R=T.slice(0,T.indexOf(":"));return F[R.trim().replace(/(-[a-z])/g,L=>L[1].toUpperCase())]=T.slice(R.length+1).trim(),F},{}):A==="href"||A==="src"?Mn(k):(k.match(Wq)&&(k=k.slice(1,k.length-1)),k==="true"||k!=="false"&&k)}(x,E);typeof S=="string"&&(Y1.test(S)||J1.test(S))&&(g[D]=l.cloneElement(a(S.trim()),{key:C}))}else b!=="style"&&(g[A3[b]||b]=!0);return g},{}):null}const i=[],s={},u={0:{match:ar(lC),order:1,parse:(f,v,g)=>({children:v(f[0].replace(Bq,""),g)}),render:(f,v,g)=>n("blockquote",{key:g.key},v(f.children,g))},1:{match:uo(zq),order:1,parse:X0,render:(f,v,g)=>n("br",{key:g.key})},2:{match:ar(Lq),order:1,parse:X0,render:(f,v,g)=>n("hr",{key:g.key})},3:{match:ar(uC),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,v,g)=>n("pre",{key:g.key},n("code",Xr({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:ar(sC),order:0,parse:f=>({attrs:o(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:Er(Oq),order:3,parse:f=>({text:f[2]}),render:(f,v,g)=>n("code",{key:g.key},f.text)},6:{match:ar(Pq),order:0,parse:f=>(i.push({footnote:f[2],identifier:f[1]}),{}),render:Q0},7:{match:wr(Nq),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,v,g)=>n("a",{key:g.key,href:Mn(f.target)},n("sup",{key:g.key},f.text))},8:{match:wr(Vq),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,v,g)=>n("input",{checked:f.completed,key:g.key,readOnly:!0,type:"checkbox"})},9:{match:ar(t.enforceAtxHeadings?dC:cC),order:1,parse:(f,v,g)=>({children:Al(v,f[2],g),id:t.slugify(f[2]),level:f[1].length}),render:(f,v,g)=>n(`h${f.level}`,{id:f.id,key:g.key},v(f.children,g))},10:{match:ar(pC),order:0,parse:(f,v,g)=>({children:Al(v,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:uo(Y1),order:1,parse(f,v,g){const[,b]=f[3].match(hW),C=new RegExp(`^${b}`,"gm"),w=f[3].replace(C,""),x=(E=w,EW.some(k=>k.test(E))?kW:Al);var E;const D=f[1].toLowerCase(),S=Fq.indexOf(D)!==-1,A={attrs:o(f[2]),noInnerParse:S,tag:(S?D:f[1]).trim()};return g.inAnchor=g.inAnchor||D==="a",S?A.text=f[3]:A.children=x(v,w,g),g.inAnchor=!1,A},render:(f,v,g)=>n(f.tag,Xr({key:g.key},f.attrs),f.text||v(f.children,g))},13:{match:uo(J1),order:1,parse:f=>({attrs:o(f[2]||""),tag:f[1].trim()}),render:(f,v,g)=>n(f.tag,Xr({},f.attrs,{key:g.key}))},12:{match:uo(fC),order:1,parse:()=>({}),render:Q0},14:{match:Er(wW),order:1,parse:f=>({alt:f[1],target:R3(f[2]),title:f[3]}),render:(f,v,g)=>n("img",{key:g.key,alt:f.alt||void 0,title:f.title||void 0,src:Mn(f.target)})},15:{match:wr(bW),order:3,parse:(f,v,g)=>({children:AW(v,f[1],g),target:R3(f[2]),title:f[3]}),render:(f,v,g)=>n("a",{key:g.key,href:Mn(f.target),title:f.title},v(f.children,g))},16:{match:wr(Yq),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,v)=>v.inAnchor?null:wr(Gq)(f,v),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:wr(Kq),order:0,parse(f){let v=f[1],g=f[1];return Tq.test(g)||(g="mailto:"+g),{children:[{text:v.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:F3(n,1),33:F3(n,2),19:{match:ar($q),order:3,parse:X0,render:()=>` +`},21:{match:SW,order:3,parse:Z0,render:(f,v,g)=>n("p",{key:g.key},v(f.children,g))},22:{match:wr(Zq),order:0,parse:f=>(s[f[1]]={target:f[2],title:f[4]},{}),render:Q0},23:{match:Er(Xq),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,v,g)=>s[f.ref]?n("img",{key:g.key,alt:f.alt,src:Mn(s[f.ref].target),title:s[f.ref].title}):null},24:{match:wr(Qq),order:0,parse:(f,v,g)=>({children:v(f[1],g),fallbackChildren:v(f[0].replace(eW,"\\$1"),g),ref:f[2]}),render:(f,v,g)=>s[f.ref]?n("a",{key:g.key,href:Mn(s[f.ref].target),title:s[f.ref].title},v(f.children,g)):n("span",{key:g.key},v(f.fallbackChildren,g))},25:{match:ar(hC),order:1,parse:DW,render(f,v,g){const b=f;return n("table",{key:g.key},n("thead",null,n("tr",null,b.header.map(function(C,w){return n("th",{key:w,style:T3(b,w)},v(C,g))}))),n("tbody",null,b.cells.map(function(C,w){return n("tr",{key:w},C.map(function(x,E){return n("td",{key:E,style:T3(b,E)},v(x,g))}))})))}},27:{match:uo(pW),order:4,parse:f=>({text:f[0].replace(Uq,(v,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:v)}),render:f=>f.text},28:{match:Er(lW),order:2,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("strong",{key:g.key},v(f.children,g))},29:{match:Er(sW),order:3,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("em",{key:g.key},v(f.children,g))},30:{match:Er(dW),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:Er(uW),order:3,parse:Z0,render:(f,v,g)=>n("mark",{key:g.key},v(f.children,g))},32:{match:Er(cW),order:3,parse:Z0,render:(f,v,g)=>n("del",{key:g.key},v(f.children,g))}};t.disableParsingRawHTML===!0&&(delete u[11],delete u[13]);const d=function(f){let v=Object.keys(f);function g(b,C){let w=[],x="";for(;b;){let E=0;for(;Ew(g,b,C),g,b,C):w(g,b,C)}}(u,t.renderRule),function f(v,g={}){if(Array.isArray(v)){const b=g.key,C=[];let w=!1;for(let x=0;x{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var i,s,u={},d=Object.keys(a);for(s=0;s=0||(u[i]=a[i]);return u}(e,_q);return l.cloneElement(FW(t,r),n)};function el(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var kC={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var h=typeof el=="function"&⪙if(!p&&h)return h(d,!0);if(s)return s(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}for(var s=typeof el=="function"&&el,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var u;for(u=0;u0&&(w[C]={cacheItem:v,arg:arguments[C]},x?i(h,w):h.push(w),h.length>d&&s(h.shift())),f.wasMemoized=x,f.numArgs=C+1,b};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=h,f}};function i(d,p){var h=d.length,m=p.length,f,v,g;for(v=0;v=0&&(h=d[f],m=h.cacheItem.get(h.arg),!m||!m.size);f--)h.cacheItem.delete(h.arg)}function u(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})})(kC);var IW=kC.exports;const _C=Es(IW);function TW(e,t,r,n){for(var a=e.length,o=r+(n?1:-1);n?o--:++o-1}var UW=VW;function qW(e,t,r){for(var n=-1,a=e==null?0:e.length;++n=iG){var d=t?null:aG(e);if(d)return oG(d);i=!1,a=nG,u=new eG}else u=t?[]:s;e:for(;++nfunction(){return t||(0,e[BC(e)[0]])((t={exports:{}}).exports,t),t.exports},rJ=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of BC(t))!tJ.call(e,a)&&a!==r&&RC(e,a,{get:()=>t[a],enumerable:!(n=QY(t,a))||n.enumerable});return e},Lh=(e,t,r)=>(r=e!=null?XY(eJ(e)):{},rJ(!e||!e.__esModule?RC(r,"default",{value:e,enumerable:!0}):r,e)),nJ=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],aJ=["detail"];function oJ(e){const t=nJ.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&aJ.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var zC=it({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},a=Symbol("test"),o=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;n[a]=i;for(a in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var s=Object.getOwnPropertySymbols(n);if(s.length!==1||s[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(n,a);if(u.value!==i||u.enumerable!==!0)return!1}return!0}}}),LC=it({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=zC();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),iJ=it({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(s){var u=this;if(typeof u!="function"||a.call(u)!==o)throw new TypeError(r+u);for(var d=n.call(arguments,1),p,h=function(){if(this instanceof p){var b=u.apply(this,d.concat(n.call(arguments)));return Object(b)===b?b:this}else return u.apply(s,d.concat(n.call(arguments)))},m=Math.max(0,u.length-d.length),f=[],v=0;v"u"?r:h(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":m,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?h(h([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:h(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?h(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function L(z){var $;if(z==="%AsyncFunction%")$=i("async function () {}");else if(z==="%GeneratorFunction%")$=i("function* () {}");else if(z==="%AsyncGeneratorFunction%")$=i("async function* () {}");else if(z==="%AsyncGenerator%"){var O=L("%AsyncGeneratorFunction%");O&&($=O.prototype)}else if(z==="%AsyncIteratorPrototype%"){var M=L("%AsyncGenerator%");M&&($=h(M.prototype))}return v[z]=$,$},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=Oh(),w=lJ(),x=C.call(Function.call,Array.prototype.concat),E=C.call(Function.apply,Array.prototype.splice),D=C.call(Function.call,String.prototype.replace),S=C.call(Function.call,String.prototype.slice),A=C.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,T=function(z){var $=S(z,0,1),O=S(z,-1);if($==="%"&&O!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(O==="%"&&$!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var M=[];return D(z,k,function(j,G,H,K){M[M.length]=H?D(K,F,"$1"):G||j}),M},R=function(z,$){var O=z,M;if(w(b,O)&&(M=b[O],O="%"+M[0]+"%"),w(v,O)){var j=v[O];if(j===m&&(j=g(O)),typeof j>"u"&&!$)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:M,name:O,value:j}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,$){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof $!="boolean")throw new o('"allowMissing" argument must be a boolean');if(A(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var O=T(z),M=O.length>0?O[0]:"",j=R("%"+M+"%",$),G=j.name,H=j.value,K=!1,te=j.alias;te&&(M=te[0],E(O,x([0,1],te)));for(var le=1,Q=!0;le=O.length){var J=s(H,re);Q=!!J,Q&&"get"in J&&!("originalValue"in J.get)?H=J.get:H=H[re]}else Q=w(H,re),H=H[re];Q&&!K&&(v[G]=H)}}return H}}}),sJ=it({"node_modules/call-bind/index.js"(e,t){var r=Oh(),n=OC(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(m){var f=i(r,o,arguments);if(s&&u){var v=s(f,"length");v.configurable&&u(f,"length",{value:1+d(0,m.length-(arguments.length-1))})}return f};var p=function(){return i(r,a,arguments)};u?u(t.exports,"apply",{value:p}):t.exports.apply=p}}),uJ=it({"node_modules/call-bind/callBound.js"(e,t){var r=OC(),n=sJ(),a=n(r("String.prototype.indexOf"));t.exports=function(i,s){var u=r(i,!!s);return typeof u=="function"&&a(i,".prototype.")>-1?n(u):u}}}),cJ=it({"node_modules/has-tostringtag/shams.js"(e,t){var r=zC();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),dJ=it({"node_modules/is-regex/index.js"(e,t){var r=uJ(),n=cJ()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},u=function(){throw i},s={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=u));var u,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,h="[object RegExp]";t.exports=n?function(f){if(!f||typeof f!="object")return!1;var v=p(f,"lastIndex"),g=v&&a(v,"value");if(!g)return!1;try{o(f,s)}catch(b){return b===i}}:function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:d(f)===h}}}),pJ=it({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),fJ=it({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=LC()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(u){return typeof u.valueOf()!="symbol"?!1:o.test(a.call(u))},t.exports=function(u){if(typeof u=="symbol")return!0;if(r.call(u)!=="[object Symbol]")return!1;try{return i(u)}catch{return!1}}):t.exports=function(u){return!1};var a,o,i}}),hJ=Lh(dJ()),mJ=Lh(pJ()),gJ=Lh(fJ());function vJ(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var yJ=typeof global=="object"&&global&&global.Object===Object&&global,bJ=yJ,wJ=typeof self=="object"&&self&&self.Object===Object&&self,EJ=bJ||wJ||Function("return this")(),$h=EJ,xJ=$h.Symbol,xa=xJ,$C=Object.prototype,CJ=$C.hasOwnProperty,DJ=$C.toString,co=xa?xa.toStringTag:void 0;function SJ(e){var t=CJ.call(e,co),r=e[co];try{e[co]=void 0;var n=!0}catch{}var a=DJ.call(e);return n&&(t?e[co]=r:delete e[co]),a}var AJ=SJ,kJ=Object.prototype,_J=kJ.toString;function FJ(e){return _J.call(e)}var IJ=FJ,TJ="[object Null]",RJ="[object Undefined]",j3=xa?xa.toStringTag:void 0;function BJ(e){return e==null?e===void 0?RJ:TJ:j3&&j3 in Object(e)?AJ(e):IJ(e)}var zJ=BJ,V3=xa?xa.prototype:void 0;V3&&V3.toString;function LJ(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var MC=LJ,OJ="[object AsyncFunction]",$J="[object Function]",MJ="[object GeneratorFunction]",PJ="[object Proxy]";function NJ(e){if(!MC(e))return!1;var t=zJ(e);return t==$J||t==MJ||t==OJ||t==PJ}var HJ=NJ,jJ=$h["__core-js_shared__"],rd=jJ,U3=function(){var e=/[^.]+$/.exec(rd&&rd.keys&&rd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function VJ(e){return!!U3&&U3 in e}var UJ=VJ,qJ=Function.prototype,WJ=qJ.toString;function GJ(e){if(e!=null){try{return WJ.call(e)}catch{}try{return e+""}catch{}}return""}var KJ=GJ,YJ=/[\\^$.*+?()[\]{}|]/g,JJ=/^\[object .+?Constructor\]$/,ZJ=Function.prototype,XJ=Object.prototype,QJ=ZJ.toString,eZ=XJ.hasOwnProperty,tZ=RegExp("^"+QJ.call(eZ).replace(YJ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function rZ(e){if(!MC(e)||UJ(e))return!1;var t=HJ(e)?tZ:JJ;return t.test(KJ(e))}var nZ=rZ;function aZ(e,t){return e==null?void 0:e[t]}var oZ=aZ;function iZ(e,t){var r=oZ(e,t);return nZ(r)?r:void 0}var PC=iZ;function lZ(e,t){return e===t||e!==e&&t!==t}var sZ=lZ,uZ=PC(Object,"create"),Zo=uZ;function cZ(){this.__data__=Zo?Zo(null):{},this.size=0}var dZ=cZ;function pZ(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var fZ=pZ,hZ="__lodash_hash_undefined__",mZ=Object.prototype,gZ=mZ.hasOwnProperty;function vZ(e){var t=this.__data__;if(Zo){var r=t[e];return r===hZ?void 0:r}return gZ.call(t,e)?t[e]:void 0}var yZ=vZ,bZ=Object.prototype,wZ=bZ.hasOwnProperty;function EZ(e){var t=this.__data__;return Zo?t[e]!==void 0:wZ.call(t,e)}var xZ=EZ,CZ="__lodash_hash_undefined__";function DZ(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Zo&&t===void 0?CZ:t,this}var SZ=DZ;function Na(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var OZ=LZ;function $Z(e,t){var r=this.__data__,n=_u(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var MZ=$Z;function Ha(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iuX(e).replace(/\n\s*/g,"").trim()),dX=function(t,r){const n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let o=n;return o=o.replace(t,"function"),o+a},pX=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function HC(e){if(!sX(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=oJ(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var fX=function(t){let r,n,a,o;return function(s,u){try{if(s==="")return o=[],r=new Map([[u,"[]"]]),n=new Map,a=[],u;const d=n.get(this)||this;for(;a.length&&d!==a[0];)a.shift(),o.pop();if(typeof u=="boolean")return u;if(u===void 0)return t.allowUndefined?"_undefined_":void 0;if(u===null)return null;if(typeof u=="number")return u===-1/0?"_-Infinity_":u===1/0?"_Infinity_":Number.isNaN(u)?"_NaN_":u;if(typeof u=="bigint")return`_bigint_${u.toString()}`;if(typeof u=="string")return pX.test(u)?t.allowDate?`_date_${u}`:void 0:u;if((0,hJ.default)(u))return t.allowRegExp?`_regexp_${u.flags}|${u.source}`:void 0;if((0,mJ.default)(u)){if(!t.allowFunction)return;const{name:h}=u,m=u.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${h}|${(()=>{}).toString()}`:`_function_${h}|${cX(dX(s,m))}`}if((0,gJ.default)(u)){if(!t.allowSymbol)return;const h=Symbol.keyFor(u);return h!==void 0?`_gsymbol_${h}`:`_symbol_${u.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(u)?`[Array(${u.length})]`:"[Object]";if(u===this)return`_duplicate_${JSON.stringify(o)}`;if(u instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...u.cause?{cause:u.cause}:{},...u,name:u.name,message:u.message,stack:u.stack,"_constructor-name_":u.constructor.name}};if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&!t.allowClass)return;const p=r.get(u);if(!p){const h=Array.isArray(u)?u:HC(u);if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&t.allowClass)try{Object.assign(h,{"_constructor-name_":u.constructor.name})}catch{}return o.push(s),a.unshift(h),r.set(u,JSON.stringify(o)),u!==h&&n.set(u,h),h}return`_duplicate_${p}`}catch{return}}},hX={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},mX=(e,t={})=>{const r={...hX,...t};return JSON.stringify(HC(e),fX(r),t.space)};/*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + *//** + * @license + * Lodash (Custom Build) + * Build: `lodash modularize exports="es" -o ./` + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */const{global:nt}=__STORYBOOK_MODULE_GLOBAL__,{deprecate:gX,once:vX,logger:Ph}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:W3,composeConfigs:Ere,Preview:xre,DocsContext:Cre}=__STORYBOOK_MODULE_PREVIEW_API__,{GLOBALS_UPDATED:G3,STORY_ARGS_UPDATED:K3,UPDATE_STORY_ARGS:yX,RESET_STORY_ARGS:bX,NAVIGATE_URL:wX}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var EX=Da({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),xX=Da({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,u=" ";function d(E,D){var S=D.appendChild(h(E));if(E.children.length){var A=m(E.isCollapsed);E.children.forEach(function(k){d(k,A)}),S.appendChild(A)}}function p(E,D){var S=!1,A=m(S);if(D.forEach(function(k){d(k,A)}),i=E||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),D.length===0?i:i.appendChild(A)}function h(E){var D=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&D.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",E.textContent),r.includeHtml&&E.childNodes.length?n.call(E.childNodes,function(A){S.appendChild(A.cloneNode(!0))}):S.textContent=E.textContent,S.setAttribute("href",r.basePath+"#"+E.id),S.setAttribute("class",r.linkClass+u+"node-name--"+E.nodeName+u+r.extraLinkClasses),D.appendChild(S),D}function m(E){var D=r.orderedList?"ol":"ul",S=document.createElement(D),A=r.listClass+u+r.extraListClasses;return E&&(A=A+u+r.collapsibleClass,A=A+u+r.isCollapsedClass),S.setAttribute("class",A),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var E;E=document.querySelector(r.scrollContainer).scrollTop}else E=document.documentElement.scrollTop||o.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),E>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=u+r.positionFixedClass):D.className=D.className.replace(u+r.positionFixedClass,"")}function v(E){var D=0;return E!==null&&(D=E.offsetTop,r.hasInnerContainers&&(D+=v(E.offsetParent))),D}function g(E,D){return E&&E.className!==D&&(E.className=D),E}function b(E){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&f();var S=E,A;if(s&&i!==null&&S.length>0){a.call(S,function($,O){if(v($)>D+r.headingsOffset+10){var M=O===0?O:O-1;return A=S[M],!0}else if(O===S.length-1)return A=S[S.length-1],!0});var k=i.querySelector("."+r.activeLinkClass),F=i.querySelector("."+r.linkClass+".node-name--"+A.nodeName+'[href="'+r.basePath+"#"+A.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(k===F)return;var T=i.querySelectorAll("."+r.linkClass);n.call(T,function($){g($,$.className.replace(u+r.activeLinkClass,""))});var R=i.querySelectorAll("."+r.listItemClass);n.call(R,function($){g($,$.className.replace(u+r.activeListItemClass,""))}),F&&F.className.indexOf(r.activeLinkClass)===-1&&(F.className+=u+r.activeLinkClass);var L=F&&F.parentNode;L&&L.className.indexOf(r.activeListItemClass)===-1&&(L.className+=u+r.activeListItemClass);var z=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(z,function($){$.className.indexOf(r.isCollapsedClass)===-1&&($.className+=u+r.isCollapsedClass)}),F&&F.nextSibling&&F.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(F.nextSibling,F.nextSibling.className.replace(u+r.isCollapsedClass,"")),C(F&&F.parentNode.parentNode)}}function C(E){return E&&E.className.indexOf(r.collapsibleClass)!==-1&&E.className.indexOf(r.isCollapsedClass)!==-1?(g(E,E.className.replace(u+r.isCollapsedClass,"")),C(E.parentNode.parentNode)):E}function w(E){var D=E.target||E.srcElement;typeof D.className!="string"||D.className.indexOf(r.linkClass)===-1||(s=!1)}function x(){s=!0}return{enableTocAnimation:x,disableTocAnimation:w,render:p,updateToc:b}}}}),CX=Da({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(h){return h[h.length-1]}function o(h){return+h.nodeName.toUpperCase().replace("H","")}function i(h){try{return h instanceof window.HTMLElement||h instanceof window.parent.HTMLElement}catch{return h instanceof window.HTMLElement}}function s(h){if(!i(h))return h;if(r.ignoreHiddenElements&&(!h.offsetHeight||!h.offsetParent))return null;let m=h.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(h.innerText)):(h.innerText||h.textContent).trim());var f={id:h.id,children:[],nodeName:h.nodeName,headingLevel:o(h),textContent:m};return r.includeHtml&&(f.childNodes=h.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,h):f}function u(h,m){for(var f=s(h),v=f.headingLevel,g=m,b=a(g),C=b?b.headingLevel:0,w=v-C;w>0&&(b=a(g),!(b&&v===b.headingLevel));)b&&b.children!==void 0&&(g=b.children),w--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(h,m){var f=m;r.ignoreSelector&&(f=m.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return h.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(h){return n.call(h,function(m,f){var v=s(f);return v&&u(v,m.nest),m},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),DX=Da({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),SX=Da({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",h,!1);function h(m){!u(m.target)||m.target.className.indexOf("no-smooth-scroll")>-1||m.target.href.charAt(m.target.href.length-2)==="#"&&m.target.href.charAt(m.target.href.length-1)==="!"||m.target.className.indexOf(n.linkClass)===-1||r(m.target.hash,{duration:a,offset:o,callback:function(){p(m.target.hash)}})}}function u(h){return h.tagName.toLowerCase()==="a"&&(h.hash.length>0||h.href.charAt(h.href.length-1)==="#")&&(d(h.href)===i||d(h.href)+"#"===i)}function d(h){return h.slice(0,h.lastIndexOf("#"))}function p(h){var m=document.getElementById(h.substring(1));m&&(/^(?:a|select|input|button|textarea)$/i.test(m.tagName)||(m.tabIndex=-1),m.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||v},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),u=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(u):i.duration,p,h;requestAnimationFrame(function(g){p=g,m(g)});function m(g){h=g-p,window.scrollTo(0,i.easing(h,o,u,d)),h"u"&&!h)return;var m,f=Object.prototype.hasOwnProperty;function v(){for(var w={},x=0;x({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:ie(.3,e.color.defaultText),fontSize:e.typography.size.s2})),jC=e=>y.createElement(kX,{...e,className:"docblock-emptyblock sb-unstyled"}),_X=_(ah)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),FX=_.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),tl=_.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${dd}`]:{margin:0}})),IX=()=>y.createElement(FX,null,y.createElement(tl,null),y.createElement(tl,{style:{width:"80%"}}),y.createElement(tl,{style:{width:"30%"}}),y.createElement(tl,{style:{width:"80%"}})),VC=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=Ny();if(e)return y.createElement(IX,null);if(t)return y.createElement(jC,null,t);let u=y.createElement(_X,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return u;let d=a?ud.dark:ud.light;return y.createElement(Hy,{theme:cd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},u)},fe=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Nh=600,TX=_.h1(ue,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Nh}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),RX=_.h2(ue,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Nh}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:ie(.25,e.color.defaultText)})),BX=_.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?ie(.1,e.color.defaultText):ie(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[fe("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[fe("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[fe("div")]:t,[fe("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[fe("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[fe("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[fe("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[fe("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[fe("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[fe("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[fe("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[fe("img")]:{maxWidth:"100%"},[fe("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[fe("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[fe("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[fe("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[fe("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[fe("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[fe("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),zX=_.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Nh}px)`]:{}})),LX=({children:e,toc:t})=>y.createElement(zX,{className:"sbdocs sbdocs-wrapper"},y.createElement(BX,{className:"sbdocs sbdocs-content"},e),t),Iu=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),OX=_(fh)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),$X=_.div({display:"flex",alignItems:"center",gap:4}),MX=_.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),PX=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(OX,{...o},y.createElement($X,{key:"left"},e?[1,2,3].map(i=>y.createElement(MX,{key:i})):y.createElement(y.Fragment,null,y.createElement(un,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(YO,null)),y.createElement(un,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(JO,null)),y.createElement(un,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(ZO,null))))),UC=l.createContext({scale:1}),{window:NX}=nt,HX=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=NX.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},{PREVIEW_URL:jX}=nt,VX=jX||"iframe.html",Z1=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,UX=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:u,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let h=t.current,m=p(i,h,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>m())}},[u,p,i]),a?y.createElement("pre",null,y.createElement(Wz,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${Z1(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(qC,null),y.createElement("div",{ref:t,id:`${Z1(e)}-inner`,"data-name":i.name}))},qX=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(UC.Consumer,null,({scale:r})=>y.createElement(HX,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:mO(VX,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),WX=_.strong(({theme:e})=>({color:e.color.orange})),GX=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(WX,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:Z1(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(UX,{...e}):y.createElement(qX,{...e}))},qC=()=>y.createElement(hO,null),KX=_.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),Y3=_(VC)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Ot(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Ot(.05,e.background.content)}})),YX=_.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Iu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),JX=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:y.createElement(Y3,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(Y3,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function ZX(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var XX=_(PX)({position:"absolute",top:0,left:0,right:0,height:40}),QX=_.div({overflow:"hidden",position:"relative"}),WC=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:u,layout:d="padded",...p})=>{let[h,m]=l.useState(i),{source:f,actionItem:v}=JX(a,h,m),[g,b]=l.useState(1),C=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),w=a?[v]:[],[x,E]=l.useState(s?[...s]:[]),D=[...w,...x],{window:S}=nt,A=l.useCallback(async F=>{let{createCopyToClipboardFunction:T}=await sy(()=>import("./index-BrjBE1XS.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);T()},[]),k=F=>{let T=S.getSelection();T&&T.type==="Range"||(F.preventDefault(),x.filter(R=>R.title==="Copied").length===0&&A(f.props.code).then(()=>{E([...x,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>E(x.filter(R=>R.title!=="Copied")),1500)}))};return y.createElement(YX,{withSource:a,withToolbar:o,...p,className:C.join(" ")},o&&y.createElement(XX,{isLoading:e,border:!0,zoom:F=>b(g*F),resetZoom:()=>b(1),storyId:ZX(n),baseUrl:"./iframe.html"}),y.createElement(UC.Provider,{value:{scale:g}},y.createElement(QX,{className:"docs-story",onCopyCapture:a&&k},y.createElement(KX,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement($z.Element,{scale:g},Array.isArray(n)?n.map((F,T)=>y.createElement("div",{key:T},F)):y.createElement("div",null,n))),y.createElement(Bp,{actionItems:D}))),a&&h&&f)};_(WC)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var eQ=_.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Pr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),tQ=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:y.createElement(y.Fragment,null,y.createElement(eQ,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},X1=8,J3=_.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),rQ=_.span(Pr,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),nQ=_.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),aQ=_.div(Pr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),oQ=_.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),iQ=_(i$)({marginLeft:4}),lQ=_(zx)({marginLeft:4}),sQ=()=>y.createElement("span",null,"-"),GC=({text:e,simple:t})=>y.createElement(rQ,{simple:t},e),uQ=_C(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),cQ=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return pG(t)},Z3=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,X1)),r.map(n=>y.createElement(GC,{key:n,text:n===""?'""':n}))},dQ=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return y.createElement(GC,{text:u});let d=cQ(u),p=d.length;return p>X1?y.createElement(J3,{isExpanded:i},Z3(d,i),y.createElement(nQ,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-X1} more...`)):y.createElement(J3,null,Z3(d))}return y.createElement(yL,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(oQ,{width:uQ(n)},y.createElement(ah,{language:"jsx",format:!1},n))},y.createElement(aQ,{className:"sbdocs-expandable"},y.createElement("span",null,u),a?y.createElement(iQ,null):y.createElement(lQ,null)))},nd=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(sQ,null):y.createElement(dQ,{value:e,initialExpandedArgs:t}),pQ=_.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:ie(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Xi(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Xi(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Xi(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Xi(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),fQ=e=>e==="true",hQ=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var p;let i=l.useCallback(()=>r(!1),[r]),s=!!((p=o==null?void 0:o.table)!=null&&p.readonly);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",id:Cs(e),onClick:i,disabled:s},"Set boolean");let u=xt(e),d=typeof t=="string"?fQ(t):t;return y.createElement(pQ,{"aria-disabled":s,htmlFor:u,"aria-label":e},y.createElement("input",{id:u,type:"checkbox",onChange:h=>r(h.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),y.createElement("span",{"aria-hidden":"true"},"False"),y.createElement("span",{"aria-hidden":"true"},"True"))},mQ=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},gQ=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},vQ=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},yQ=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},X3=_(Di.Input)(({readOnly:e})=>({opacity:e?.5:1})),bQ=_.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),wQ=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var v;let[i,s]=l.useState(!0),u=l.useRef(),d=l.useRef(),p=!!((v=o==null?void 0:o.table)!=null&&v.readonly);l.useEffect(()=>{i!==!1&&(u&&u.current&&(u.current.value=t?vQ(t):""),d&&d.current&&(d.current.value=t?yQ(t):""))},[t]);let h=g=>{if(!g.target.value)return r();let b=mQ(g.target.value),C=new Date(t);C.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let w=C.getTime();w&&r(w),s(!!w)},m=g=>{if(!g.target.value)return r();let b=gQ(g.target.value),C=new Date(t);C.setHours(b.getHours()),C.setMinutes(b.getMinutes());let w=C.getTime();w&&r(w),s(!!w)},f=xt(e);return y.createElement(bQ,null,y.createElement(X3,{type:"date",max:"9999-12-31",ref:u,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:h,onFocus:n,onBlur:a}),y.createElement(X3,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:m,readOnly:p,onFocus:n,onBlur:a}),i?null:y.createElement("div",null,"invalid"))},EQ=_.label({display:"flex"}),xQ=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},CQ=_(Di.Input)(({readOnly:e})=>({opacity:e?.5:1})),DQ=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:s,argType:u})=>{var x;let[d,p]=l.useState(typeof t=="number"?t:""),[h,m]=l.useState(!1),[f,v]=l.useState(null),g=!!((x=u==null?void 0:u.table)!=null&&x.readonly),b=l.useCallback(E=>{p(E.target.value);let D=parseFloat(E.target.value);Number.isNaN(D)?v(new Error(`'${E.target.value}' is not a number`)):(r(D),v(null))},[r,v]),C=l.useCallback(()=>{p("0"),r(0),m(!0)},[m]),w=l.useRef(null);return l.useEffect(()=>{h&&w.current&&w.current.select()},[h]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?y.createElement(Sn,{variant:"outline",size:"medium",id:Cs(e),onClick:C,disabled:g},"Set number"):y.createElement(EQ,null,y.createElement(CQ,{ref:w,id:xt(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:h,readOnly:g,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},KC=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},Q1=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],YC=(e,t)=>e&&t&&e.map(r=>t[r]),SQ=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),AQ=_.span({"[aria-readonly=true] &":{opacity:.5}}),kQ=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Q3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var m;if(!t)return Ph.warn(`Checkbox with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=Q1(r,t),[s,u]=l.useState(i),d=!!((m=o==null?void 0:o.table)!=null&&m.readonly),p=f=>{let v=f.target.value,g=[...s];g.includes(v)?g.splice(g.indexOf(v),1):g.push(v),n(YC(g,t)),u(g)};l.useEffect(()=>{u(Q1(r,t))},[r]);let h=xt(e);return y.createElement(SQ,{"aria-readonly":d,isInline:a},Object.keys(t).map((f,v)=>{let g=`${h}-${v}`;return y.createElement(kQ,{key:g,htmlFor:g},y.createElement("input",{type:"checkbox",disabled:d,id:g,name:g,value:f,onChange:p,checked:s==null?void 0:s.includes(f)}),y.createElement(AQ,null,f))}))},_Q=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),FQ=_.span({"[aria-readonly=true] &":{opacity:.5}}),IQ=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),ey=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return Ph.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=KC(r,t),s=xt(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement(_Q,{"aria-readonly":u,isInline:a},Object.keys(t).map((p,h)=>{let m=`${s}-${h}`;return y.createElement(IQ,{key:m,htmlFor:m},y.createElement("input",{type:"radio",id:m,name:s,disabled:u,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===i}),y.createElement(FQ,null,p))}))},TQ={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},JC=_.select(TQ,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),ZC=_.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),ty="Choose option...",RQ=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{n(r[p.currentTarget.value])},i=KC(t,r)||ty,s=xt(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(ZC,null,y.createElement(zx,null),y.createElement(JC,{disabled:u,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},ty),Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},BQ=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{let h=Array.from(p.currentTarget.options).filter(m=>m.selected).map(m=>m.value);n(YC(h,r))},i=Q1(t,r),s=xt(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(ZC,null,y.createElement(JC,{disabled:u,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},ry=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(BQ,{...e}):y.createElement(RQ,{...e}):(Ph.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},zQ=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,LQ={check:Q3,"inline-check":Q3,radio:ey,"inline-radio":ey,select:ry,"multi-select":ry},Pn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?zQ(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=LQ[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},Hh="value",OQ="key",$Q="Error",MQ="Object",PQ="Array",NQ="String",HQ="Number",jQ="Boolean",VQ="Date",UQ="Null",qQ="Undefined",WQ="Function",GQ="Symbol",XC="ADD_DELTA_TYPE",QC="REMOVE_DELTA_TYPE",eD="UPDATE_DELTA_TYPE";function an(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function tD(e,t){let r=an(e),n=an(t);return(r==="Function"||n==="Function")&&n!==r}var jh=class extends l.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,s={};if(!t){if(!o.value)return;s.key=o.value}s.newValue=r(!1,n,a,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,s=l.cloneElement(r,{onClick:this.onSubmit}),u=l.cloneElement(n,{onClick:e}),d=a(Hh,o,i),p=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),h=null;if(!t){let m=a(OQ,o,i);h=l.cloneElement(m,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},h,p,u,s)}};jh.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var rD=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:QC};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(r[r.length-1],i),u({type:XC,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:eD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:s,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=i(e,t,r,n,s),h=o(e,t,r,n,s),m=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!h&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:E,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,delimiter:T,ul:R,addForm:L}=p(e,t,r,n,h),z=d(e,t,r,n,h),$=l.cloneElement(w,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),O=l.cloneElement(C,{onClick:s,className:"rejt-minus-menu",style:k});return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"["),!a&&$,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},t.map((M,j)=>y.createElement(Tu,{key:j,name:j.toString(),data:M,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(j),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:E,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}))),!z&&a&&y.createElement("div",{className:"rejt-add-form",style:L},y.createElement(jh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"]"),!z&&O)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=i(e,r,n,a,o);return y.createElement("div",{className:"rejt-array-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};rD.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var nD=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{tD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:h,textareaElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,u),b=null,C=null,w=s(e,i,n,a,u);if(r&&!w){let x=m(Hh,v,a,e,i,u),E=l.cloneElement(p,{onClick:this.handleEdit}),D=l.cloneElement(h,{onClick:this.handleCancelEdit}),S=l.cloneElement(x,{ref:this.refInput,defaultValue:i});b=y.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",D,E),C=null}else{b=y.createElement("span",{className:"rejt-value",style:g.value,onClick:w?null:this.handleEditMode},t);let x=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});C=w?null:x}return y.createElement("li",{className:"rejt-function-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),b,C)}};nD.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var Tu=class extends l.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:E,logger:D,onSubmitValueParser:S}=this.props,A=()=>!0,k=an(e);switch(k){case $Q:return y.createElement(ep,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:A,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:E,logger:D,onSubmitValueParser:S});case MQ:return y.createElement(ep,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:E,logger:D,onSubmitValueParser:S});case PQ:return y.createElement(rD,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:E,logger:D,onSubmitValueParser:S});case NQ:return y.createElement(xr,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case HQ:return y.createElement(xr,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case jQ:return y.createElement(xr,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case VQ:return y.createElement(xr,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case UQ:return y.createElement(xr,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case qQ:return y.createElement(xr,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case WQ:return y.createElement(nD,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case GQ:return y.createElement(xr,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});default:return null}}};Tu.defaultProps={keyPath:[],deep:0};var ep=class extends l.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(n[n.length-1],r),u({type:XC,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:QC};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:eD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:s,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=s(e,n,t,r,i),h=Object.getOwnPropertyNames(n),m=o(e,n,t,r,i),f=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",h.length," ",h.length===1?"key":"keys"),!m&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:E,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,addForm:T,ul:R,delimiter:L}=p(e,t,r,n,h),z=Object.getOwnPropertyNames(t),$=d(e,t,r,n,h),O=l.cloneElement(w,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),M=l.cloneElement(C,{onClick:s,className:"rejt-minus-menu",style:k}),j=z.map(G=>y.createElement(Tu,{key:G,name:G,data:t[G],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(G),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:E,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}));return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"{"),!$&&O,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},j),!$&&o&&y.createElement("div",{className:"rejt-add-form",style:T},y.createElement(jh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"}"),!$&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=o(e,r,n,a,i);return y.createElement("div",{className:"rejt-object-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};ep.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var xr=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{tD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:h,inputElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,u),b=s(e,i,n,a,u),C=r&&!b,w=m(Hh,v,a,e,i,u),x=l.cloneElement(p,{onClick:this.handleEdit}),E=l.cloneElement(h,{onClick:this.handleCancelEdit}),D=l.cloneElement(w,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});return y.createElement("li",{className:"rejt-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," : "),C?y.createElement("span",{className:"rejt-edit-form",style:g.editForm},D," ",E,x):y.createElement("span",{className:"rejt-value",style:g.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!C&&S)}};xr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var KQ={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},YQ={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},JQ={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function ZQ(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var aD=class extends l.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElement:d,textareaElement:p,minusMenuElement:h,plusMenuElement:m,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:b,onSubmitValueParser:C,fallback:w=null}=this.props,x=an(e),E=a;an(a)==="Boolean"&&(E=()=>a);let D=d;d&&an(d)!=="Function"&&(D=()=>d);let S=p;return p&&an(p)!=="Function"&&(S=()=>p),x==="Object"||x==="Array"?y.createElement("div",{className:"rejt-tree"},y.createElement(Tu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:E,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElementGenerator:D,textareaElementGenerator:S,minusMenuElement:h,plusMenuElement:m,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:b,onSubmitValueParser:C})):w}};aD.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return KQ;case"Array":return YQ;default:return JQ}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>ZQ(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:XQ}=nt,QQ=_.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),ad=_.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),eee=_(t$)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),tee=_(r$)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),ny=_.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),ree=_(un)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),nee=_(Di.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),aee={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},oee=e=>{e.currentTarget.dispatchEvent(new XQ.KeyboardEvent("keydown",aee))},iee=e=>{e.currentTarget.select()},lee=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),ay=({name:e,value:t,onChange:r,argType:n})=>{var x;let a=Ny(),o=l.useMemo(()=>t&&ZY(t),[t]),i=o!=null,[s,u]=l.useState(!i),[d,p]=l.useState(null),h=!!((x=n==null?void 0:n.table)!=null&&x.readonly),m=l.useCallback(E=>{try{E&&r(JSON.parse(E)),p(void 0)}catch(D){p(D)}},[r]),[f,v]=l.useState(!1),g=l.useCallback(()=>{r({}),v(!0)},[v]),b=l.useRef(null);if(l.useEffect(()=>{f&&b.current&&b.current.select()},[f]),!i)return y.createElement(Sn,{disabled:h,id:Cs(e),onClick:g},"Set object");let C=y.createElement(nee,{ref:b,id:xt(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:E=>m(E.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:h}),w=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return y.createElement(QQ,{"aria-readonly":h},w&&y.createElement(ree,{onClick:E=>{E.preventDefault(),u(D=>!D)}},s?y.createElement(QO,null):y.createElement(XO,null),y.createElement("span",null,"RAW")),s?C:y.createElement(aD,{readOnly:h||!w,isCollapsed:w?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:lee(a),cancelButtonElement:y.createElement(ad,{type:"button"},"Cancel"),editButtonElement:y.createElement(ad,{type:"submit"},"Save"),addButtonElement:y.createElement(ad,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(eee,null),minusMenuElement:y.createElement(tee,null),inputElement:(E,D,S,A)=>A?y.createElement(ny,{onFocus:iee,onBlur:oee}):y.createElement(ny,null),fallback:C}))},see=_.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Ot(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Ot(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Jr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Jr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${lr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${lr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Ot(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:a?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:lr(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Ot(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Ot(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Jr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Jr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${lr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${lr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Ot(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Ot(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Ot(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Jr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Jr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${lr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),oD=_.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),uee=_(oD)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),cee=_.div({display:"flex",alignItems:"center",width:"100%"});function dee(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var pee=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:u})=>{var f;let d=v=>{r(xQ(v.target.value))},p=t!==void 0,h=l.useMemo(()=>dee(o),[o]),m=!!((f=u==null?void 0:u.table)!=null&&f.readonly);return y.createElement(cee,{"aria-readonly":m},y.createElement(oD,null,n),y.createElement(see,{id:xt(e),type:"range",disabled:m,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(uee,{numberOFDecimalsPlaces:h,max:a},p?t.toFixed(h):"--"," / ",a))},fee=_.label({display:"flex"}),hee=_.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),mee=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},u=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),h=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",disabled:u,id:Cs(e),onClick:h},"Set string");let m=typeof t=="string";return y.createElement(fee,null,y.createElement(Di.Textarea,{id:xt(e),maxLength:o,onChange:s,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:m?null:"error",name:e,value:m?t:"",onFocus:n,onBlur:a}),o&&y.createElement(hee,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},gee=_(Di.Input)({padding:10});function vee(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var yee=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var u;let o=l.useRef(null),i=(u=a==null?void 0:a.control)==null?void 0:u.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(h=>URL.createObjectURL(h));e(p),vee(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(gee,{ref:o,id:xt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},bee=l.lazy(()=>sy(()=>import("./Color-KGDBMAHA-BJd_stOw.js"),__vite__mapDeps([7,2,5,1,3,4,6]),import.meta.url)),wee=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(bee,{...e})),Eee={array:ay,object:ay,boolean:hQ,color:wee,date:wQ,number:DQ,check:Pn,"inline-check":Pn,radio:Pn,"inline-radio":Pn,select:Pn,"multi-select":Pn,range:pee,text:mee,file:yee},oy=()=>y.createElement(y.Fragment,null,"-"),xee=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[u,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(b=>(d({value:b}),r({[a]:b}),b),[r,a]),h=l.useCallback(()=>s(!1),[]),m=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let b=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&b?y.createElement(ra,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(oy,null)}let f={name:a,argType:e,value:u.value,onChange:p,onBlur:h,onFocus:m},v=Eee[o.type]||oy;return y.createElement(v,{...f,...o,controlType:o.type})},Cee=_.span({fontWeight:"bold"}),Dee=_.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),See=_.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Pr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),Aee=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ie(.1,e.color.defaultText):ie(.2,e.color.defaultText),marginTop:t?4:0})),kee=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ie(.1,e.color.defaultText):ie(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),_ee=_.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),Fee=e=>e&&{summary:typeof e=="string"?e:e.name},rl=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:u,description:d}=n,p=n.table||{},h=p.type||Fee(n.type),m=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(_ee,{expandable:i},y.createElement(Cee,null,u),f?y.createElement(Dee,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(See,null,y.createElement(AC,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(kee,{hasDescription:v},y.createElement(nd,{value:h,initialExpandedArgs:s})),y.createElement(tQ,{tags:p.jsDocTags})):y.createElement(Aee,{hasDescription:v},y.createElement(nd,{value:h,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(nd,{value:m,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(xee,{...e,isHovered:t})):null)},Iee=_(a$)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ie(.25,e.color.defaultText):ie(.3,e.color.defaultText),border:"none",display:"inline-block"})),Tee=_(o$)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ie(.25,e.color.defaultText):ie(.3,e.color.defaultText),border:"none",display:"inline-block"})),Ree=_.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),Bee=_.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),zee=_.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),Lee=_.td(()=>({position:"relative"})),Oee=_.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Jr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),iy=_.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),od=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?zee:Bee,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(Oee,{title:p},y.createElement(s,{colSpan:1},y.createElement(iy,{onClick:h=>i(!o),tabIndex:0},p),y.createElement(Ree,null,o?y.createElement(Iee,null):y.createElement(Tee,null),t)),y.createElement(Lee,{colSpan:a-1},y.createElement(iy,{onClick:h=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},nl=_.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),ke=_.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),he=_.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),_e=[2,4,2,2],$ee=()=>y.createElement(y.Fragment,null,y.createElement(nl,null,y.createElement(ke,{numColumn:_e[0]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[1]},y.createElement(he,{width:"30%"})),y.createElement(ke,{numColumn:_e[2]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[3]},y.createElement(he,{width:"60%"}))),y.createElement(nl,null,y.createElement(ke,{numColumn:_e[0]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[1]},y.createElement(he,{width:"80%"}),y.createElement(he,{width:"30%"})),y.createElement(ke,{numColumn:_e[2]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[3]},y.createElement(he,{width:"60%"}))),y.createElement(nl,null,y.createElement(ke,{numColumn:_e[0]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[1]},y.createElement(he,{width:"80%"}),y.createElement(he,{width:"30%"})),y.createElement(ke,{numColumn:_e[2]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[3]},y.createElement(he,{width:"60%"}))),y.createElement(nl,null,y.createElement(ke,{numColumn:_e[0]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[1]},y.createElement(he,{width:"80%"}),y.createElement(he,{width:"30%"})),y.createElement(ke,{numColumn:_e[2]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[3]},y.createElement(he,{width:"60%"})))),Mee=_.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),Pee=_.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),Nee=_.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),Hee=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(Mee,{inAddonPanel:e},y.createElement(Ax,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:y.createElement(Pee,null,e&&y.createElement(y.Fragment,null,y.createElement(ra,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(e$,null)," Watch 5m video"),y.createElement(Nee,null),y.createElement(ra,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(V1,null)," Read docs")),!e&&y.createElement(ra,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(V1,null)," Learn how to set that up"))}))},jee=_.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?ie(.25,e.color.defaultText):ie(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),Vee=_(un)(({theme:e})=>({margin:"-4px -12px -4px 0"})),Uee=_.span({display:"flex",justifyContent:"space-between"}),qee={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},Wee=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:u}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:o,...i});else{let p=d.subsections[u]||[];p.push({key:o,...i}),d.subsections[u]=p}r.sections[s]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:o,...i}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:o,...i})});let n=qee[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},Gee=(e,t,r)=>{try{return gD(e,t,r)}catch(n){return vX.warn(n.message),!1}},tp=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:w}=e;return y.createElement(jC,null,w," ",y.createElement(ra,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(V1,null)," Read the docs"))}if(s)return y.createElement($ee,null);let{rows:u,args:d,globals:p}="rows"in e&&e,h=Wee(kq(u,w=>{var x;return!((x=w==null?void 0:w.table)!=null&&x.disable)&&Gee(w,d||{},p||{})}),i),m=h.ungrouped.length===0,f=Object.entries(h.sections).length===0,v=Object.entries(h.ungroupedSubsections).length===0;if(m&&f&&v)return y.createElement(Hee,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let b=Object.keys(h.sections).length>0,C={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(nh,null,y.createElement(jee,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(Uee,null,"Control"," ",!s&&r&&y.createElement(Vee,{onClick:()=>r(),title:"Reset controls"},y.createElement(l$,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(w=>y.createElement(rl,{key:w.key,row:w,arg:d&&d[w.key],...C})),Object.entries(h.ungroupedSubsections).map(([w,x])=>y.createElement(od,{key:w,label:w,level:"subsection",colSpan:g},x.map(E=>y.createElement(rl,{key:E.key,row:E,arg:d&&d[E.key],expandable:b,...C})))),Object.entries(h.sections).map(([w,x])=>y.createElement(od,{key:w,label:w,level:"section",colSpan:g},x.ungrouped.map(E=>y.createElement(rl,{key:E.key,row:E,arg:d&&d[E.key],...C})),Object.entries(x.subsections).map(([E,D])=>y.createElement(od,{key:E,label:E,level:"subsection",colSpan:g},D.map(S=>y.createElement(rl,{key:S.key,row:S,arg:d&&d[S.key],expandable:b,...C})))))))))},Kee=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(tp,{...r[0][1],...t}):y.createElement(eO,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,u="div",d=a===0?t:{sort:t.sort};return y.createElement(u,{key:s,id:s,title:o},({active:p})=>p?y.createElement(tp,{key:`prop_table_${o}`,...i,...d}):null)}))};_.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText)}));_.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});_.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});_.div(ue,({theme:e})=>({...Iu(e),margin:"25px 0 40px",padding:"30px 20px"}));_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));_.div(({theme:e})=>({color:e.base==="light"?ie(.2,e.color.defaultText):ie(.6,e.color.defaultText)}));_.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});_.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));_.div({display:"flex",flexDirection:"row"});_.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));_.div(({theme:e})=>({...Iu(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));_.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});_.div({flex:1,display:"flex",flexDirection:"row"});_.div({display:"flex",alignItems:"flex-start"});_.div({flex:"0 0 30%"});_.div({flex:1});_.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText)}));_.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var Yee=_.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),Jee=_.div(({theme:e})=>({...Iu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),Zee=_.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Xee=_.div({display:"flex",flexFlow:"row wrap"}),Dre=({name:e,children:t})=>y.createElement(Zee,null,y.createElement(Jee,null,t),y.createElement(Yee,null,e)),Sre=({children:e,...t})=>y.createElement(nh,null,y.createElement(Xee,{...t,className:"docblock-icongallery sb-unstyled"},e)),Qee=e=>`anchor--${e}`,iD=({storyId:e,children:t})=>y.createElement("div",{id:Qee(e),className:"sb-anchor"},t);nt&&nt.__DOCS_CONTEXT__===void 0&&(nt.__DOCS_CONTEXT__=l.createContext(null),nt.__DOCS_CONTEXT__.displayName="DocsContext");var St=nt?nt.__DOCS_CONTEXT__:l.createContext(null),kn=(e,t)=>l.useContext(St).resolveOf(e,t),ete=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),tte=e=>{if(e)return typeof e=="string"?e.includes("-")?ete(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function rte(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function lD(e){return mX(e,{allowFunction:!1})}var sD=l.createContext({sources:{}}),uD="--unknown--",nte=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:u,args:d=void 0,source:p,format:h}=typeof o=="string"?{id:o,source:i,format:s}:o,m=d?lD(d):uD;n(f=>({...f,[u]:{...f[u],[m]:{code:p,format:h}}}))};return t.on(Yh,a),()=>t.off(Yh,a)},[]),y.createElement(sD.Provider,{value:{sources:r}},e)},ate=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[lD(t)])||(a==null?void 0:a[uD])||{code:""}},ote=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,d;let{__isArgsStory:a}=t.parameters,o=((u=t.parameters.docs)==null?void 0:u.source)||{},i=r||o.type||zu.AUTO;if(o.code!==void 0)return o.code;let s=i===zu.DYNAMIC||i===zu.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},ite=(e,t,r)=>{var f,v,g,b;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:i}=e,s=e.format??o.format,u=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:s,language:u,dark:d};let p=t.getStoryContext(n),h=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,m=ate(n.id,h,r);return s=m.format??((b=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:b.format)??!1,{code:ote({snippet:m.code,storyContext:{...p,args:h},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:u,dark:d}};function lte(e,t){let r=ste([e],t);return r&&r[0]}function ste(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var ute=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},cte=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let s=e.height??o.height,u=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:u,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},dte=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(St),r=ute(e,t),n=lte(r,t);if(!n)return y.createElement(qC,null);let a=cte(e,n,t);return a?y.createElement(GX,{...a}):null},pte=e=>{var m,f,v,g,b,C,w,x,E,D;let t=l.useContext(St),r=l.useContext(sD),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=kn(n||"story",["story"]),i=ite({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((f=(m=o.parameters.docs)==null?void 0:m.canvas)==null?void 0:f.layout)??"padded",u=e.withToolbar??((g=(v=o.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((C=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:C.additionalActions),p=e.sourceState??((x=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:x.sourceState)??"hidden",h=e.className??((D=(E=o.parameters.docs)==null?void 0:E.canvas)==null?void 0:D.className);return y.createElement(WC,{withSource:p==="none"?void 0:i,isExpanded:p==="shown",withToolbar:u,additionalActions:d,className:h,layout:s},y.createElement(dte,{of:n||o.moduleExport,meta:e.meta,...e.story}))},fte=(e,t)=>{let r=t.getStoryContext(e),[n,a]=l.useState(r.globals);return l.useEffect(()=>{let o=i=>{a(i.globals)};return t.channel.on(G3,o),()=>t.channel.off(G3,o)},[t.channel]),[n]},hte=(e,t)=>{let r=mte(e,t);if(!r)throw new Error("No result when story was defined");return r},mte=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let u=d=>{d.storyId===n&&o(d.args)};return t.channel.on(K3,u),()=>t.channel.off(K3,u)},[n,t.channel]);let i=l.useCallback(u=>t.channel.emit(yX,{storyId:n,updatedArgs:u}),[n,t.channel]),s=l.useCallback(u=>t.channel.emit(bX,{storyId:n,argNames:u}),[n,t.channel]);return e&&[a,i,s]};function gte(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var vte=e=>{var E;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=l.useContext(St),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,u=((E=a.docs)==null?void 0:E.controls)||{},d=e.include??u.include,p=e.exclude??u.exclude,h=e.sort??u.sort,[m,f,v]=hte(n,r),[g]=fte(n,r),b=W3(o,d,p);if(!(s&&Object.keys(s).length>0))return Object.keys(b).length>0||Object.keys(m).length>0?y.createElement(tp,{rows:b,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v}):null;let C=tte(i),w=Object.fromEntries(Object.entries(s).map(([D,S])=>[D,{rows:W3(gte(S,a),d,p),sort:h}])),x={[C]:{rows:b,sort:h},...w};return y.createElement(Kee,{tabs:x,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v})},{document:cD}=nt,yte=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(e9,null,t);let n=e&&e.split("-");return y.createElement(VC,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Vh(e,t){e.channel.emit(wX,t)}var rp=vO.a,bte=({hash:e,children:t})=>{let r=l.useContext(St);return y.createElement(rp,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);cD.getElementById(a)&&Vh(r,e)}},t)},wte=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(St);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement(rp,{...e}):t.startsWith("#")?y.createElement(bte,{hash:t},n):y.createElement(rp,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),Vh(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},dD=["h1","h2","h3","h4","h5","h6"],Ete=dD.reduce((e,t)=>({...e,[t]:_(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),xte=_.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Cte=({as:e,id:t,children:r,...n})=>{let a=l.useContext(St),o=Ete[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement(xte,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{cD.getElementById(t)&&Vh(a,i)}},y.createElement(n$,null)),r)},Uh=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(Cte,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...se(s,t)})},Dte=dD.reduce((e,t)=>({...e,[t]:r=>y.createElement(Uh,{as:t,...r})}),{}),Ste=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(bD`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' + This is often caused by not wrapping the child in a template string. + + This is invalid: + + # Some heading + A paragraph + + + Instead do: + + {\` + # Some heading + A paragraph + \`} + + `);return y.createElement(AC,{...e,options:{forceBlock:!0,overrides:{code:yte,a:wte,...Dte,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},Ate=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Ate||{}),kte=e=>{var t,r,n,a,o,i,s,u;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:p}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((i=(o=d.docs)==null?void 0:o.extractComponentDescription)==null?void 0:i.call(o,p,{component:p,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:p}}=e;return((u=(s=p.docs)==null?void 0:s.extractComponentDescription)==null?void 0:u.call(s,d,{component:d,parameters:p}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},np=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=kn(t||"meta"),n=kte(r);return n?y.createElement(Ste,null,n):null},ly=SD(AX()),_te=_.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),Fte=_.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),Ite=_.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),Tte=({title:e})=>e===null?null:typeof e=="string"?y.createElement(Ite,null,e):e,Rte=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o})=>(l.useEffect(()=>{let i={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...o},s=setTimeout(()=>ly.init(i),100);return()=>{clearTimeout(s),ly.destroy()}},[t]),y.createElement(y.Fragment,null,y.createElement(_te,null,t?null:y.createElement(Fte,null,y.createElement(Tte,{title:e||null}),y.createElement("div",{className:"toc-wrapper"}))))),{document:Bte,window:zte}=nt,Lte=({context:e,theme:t,children:r})=>{var a,o,i,s,u;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(u=(s=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:s.docs)==null?void 0:u.toc}return l.useEffect(()=>{let d;try{if(d=new URL(zte.parent.location.toString()),d.hash){let p=Bte.getElementById(d.hash.substring(1));p&&setTimeout(()=>{rte(p)},200)}}catch{}}),y.createElement(St.Provider,{value:e},y.createElement(nte,{channel:e.channel},y.createElement(Hy,{theme:bA(t)},y.createElement(LX,{toc:n?y.createElement(Rte,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},Ote=/\s*\/\s*/,$te=e=>{let t=e.trim().split(Ote);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},Mte=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=kn(r||"meta",["meta"]).preparedMeta}catch(o){if(t&&!o.message.includes("did you forget to use ?"))throw o}let a=t||$te(n==null?void 0:n.title);return a?y.createElement(TX,{className:"sbdocs-title sb-unstyled"},a):null},Pte="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",Nte=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=kn(t||"meta",["meta"]).preparedMeta}catch(s){if(r&&!s.message.includes("did you forget to use ?"))throw s}let{componentSubtitle:a,docs:o}=(n==null?void 0:n.parameters)||{};a&&gX(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${Pte}`);let i=r||(o==null?void 0:o.subtitle)||a;return i?y.createElement(RX,{className:"sbdocs-subtitle sb-unstyled"},i):null},Hte=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return y.createElement(r9,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return y.createElement(Uh,{as:"h3",id:r},e)},pD=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var s,u;let{story:o}=kn(e||"story",["story"]),i=((u=(s=o.parameters.docs)==null?void 0:s.canvas)==null?void 0:u.withToolbar)??r;return y.createElement(iD,{storyId:o.id},t&&y.createElement(y.Fragment,null,y.createElement(Hte,null,o.name),y.createElement(np,{of:e})),y.createElement(pte,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},jte=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=kn(t||"meta",["meta"]),n=l.useContext(St).componentStoriesFromCSFFile(r)[0];return n?y.createElement(pD,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},Vte=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return y.createElement(t9,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return y.createElement(Uh,{as:"h2",id:n,...r},e)},Ute=_(Vte)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),qte=({title:e="Stories",includePrimary:t=!0})=>{var s;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=l.useContext(St),o=r(),{stories:{filter:i}={filter:void 0}}=((s=n.parameters)==null?void 0:s.docs)||{};return i&&(o=o.filter(u=>i(u,a(u)))),o.some(u=>{var d;return(d=u.tags)==null?void 0:d.includes("autodocs")})&&(o=o.filter(u=>{var d;return((d=u.tags)==null?void 0:d.includes("autodocs"))&&!u.usesMount})),t||(o=o.slice(1)),!o||o.length===0?null:y.createElement(y.Fragment,null,y.createElement(Ute,null,e),o.map(u=>u&&y.createElement(pD,{key:u.id,of:u.moduleExport,expanded:!0,__forceInitialArgs:!0})))},Wte=()=>{let e=kn("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return y.createElement(y.Fragment,null,y.createElement(Mte,null),y.createElement(Nte,null),y.createElement(np,{of:"meta"}),r?y.createElement(np,{of:"story"}):null,y.createElement(jte,null),y.createElement(vte,null),r?null:y.createElement(qte,null))};function Are({context:e,docsParameter:t}){let r=t.container||Lte,n=t.page||Wte;return y.createElement(r,{context:e,theme:t.theme},y.createElement(n,null))}var kre=({of:e})=>{let t=l.useContext(St);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return y.createElement(iD,{storyId:r.id})}catch{return null}};export{tre as $,Sn as A,ore as B,Y_ as C,t9 as D,J_ as E,Ax as F,ah as G,nh as H,mre as I,bre as J,lF as K,aF as L,gre as M,kx as N,mu as O,dre as P,iF as Q,hre as R,Cx as S,nF as T,_x as U,eO as V,hO as W,$L as X,cre as Y,sre as Z,vre as _,Wz as a,ure as a0,uF as a1,lre as a2,yL as a3,$z as a4,Pr as a5,vO as a6,gd as a7,mO as a8,M1 as a9,fre as aa,se as ab,yO as ac,ue as ad,kre as ae,yte as af,wte as ag,Dte as ah,Are as ai,Sre as aj,Dre as ak,Ah as al,_ as am,wre as an,xt as ao,W_ as b,Di as c,K_ as d,Z_ as e,X_ as f,un as g,Q_ as h,N_ as i,eF as j,ra as k,H_ as l,zL as m,nre as n,Bp as o,rF as p,Ml as q,Fx as r,are as s,oF as t,yre as u,e9 as v,G_ as w,r9 as x,ere as y,fh as z}; diff --git a/assets/index-BrjBE1XS.js b/assets/index-BrjBE1XS.js new file mode 100644 index 00000000..edf8a796 --- /dev/null +++ b/assets/index-BrjBE1XS.js @@ -0,0 +1 @@ +import{i as m,o as l,R as c,y as T,S as b,l as d,A as S,J as B,v as L,w as C,b as H,$ as u,F as g,a as y,z as I,c as h,d as k,D as P,x as W,C as A,E as F,e as x,f as D,g as R,Y as f,I as v,h as E,j as M,k as N,m as q,W as w,n as O,p as U,T as Z,B as j,L as z,H as G,q as J,r as K,s as Q,t as V,u as X,_ as Y,M as _,G as $,K as aa,N as sa,O as oa,P as ta,Q as ea,U as ra,V as pa,X as na,Z as ia,a0 as ma,a1 as la,a2 as ca,a3 as Ta,a4 as ba,a5 as da,a6 as Sa,a7 as Ba,a8 as La,a9 as Ca,aa as Ha,ab as ua,ac as ga,ad as ya}from"./index-Bd60Ok5f.js";import"./iframe-kN1kpAQt.js";import"../sb-preview/runtime.js";import"./index-ebcBgdYO.js";import"./index-LVLpks_4.js";import"./index-D-8MO0q_.js";import"./index-CK28Drts.js";import"./index-DrFu-skq.js";export{m as A,l as ActionBar,c as AddonPanel,T as Badge,b as Bar,d as Blockquote,S as Button,B as ClipboardCode,L as Code,C as DL,H as Div,u as DocumentWrapper,g as EmptyTabContent,y as ErrorFormatter,I as FlexBar,h as Form,k as H1,P as H2,W as H3,A as H4,F as H5,x as H6,D as HR,R as IconButton,f as IconButtonSkeleton,v as Icons,E as Img,M as LI,N as Link,q as ListItem,w as Loader,O as Modal,U as OL,Z as P,j as Placeholder,z as Pre,G as ResetWrapper,J as ScrollArea,K as Separator,Q as Spaced,V as Span,X as StorybookIcon,Y as StorybookLogo,_ as Symbols,$ as SyntaxHighlighter,aa as TT,sa as TabBar,oa as TabButton,ta as TabWrapper,ea as Table,ra as Tabs,pa as TabsState,na as TooltipLinkList,ia as TooltipMessage,ma as TooltipNote,la as UL,ca as WithTooltip,Ta as WithTooltipPure,ba as Zoom,da as codeCommon,Sa as components,Ba as createCopyToClipboardFunction,La as getStoryHref,Ca as icons,Ha as interleaveSeparators,ua as nameSpaceClassNames,ga as resetComponents,ya as withReset}; diff --git a/assets/index-8Ja3sjd7.js b/assets/index-Bz1H9HYf.js similarity index 69% rename from assets/index-8Ja3sjd7.js rename to assets/index-Bz1H9HYf.js index d1ea2b4c..e44abf08 100644 --- a/assets/index-8Ja3sjd7.js +++ b/assets/index-Bz1H9HYf.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-DvLKfCe6.js";import{u as o}from"./index-k79fmlbS.js";import{M as s}from"./index-6HVkS1t_.js";import"./index-aXz8NaAs.js";import"./iframe-391yXaUQ.js";import"../sb-preview/runtime.js";import"./index-eaBuI5Jm.js";import"./index-LANyd4EQ.js";import"./index-lmOu_tDR.js";import"./index-PPLHz8o0.js";function i(t){const e={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...o(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx(s,{title:"Home"}),` +import{j as n}from"./jsx-runtime-B57y5fZt.js";import{useMDXComponents as o}from"./index-BOgtj0Ww.js";import{ae as s}from"./index-Bd60Ok5f.js";import"./index-ebcBgdYO.js";import"./iframe-kN1kpAQt.js";import"../sb-preview/runtime.js";import"./index-LVLpks_4.js";import"./index-D-8MO0q_.js";import"./index-CK28Drts.js";import"./index-DrFu-skq.js";function i(t){const e={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...o(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx(s,{title:"Home"}),` `,n.jsx(e.h1,{id:"hailstorm",children:"Hailstorm"}),` `,n.jsx(e.h2,{id:"introduction",children:"Introduction"}),` `,n.jsx(e.p,{children:"Hailstorm is a design system for Abusix. It is a collection of reusable components, guidelines, and best practices that can be used to build consistent user interfaces across all of our products."}),` diff --git a/assets/index-CK28Drts.js b/assets/index-CK28Drts.js new file mode 100644 index 00000000..886ea228 --- /dev/null +++ b/assets/index-CK28Drts.js @@ -0,0 +1,8 @@ +import{c as Ae,g as fn}from"./index-ebcBgdYO.js";var Tn=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,vn=Tn,hn=vn,gn=typeof self=="object"&&self&&self.Object===Object&&self,bn=hn||gn||Function("return this")(),Jn=bn,xn=Jn,wn=xn.Symbol,It=wn,Et=It,Rt=Object.prototype,Pn=Rt.hasOwnProperty,On=Rt.toString,fe=Et?Et.toStringTag:void 0;function Nn(r){var t=Pn.call(r,fe),n=r[fe];try{r[fe]=void 0;var o=!0}catch{}var i=On.call(r);return o&&(t?r[fe]=n:delete r[fe]),i}var _n=Nn,Sn=Object.prototype,jn=Sn.toString;function En(r){return jn.call(r)}var kn=En,kt=It,An=_n,In=kn,Rn="[object Null]",Fn="[object Undefined]",At=kt?kt.toStringTag:void 0;function Ln(r){return r==null?r===void 0?Fn:Rn:At&&At in Object(r)?An(r):In(r)}var Un=Ln;function Vn(r){var t=typeof r;return r!=null&&(t=="object"||t=="function")}var $n=Vn,Dn=Un,Kn=$n,Cn="[object AsyncFunction]",Mn="[object Function]",qn="[object GeneratorFunction]",Bn="[object Proxy]";function Gn(r){if(!Kn(r))return!1;var t=Dn(r);return t==Mn||t==qn||t==Cn||t==Bn}var Yn=Gn;const xs=fn(Yn);var zn=Array.isArray,ws=zn;function Wn(r){return r!=null&&typeof r=="object"}var Ps=Wn;function Hn(r,t){return function(n){return r(t(n))}}var Xn=Hn,Qn=Xn,Zn=Qn(Object.getPrototypeOf,Object),Os=Zn,ea=Object.create,Ye=Object.defineProperty,ta=Object.getOwnPropertyDescriptor,ra=Object.getOwnPropertyNames,na=Object.getPrototypeOf,aa=Object.prototype.hasOwnProperty,a=(r,t)=>Ye(r,"name",{value:t,configurable:!0}),f=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),oa=(r,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ra(t))!aa.call(r,i)&&i!==n&&Ye(r,i,{get:()=>t[i],enumerable:!(o=ta(t,i))||o.enumerable});return r},Ft=(r,t,n)=>(n=r!=null?ea(na(r)):{},oa(Ye(n,"default",{value:r,enumerable:!0}),r)),Lt=f((r,t)=>{var n=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=n}),Z=f((r,t)=>{var n=Lt(),o=typeof self=="object"&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i}),Re=f((r,t)=>{var n=Z(),o=n.Symbol;t.exports=o}),sa=f((r,t)=>{var n=Re(),o=Object.prototype,i=o.hasOwnProperty,p=o.toString,l=n?n.toStringTag:void 0;function u(y){var m=i.call(y,l),T=y[l];try{y[l]=void 0;var h=!0}catch{}var x=p.call(y);return h&&(m?y[l]=T:delete y[l]),x}a(u,"getRawTag"),t.exports=u}),ia=f((r,t)=>{var n=Object.prototype,o=n.toString;function i(p){return o.call(p)}a(i,"objectToString"),t.exports=i}),ge=f((r,t)=>{var n=Re(),o=sa(),i=ia(),p="[object Null]",l="[object Undefined]",u=n?n.toStringTag:void 0;function y(m){return m==null?m===void 0?l:p:u&&u in Object(m)?o(m):i(m)}a(y,"baseGetTag"),t.exports=y}),ze=f((r,t)=>{function n(o){var i=typeof o;return o!=null&&(i=="object"||i=="function")}a(n,"isObject"),t.exports=n}),Ut=f((r,t)=>{var n=ge(),o=ze(),i="[object AsyncFunction]",p="[object Function]",l="[object GeneratorFunction]",u="[object Proxy]";function y(m){if(!o(m))return!1;var T=n(m);return T==p||T==l||T==i||T==u}a(y,"isFunction"),t.exports=y}),pa=f((r,t)=>{var n=Z(),o=n["__core-js_shared__"];t.exports=o}),ca=f((r,t)=>{var n=pa(),o=function(){var p=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""}();function i(p){return!!o&&o in p}a(i,"isMasked"),t.exports=i}),Vt=f((r,t)=>{var n=Function.prototype,o=n.toString;function i(p){if(p!=null){try{return o.call(p)}catch{}try{return p+""}catch{}}return""}a(i,"toSource"),t.exports=i}),la=f((r,t)=>{var n=Ut(),o=ca(),i=ze(),p=Vt(),l=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,y=Function.prototype,m=Object.prototype,T=y.toString,h=m.hasOwnProperty,x=RegExp("^"+T.call(h).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function g(w){if(!i(w)||o(w))return!1;var _=n(w)?x:u;return _.test(p(w))}a(g,"baseIsNative"),t.exports=g}),ua=f((r,t)=>{function n(o,i){return o==null?void 0:o[i]}a(n,"getValue"),t.exports=n}),ie=f((r,t)=>{var n=la(),o=ua();function i(p,l){var u=o(p,l);return n(u)?u:void 0}a(i,"getNative"),t.exports=i}),ya=f((r,t)=>{var n=ie(),o=function(){try{var i=n(Object,"defineProperty");return i({},"",{}),i}catch{}}();t.exports=o}),da=f((r,t)=>{var n=ya();function o(i,p,l){p=="__proto__"&&n?n(i,p,{configurable:!0,enumerable:!0,value:l,writable:!0}):i[p]=l}a(o,"baseAssignValue"),t.exports=o}),ma=f((r,t)=>{function n(o){return function(i,p,l){for(var u=-1,y=Object(i),m=l(i),T=m.length;T--;){var h=m[o?T:++u];if(p(y[h],h,y)===!1)break}return i}}a(n,"createBaseFor"),t.exports=n}),fa=f((r,t)=>{var n=ma(),o=n();t.exports=o}),Ta=f((r,t)=>{function n(o,i){for(var p=-1,l=Array(o);++p{function n(o){return o!=null&&typeof o=="object"}a(n,"isObjectLike"),t.exports=n}),va=f((r,t)=>{var n=ge(),o=be(),i="[object Arguments]";function p(l){return o(l)&&n(l)==i}a(p,"baseIsArguments"),t.exports=p}),$t=f((r,t)=>{var n=va(),o=be(),i=Object.prototype,p=i.hasOwnProperty,l=i.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(y){return o(y)&&p.call(y,"callee")&&!l.call(y,"callee")};t.exports=u}),ne=f((r,t)=>{var n=Array.isArray;t.exports=n}),ha=f((r,t)=>{function n(){return!1}a(n,"stubFalse"),t.exports=n}),Dt=f((r,t)=>{var n=Z(),o=ha(),i=typeof r=="object"&&r&&!r.nodeType&&r,p=i&&typeof t=="object"&&t&&!t.nodeType&&t,l=p&&p.exports===i,u=l?n.Buffer:void 0,y=u?u.isBuffer:void 0,m=y||o;t.exports=m}),Kt=f((r,t)=>{var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;function i(p,l){var u=typeof p;return l=l??n,!!l&&(u=="number"||u!="symbol"&&o.test(p))&&p>-1&&p%1==0&&p{var n=9007199254740991;function o(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=n}a(o,"isLength"),t.exports=o}),ga=f((r,t)=>{var n=ge(),o=We(),i=be(),p="[object Arguments]",l="[object Array]",u="[object Boolean]",y="[object Date]",m="[object Error]",T="[object Function]",h="[object Map]",x="[object Number]",g="[object Object]",w="[object RegExp]",_="[object Set]",L="[object String]",R="[object WeakMap]",P="[object ArrayBuffer]",A="[object DataView]",j="[object Float32Array]",D="[object Float64Array]",I="[object Int8Array]",V="[object Int16Array]",E="[object Int32Array]",k="[object Uint8Array]",N="[object Uint8ClampedArray]",K="[object Uint16Array]",G="[object Uint32Array]",S={};S[j]=S[D]=S[I]=S[V]=S[E]=S[k]=S[N]=S[K]=S[G]=!0,S[p]=S[l]=S[P]=S[u]=S[A]=S[y]=S[m]=S[T]=S[h]=S[x]=S[g]=S[w]=S[_]=S[L]=S[R]=!1;function Y(M){return i(M)&&o(M.length)&&!!S[n(M)]}a(Y,"baseIsTypedArray"),t.exports=Y}),ba=f((r,t)=>{function n(o){return function(i){return o(i)}}a(n,"baseUnary"),t.exports=n}),Ja=f((r,t)=>{var n=Lt(),o=typeof r=="object"&&r&&!r.nodeType&&r,i=o&&typeof t=="object"&&t&&!t.nodeType&&t,p=i&&i.exports===o,l=p&&n.process,u=function(){try{var y=i&&i.require&&i.require("util").types;return y||l&&l.binding&&l.binding("util")}catch{}}();t.exports=u}),Ct=f((r,t)=>{var n=ga(),o=ba(),i=Ja(),p=i&&i.isTypedArray,l=p?o(p):n;t.exports=l}),xa=f((r,t)=>{var n=Ta(),o=$t(),i=ne(),p=Dt(),l=Kt(),u=Ct(),y=Object.prototype,m=y.hasOwnProperty;function T(h,x){var g=i(h),w=!g&&o(h),_=!g&&!w&&p(h),L=!g&&!w&&!_&&u(h),R=g||w||_||L,P=R?n(h.length,String):[],A=P.length;for(var j in h)(x||m.call(h,j))&&!(R&&(j=="length"||_&&(j=="offset"||j=="parent")||L&&(j=="buffer"||j=="byteLength"||j=="byteOffset")||l(j,A)))&&P.push(j);return P}a(T,"arrayLikeKeys"),t.exports=T}),wa=f((r,t)=>{var n=Object.prototype;function o(i){var p=i&&i.constructor,l=typeof p=="function"&&p.prototype||n;return i===l}a(o,"isPrototype"),t.exports=o}),Pa=f((r,t)=>{function n(o,i){return function(p){return o(i(p))}}a(n,"overArg"),t.exports=n}),Oa=f((r,t)=>{var n=Pa(),o=n(Object.keys,Object);t.exports=o}),Na=f((r,t)=>{var n=wa(),o=Oa(),i=Object.prototype,p=i.hasOwnProperty;function l(u){if(!n(u))return o(u);var y=[];for(var m in Object(u))p.call(u,m)&&m!="constructor"&&y.push(m);return y}a(l,"baseKeys"),t.exports=l}),_a=f((r,t)=>{var n=Ut(),o=We();function i(p){return p!=null&&o(p.length)&&!n(p)}a(i,"isArrayLike"),t.exports=i}),He=f((r,t)=>{var n=xa(),o=Na(),i=_a();function p(l){return i(l)?n(l):o(l)}a(p,"keys"),t.exports=p}),Sa=f((r,t)=>{var n=fa(),o=He();function i(p,l){return p&&n(p,l,o)}a(i,"baseForOwn"),t.exports=i}),ja=f((r,t)=>{function n(){this.__data__=[],this.size=0}a(n,"listCacheClear"),t.exports=n}),Mt=f((r,t)=>{function n(o,i){return o===i||o!==o&&i!==i}a(n,"eq"),t.exports=n}),Fe=f((r,t)=>{var n=Mt();function o(i,p){for(var l=i.length;l--;)if(n(i[l][0],p))return l;return-1}a(o,"assocIndexOf"),t.exports=o}),Ea=f((r,t)=>{var n=Fe(),o=Array.prototype,i=o.splice;function p(l){var u=this.__data__,y=n(u,l);if(y<0)return!1;var m=u.length-1;return y==m?u.pop():i.call(u,y,1),--this.size,!0}a(p,"listCacheDelete"),t.exports=p}),ka=f((r,t)=>{var n=Fe();function o(i){var p=this.__data__,l=n(p,i);return l<0?void 0:p[l][1]}a(o,"listCacheGet"),t.exports=o}),Aa=f((r,t)=>{var n=Fe();function o(i){return n(this.__data__,i)>-1}a(o,"listCacheHas"),t.exports=o}),Ia=f((r,t)=>{var n=Fe();function o(i,p){var l=this.__data__,u=n(l,i);return u<0?(++this.size,l.push([i,p])):l[u][1]=p,this}a(o,"listCacheSet"),t.exports=o}),Le=f((r,t)=>{var n=ja(),o=Ea(),i=ka(),p=Aa(),l=Ia();function u(y){var m=-1,T=y==null?0:y.length;for(this.clear();++m{var n=Le();function o(){this.__data__=new n,this.size=0}a(o,"stackClear"),t.exports=o}),Fa=f((r,t)=>{function n(o){var i=this.__data__,p=i.delete(o);return this.size=i.size,p}a(n,"stackDelete"),t.exports=n}),La=f((r,t)=>{function n(o){return this.__data__.get(o)}a(n,"stackGet"),t.exports=n}),Ua=f((r,t)=>{function n(o){return this.__data__.has(o)}a(n,"stackHas"),t.exports=n}),Xe=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"Map");t.exports=i}),Ue=f((r,t)=>{var n=ie(),o=n(Object,"create");t.exports=o}),Va=f((r,t)=>{var n=Ue();function o(){this.__data__=n?n(null):{},this.size=0}a(o,"hashClear"),t.exports=o}),$a=f((r,t)=>{function n(o){var i=this.has(o)&&delete this.__data__[o];return this.size-=i?1:0,i}a(n,"hashDelete"),t.exports=n}),Da=f((r,t)=>{var n=Ue(),o="__lodash_hash_undefined__",i=Object.prototype,p=i.hasOwnProperty;function l(u){var y=this.__data__;if(n){var m=y[u];return m===o?void 0:m}return p.call(y,u)?y[u]:void 0}a(l,"hashGet"),t.exports=l}),Ka=f((r,t)=>{var n=Ue(),o=Object.prototype,i=o.hasOwnProperty;function p(l){var u=this.__data__;return n?u[l]!==void 0:i.call(u,l)}a(p,"hashHas"),t.exports=p}),Ca=f((r,t)=>{var n=Ue(),o="__lodash_hash_undefined__";function i(p,l){var u=this.__data__;return this.size+=this.has(p)?0:1,u[p]=n&&l===void 0?o:l,this}a(i,"hashSet"),t.exports=i}),Ma=f((r,t)=>{var n=Va(),o=$a(),i=Da(),p=Ka(),l=Ca();function u(y){var m=-1,T=y==null?0:y.length;for(this.clear();++m{var n=Ma(),o=Le(),i=Xe();function p(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}a(p,"mapCacheClear"),t.exports=p}),Ba=f((r,t)=>{function n(o){var i=typeof o;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?o!=="__proto__":o===null}a(n,"isKeyable"),t.exports=n}),Ve=f((r,t)=>{var n=Ba();function o(i,p){var l=i.__data__;return n(p)?l[typeof p=="string"?"string":"hash"]:l.map}a(o,"getMapData"),t.exports=o}),Ga=f((r,t)=>{var n=Ve();function o(i){var p=n(this,i).delete(i);return this.size-=p?1:0,p}a(o,"mapCacheDelete"),t.exports=o}),Ya=f((r,t)=>{var n=Ve();function o(i){return n(this,i).get(i)}a(o,"mapCacheGet"),t.exports=o}),za=f((r,t)=>{var n=Ve();function o(i){return n(this,i).has(i)}a(o,"mapCacheHas"),t.exports=o}),Wa=f((r,t)=>{var n=Ve();function o(i,p){var l=n(this,i),u=l.size;return l.set(i,p),this.size+=l.size==u?0:1,this}a(o,"mapCacheSet"),t.exports=o}),Qe=f((r,t)=>{var n=qa(),o=Ga(),i=Ya(),p=za(),l=Wa();function u(y){var m=-1,T=y==null?0:y.length;for(this.clear();++m{var n=Le(),o=Xe(),i=Qe(),p=200;function l(u,y){var m=this.__data__;if(m instanceof n){var T=m.__data__;if(!o||T.length{var n=Le(),o=Ra(),i=Fa(),p=La(),l=Ua(),u=Ha();function y(m){var T=this.__data__=new n(m);this.size=T.size}a(y,"Stack"),y.prototype.clear=o,y.prototype.delete=i,y.prototype.get=p,y.prototype.has=l,y.prototype.set=u,t.exports=y}),Xa=f((r,t)=>{var n="__lodash_hash_undefined__";function o(i){return this.__data__.set(i,n),this}a(o,"setCacheAdd"),t.exports=o}),Qa=f((r,t)=>{function n(o){return this.__data__.has(o)}a(n,"setCacheHas"),t.exports=n}),Za=f((r,t)=>{var n=Qe(),o=Xa(),i=Qa();function p(l){var u=-1,y=l==null?0:l.length;for(this.__data__=new n;++u{function n(o,i){for(var p=-1,l=o==null?0:o.length;++p{function n(o,i){return o.has(i)}a(n,"cacheHas"),t.exports=n}),Bt=f((r,t)=>{var n=Za(),o=eo(),i=to(),p=1,l=2;function u(y,m,T,h,x,g){var w=T&p,_=y.length,L=m.length;if(_!=L&&!(w&&L>_))return!1;var R=g.get(y),P=g.get(m);if(R&&P)return R==m&&P==y;var A=-1,j=!0,D=T&l?new n:void 0;for(g.set(y,m),g.set(m,y);++A<_;){var I=y[A],V=m[A];if(h)var E=w?h(V,I,A,m,y,g):h(I,V,A,y,m,g);if(E!==void 0){if(E)continue;j=!1;break}if(D){if(!o(m,function(k,N){if(!i(D,N)&&(I===k||x(I,k,T,h,g)))return D.push(N)})){j=!1;break}}else if(!(I===V||x(I,V,T,h,g))){j=!1;break}}return g.delete(y),g.delete(m),j}a(u,"equalArrays"),t.exports=u}),ro=f((r,t)=>{var n=Z(),o=n.Uint8Array;t.exports=o}),no=f((r,t)=>{function n(o){var i=-1,p=Array(o.size);return o.forEach(function(l,u){p[++i]=[u,l]}),p}a(n,"mapToArray"),t.exports=n}),ao=f((r,t)=>{function n(o){var i=-1,p=Array(o.size);return o.forEach(function(l){p[++i]=l}),p}a(n,"setToArray"),t.exports=n}),oo=f((r,t)=>{var n=Re(),o=ro(),i=Mt(),p=Bt(),l=no(),u=ao(),y=1,m=2,T="[object Boolean]",h="[object Date]",x="[object Error]",g="[object Map]",w="[object Number]",_="[object RegExp]",L="[object Set]",R="[object String]",P="[object Symbol]",A="[object ArrayBuffer]",j="[object DataView]",D=n?n.prototype:void 0,I=D?D.valueOf:void 0;function V(E,k,N,K,G,S,Y){switch(N){case j:if(E.byteLength!=k.byteLength||E.byteOffset!=k.byteOffset)return!1;E=E.buffer,k=k.buffer;case A:return!(E.byteLength!=k.byteLength||!S(new o(E),new o(k)));case T:case h:case w:return i(+E,+k);case x:return E.name==k.name&&E.message==k.message;case _:case R:return E==k+"";case g:var M=l;case L:var J=K&y;if(M||(M=u),E.size!=k.size&&!J)return!1;var oe=Y.get(E);if(oe)return oe==k;K|=m,Y.set(E,k);var ee=p(M(E),M(k),K,G,S,Y);return Y.delete(E),ee;case P:if(I)return I.call(E)==I.call(k)}return!1}a(V,"equalByTag"),t.exports=V}),so=f((r,t)=>{function n(o,i){for(var p=-1,l=i.length,u=o.length;++p{var n=so(),o=ne();function i(p,l,u){var y=l(p);return o(p)?y:n(y,u(p))}a(i,"baseGetAllKeys"),t.exports=i}),po=f((r,t)=>{function n(o,i){for(var p=-1,l=o==null?0:o.length,u=0,y=[];++p{function n(){return[]}a(n,"stubArray"),t.exports=n}),lo=f((r,t)=>{var n=po(),o=co(),i=Object.prototype,p=i.propertyIsEnumerable,l=Object.getOwnPropertySymbols,u=l?function(y){return y==null?[]:(y=Object(y),n(l(y),function(m){return p.call(y,m)}))}:o;t.exports=u}),uo=f((r,t)=>{var n=io(),o=lo(),i=He();function p(l){return n(l,i,o)}a(p,"getAllKeys"),t.exports=p}),yo=f((r,t)=>{var n=uo(),o=1,i=Object.prototype,p=i.hasOwnProperty;function l(u,y,m,T,h,x){var g=m&o,w=n(u),_=w.length,L=n(y),R=L.length;if(_!=R&&!g)return!1;for(var P=_;P--;){var A=w[P];if(!(g?A in y:p.call(y,A)))return!1}var j=x.get(u),D=x.get(y);if(j&&D)return j==y&&D==u;var I=!0;x.set(u,y),x.set(y,u);for(var V=g;++P<_;){A=w[P];var E=u[A],k=y[A];if(T)var N=g?T(k,E,A,y,u,x):T(E,k,A,u,y,x);if(!(N===void 0?E===k||h(E,k,m,T,x):N)){I=!1;break}V||(V=A=="constructor")}if(I&&!V){var K=u.constructor,G=y.constructor;K!=G&&"constructor"in u&&"constructor"in y&&!(typeof K=="function"&&K instanceof K&&typeof G=="function"&&G instanceof G)&&(I=!1)}return x.delete(u),x.delete(y),I}a(l,"equalObjects"),t.exports=l}),mo=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"DataView");t.exports=i}),fo=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"Promise");t.exports=i}),To=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"Set");t.exports=i}),vo=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"WeakMap");t.exports=i}),ho=f((r,t)=>{var n=mo(),o=Xe(),i=fo(),p=To(),l=vo(),u=ge(),y=Vt(),m="[object Map]",T="[object Object]",h="[object Promise]",x="[object Set]",g="[object WeakMap]",w="[object DataView]",_=y(n),L=y(o),R=y(i),P=y(p),A=y(l),j=u;(n&&j(new n(new ArrayBuffer(1)))!=w||o&&j(new o)!=m||i&&j(i.resolve())!=h||p&&j(new p)!=x||l&&j(new l)!=g)&&(j=a(function(D){var I=u(D),V=I==T?D.constructor:void 0,E=V?y(V):"";if(E)switch(E){case _:return w;case L:return m;case R:return h;case P:return x;case A:return g}return I},"getTag")),t.exports=j}),go=f((r,t)=>{var n=qt(),o=Bt(),i=oo(),p=yo(),l=ho(),u=ne(),y=Dt(),m=Ct(),T=1,h="[object Arguments]",x="[object Array]",g="[object Object]",w=Object.prototype,_=w.hasOwnProperty;function L(R,P,A,j,D,I){var V=u(R),E=u(P),k=V?x:l(R),N=E?x:l(P);k=k==h?g:k,N=N==h?g:N;var K=k==g,G=N==g,S=k==N;if(S&&y(R)){if(!y(P))return!1;V=!0,K=!1}if(S&&!K)return I||(I=new n),V||m(R)?o(R,P,A,j,D,I):i(R,P,k,A,j,D,I);if(!(A&T)){var Y=K&&_.call(R,"__wrapped__"),M=G&&_.call(P,"__wrapped__");if(Y||M){var J=Y?R.value():R,oe=M?P.value():P;return I||(I=new n),D(J,oe,A,j,I)}}return S?(I||(I=new n),p(R,P,A,j,D,I)):!1}a(L,"baseIsEqualDeep"),t.exports=L}),Gt=f((r,t)=>{var n=go(),o=be();function i(p,l,u,y,m){return p===l?!0:p==null||l==null||!o(p)&&!o(l)?p!==p&&l!==l:n(p,l,u,y,i,m)}a(i,"baseIsEqual"),t.exports=i}),bo=f((r,t)=>{var n=qt(),o=Gt(),i=1,p=2;function l(u,y,m,T){var h=m.length,x=h,g=!T;if(u==null)return!x;for(u=Object(u);h--;){var w=m[h];if(g&&w[2]?w[1]!==u[w[0]]:!(w[0]in u))return!1}for(;++h{var n=ze();function o(i){return i===i&&!n(i)}a(o,"isStrictComparable"),t.exports=o}),Jo=f((r,t)=>{var n=Yt(),o=He();function i(p){for(var l=o(p),u=l.length;u--;){var y=l[u],m=p[y];l[u]=[y,m,n(m)]}return l}a(i,"getMatchData"),t.exports=i}),zt=f((r,t)=>{function n(o,i){return function(p){return p==null?!1:p[o]===i&&(i!==void 0||o in Object(p))}}a(n,"matchesStrictComparable"),t.exports=n}),xo=f((r,t)=>{var n=bo(),o=Jo(),i=zt();function p(l){var u=o(l);return u.length==1&&u[0][2]?i(u[0][0],u[0][1]):function(y){return y===l||n(y,l,u)}}a(p,"baseMatches"),t.exports=p}),Ze=f((r,t)=>{var n=ge(),o=be(),i="[object Symbol]";function p(l){return typeof l=="symbol"||o(l)&&n(l)==i}a(p,"isSymbol"),t.exports=p}),et=f((r,t)=>{var n=ne(),o=Ze(),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,p=/^\w*$/;function l(u,y){if(n(u))return!1;var m=typeof u;return m=="number"||m=="symbol"||m=="boolean"||u==null||o(u)?!0:p.test(u)||!i.test(u)||y!=null&&u in Object(y)}a(l,"isKey"),t.exports=l}),wo=f((r,t)=>{var n=Qe(),o="Expected a function";function i(p,l){if(typeof p!="function"||l!=null&&typeof l!="function")throw new TypeError(o);var u=a(function(){var y=arguments,m=l?l.apply(this,y):y[0],T=u.cache;if(T.has(m))return T.get(m);var h=p.apply(this,y);return u.cache=T.set(m,h)||T,h},"memoized");return u.cache=new(i.Cache||n),u}a(i,"memoize"),i.Cache=n,t.exports=i}),Po=f((r,t)=>{var n=wo(),o=500;function i(p){var l=n(p,function(y){return u.size===o&&u.clear(),y}),u=l.cache;return l}a(i,"memoizeCapped"),t.exports=i}),Oo=f((r,t)=>{var n=Po(),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,p=n(function(l){var u=[];return l.charCodeAt(0)===46&&u.push(""),l.replace(o,function(y,m,T,h){u.push(T?h.replace(i,"$1"):m||y)}),u});t.exports=p}),No=f((r,t)=>{function n(o,i){for(var p=-1,l=o==null?0:o.length,u=Array(l);++p{var n=Re(),o=No(),i=ne(),p=Ze(),l=1/0,u=n?n.prototype:void 0,y=u?u.toString:void 0;function m(T){if(typeof T=="string")return T;if(i(T))return o(T,m)+"";if(p(T))return y?y.call(T):"";var h=T+"";return h=="0"&&1/T==-l?"-0":h}a(m,"baseToString"),t.exports=m}),So=f((r,t)=>{var n=_o();function o(i){return i==null?"":n(i)}a(o,"toString"),t.exports=o}),Wt=f((r,t)=>{var n=ne(),o=et(),i=Oo(),p=So();function l(u,y){return n(u)?u:o(u,y)?[u]:i(p(u))}a(l,"castPath"),t.exports=l}),$e=f((r,t)=>{var n=Ze(),o=1/0;function i(p){if(typeof p=="string"||n(p))return p;var l=p+"";return l=="0"&&1/p==-o?"-0":l}a(i,"toKey"),t.exports=i}),Ht=f((r,t)=>{var n=Wt(),o=$e();function i(p,l){l=n(l,p);for(var u=0,y=l.length;p!=null&&u{var n=Ht();function o(i,p,l){var u=i==null?void 0:n(i,p);return u===void 0?l:u}a(o,"get"),t.exports=o}),Eo=f((r,t)=>{function n(o,i){return o!=null&&i in Object(o)}a(n,"baseHasIn"),t.exports=n}),ko=f((r,t)=>{var n=Wt(),o=$t(),i=ne(),p=Kt(),l=We(),u=$e();function y(m,T,h){T=n(T,m);for(var x=-1,g=T.length,w=!1;++x{var n=Eo(),o=ko();function i(p,l){return p!=null&&o(p,l,n)}a(i,"hasIn"),t.exports=i}),Io=f((r,t)=>{var n=Gt(),o=jo(),i=Ao(),p=et(),l=Yt(),u=zt(),y=$e(),m=1,T=2;function h(x,g){return p(x)&&l(g)?u(y(x),g):function(w){var _=o(w,x);return _===void 0&&_===g?i(w,x):n(g,_,m|T)}}a(h,"baseMatchesProperty"),t.exports=h}),Ro=f((r,t)=>{function n(o){return o}a(n,"identity"),t.exports=n}),Fo=f((r,t)=>{function n(o){return function(i){return i==null?void 0:i[o]}}a(n,"baseProperty"),t.exports=n}),Lo=f((r,t)=>{var n=Ht();function o(i){return function(p){return n(p,i)}}a(o,"basePropertyDeep"),t.exports=o}),Uo=f((r,t)=>{var n=Fo(),o=Lo(),i=et(),p=$e();function l(u){return i(u)?n(p(u)):o(u)}a(l,"property"),t.exports=l}),Vo=f((r,t)=>{var n=xo(),o=Io(),i=Ro(),p=ne(),l=Uo();function u(y){return typeof y=="function"?y:y==null?i:typeof y=="object"?p(y)?o(y[0],y[1]):n(y):l(y)}a(u,"baseIteratee"),t.exports=u}),$o=f((r,t)=>{var n=da(),o=Sa(),i=Vo();function p(l,u){var y={};return u=i(u,3),o(l,function(m,T,h){n(y,T,u(m,T,h))}),y}a(p,"mapValues"),t.exports=p}),Do=f((r,t)=>{(function(n,o){typeof r=="object"&&typeof t<"u"?o(r):typeof define=="function"&&define.amd?define(["exports"],o):(n=typeof globalThis<"u"?globalThis:n||self,o(n.jtpp={}))})(r,function(n){function o(e){return e.text!==void 0&&e.text!==""?`'${e.type}' with value '${e.text}'`:`'${e.type}'`}a(o,"tokenToString");let i=class Xt extends Error{constructor(s){super(`No parslet found for token: ${o(s)}`),this.token=s,Object.setPrototypeOf(this,Xt.prototype)}getToken(){return this.token}};a(i,"NoParsletFoundError");let p=i,l=class Qt extends Error{constructor(s){super(`The parsing ended early. The next token was: ${o(s)}`),this.token=s,Object.setPrototypeOf(this,Qt.prototype)}getToken(){return this.token}};a(l,"EarlyEndOfParseError");let u=l,y=class Zt extends Error{constructor(s,c){let d=`Unexpected type: '${s.type}'.`;c!==void 0&&(d+=` Message: ${c}`),super(d),Object.setPrototypeOf(this,Zt.prototype)}};a(y,"UnexpectedTypeError");let m=y;function T(e){return s=>s.startsWith(e)?{type:e,text:e}:null}a(T,"makePunctuationRule");function h(e){let s=0,c,d=e[0],v=!1;if(d!=="'"&&d!=='"')return null;for(;s{let s=w(e);return s==null?null:{type:"Identifier",text:s}},"identifierRule");function P(e){return s=>{if(!s.startsWith(e))return null;let c=s[e.length];return c!==void 0&&g.test(c)?null:{type:e,text:e}}}a(P,"makeKeyWordRule");let A=a(e=>{let s=h(e);return s==null?null:{type:"StringValue",text:s}},"stringValueRule"),j=a(e=>e.length>0?null:{type:"EOF",text:""},"eofRule"),D=a(e=>{let s=L(e);return s===null?null:{type:"Number",text:s}},"numberRule"),I=[j,T("=>"),T("("),T(")"),T("{"),T("}"),T("["),T("]"),T("|"),T("&"),T("<"),T(">"),T(","),T(";"),T("*"),T("?"),T("!"),T("="),T(":"),T("..."),T("."),T("#"),T("~"),T("/"),T("@"),P("undefined"),P("null"),P("function"),P("this"),P("new"),P("module"),P("event"),P("external"),P("typeof"),P("keyof"),P("readonly"),P("import"),P("is"),P("in"),D,R,A],V=/^\s*\n\s*/,E=class Ie{static create(s){let c=this.read(s);s=c.text;let d=this.read(s);return s=d.text,new Ie(s,void 0,c.token,d.token)}constructor(s,c,d,v){this.text="",this.text=s,this.previous=c,this.current=d,this.next=v}static read(s,c=!1){c=c||V.test(s),s=s.trim();for(let d of I){let v=d(s);if(v!==null){let b=Object.assign(Object.assign({},v),{startOfLine:c});return s=s.slice(b.text.length),{text:s,token:b}}}throw new Error("Unexpected Token "+s)}advance(){let s=Ie.read(this.text);return new Ie(s.text,this.current,this.next,s.token)}};a(E,"Lexer");let k=E;function N(e){if(e===void 0)throw new Error("Unexpected undefined");if(e.type==="JsdocTypeKeyValue"||e.type==="JsdocTypeParameterList"||e.type==="JsdocTypeProperty"||e.type==="JsdocTypeReadonlyProperty"||e.type==="JsdocTypeObjectField"||e.type==="JsdocTypeJsdocObjectField"||e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType")throw new m(e);return e}a(N,"assertRootResult");function K(e){return e.type==="JsdocTypeKeyValue"?S(e):N(e)}a(K,"assertPlainKeyValueOrRootResult");function G(e){return e.type==="JsdocTypeName"?e:S(e)}a(G,"assertPlainKeyValueOrNameResult");function S(e){if(e.type!=="JsdocTypeKeyValue")throw new m(e);return e}a(S,"assertPlainKeyValueResult");function Y(e){var s;if(e.type==="JsdocTypeVariadic"){if(((s=e.element)===null||s===void 0?void 0:s.type)==="JsdocTypeName")return e;throw new m(e)}if(e.type!=="JsdocTypeNumber"&&e.type!=="JsdocTypeName")throw new m(e);return e}a(Y,"assertNumberOrVariadicNameResult");function M(e){return e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType"}a(M,"isSquaredProperty");var J;(function(e){e[e.ALL=0]="ALL",e[e.PARAMETER_LIST=1]="PARAMETER_LIST",e[e.OBJECT=2]="OBJECT",e[e.KEY_VALUE=3]="KEY_VALUE",e[e.UNION=4]="UNION",e[e.INTERSECTION=5]="INTERSECTION",e[e.PREFIX=6]="PREFIX",e[e.INFIX=7]="INFIX",e[e.TUPLE=8]="TUPLE",e[e.SYMBOL=9]="SYMBOL",e[e.OPTIONAL=10]="OPTIONAL",e[e.NULLABLE=11]="NULLABLE",e[e.KEY_OF_TYPE_OF=12]="KEY_OF_TYPE_OF",e[e.FUNCTION=13]="FUNCTION",e[e.ARROW=14]="ARROW",e[e.ARRAY_BRACKETS=15]="ARRAY_BRACKETS",e[e.GENERIC=16]="GENERIC",e[e.NAME_PATH=17]="NAME_PATH",e[e.PARENTHESIS=18]="PARENTHESIS",e[e.SPECIAL_TYPES=19]="SPECIAL_TYPES"})(J||(J={}));let oe=class{constructor(s,c,d){this.grammar=s,typeof c=="string"?this._lexer=k.create(c):this._lexer=c,this.baseParser=d}get lexer(){return this._lexer}parse(){let s=this.parseType(J.ALL);if(this.lexer.current.type!=="EOF")throw new u(this.lexer.current);return s}parseType(s){return N(this.parseIntermediateType(s))}parseIntermediateType(s){let c=this.tryParslets(null,s);if(c===null)throw new p(this.lexer.current);return this.parseInfixIntermediateType(c,s)}parseInfixIntermediateType(s,c){let d=this.tryParslets(s,c);for(;d!==null;)s=d,d=this.tryParslets(s,c);return s}tryParslets(s,c){for(let d of this.grammar){let v=d(this,c,s);if(v!==null)return v}return null}consume(s){return Array.isArray(s)||(s=[s]),s.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(s){this._lexer=s.lexer}};a(oe,"Parser");let ee=oe;function Ke(e){return e==="EOF"||e==="|"||e===","||e===")"||e===">"}a(Ke,"isQuestionMarkUnknownType");let Ce=a((e,s,c)=>{let d=e.lexer.current.type,v=e.lexer.next.type;return c==null&&d==="?"&&!Ke(v)||c!=null&&d==="?"?(e.consume("?"),c==null?{type:"JsdocTypeNullable",element:e.parseType(J.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:N(c),meta:{position:"suffix"}}):null},"nullableParslet");function F(e){let s=a((c,d,v)=>{let b=c.lexer.current.type,O=c.lexer.next.type;if(v===null){if("parsePrefix"in e&&e.accept(b,O))return e.parsePrefix(c)}else if("parseInfix"in e&&e.precedence>d&&e.accept(b,O))return e.parseInfix(c,v);return null},"parslet");return Object.defineProperty(s,"name",{value:e.name}),s}a(F,"composeParslet");let xe=F({name:"optionalParslet",accept:a(e=>e==="=","accept"),precedence:J.OPTIONAL,parsePrefix:a(e=>(e.consume("="),{type:"JsdocTypeOptional",element:e.parseType(J.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:a((e,s)=>(e.consume("="),{type:"JsdocTypeOptional",element:N(s),meta:{position:"suffix"}}),"parseInfix")}),we=F({name:"numberParslet",accept:a(e=>e==="Number","accept"),parsePrefix:a(e=>{let s=parseFloat(e.lexer.current.text);return e.consume("Number"),{type:"JsdocTypeNumber",value:s}},"parsePrefix")}),Yr=F({name:"parenthesisParslet",accept:a(e=>e==="(","accept"),parsePrefix:a(e=>{if(e.consume("("),e.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let s=e.parseIntermediateType(J.ALL);if(!e.consume(")"))throw new Error("Unterminated parenthesis");return s.type==="JsdocTypeParameterList"?s:s.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[s]}:{type:"JsdocTypeParenthesis",element:N(s)}},"parsePrefix")}),zr=F({name:"specialTypesParslet",accept:a((e,s)=>e==="?"&&Ke(s)||e==="null"||e==="undefined"||e==="*","accept"),parsePrefix:a(e=>{if(e.consume("null"))return{type:"JsdocTypeNull"};if(e.consume("undefined"))return{type:"JsdocTypeUndefined"};if(e.consume("*"))return{type:"JsdocTypeAny"};if(e.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+e.lexer.current.text)},"parsePrefix")}),Wr=F({name:"notNullableParslet",accept:a(e=>e==="!","accept"),precedence:J.NULLABLE,parsePrefix:a(e=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:e.parseType(J.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:a((e,s)=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:N(s),meta:{position:"suffix"}}),"parseInfix")});function dt({allowTrailingComma:e}){return F({name:"parameterListParslet",accept:a(s=>s===",","accept"),precedence:J.PARAMETER_LIST,parseInfix:a((s,c)=>{let d=[K(c)];s.consume(",");do try{let v=s.parseIntermediateType(J.PARAMETER_LIST);d.push(K(v))}catch(v){if(e&&v instanceof p)break;throw v}while(s.consume(","));if(d.length>0&&d.slice(0,-1).some(v=>v.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:d}},"parseInfix")})}a(dt,"createParameterListParslet");let Hr=F({name:"genericParslet",accept:a((e,s)=>e==="<"||e==="."&&s==="<","accept"),precedence:J.GENERIC,parseInfix:a((e,s)=>{let c=e.consume(".");e.consume("<");let d=[];do d.push(e.parseType(J.PARAMETER_LIST));while(e.consume(","));if(!e.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:N(s),elements:d,meta:{brackets:"angle",dot:c}}},"parseInfix")}),Xr=F({name:"unionParslet",accept:a(e=>e==="|","accept"),precedence:J.UNION,parseInfix:a((e,s)=>{e.consume("|");let c=[];do c.push(e.parseType(J.UNION));while(e.consume("|"));return{type:"JsdocTypeUnion",elements:[N(s),...c]}},"parseInfix")}),Me=[Ce,xe,we,Yr,zr,Wr,dt({allowTrailingComma:!0}),Hr,Xr,xe];function le({allowSquareBracketsOnAnyType:e,allowJsdocNamePaths:s,pathGrammar:c}){return a(function(d,v,b){if(b==null||v>=J.NAME_PATH)return null;let O=d.lexer.current.type,U=d.lexer.next.type;if(!(O==="."&&U!=="<"||O==="["&&(e||b.type==="JsdocTypeName")||s&&(O==="~"||O==="#")))return null;let $,q=!1;d.consume(".")?$="property":d.consume("[")?($="property-brackets",q=!0):d.consume("~")?$="inner":(d.consume("#"),$="instance");let Q=c!==null?new ee(c,d.lexer,d):d,z=Q.parseIntermediateType(J.NAME_PATH);d.acceptLexerState(Q);let me;switch(z.type){case"JsdocTypeName":me={type:"JsdocTypeProperty",value:z.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":me={type:"JsdocTypeProperty",value:z.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":me={type:"JsdocTypeProperty",value:z.value,meta:{quote:z.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(z.specialType==="event")me=z;else throw new m(z,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new m(z,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(q&&!d.consume("]")){let jt=d.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${jt.type}' with text '${jt.text}'`)}return{type:"JsdocTypeNamePath",left:N(b),right:me,pathType:$}},"namePathParslet")}a(le,"createNamePathParslet");function W({allowedAdditionalTokens:e}){return F({name:"nameParslet",accept:a(s=>s==="Identifier"||s==="this"||s==="new"||e.includes(s),"accept"),parsePrefix:a(s=>{let{type:c,text:d}=s.lexer.current;return s.consume(c),{type:"JsdocTypeName",value:d}},"parsePrefix")})}a(W,"createNameParslet");let ue=F({name:"stringValueParslet",accept:a(e=>e==="StringValue","accept"),parsePrefix:a(e=>{let s=e.lexer.current.text;return e.consume("StringValue"),{type:"JsdocTypeStringValue",value:s.slice(1,-1),meta:{quote:s[0]==="'"?"single":"double"}}},"parsePrefix")});function ye({pathGrammar:e,allowedTypes:s}){return F({name:"specialNamePathParslet",accept:a(c=>s.includes(c),"accept"),parsePrefix:a(c=>{let d=c.lexer.current.type;if(c.consume(d),!c.consume(":"))return{type:"JsdocTypeName",value:d};let v,b=c.lexer.current;if(c.consume("StringValue"))v={type:"JsdocTypeSpecialNamePath",value:b.text.slice(1,-1),specialType:d,meta:{quote:b.text[0]==="'"?"single":"double"}};else{let $="",q=["Identifier","@","/"];for(;q.some(Q=>c.consume(Q));)$+=b.text,b=c.lexer.current;v={type:"JsdocTypeSpecialNamePath",value:$,specialType:d,meta:{quote:void 0}}}let O=new ee(e,c.lexer,c),U=O.parseInfixIntermediateType(v,J.ALL);return c.acceptLexerState(O),N(U)},"parsePrefix")})}a(ye,"createSpecialNamePathParslet");let mt=[W({allowedAdditionalTokens:["external","module"]}),ue,we,le({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],pe=[...mt,ye({allowedTypes:["event"],pathGrammar:mt})];function Pe(e){let s;if(e.type==="JsdocTypeParameterList")s=e.elements;else if(e.type==="JsdocTypeParenthesis")s=[e.element];else throw new m(e);return s.map(c=>K(c))}a(Pe,"getParameters");function ft(e){let s=Pe(e);if(s.some(c=>c.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return s}a(ft,"getUnnamedParameters");function Oe({allowNamedParameters:e,allowNoReturnType:s,allowWithoutParenthesis:c,allowNewAsFunctionKeyword:d}){return F({name:"functionParslet",accept:a((v,b)=>v==="function"||d&&v==="new"&&b==="(","accept"),parsePrefix:a(v=>{let b=v.consume("new");v.consume("function");let O=v.lexer.current.type==="(";if(!O){if(!c)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let U={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:b,parenthesis:O},$=v.parseIntermediateType(J.FUNCTION);if(e===void 0)U.parameters=ft($);else{if(b&&$.type==="JsdocTypeFunction"&&$.arrow)return U=$,U.constructor=!0,U;U.parameters=Pe($);for(let q of U.parameters)if(q.type==="JsdocTypeKeyValue"&&!e.includes(q.key))throw new Error(`only allowed named parameters are ${e.join(", ")} but got ${q.type}`)}if(v.consume(":"))U.returnType=v.parseType(J.PREFIX);else if(!s)throw new Error("function is missing return type");return U},"parsePrefix")})}a(Oe,"createFunctionParslet");function Ne({allowPostfix:e,allowEnclosingBrackets:s}){return F({name:"variadicParslet",accept:a(c=>c==="...","accept"),precedence:J.PREFIX,parsePrefix:a(c=>{c.consume("...");let d=s&&c.consume("[");try{let v=c.parseType(J.PREFIX);if(d&&!c.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:N(v),meta:{position:"prefix",squareBrackets:d}}}catch(v){if(v instanceof p){if(d)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw v}},"parsePrefix"),parseInfix:e?(c,d)=>(c.consume("..."),{type:"JsdocTypeVariadic",element:N(d),meta:{position:"suffix",squareBrackets:!1}}):void 0})}a(Ne,"createVariadicParslet");let Tt=F({name:"symbolParslet",accept:a(e=>e==="(","accept"),precedence:J.SYMBOL,parseInfix:a((e,s)=>{if(s.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");e.consume("(");let c={type:"JsdocTypeSymbol",value:s.value};if(!e.consume(")")){let d=e.parseIntermediateType(J.SYMBOL);if(c.element=Y(d),!e.consume(")"))throw new Error("Symbol does not end after value")}return c},"parseInfix")}),vt=F({name:"arrayBracketsParslet",precedence:J.ARRAY_BRACKETS,accept:a((e,s)=>e==="["&&s==="]","accept"),parseInfix:a((e,s)=>(e.consume("["),e.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[N(s)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function _e({objectFieldGrammar:e,allowKeyTypes:s}){return F({name:"objectParslet",accept:a(c=>c==="{","accept"),parsePrefix:a(c=>{c.consume("{");let d={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!c.consume("}")){let v,b=new ee(e,c.lexer,c);for(;;){b.acceptLexerState(c);let O=b.parseIntermediateType(J.OBJECT);c.acceptLexerState(b),O===void 0&&s&&(O=c.parseIntermediateType(J.OBJECT));let U=!1;if(O.type==="JsdocTypeNullable"&&(U=!0,O=O.element),O.type==="JsdocTypeNumber"||O.type==="JsdocTypeName"||O.type==="JsdocTypeStringValue"){let $;O.type==="JsdocTypeStringValue"&&($=O.meta.quote),d.elements.push({type:"JsdocTypeObjectField",key:O.value.toString(),right:void 0,optional:U,readonly:!1,meta:{quote:$}})}else if(O.type==="JsdocTypeObjectField"||O.type==="JsdocTypeJsdocObjectField")d.elements.push(O);else throw new m(O);if(c.lexer.current.startOfLine)v="linebreak";else if(c.consume(","))v="comma";else if(c.consume(";"))v="semicolon";else break;if(c.lexer.current.type==="}")break}if(d.meta.separator=v??"comma",!c.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return d},"parsePrefix")})}a(_e,"createObjectParslet");function Se({allowSquaredProperties:e,allowKeyTypes:s,allowReadonly:c,allowOptional:d}){return F({name:"objectFieldParslet",precedence:J.KEY_VALUE,accept:a(v=>v===":","accept"),parseInfix:a((v,b)=>{var O;let U=!1,$=!1;d&&b.type==="JsdocTypeNullable"&&(U=!0,b=b.element),c&&b.type==="JsdocTypeReadonlyProperty"&&($=!0,b=b.element);let q=(O=v.baseParser)!==null&&O!==void 0?O:v;if(q.acceptLexerState(v),b.type==="JsdocTypeNumber"||b.type==="JsdocTypeName"||b.type==="JsdocTypeStringValue"||M(b)){if(M(b)&&!e)throw new m(b);q.consume(":");let Q;b.type==="JsdocTypeStringValue"&&(Q=b.meta.quote);let z=q.parseType(J.KEY_VALUE);return v.acceptLexerState(q),{type:"JsdocTypeObjectField",key:M(b)?b:b.value.toString(),right:z,optional:U,readonly:$,meta:{quote:Q}}}else{if(!s)throw new m(b);q.consume(":");let Q=q.parseType(J.KEY_VALUE);return v.acceptLexerState(q),{type:"JsdocTypeJsdocObjectField",left:N(b),right:Q}}},"parseInfix")})}a(Se,"createObjectFieldParslet");function je({allowOptional:e,allowVariadic:s}){return F({name:"keyValueParslet",precedence:J.KEY_VALUE,accept:a(c=>c===":","accept"),parseInfix:a((c,d)=>{let v=!1,b=!1;if(e&&d.type==="JsdocTypeNullable"&&(v=!0,d=d.element),s&&d.type==="JsdocTypeVariadic"&&d.element!==void 0&&(b=!0,d=d.element),d.type!=="JsdocTypeName")throw new m(d);c.consume(":");let O=c.parseType(J.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:d.value,right:O,optional:v,variadic:b}},"parseInfix")})}a(je,"createKeyValueParslet");let ht=[...Me,Oe({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ue,ye({allowedTypes:["module","external","event"],pathGrammar:pe}),Ne({allowEnclosingBrackets:!0,allowPostfix:!0}),W({allowedAdditionalTokens:["keyof"]}),Tt,vt,le({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:pe})],Qr=[...ht,_e({objectFieldGrammar:[W({allowedAdditionalTokens:["module","in"]}),Se({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...ht],allowKeyTypes:!0}),je({allowOptional:!0,allowVariadic:!0})],gt=F({name:"typeOfParslet",accept:a(e=>e==="typeof","accept"),parsePrefix:a(e=>(e.consume("typeof"),{type:"JsdocTypeTypeof",element:N(e.parseType(J.KEY_OF_TYPE_OF))}),"parsePrefix")}),Zr=[W({allowedAdditionalTokens:["module","keyof","event","external","in"]}),Ce,xe,ue,we,Se({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],en=[...Me,_e({allowKeyTypes:!1,objectFieldGrammar:Zr}),W({allowedAdditionalTokens:["event","external","in"]}),gt,Oe({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Ne({allowEnclosingBrackets:!1,allowPostfix:!1}),W({allowedAdditionalTokens:["keyof"]}),ye({allowedTypes:["module"],pathGrammar:pe}),le({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:pe}),je({allowOptional:!1,allowVariadic:!1}),Tt];function bt({allowQuestionMark:e}){return F({name:"tupleParslet",accept:a(s=>s==="[","accept"),parsePrefix:a(s=>{s.consume("[");let c={type:"JsdocTypeTuple",elements:[]};if(s.consume("]"))return c;let d=s.parseIntermediateType(J.ALL);if(d.type==="JsdocTypeParameterList"?d.elements[0].type==="JsdocTypeKeyValue"?c.elements=d.elements.map(S):c.elements=d.elements.map(N):d.type==="JsdocTypeKeyValue"?c.elements=[S(d)]:c.elements=[N(d)],!s.consume("]"))throw new Error("Unterminated '['");if(!e&&c.elements.some(v=>v.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return c},"parsePrefix")})}a(bt,"createTupleParslet");let tn=F({name:"keyOfParslet",accept:a(e=>e==="keyof","accept"),parsePrefix:a(e=>(e.consume("keyof"),{type:"JsdocTypeKeyof",element:N(e.parseType(J.KEY_OF_TYPE_OF))}),"parsePrefix")}),rn=F({name:"importParslet",accept:a(e=>e==="import","accept"),parsePrefix:a(e=>{if(e.consume("import"),!e.consume("("))throw new Error("Missing parenthesis after import keyword");let s=e.parseType(J.PREFIX);if(s.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!e.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:s}},"parsePrefix")}),nn=F({name:"readonlyPropertyParslet",accept:a(e=>e==="readonly","accept"),parsePrefix:a(e=>(e.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:e.parseType(J.KEY_VALUE)}),"parsePrefix")}),an=F({name:"arrowFunctionParslet",precedence:J.ARROW,accept:a(e=>e==="=>","accept"),parseInfix:a((e,s)=>(e.consume("=>"),{type:"JsdocTypeFunction",parameters:Pe(s).map(G),arrow:!0,constructor:!1,parenthesis:!0,returnType:e.parseType(J.OBJECT)}),"parseInfix")}),on=F({name:"intersectionParslet",accept:a(e=>e==="&","accept"),precedence:J.INTERSECTION,parseInfix:a((e,s)=>{e.consume("&");let c=[];do c.push(e.parseType(J.INTERSECTION));while(e.consume("&"));return{type:"JsdocTypeIntersection",elements:[N(s),...c]}},"parseInfix")}),sn=F({name:"predicateParslet",precedence:J.INFIX,accept:a(e=>e==="is","accept"),parseInfix:a((e,s)=>{if(s.type!=="JsdocTypeName")throw new m(s,"A typescript predicate always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypePredicate",left:s,right:N(e.parseIntermediateType(J.INFIX))}},"parseInfix")}),pn=F({name:"objectSquareBracketPropertyParslet",accept:a(e=>e==="[","accept"),parsePrefix:a(e=>{if(e.baseParser===void 0)throw new Error("Only allowed inside object grammar");e.consume("[");let s=e.lexer.current.text;e.consume("Identifier");let c;if(e.consume(":")){let d=e.baseParser;d.acceptLexerState(e),c={type:"JsdocTypeIndexSignature",key:s,right:d.parseType(J.ARRAY_BRACKETS)},e.acceptLexerState(d)}else if(e.consume("in")){let d=e.baseParser;d.acceptLexerState(e),c={type:"JsdocTypeMappedType",key:s,right:d.parseType(J.ARRAY_BRACKETS)},e.acceptLexerState(d)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!e.consume("]"))throw new Error("Unterminated square brackets");return c},"parsePrefix")}),cn=[nn,W({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),Ce,xe,ue,we,Se({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),pn],ln=[...Me,_e({allowKeyTypes:!1,objectFieldGrammar:cn}),gt,tn,rn,ue,Oe({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),bt({allowQuestionMark:!1}),Ne({allowEnclosingBrackets:!1,allowPostfix:!1}),W({allowedAdditionalTokens:["event","external","in"]}),ye({allowedTypes:["module"],pathGrammar:pe}),vt,an,le({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:pe}),on,sn,je({allowVariadic:!0,allowOptional:!0})];function qe(e,s){switch(s){case"closure":return new ee(en,e).parse();case"jsdoc":return new ee(Qr,e).parse();case"typescript":return new ee(ln,e).parse()}}a(qe,"parse");function Jt(e,s=["typescript","closure","jsdoc"]){let c;for(let d of s)try{return qe(e,d)}catch(v){c=v}throw c}a(Jt,"tryParse");function ce(e,s){let c=e[s.type];if(c===void 0)throw new Error(`In this set of transform rules exists no rule for type ${s.type}.`);return c(s,d=>ce(e,d))}a(ce,"transform");function B(e){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}a(B,"notAvailableTransform");function Be(e){let s={params:[]};for(let c of e.parameters)c.type==="JsdocTypeKeyValue"?c.key==="this"?s.this=c.right:c.key==="new"?s.new=c.right:s.params.push(c):s.params.push(c);return s}a(Be,"extractSpecialParams");function de(e,s,c){return e==="prefix"?c+s:s+c}a(de,"applyPosition");function H(e,s){switch(s){case"double":return`"${e}"`;case"single":return`'${e}'`;case void 0:return e}}a(H,"quote");function Ge(){return{JsdocTypeParenthesis:a((e,s)=>`(${e.element!==void 0?s(e.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:a((e,s)=>`keyof ${s(e.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:a((e,s)=>{if(e.arrow){if(e.returnType===void 0)throw new Error("Arrow function needs a return type.");let c=`(${e.parameters.map(s).join(", ")}) => ${s(e.returnType)}`;return e.constructor&&(c="new "+c),c}else{let c=e.constructor?"new":"function";return e.parenthesis&&(c+=`(${e.parameters.map(s).join(", ")})`,e.returnType!==void 0&&(c+=`: ${s(e.returnType)}`)),c}},"JsdocTypeFunction"),JsdocTypeName:a(e=>e.value,"JsdocTypeName"),JsdocTypeTuple:a((e,s)=>`[${e.elements.map(s).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:a((e,s)=>e.meta.position===void 0?"...":de(e.meta.position,s(e.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:a((e,s)=>{let c=s(e.left),d=s(e.right);switch(e.pathType){case"inner":return`${c}~${d}`;case"instance":return`${c}#${d}`;case"property":return`${c}.${d}`;case"property-brackets":return`${c}[${d}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:a(e=>H(e.value,e.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:a(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:a((e,s)=>{if(e.meta.brackets==="square"){let c=e.elements[0],d=s(c);return c.type==="JsdocTypeUnion"||c.type==="JsdocTypeIntersection"?`(${d})[]`:`${d}[]`}else return`${s(e.left)}${e.meta.dot?".":""}<${e.elements.map(s).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:a((e,s)=>`import(${s(e.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:a((e,s)=>{let c="";return e.readonly&&(c+="readonly "),typeof e.key=="string"?c+=H(e.key,e.meta.quote):c+=s(e.key),e.optional&&(c+="?"),e.right===void 0?c:c+`: ${s(e.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:a((e,s)=>`${s(e.left)}: ${s(e.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:a((e,s)=>{let c=e.key;return e.optional&&(c+="?"),e.variadic&&(c="..."+c),e.right===void 0?c:c+`: ${s(e.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:a(e=>`${e.specialType}:${H(e.value,e.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:a((e,s)=>de(e.meta.position,s(e.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:a(()=>"null","JsdocTypeNull"),JsdocTypeNullable:a((e,s)=>de(e.meta.position,s(e.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:a(e=>e.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:a((e,s)=>`{${e.elements.map(s).join((e.meta.separator==="comma"?",":";")+" ")}}`,"JsdocTypeObject"),JsdocTypeOptional:a((e,s)=>de(e.meta.position,s(e.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:a((e,s)=>`${e.value}(${e.element!==void 0?s(e.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:a((e,s)=>`typeof ${s(e.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:a(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:a((e,s)=>e.elements.map(s).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:a(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:a((e,s)=>e.elements.map(s).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:a(e=>H(e.value,e.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:a((e,s)=>`${s(e.left)} is ${s(e.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:a((e,s)=>`[${e.key}: ${s(e.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:a((e,s)=>`[${e.key} in ${s(e.right)}]`,"JsdocTypeMappedType")}}a(Ge,"stringifyRules");let un=Ge();function xt(e){return ce(un,e)}a(xt,"stringify");let yn=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function X(e){let s={type:"NameExpression",name:e};return yn.includes(e)&&(s.reservedWord=!0),s}a(X,"makeName");let dn={JsdocTypeOptional:a((e,s)=>{let c=s(e.element);return c.optional=!0,c},"JsdocTypeOptional"),JsdocTypeNullable:a((e,s)=>{let c=s(e.element);return c.nullable=!0,c},"JsdocTypeNullable"),JsdocTypeNotNullable:a((e,s)=>{let c=s(e.element);return c.nullable=!1,c},"JsdocTypeNotNullable"),JsdocTypeVariadic:a((e,s)=>{if(e.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let c=s(e.element);return c.repeatable=!0,c},"JsdocTypeVariadic"),JsdocTypeAny:a(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:a(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:a(e=>X(H(e.value,e.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:a(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:a(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:a((e,s)=>{let c=Be(e),d={type:"FunctionType",params:c.params.map(s)};return c.this!==void 0&&(d.this=s(c.this)),c.new!==void 0&&(d.new=s(c.new)),e.returnType!==void 0&&(d.result=s(e.returnType)),d},"JsdocTypeFunction"),JsdocTypeGeneric:a((e,s)=>({type:"TypeApplication",applications:e.elements.map(c=>s(c)),expression:s(e.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:a(e=>X(e.specialType+":"+H(e.value,e.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:a(e=>e.value!=="function"?X(e.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:a(e=>X(e.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:a((e,s)=>{let c={type:"RecordType",fields:[]};for(let d of e.elements)d.type!=="JsdocTypeObjectField"&&d.type!=="JsdocTypeJsdocObjectField"?c.fields.push({type:"FieldType",key:s(d),value:void 0}):c.fields.push(s(d));return c},"JsdocTypeObject"),JsdocTypeObjectField:a((e,s)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:X(H(e.key,e.meta.quote)),value:e.right===void 0?void 0:s(e.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:a((e,s)=>({type:"FieldType",key:s(e.left),value:s(e.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:a((e,s)=>({type:"TypeUnion",elements:e.elements.map(c=>s(c))}),"JsdocTypeUnion"),JsdocTypeKeyValue:a((e,s)=>({type:"FieldType",key:X(e.key),value:e.right===void 0?void 0:s(e.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:a((e,s)=>{let c=s(e.left),d;e.right.type==="JsdocTypeSpecialNamePath"?d=s(e.right).name:d=H(e.right.value,e.right.meta.quote);let v=e.pathType==="inner"?"~":e.pathType==="instance"?"#":".";return X(`${c.name}${v}${d}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:a(e=>{let s="",c=e.element,d=!1;return(c==null?void 0:c.type)==="JsdocTypeVariadic"&&(c.meta.position==="prefix"?s="...":d=!0,c=c.element),(c==null?void 0:c.type)==="JsdocTypeName"?s+=c.value:(c==null?void 0:c.type)==="JsdocTypeNumber"&&(s+=c.value.toString()),d&&(s+="..."),X(`${e.value}(${s})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:a((e,s)=>s(N(e.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:B,JsdocTypeIndexSignature:B,JsdocTypeImport:B,JsdocTypeKeyof:B,JsdocTypeTuple:B,JsdocTypeTypeof:B,JsdocTypeIntersection:B,JsdocTypeProperty:B,JsdocTypePredicate:B};function wt(e){return ce(dn,e)}a(wt,"catharsisTransform");function te(e){switch(e){case void 0:return"none";case"single":return"single";case"double":return"double"}}a(te,"getQuoteStyle");function Pt(e){switch(e){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}a(Pt,"getMemberType");function Ee(e,s){return s.length===2?{type:e,left:s[0],right:s[1]}:{type:e,left:s[0],right:Ee(e,s.slice(1))}}a(Ee,"nestResults");let mn={JsdocTypeOptional:a((e,s)=>({type:"OPTIONAL",value:s(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:a((e,s)=>({type:"NULLABLE",value:s(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:a((e,s)=>({type:"NOT_NULLABLE",value:s(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:a((e,s)=>{let c={type:"VARIADIC",meta:{syntax:e.meta.position==="prefix"?"PREFIX_DOTS":e.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return e.element!==void 0&&(c.value=s(e.element)),c},"JsdocTypeVariadic"),JsdocTypeName:a(e=>({type:"NAME",name:e.value}),"JsdocTypeName"),JsdocTypeTypeof:a((e,s)=>({type:"TYPE_QUERY",name:s(e.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:a((e,s)=>({type:"TUPLE",entries:e.elements.map(s)}),"JsdocTypeTuple"),JsdocTypeKeyof:a((e,s)=>({type:"KEY_QUERY",value:s(e.element)}),"JsdocTypeKeyof"),JsdocTypeImport:a(e=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:te(e.element.meta.quote),string:e.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:a(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:a(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:a((e,s)=>{let c=Be(e),d={type:e.arrow?"ARROW":"FUNCTION",params:c.params.map(v=>{if(v.type==="JsdocTypeKeyValue"){if(v.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:v.key,typeName:s(v.right)}}else return s(v)}),new:null,returns:null};return c.this!==void 0?d.this=s(c.this):e.arrow||(d.this=null),c.new!==void 0&&(d.new=s(c.new)),e.returnType!==void 0&&(d.returns=s(e.returnType)),d},"JsdocTypeFunction"),JsdocTypeGeneric:a((e,s)=>{let c={type:"GENERIC",subject:s(e.left),objects:e.elements.map(s),meta:{syntax:e.meta.brackets==="square"?"SQUARE_BRACKET":e.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return e.meta.brackets==="square"&&e.elements[0].type==="JsdocTypeFunction"&&!e.elements[0].parenthesis&&(c.objects[0]={type:"NAME",name:"function"}),c},"JsdocTypeGeneric"),JsdocTypeObjectField:a((e,s)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:te(e.meta.quote),value:null,readonly:!1};let c=s(e.right);return e.optional&&(c={type:"OPTIONAL",value:c,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key.toString(),quoteStyle:te(e.meta.quote),value:c,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:a(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:a((e,s)=>{if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:null,readonly:!1};let c=s(e.right);return e.optional&&(c={type:"OPTIONAL",value:c,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:c,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:a((e,s)=>{let c=[];for(let d of e.elements)(d.type==="JsdocTypeObjectField"||d.type==="JsdocTypeJsdocObjectField")&&c.push(s(d));return{type:"RECORD",entries:c}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:a(e=>{if(e.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${e.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:te(e.meta.quote),path:e.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:a((e,s)=>{let c=!1,d,v;e.right.type==="JsdocTypeSpecialNamePath"&&e.right.specialType==="event"?(c=!0,d=e.right.value,v=te(e.right.meta.quote)):(d=e.right.value,v=te(e.right.meta.quote));let b={type:Pt(e.pathType),owner:s(e.left),name:d,quoteStyle:v,hasEventPrefix:c};if(b.owner.type==="MODULE"){let O=b.owner;return b.owner=b.owner.value,O.value=b,O}else return b},"JsdocTypeNamePath"),JsdocTypeUnion:a((e,s)=>Ee("UNION",e.elements.map(s)),"JsdocTypeUnion"),JsdocTypeParenthesis:a((e,s)=>({type:"PARENTHESIS",value:s(N(e.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:a(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:a(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:a(e=>({type:"STRING_VALUE",quoteStyle:te(e.meta.quote),string:e.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:a((e,s)=>Ee("INTERSECTION",e.elements.map(s)),"JsdocTypeIntersection"),JsdocTypeNumber:a(e=>({type:"NUMBER_VALUE",number:e.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:B,JsdocTypeProperty:B,JsdocTypePredicate:B,JsdocTypeMappedType:B,JsdocTypeIndexSignature:B};function Ot(e){return ce(mn,e)}a(Ot,"jtpTransform");function Nt(){return{JsdocTypeIntersection:a((e,s)=>({type:"JsdocTypeIntersection",elements:e.elements.map(s)}),"JsdocTypeIntersection"),JsdocTypeGeneric:a((e,s)=>({type:"JsdocTypeGeneric",left:s(e.left),elements:e.elements.map(s),meta:{dot:e.meta.dot,brackets:e.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:a(e=>e,"JsdocTypeNullable"),JsdocTypeUnion:a((e,s)=>({type:"JsdocTypeUnion",elements:e.elements.map(s)}),"JsdocTypeUnion"),JsdocTypeUnknown:a(e=>e,"JsdocTypeUnknown"),JsdocTypeUndefined:a(e=>e,"JsdocTypeUndefined"),JsdocTypeTypeof:a((e,s)=>({type:"JsdocTypeTypeof",element:s(e.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:a((e,s)=>{let c={type:"JsdocTypeSymbol",value:e.value};return e.element!==void 0&&(c.element=s(e.element)),c},"JsdocTypeSymbol"),JsdocTypeOptional:a((e,s)=>({type:"JsdocTypeOptional",element:s(e.element),meta:{position:e.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:a((e,s)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:e.elements.map(s)}),"JsdocTypeObject"),JsdocTypeNumber:a(e=>e,"JsdocTypeNumber"),JsdocTypeNull:a(e=>e,"JsdocTypeNull"),JsdocTypeNotNullable:a((e,s)=>({type:"JsdocTypeNotNullable",element:s(e.element),meta:{position:e.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:a(e=>e,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:a((e,s)=>({type:"JsdocTypeObjectField",key:e.key,right:e.right===void 0?void 0:s(e.right),optional:e.optional,readonly:e.readonly,meta:e.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:a((e,s)=>({type:"JsdocTypeJsdocObjectField",left:s(e.left),right:s(e.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:a((e,s)=>({type:"JsdocTypeKeyValue",key:e.key,right:e.right===void 0?void 0:s(e.right),optional:e.optional,variadic:e.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:a((e,s)=>({type:"JsdocTypeImport",element:s(e.element)}),"JsdocTypeImport"),JsdocTypeAny:a(e=>e,"JsdocTypeAny"),JsdocTypeStringValue:a(e=>e,"JsdocTypeStringValue"),JsdocTypeNamePath:a(e=>e,"JsdocTypeNamePath"),JsdocTypeVariadic:a((e,s)=>{let c={type:"JsdocTypeVariadic",meta:{position:e.meta.position,squareBrackets:e.meta.squareBrackets}};return e.element!==void 0&&(c.element=s(e.element)),c},"JsdocTypeVariadic"),JsdocTypeTuple:a((e,s)=>({type:"JsdocTypeTuple",elements:e.elements.map(s)}),"JsdocTypeTuple"),JsdocTypeName:a(e=>e,"JsdocTypeName"),JsdocTypeFunction:a((e,s)=>{let c={type:"JsdocTypeFunction",arrow:e.arrow,parameters:e.parameters.map(s),constructor:e.constructor,parenthesis:e.parenthesis};return e.returnType!==void 0&&(c.returnType=s(e.returnType)),c},"JsdocTypeFunction"),JsdocTypeKeyof:a((e,s)=>({type:"JsdocTypeKeyof",element:s(e.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:a((e,s)=>({type:"JsdocTypeParenthesis",element:s(e.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:a(e=>e,"JsdocTypeProperty"),JsdocTypePredicate:a((e,s)=>({type:"JsdocTypePredicate",left:s(e.left),right:s(e.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:a((e,s)=>({type:"JsdocTypeIndexSignature",key:e.key,right:s(e.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:a((e,s)=>({type:"JsdocTypeMappedType",key:e.key,right:s(e.right)}),"JsdocTypeMappedType")}}a(Nt,"identityTransformRules");let _t={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"]};function ke(e,s,c,d,v){d==null||d(e,s,c);let b=_t[e.type];for(let O of b){let U=e[O];if(U!==void 0)if(Array.isArray(U))for(let $ of U)ke($,e,O,d,v);else ke(U,e,O,d,v)}v==null||v(e,s,c)}a(ke,"_traverse");function St(e,s,c){ke(e,void 0,void 0,s,c)}a(St,"traverse"),n.catharsisTransform=wt,n.identityTransformRules=Nt,n.jtpTransform=Ot,n.parse=qe,n.stringify=xt,n.stringifyRules=Ge,n.transform=ce,n.traverse=St,n.tryParse=Jt,n.visitorKeys=_t})});const{UnknownArgTypesError:Ko}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var er=/^['"]|['"]$/g,Co=a(r=>r.replace(er,""),"trimQuotes"),Mo=a(r=>er.test(r),"includesQuotes"),tr=a(r=>{let t=Co(r);return Mo(r)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),qo=a(r=>{switch(r.type){case"function":return{name:"function"};case"object":let t={};return r.signature.properties.forEach(n=>{t[n.key]=ve(n.value)}),{name:"object",value:t};default:throw new Ko({type:r,language:"Typescript"})}},"convertSig"),ve=a(r=>{var i,p,l,u;let{name:t,raw:n}=r,o={};switch(typeof n<"u"&&(o.raw=n),r.name){case"string":case"number":case"symbol":case"boolean":return{...o,name:t};case"Array":return{...o,name:"array",value:r.elements.map(ve)};case"signature":return{...o,...qo(r)};case"union":let y;return(i=r.elements)!=null&&i.every(m=>m.name==="literal")?y={...o,name:"enum",value:(p=r.elements)==null?void 0:p.map(m=>tr(m.value))}:y={...o,name:t,value:(l=r.elements)==null?void 0:l.map(ve)},y;case"intersection":return{...o,name:t,value:(u=r.elements)==null?void 0:u.map(ve)};default:return{...o,name:"other",value:t}}},"convert");const{UnknownArgTypesError:Bo}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Go=a(r=>r.name==="literal","isLiteral"),Yo=a(r=>r.value.replace(/['|"]/g,""),"toEnumOption"),zo=a(r=>{switch(r.type){case"function":return{name:"function"};case"object":let t={};return r.signature.properties.forEach(n=>{t[n.key]=he(n.value)}),{name:"object",value:t};default:throw new Bo({type:r,language:"Flow"})}},"convertSig"),he=a(r=>{var i,p,l,u;let{name:t,raw:n}=r,o={};switch(typeof n<"u"&&(o.raw=n),r.name){case"literal":return{...o,name:"other",value:r.value};case"string":case"number":case"symbol":case"boolean":return{...o,name:t};case"Array":return{...o,name:"array",value:r.elements.map(he)};case"signature":return{...o,...zo(r)};case"union":return(i=r.elements)!=null&&i.every(Go)?{...o,name:"enum",value:(p=r.elements)==null?void 0:p.map(Yo)}:{...o,name:t,value:(l=r.elements)==null?void 0:l.map(he)};case"intersection":return{...o,name:t,value:(u=r.elements)==null?void 0:u.map(he)};default:return{...o,name:"other",value:t}}},"convert"),Wo=Ft($o()),Ho=/^\(.*\) => /,Te=a(r=>{let{name:t,raw:n,computed:o,value:i}=r,p={};switch(typeof n<"u"&&(p.raw=n),t){case"enum":{let u=o?i:i.map(y=>tr(y.value));return{...p,name:t,value:u}}case"string":case"number":case"symbol":return{...p,name:t};case"func":return{...p,name:"function"};case"bool":case"boolean":return{...p,name:"boolean"};case"arrayOf":case"array":return{...p,name:"array",value:i&&Te(i)};case"object":return{...p,name:t};case"objectOf":return{...p,name:t,value:Te(i)};case"shape":case"exact":let l=(0,Wo.default)(i,u=>Te(u));return{...p,name:"object",value:l};case"union":return{...p,name:"union",value:i.map(u=>Te(u))};case"instanceOf":case"element":case"elementType":default:{if((t==null?void 0:t.indexOf("|"))>0)try{let m=t.split("|").map(T=>JSON.parse(T));return{...p,name:"enum",value:m}}catch{}let u=i?`${t}(${i})`:t,y=Ho.test(t)?"function":"other";return{...p,name:y,value:u}}}},"convert"),tt=a(r=>{let{type:t,tsType:n,flowType:o}=r;try{if(t!=null)return Te(t);if(n!=null)return ve(n);if(o!=null)return he(o)}catch(i){console.error(i)}return null},"convert"),Xo=(r=>(r.JAVASCRIPT="JavaScript",r.FLOW="Flow",r.TYPESCRIPT="TypeScript",r.UNKNOWN="Unknown",r))(Xo||{}),Qo=["null","undefined"];function De(r){return Qo.some(t=>t===r)}a(De,"isDefaultValueBlacklisted");var Zo=a(r=>{if(!r)return"";if(typeof r=="string")return r;throw new Error(`Description: expected string, got: ${JSON.stringify(r)}`)},"str");function rt(r){return!!r.__docgenInfo}a(rt,"hasDocgen");function rr(r){return r!=null&&Object.keys(r).length>0}a(rr,"isValidDocgenSection");function nr(r,t){return rt(r)?r.__docgenInfo[t]:null}a(nr,"getDocgenSection");function ar(r){return rt(r)?Zo(r.__docgenInfo.description):""}a(ar,"getDocgenDescription");var re;(function(r){r.start="/**",r.nostart="/***",r.delim="*",r.end="*/"})(re=re||(re={}));function or(r){return/^\s+$/.test(r)}a(or,"isSpace");function sr(r){let t=r.match(/\r+$/);return t==null?["",r]:[r.slice(-t[0].length),r.slice(0,-t[0].length)]}a(sr,"splitCR");function se(r){let t=r.match(/^\s+/);return t==null?["",r]:[r.slice(0,t[0].length),r.slice(t[0].length)]}a(se,"splitSpace");function ir(r){return r.split(/\n/)}a(ir,"splitLines");function pr(r={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},r)}a(pr,"seedSpec");function cr(r={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},r)}a(cr,"seedTokens");var es=/^@\S+/;function lr({fence:r="```"}={}){let t=ur(r),n=a((o,i)=>t(o)?!i:i,"toggleFence");return a(function(o){let i=[[]],p=!1;for(let l of o)es.test(l.tokens.description)&&!p?i.push([l]):i[i.length-1].push(l),p=n(l.tokens.description,p);return i},"parseBlock")}a(lr,"getParser");function ur(r){return typeof r=="string"?t=>t.split(r).length%2===0:r}a(ur,"getFencer");function yr({startLine:r=0,markers:t=re}={}){let n=null,o=r;return a(function(i){let p=i,l=cr();if([l.lineEnd,p]=sr(p),[l.start,p]=se(p),n===null&&p.startsWith(t.start)&&!p.startsWith(t.nostart)&&(n=[],l.delimiter=p.slice(0,t.start.length),p=p.slice(t.start.length),[l.postDelimiter,p]=se(p)),n===null)return o++,null;let u=p.trimRight().endsWith(t.end);if(l.delimiter===""&&p.startsWith(t.delim)&&!p.startsWith(t.end)&&(l.delimiter=t.delim,p=p.slice(t.delim.length),[l.postDelimiter,p]=se(p)),u){let y=p.trimRight();l.end=p.slice(y.length-t.end.length),p=y.slice(0,-t.end.length)}if(l.description=p,n.push({number:o,source:i,tokens:l}),o++,u){let y=n.slice();return n=null,y}return null},"parseSource")}a(yr,"getParser");function dr({tokenizers:r}){return a(function(t){var n;let o=pr({source:t});for(let i of r)if(o=i(o),!((n=o.problems[o.problems.length-1])===null||n===void 0)&&n.critical)break;return o},"parseSpec")}a(dr,"getParser");function mr(){return r=>{let{tokens:t}=r.source[0],n=t.description.match(/\s*(@(\S+))(\s*)/);return n===null?(r.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:r.source[0].number,critical:!0}),r):(t.tag=n[1],t.postTag=n[3],t.description=t.description.slice(n[0].length),r.tag=n[2],r)}}a(mr,"tagTokenizer");function fr(r="compact"){let t=Tr(r);return n=>{let o=0,i=[];for(let[u,{tokens:y}]of n.source.entries()){let m="";if(u===0&&y.description[0]!=="{")return n;for(let T of y.description)if(T==="{"&&o++,T==="}"&&o--,m+=T,o===0)break;if(i.push([y,m]),o===0)break}if(o!==0)return n.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:n.source[0].number,critical:!0}),n;let p=[],l=i[0][0].postDelimiter.length;for(let[u,[y,m]]of i.entries())y.type=m,u>0&&(y.type=y.postDelimiter.slice(l)+m,y.postDelimiter=y.postDelimiter.slice(0,l)),[y.postType,y.description]=se(y.description.slice(m.length)),p.push(y.type);return p[0]=p[0].slice(1),p[p.length-1]=p[p.length-1].slice(0,-1),n.type=t(p),n}}a(fr,"typeTokenizer");var ts=a(r=>r.trim(),"trim");function Tr(r){return r==="compact"?t=>t.map(ts).join(""):r==="preserve"?t=>t.join(` +`):r}a(Tr,"getJoiner");var rs=a(r=>r&&r.startsWith('"')&&r.endsWith('"'),"isQuoted");function vr(){let r=a((t,{tokens:n},o)=>n.type===""?t:o,"typeEnd");return t=>{let{tokens:n}=t.source[t.source.reduce(r,0)],o=n.description.trimLeft(),i=o.split('"');if(i.length>1&&i[0]===""&&i.length%2===1)return t.name=i[1],n.name=`"${i[1]}"`,[n.postName,n.description]=se(o.slice(n.name.length)),t;let p=0,l="",u=!1,y;for(let T of o){if(p===0&&or(T))break;T==="["&&p++,T==="]"&&p--,l+=T}if(p!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let m=l;if(l[0]==="["&&l[l.length-1]==="]"){u=!0,l=l.slice(1,-1);let T=l.split("=");if(l=T[0].trim(),T[1]!==void 0&&(y=T.slice(1).join("=").trim()),l==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(y==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!rs(y)&&/=(?!>)/.test(y))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=u,t.name=l,n.name=m,y!==void 0&&(t.default=y),[n.postName,n.description]=se(o.slice(n.name.length)),t}}a(vr,"nameTokenizer");function hr(r="compact",t=re){let n=nt(r);return o=>(o.description=n(o.source,t),o)}a(hr,"descriptionTokenizer");function nt(r){return r==="compact"?gr:r==="preserve"?br:r}a(nt,"getJoiner");function gr(r,t=re){return r.map(({tokens:{description:n}})=>n.trim()).filter(n=>n!=="").join(" ")}a(gr,"compactJoiner");var ns=a((r,{tokens:t},n)=>t.type===""?r:n,"lineNo"),as=a(({tokens:r})=>(r.delimiter===""?r.start:r.postDelimiter.slice(1))+r.description,"getDescription");function br(r,t=re){if(r.length===0)return"";r[0].tokens.description===""&&r[0].tokens.delimiter===t.start&&(r=r.slice(1));let n=r[r.length-1];return n!==void 0&&n.tokens.description===""&&n.tokens.end.endsWith(t.end)&&(r=r.slice(0,-1)),r=r.slice(r.reduce(ns,0)),r.map(as).join(` +`)}a(br,"preserveJoiner");function Jr({startLine:r=0,fence:t="```",spacing:n="compact",markers:o=re,tokenizers:i=[mr(),fr(n),vr(),hr(n)]}={}){if(r<0||r%1>0)throw new Error("Invalid startLine");let p=yr({startLine:r,markers:o}),l=lr({fence:t}),u=dr({tokenizers:i}),y=nt(n);return function(m){let T=[];for(let h of ir(m)){let x=p(h);if(x===null)continue;let g=l(x),w=g.slice(1).map(u);T.push({description:y(g[0],o),tags:w,source:x,problems:w.reduce((_,L)=>_.concat(L.problems),[])})}return T}}a(Jr,"getParser");function xr(r){return r.start+r.delimiter+r.postDelimiter+r.tag+r.postTag+r.type+r.postType+r.name+r.postName+r.description+r.end+r.lineEnd}a(xr,"join");function os(){return r=>r.source.map(({tokens:t})=>xr(t)).join(` +`)}a(os,"getStringifier");function wr(r,t={}){return Jr(t)(r)}a(wr,"parse");var at=Ft(Do());function Pr(r){return r!=null&&r.includes("@")}a(Pr,"containsJsDoc");function Or(r){let t=`/** +`+(r??"").split(` +`).map(o=>` * ${o}`).join(` +`)+` +*/`,n=wr(t,{spacing:"preserve"});if(!n||n.length===0)throw new Error("Cannot parse JSDoc tags.");return n[0]}a(Or,"parse");var ss={tags:["param","arg","argument","returns","ignore","deprecated"]},is=a((r,t=ss)=>{if(!Pr(r))return{includesJsDoc:!1,ignore:!1};let n=Or(r),o=Nr(n,t.tags);return o.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:n.description.trim(),extractedTags:o}},"parseJsDoc");function Nr(r,t){let n={params:null,deprecated:null,returns:null,ignore:!1};for(let o of r.tags)if(!(t!==void 0&&!t.includes(o.tag)))if(o.tag==="ignore"){n.ignore=!0;break}else switch(o.tag){case"param":case"arg":case"argument":{let i=Sr(o);i!=null&&(n.params==null&&(n.params=[]),n.params.push(i));break}case"deprecated":{let i=jr(o);i!=null&&(n.deprecated=i);break}case"returns":{let i=Er(o);i!=null&&(n.returns=i);break}}return n}a(Nr,"extractJsDocTags");function _r(r){return r.replace(/[\.-]$/,"")}a(_r,"normaliseParamName");function Sr(r){if(!r.name||r.name==="-")return null;let t=it(r.type);return{name:r.name,type:t,description:st(r.description),getPrettyName:a(()=>_r(r.name),"getPrettyName"),getTypeName:a(()=>t?pt(t):null,"getTypeName")}}a(Sr,"extractParam");function jr(r){return r.name?ot(r.name,r.description):null}a(jr,"extractDeprecated");function ot(r,t){let n=r===""?t:`${r} ${t}`;return st(n)}a(ot,"joinNameAndDescription");function st(r){let t=r.replace(/^- /g,"").trim();return t===""?null:t}a(st,"normaliseDescription");function Er(r){let t=it(r.type);return t?{type:t,description:ot(r.name,r.description),getTypeName:a(()=>pt(t),"getTypeName")}:null}a(Er,"extractReturns");var ae=(0,at.stringifyRules)(),ps=ae.JsdocTypeObject;ae.JsdocTypeAny=()=>"any";ae.JsdocTypeObject=(r,t)=>`(${ps(r,t)})`;ae.JsdocTypeOptional=(r,t)=>t(r.element);ae.JsdocTypeNullable=(r,t)=>t(r.element);ae.JsdocTypeNotNullable=(r,t)=>t(r.element);ae.JsdocTypeUnion=(r,t)=>r.elements.map(t).join("|");function it(r){try{return(0,at.parse)(r,"typescript")}catch{return null}}a(it,"extractType");function pt(r){return(0,at.transform)(ae,r)}a(pt,"extractTypeName");function ct(r){return r.length>90}a(ct,"isTooLongForTypeSummary");function kr(r){return r.length>50}a(kr,"isTooLongForDefaultValueSummary");function C(r,t){return r===t?{summary:r}:{summary:r,detail:t}}a(C,"createSummaryValue");function lt({name:r,value:t,elements:n,raw:o}){return t??(n!=null?n.map(lt).join(" | "):o??r)}a(lt,"generateUnionElement");function Ar({name:r,raw:t,elements:n}){return n!=null?C(n.map(lt).join(" | ")):t!=null?C(t.replace(/^\|\s*/,"")):C(r)}a(Ar,"generateUnion");function Ir({type:r,raw:t}){return t!=null?C(t):C(r)}a(Ir,"generateFuncSignature");function Rr({type:r,raw:t}){return t!=null?ct(t)?C(r,t):C(t):C(r)}a(Rr,"generateObjectSignature");function Fr(r){let{type:t}=r;return t==="object"?Rr(r):Ir(r)}a(Fr,"generateSignature");function Lr({name:r,raw:t}){return t!=null?ct(t)?C(r,t):C(t):C(r)}a(Lr,"generateDefault");function Ur(r){if(r==null)return null;switch(r.name){case"union":return Ar(r);case"signature":return Fr(r);default:return Lr(r)}}a(Ur,"createType");function Vr(r,t){if(r!=null){let{value:n}=r;if(!De(n))return kr(n)?C(t==null?void 0:t.name,n):C(n)}return null}a(Vr,"createDefaultValue");var cs=a((r,t)=>{let{flowType:n,description:o,required:i,defaultValue:p}=t;return{name:r,type:Ur(n),required:i,description:o,defaultValue:Vr(p??null,n??null)}},"createFlowPropDef");function $r({tsType:r,required:t}){if(r==null)return null;let n=r.name;return t||(n=n.replace(" | undefined","")),C(["Array","Record","signature"].includes(r.name)?r.raw:n)}a($r,"createType");function Dr({defaultValue:r}){if(r!=null){let{value:t}=r;if(!De(t))return C(t)}return null}a(Dr,"createDefaultValue");var ls=a((r,t)=>{let{description:n,required:o}=t;return{name:r,type:$r(t),required:o,description:n,defaultValue:Dr(t)}},"createTsPropDef");function Kr(r){return r!=null?C(r.name):null}a(Kr,"createType");function Cr(r){let{computed:t,func:n}=r;return typeof t>"u"&&typeof n>"u"}a(Cr,"isReactDocgenTypescript");function Mr(r){return r?r.name==="string"?!0:r.name==="enum"?Array.isArray(r.value)&&r.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}a(Mr,"isStringValued");function qr(r,t){if(r!=null){let{value:n}=r;if(!De(n))return Cr(r)&&Mr(t)?C(JSON.stringify(n)):C(n)}return null}a(qr,"createDefaultValue");function ut(r,t,n){let{description:o,required:i,defaultValue:p}=n;return{name:r,type:Kr(t),required:i,description:o,defaultValue:qr(p,t)}}a(ut,"createBasicPropDef");function Je(r,t){var n;if(t!=null&&t.includesJsDoc){let{description:o,extractedTags:i}=t;o!=null&&(r.description=t.description);let p={...i,params:(n=i==null?void 0:i.params)==null?void 0:n.map(l=>({name:l.getPrettyName(),description:l.description}))};Object.values(p).filter(Boolean).length>0&&(r.jsDocTags=p)}return r}a(Je,"applyJsDocResult");var us=a((r,t,n)=>{let o=ut(r,t.type,t);return o.sbType=tt(t),Je(o,n)},"javaScriptFactory"),ys=a((r,t,n)=>{let o=ls(r,t);return o.sbType=tt(t),Je(o,n)},"tsFactory"),ds=a((r,t,n)=>{let o=cs(r,t);return o.sbType=tt(t),Je(o,n)},"flowFactory"),ms=a((r,t,n)=>{let o=ut(r,{name:"unknown"},t);return Je(o,n)},"unknownFactory"),Br=a(r=>{switch(r){case"JavaScript":return us;case"TypeScript":return ys;case"Flow":return ds;default:return ms}},"getPropDefFactory"),Gr=a(r=>r.type!=null?"JavaScript":r.flowType!=null?"Flow":r.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),fs=a(r=>{let t=Gr(r[0]),n=Br(t);return r.map(o=>{var p;let i=o;return(p=o.type)!=null&&p.elements&&(i={...o,type:{...o.type,value:o.type.elements}}),yt(i.name,i,t,n)})},"extractComponentSectionArray"),Ts=a(r=>{let t=Object.keys(r),n=Gr(r[t[0]]),o=Br(n);return t.map(i=>{let p=r[i];return p!=null?yt(i,p,n,o):null}).filter(Boolean)},"extractComponentSectionObject"),_s=a((r,t)=>{let n=nr(r,t);return rr(n)?Array.isArray(n)?fs(n):Ts(n):[]},"extractComponentProps");function yt(r,t,n,o){let i=is(t.description);return i.includesJsDoc&&i.ignore?null:{propDef:o(r,t,i),jsDocTags:i.extractedTags,docgenInfo:t,typeSystem:n}}a(yt,"extractProp");function vs(r){return r!=null?ar(r):""}a(vs,"extractComponentDescription");const{combineParameters:hs}=__STORYBOOK_MODULE_PREVIEW_API__;var Ss=a(r=>{let{component:t,argTypes:n,parameters:{docs:o={}}}=r,{extractArgTypes:i}=o,p=i&&t?i(t):{};return p?hs(p,n):n},"enhanceArgTypes"),gs="storybook/docs",js=`${gs}/snippet-rendered`,bs=(r=>(r.AUTO="auto",r.CODE="code",r.DYNAMIC="dynamic",r))(bs||{});export{vs as $,_s as B,ct as H,rt as K,C as O,Xo as P,Jn as _,Un as a,Os as b,Ps as c,ws as d,js as e,xs as f,nr as g,Yn as h,$n as i,It as j,vn as k,Xn as l,kr as o,bs as s,Ss as z}; diff --git a/assets/index-D-8MO0q_.js b/assets/index-D-8MO0q_.js new file mode 100644 index 00000000..c9b06b4a --- /dev/null +++ b/assets/index-D-8MO0q_.js @@ -0,0 +1 @@ +var d=Object.create,g=Object.defineProperty,j=Object.getOwnPropertyDescriptor,A=Object.getOwnPropertyNames,h=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,x=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),P=(e,r,i,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of A(r))!m.call(e,a)&&a!==i&&g(e,a,{get:()=>r[a],enumerable:!(u=j(r,a))||u.enumerable});return e},S=(e,r,i)=>(i=e!=null?d(h(e)):{},P(!e||!e.__esModule?g(i,"default",{value:e,enumerable:!0}):i,e)),U=x(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var r=Object.prototype.toString,i=Object.getPrototypeOf,u=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,c){return function f(t,n,o){var y,s,l,p=r.call(t),w=r.call(n);if(t===n)return!0;if(t==null||n==null)return!1;if(o.indexOf(t)>-1&&o.indexOf(n)>-1)return!0;if(o.push(t,n),p!=w||(y=u(t),s=u(n),y.length!=s.length||y.some(function(O){return!f(t[O],n[O],o)})))return!1;switch(p.slice(8,-1)){case"Symbol":return t.valueOf()==n.valueOf();case"Date":case"Number":return+t==+n||+t!=+t&&+n!=+n;case"RegExp":case"Function":case"String":case"Boolean":return""+t==""+n;case"Set":case"Map":y=t.entries(),s=n.entries();do if(!f((l=y.next()).value,s.next().value,o))return!1;while(!l.done);return!0;case"ArrayBuffer":t=new Uint8Array(t),n=new Uint8Array(n);case"DataView":t=new Uint8Array(t.buffer),n=new Uint8Array(n.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(t.length!=n.length)return!1;for(l=0;le.map(r=>typeof r<"u").filter(Boolean).length,q=(e,r)=>{let{exists:i,eq:u,neq:a,truthy:c}=e;if(v([i,u,a,c])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:i,eq:u,neq:a})}`);if(typeof u<"u")return(0,b.isEqual)(r,u);if(typeof a<"u")return!(0,b.isEqual)(r,a);if(typeof i<"u"){let f=typeof r<"u";return i?f:!f}return typeof c>"u"||c?!!r:!r},E=(e,r,i)=>{if(!e.if)return!0;let{arg:u,global:a}=e.if;if(v([u,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:u,global:a})}`);let c=u?r[u]:i[a];return q(e.if,c)},I=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");export{I as O,E as P}; diff --git a/assets/index-PPLHz8o0.js b/assets/index-DrFu-skq.js similarity index 100% rename from assets/index-PPLHz8o0.js rename to assets/index-DrFu-skq.js diff --git a/assets/index-LANyd4EQ.js b/assets/index-LANyd4EQ.js deleted file mode 100644 index c79a37f8..00000000 --- a/assets/index-LANyd4EQ.js +++ /dev/null @@ -1 +0,0 @@ -var j=Object.create,g=Object.defineProperty,A=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyNames,m=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty,P=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),d=(r,e,i,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of h(e))!x.call(r,a)&&a!==i&&g(r,a,{get:()=>e[a],enumerable:!(u=A(e,a))||u.enumerable});return r},S=(r,e,i)=>(i=r!=null?j(m(r)):{},d(e||!r||!r.__esModule?g(i,"default",{value:r,enumerable:!0}):i,r)),U=P(r=>{Object.defineProperty(r,"__esModule",{value:!0}),r.isEqual=function(){var e=Object.prototype.toString,i=Object.getPrototypeOf,u=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,c){return function f(t,n,o){var y,p,l,s=e.call(t),w=e.call(n);if(t===n)return!0;if(t==null||n==null)return!1;if(o.indexOf(t)>-1&&o.indexOf(n)>-1)return!0;if(o.push(t,n),s!=w||(y=u(t),p=u(n),y.length!=p.length||y.some(function(O){return!f(t[O],n[O],o)})))return!1;switch(s.slice(8,-1)){case"Symbol":return t.valueOf()==n.valueOf();case"Date":case"Number":return+t==+n||+t!=+t&&+n!=+n;case"RegExp":case"Function":case"String":case"Boolean":return""+t==""+n;case"Set":case"Map":y=t.entries(),p=n.entries();do if(!f((l=y.next()).value,p.next().value,o))return!1;while(!l.done);return!0;case"ArrayBuffer":t=new Uint8Array(t),n=new Uint8Array(n);case"DataView":t=new Uint8Array(t.buffer),n=new Uint8Array(n.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(t.length!=n.length)return!1;for(l=0;lr.map(e=>typeof e<"u").filter(Boolean).length,q=(r,e)=>{let{exists:i,eq:u,neq:a,truthy:c}=r;if(v([i,u,a,c])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:i,eq:u,neq:a})}`);if(typeof u<"u")return(0,b.isEqual)(e,u);if(typeof a<"u")return!(0,b.isEqual)(e,a);if(typeof i<"u"){let f=typeof e<"u";return i?f:!f}return typeof c>"u"||c?!!e:!e},E=(r,e,i)=>{if(!r.if)return!0;let{arg:u,global:a}=r.if;if(v([u,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:u,global:a})}`);let c=u?e[u]:i[a];return q(r.if,c)},I=r=>r.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");export{I as O,E as P}; diff --git a/assets/index-eaBuI5Jm.js b/assets/index-LVLpks_4.js similarity index 99% rename from assets/index-eaBuI5Jm.js rename to assets/index-LVLpks_4.js index 6fbc61a4..fe7898d6 100644 --- a/assets/index-eaBuI5Jm.js +++ b/assets/index-LVLpks_4.js @@ -1,4 +1,4 @@ -import{r as za,g as Pa}from"./index-aXz8NaAs.js";var Co={exports:{}},ve={},xo={exports:{}},_o={};/** +import{r as za,g as Pa}from"./index-ebcBgdYO.js";var Co={exports:{}},ve={},xo={exports:{}},_o={};/** * @license React * scheduler.production.min.js * @@ -21,4 +21,4 @@ import{r as za,g as Pa}from"./index-aXz8NaAs.js";var Co={exports:{}},ve={},xo={e `+l[u].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=u&&0<=o);break}}}finally{cl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?pt(e):""}function Fa(e){switch(e.tag){case 5:return pt(e.type);case 16:return pt("Lazy");case 13:return pt("Suspense");case 19:return pt("SuspenseList");case 0:case 2:case 15:return e=fl(e.type,!1),e;case 11:return e=fl(e.type.render,!1),e;case 1:return e=fl(e.type,!0),e;default:return""}}function Ul(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mn:return"Fragment";case Ln:return"Portal";case Ol:return"Profiler";case Ti:return"StrictMode";case Il:return"Suspense";case jl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case To:return(e.displayName||"Context")+".Consumer";case Po:return(e._context.displayName||"Context")+".Provider";case Li:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mi:return n=e.displayName||null,n!==null?n:Ul(e.type)||"Memo";case Ye:n=e._payload,e=e._init;try{return Ul(e(n))}catch{}}return null}function Oa(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ul(n);case 8:return n===Ti?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function sn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Mo(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ia(e){var n=Mo(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,i.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Zt(e){e._valueTracker||(e._valueTracker=Ia(e))}function Do(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Mo(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Sr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vl(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function ku(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=sn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Ro(e,n){n=n.checked,n!=null&&Pi(e,"checked",n,!1)}function Al(e,n){Ro(e,n);var t=sn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&Bl(e,n.type,sn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Su(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Bl(e,n,t){(n!=="number"||Sr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var mt=Array.isArray;function Hn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=Jt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function zt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var yt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ja=["Webkit","ms","Moz","O"];Object.keys(yt).forEach(function(e){ja.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),yt[n]=yt[e]})});function jo(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||yt.hasOwnProperty(e)&&yt[e]?(""+n).trim():n+"px"}function Uo(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=jo(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Ua=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Wl(e,n){if(n){if(Ua[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function $l(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Kl=null;function Di(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yl=null,Qn=null,Wn=null;function xu(e){if(e=$t(e)){if(typeof Yl!="function")throw Error(y(280));var n=e.stateNode;n&&(n=Gr(n),Yl(e.stateNode,e.type,n))}}function Vo(e){Qn?Wn?Wn.push(e):Wn=[e]:Qn=e}function Ao(){if(Qn){var e=Qn,n=Wn;if(Wn=Qn=null,xu(e),n)for(e=0;e>>=0,e===0?32:31-(Ga(e)/Za|0)|0}var qt=64,bt=4194304;function vt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _r(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,u=t&268435455;if(u!==0){var o=u&~l;o!==0?r=vt(o):(i&=u,i!==0&&(r=vt(i)))}else u=t&~l,u!==0?r=vt(u):i!==0&&(r=vt(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,i=n&-n,l>=i||l===16&&(i&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Qt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Pe(n),e[n]=t}function ec(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=wt),Ru=" ",Fu=!1;function us(e,n){switch(e){case"keyup":return Pc.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function os(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function Lc(e,n){switch(e){case"compositionend":return os(n);case"keypress":return n.which!==32?null:(Fu=!0,Ru);case"textInput":return e=n.data,e===Ru&&Fu?null:e;default:return null}}function Mc(e,n){if(Dn)return e==="compositionend"||!Ai&&us(e,n)?(e=ls(),dr=ji=Je=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Uu(t)}}function fs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?fs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function ds(){for(var e=window,n=Sr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Sr(e.document)}return n}function Bi(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Ac(e){var n=ds(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&fs(t.ownerDocument.documentElement,t)){if(r!==null&&Bi(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Vu(t,i);var u=Vu(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Rn=null,bl=null,St=null,ei=!1;function Au(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ei||Rn==null||Rn!==Sr(r)||(r=Rn,"selectionStart"in r&&Bi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),St&&Rt(St,r)||(St=r,r=Pr(bl,"onSelect"),0In||(e.current=ui[In],ui[In]=null,In--)}function D(e,n){In++,ui[In]=e.current,e.current=n}var an={},te=fn(an),se=fn(!1),En=an;function Gn(e,n){var t=e.type.contextTypes;if(!t)return an;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in t)l[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function ae(e){return e=e.childContextTypes,e!=null}function Lr(){F(se),F(te)}function Yu(e,n,t){if(te.current!==an)throw Error(y(168));D(te,n),D(se,t)}function Ss(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Oa(e)||"Unknown",l));return V({},t,r)}function Mr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,En=te.current,D(te,e),D(se,se.current),!0}function Xu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=Ss(e,n,En),r.__reactInternalMemoizedMergedChildContext=e,F(se),F(te),D(te,e)):F(se),D(se,t)}var je=null,Zr=!1,_l=!1;function Es(e){je===null?je=[e]:je.push(e)}function qc(e){Zr=!0,Es(e)}function dn(){if(!_l&&je!==null){_l=!0;var e=0,n=M;try{var t=je;for(M=1;e>=u,l-=u,Ue=1<<32-Pe(n)+l|t<N?(B=_,_=null):B=_.sibling;var T=p(c,_,f[N],h);if(T===null){_===null&&(_=B);break}e&&_&&T.alternate===null&&n(c,_),a=i(T,a,N),x===null?E=T:x.sibling=T,x=T,_=B}if(N===f.length)return t(c,_),I&&vn(c,N),E;if(_===null){for(;NN?(B=_,_=null):B=_.sibling;var Ce=p(c,_,T.value,h);if(Ce===null){_===null&&(_=B);break}e&&_&&Ce.alternate===null&&n(c,_),a=i(Ce,a,N),x===null?E=Ce:x.sibling=Ce,x=Ce,_=B}if(T.done)return t(c,_),I&&vn(c,N),E;if(_===null){for(;!T.done;N++,T=f.next())T=m(c,T.value,h),T!==null&&(a=i(T,a,N),x===null?E=T:x.sibling=T,x=T);return I&&vn(c,N),E}for(_=r(c,_);!T.done;N++,T=f.next())T=g(_,c,N,T.value,h),T!==null&&(e&&T.alternate!==null&&_.delete(T.key===null?N:T.key),a=i(T,a,N),x===null?E=T:x.sibling=T,x=T);return e&&_.forEach(function(rt){return n(c,rt)}),I&&vn(c,N),E}function O(c,a,f,h){if(typeof f=="object"&&f!==null&&f.type===Mn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Gt:e:{for(var E=f.key,x=a;x!==null;){if(x.key===E){if(E=f.type,E===Mn){if(x.tag===7){t(c,x.sibling),a=l(x,f.props.children),a.return=c,c=a;break e}}else if(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ye&&no(E)===x.type){t(c,x.sibling),a=l(x,f.props),a.ref=ct(c,x,f),a.return=c,c=a;break e}t(c,x);break}else n(c,x);x=x.sibling}f.type===Mn?(a=Sn(f.props.children,c.mode,h,f.key),a.return=c,c=a):(h=kr(f.type,f.key,f.props,null,c.mode,h),h.ref=ct(c,a,f),h.return=c,c=h)}return u(c);case Ln:e:{for(x=f.key;a!==null;){if(a.key===x)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){t(c,a.sibling),a=l(a,f.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Rl(f,c.mode,h),a.return=c,c=a}return u(c);case Ye:return x=f._init,O(c,a,x(f._payload),h)}if(mt(f))return w(c,a,f,h);if(it(f))return k(c,a,f,h);ur(c,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,f),a.return=c,c=a):(t(c,a),a=Dl(f,c.mode,h),a.return=c,c=a),u(c)):t(c,a)}return O}var Jn=Ls(!0),Ms=Ls(!1),Kt={},Oe=fn(Kt),jt=fn(Kt),Ut=fn(Kt);function wn(e){if(e===Kt)throw Error(y(174));return e}function Zi(e,n){switch(D(Ut,n),D(jt,e),D(Oe,Kt),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Ql(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Ql(n,e)}F(Oe),D(Oe,n)}function qn(){F(Oe),F(jt),F(Ut)}function Ds(e){wn(Ut.current);var n=wn(Oe.current),t=Ql(n,e.type);n!==t&&(D(jt,e),D(Oe,t))}function Ji(e){jt.current===e&&(F(Oe),F(jt))}var j=fn(0);function jr(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Nl=[];function qi(){for(var e=0;et?t:4,e(!0);var r=zl.transition;zl.transition={};try{e(!1),n()}finally{M=t,zl.transition=r}}function Xs(){return Ee().memoizedState}function tf(e,n,t){var r=un(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Gs(e))Zs(n,t);else if(t=Ns(e,n,t,r),t!==null){var l=le();Te(t,e,r,l),Js(t,n,r)}}function rf(e,n,t){var r=un(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Gs(e))Zs(n,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var u=n.lastRenderedState,o=i(u,t);if(l.hasEagerState=!0,l.eagerState=o,Le(o,u)){var s=n.interleaved;s===null?(l.next=l,Xi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=Ns(e,n,l,r),t!==null&&(l=le(),Te(t,e,r,l),Js(t,n,r))}}function Gs(e){var n=e.alternate;return e===U||n!==null&&n===U}function Zs(e,n){Et=Ur=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Js(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fi(e,t)}}var Vr={readContext:Se,useCallback:b,useContext:b,useEffect:b,useImperativeHandle:b,useInsertionEffect:b,useLayoutEffect:b,useMemo:b,useReducer:b,useRef:b,useState:b,useDebugValue:b,useDeferredValue:b,useTransition:b,useMutableSource:b,useSyncExternalStore:b,useId:b,unstable_isNewReconciler:!1},lf={readContext:Se,useCallback:function(e,n){return De().memoizedState=[e,n===void 0?null:n],e},useContext:Se,useEffect:ro,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,hr(4194308,4,Qs.bind(null,n,e),t)},useLayoutEffect:function(e,n){return hr(4194308,4,e,n)},useInsertionEffect:function(e,n){return hr(4,2,e,n)},useMemo:function(e,n){var t=De();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=De();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=tf.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var n=De();return e={current:e},n.memoizedState=e},useState:to,useDebugValue:ru,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=to(!1),n=e[0];return e=nf.bind(null,e[1]),De().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=U,l=De();if(I){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),G===null)throw Error(y(349));xn&30||Os(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,ro(js.bind(null,r,i,e),[e]),r.flags|=2048,Bt(9,Is.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=De(),n=G.identifierPrefix;if(I){var t=Ve,r=Ue;t=(r&~(1<<32-Pe(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Vt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Re]=n,e[It]=r,ua(e,n,!1,!1),n.stateNode=e;e:{switch(u=$l(t,r),t){case"dialog":R("cancel",e),R("close",e),l=r;break;case"iframe":case"object":case"embed":R("load",e),l=r;break;case"video":case"audio":for(l=0;let&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304)}else{if(!r)if(e=jr(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),ft(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!I)return ee(n),null}else 2*Q()-i.renderingStartTime>et&&t!==1073741824&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304);i.isBackwards?(u.sibling=n.child,n.child=u):(t=i.last,t!==null?t.sibling=u:n.child=u,i.last=u)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=Q(),n.sibling=null,t=j.current,D(j,r?t&1|2:t&1),n):(ee(n),null);case 22:case 23:return au(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?fe&1073741824&&(ee(n),n.subtreeFlags&6&&(n.flags|=8192)):ee(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function pf(e,n){switch(Qi(n),n.tag){case 1:return ae(n.type)&&Lr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return qn(),F(se),F(te),qi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return Ji(n),null;case 13:if(F(j),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Zn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return F(j),null;case 4:return qn(),null;case 10:return Yi(n.type._context),null;case 22:case 23:return au(),null;case 24:return null;default:return null}}var sr=!1,ne=!1,mf=typeof WeakSet=="function"?WeakSet:Set,S=null;function An(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){A(e,n,r)}else t.current=null}function gi(e,n,t){try{t()}catch(r){A(e,n,r)}}var po=!1;function vf(e,n){if(ni=Nr,e=ds(),Bi(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var u=0,o=-1,s=-1,d=0,v=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(o=u+l),m!==i||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++d===l&&(o=u),p===i&&++v===r&&(s=u),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=o===-1||s===-1?null:{start:o,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ti={focusedElem:e,selectionRange:t},Nr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,O=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:_e(n.type,k),O);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(h){A(n,n.return,h)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=po,po=!1,w}function Ct(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&gi(n,t,i)}l=l.next}while(l!==r)}}function br(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function wi(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function aa(e){var n=e.alternate;n!==null&&(e.alternate=null,aa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Re],delete n[It],delete n[ii],delete n[Zc],delete n[Jc])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ca(e){return e.tag===5||e.tag===3||e.tag===4}function mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ca(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ki(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Tr));else if(r!==4&&(e=e.child,e!==null))for(ki(e,n,t),e=e.sibling;e!==null;)ki(e,n,t),e=e.sibling}function Si(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Si(e,n,t),e=e.sibling;e!==null;)Si(e,n,t),e=e.sibling}var Z=null,Ne=!1;function Ke(e,n,t){for(t=t.child;t!==null;)fa(e,n,t),t=t.sibling}function fa(e,n,t){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount($r,t)}catch{}switch(t.tag){case 5:ne||An(t,n);case 6:var r=Z,l=Ne;Z=null,Ke(e,n,t),Z=r,Ne=l,Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):Z.removeChild(t.stateNode));break;case 18:Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?xl(e.parentNode,t):e.nodeType===1&&xl(e,t),Mt(e)):xl(Z,t.stateNode));break;case 4:r=Z,l=Ne,Z=t.stateNode.containerInfo,Ne=!0,Ke(e,n,t),Z=r,Ne=l;break;case 0:case 11:case 14:case 15:if(!ne&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,u=i.destroy;i=i.tag,u!==void 0&&(i&2||i&4)&&gi(t,n,u),l=l.next}while(l!==r)}Ke(e,n,t);break;case 1:if(!ne&&(An(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){A(t,n,o)}Ke(e,n,t);break;case 21:Ke(e,n,t);break;case 22:t.mode&1?(ne=(r=ne)||t.memoizedState!==null,Ke(e,n,t),ne=r):Ke(e,n,t);break;default:Ke(e,n,t)}}function vo(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new mf),n.forEach(function(r){var l=xf.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function xe(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=u),r&=~i}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yf(r/1960))-r,10e?16:e,qe===null)var r=!1;else{if(e=qe,qe=null,Hr=0,L&6)throw Error(y(331));var l=L;for(L|=4,S=e.current;S!==null;){var i=S,u=i.child;if(S.flags&16){var o=i.deletions;if(o!==null){for(var s=0;sQ()-ou?kn(e,0):uu|=t),ce(e,n)}function wa(e,n){n===0&&(e.mode&1?(n=bt,bt<<=1,!(bt&130023424)&&(bt=4194304)):n=1);var t=le();e=Qe(e,n),e!==null&&(Qt(e,n,t),ce(e,t))}function Cf(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),wa(e,t)}function xf(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),wa(e,t)}var ka;ka=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||se.current)oe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return oe=!1,ff(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&Cs(n,Rr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;yr(e,n),e=n.pendingProps;var l=Gn(n,te.current);Kn(n,t),l=eu(null,n,r,e,l,t);var i=nu();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,ae(r)?(i=!0,Mr(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Gi(n),l.updater=Jr,n.stateNode=l,l._reactInternals=n,fi(n,r,e,t),n=mi(null,n,r,!0,i,t)):(n.tag=0,I&&i&&Hi(n),re(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(yr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Nf(r),e=_e(r,e),l){case 0:n=pi(null,n,r,e,t);break e;case 1:n=ao(null,n,r,e,t);break e;case 11:n=oo(null,n,r,e,t);break e;case 14:n=so(null,n,r,_e(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),pi(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),ao(e,n,r,l,t);case 3:e:{if(ra(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,zs(e,n),Ir(n,r,null,t);var u=n.memoizedState;if(r=u.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=bn(Error(y(423)),n),n=co(e,n,r,t,l);break e}else if(r!==l){l=bn(Error(y(424)),n),n=co(e,n,r,t,l);break e}else for(de=tn(n.stateNode.containerInfo.firstChild),pe=n,I=!0,ze=null,t=Ms(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Zn(),r===l){n=We(e,n,t);break e}re(e,n,r,t)}n=n.child}return n;case 5:return Ds(n),e===null&&si(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,u=l.children,ri(r,l)?u=null:i!==null&&ri(r,i)&&(n.flags|=32),ta(e,n),re(e,n,u,t),n.child;case 6:return e===null&&si(n),null;case 13:return la(e,n,t);case 4:return Zi(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=Jn(n,null,r,t):re(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),oo(e,n,r,l,t);case 7:return re(e,n,n.pendingProps,t),n.child;case 8:return re(e,n,n.pendingProps.children,t),n.child;case 12:return re(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,i=n.memoizedProps,u=l.value,D(Fr,r._currentValue),r._currentValue=u,i!==null)if(Le(i.value,u)){if(i.children===l.children&&!se.current){n=We(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var o=i.dependencies;if(o!==null){u=i.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Ae(-1,t&-t),s.tag=2;var d=i.updateQueue;if(d!==null){d=d.shared;var v=d.pending;v===null?s.next=s:(s.next=v.next,v.next=s),d.pending=s}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),ai(i.return,t,n),o.lanes|=t;break}s=s.next}}else if(i.tag===10)u=i.type===n.type?null:i.child;else if(i.tag===18){if(u=i.return,u===null)throw Error(y(341));u.lanes|=t,o=u.alternate,o!==null&&(o.lanes|=t),ai(u,t,n),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===n){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}re(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Kn(n,t),l=Se(l),r=r(l),n.flags|=1,re(e,n,r,t),n.child;case 14:return r=n.type,l=_e(r,n.pendingProps),l=_e(r.type,l),so(e,n,r,l,t);case 15:return ea(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),yr(e,n),n.tag=1,ae(r)?(e=!0,Mr(n)):e=!1,Kn(n,t),Ts(n,r,l),fi(n,r,l,t),mi(null,n,r,!0,e,t);case 19:return ia(e,n,t);case 22:return na(e,n,t)}throw Error(y(156,n.tag))};function Sa(e,n){return Yo(e,n)}function _f(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function we(e,n,t,r){return new _f(e,n,t,r)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nf(e){if(typeof e=="function")return fu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Li)return 11;if(e===Mi)return 14}return 2}function on(e,n){var t=e.alternate;return t===null?(t=we(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function kr(e,n,t,r,l,i){var u=2;if(r=e,typeof e=="function")fu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Mn:return Sn(t.children,l,i,n);case Ti:u=8,l|=8;break;case Ol:return e=we(12,t,n,l|2),e.elementType=Ol,e.lanes=i,e;case Il:return e=we(13,t,n,l),e.elementType=Il,e.lanes=i,e;case jl:return e=we(19,t,n,l),e.elementType=jl,e.lanes=i,e;case Lo:return nl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Po:u=10;break e;case To:u=9;break e;case Li:u=11;break e;case Mi:u=14;break e;case Ye:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=we(u,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function Sn(e,n,t,r){return e=we(7,e,r,n),e.lanes=t,e}function nl(e,n,t,r){return e=we(22,e,r,n),e.elementType=Lo,e.lanes=t,e.stateNode={isHidden:!1},e}function Dl(e,n,t){return e=we(6,e,null,n),e.lanes=t,e}function Rl(e,n,t){return n=we(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function zf(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pl(0),this.expirationTimes=pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function du(e,n,t,r,l,i,u,o,s){return e=new zf(e,n,t,o,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=we(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gi(i),e}function Pf(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_a)}catch(e){console.error(e)}}_a(),Co.exports=ve;var Rf=Co.exports;const Of=Pa(Rf);export{Of as $,Rf as r}; +`+i.stack}return{value:e,source:n,stack:l,digest:null}}function Ll(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function di(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var sf=typeof WeakMap=="function"?WeakMap:Map;function qs(e,n,t){t=Ae(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Br||(Br=!0,Ei=r),di(e,n)},t}function bs(e,n,t){t=Ae(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){di(e,n)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){di(e,n),typeof r!="function"&&(ln===null?ln=new Set([this]):ln.add(this));var u=n.stack;this.componentDidCatch(n.value,{componentStack:u!==null?u:""})}),t}function lo(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new sf;var l=new Set;r.set(n,l)}else l=r.get(n),l===void 0&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=Ef.bind(null,e,n,t),n.then(e,e))}function io(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function uo(e,n,t,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=Ae(-1,1),n.tag=2,rn(t,n,1))),t.lanes|=1),e)}var af=$e.ReactCurrentOwner,oe=!1;function re(e,n,t,r){n.child=e===null?Ms(n,null,t,r):Jn(n,e.child,t,r)}function oo(e,n,t,r,l){t=t.render;var i=n.ref;return Kn(n,l),r=eu(e,n,t,r,i,l),t=nu(),e!==null&&!oe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,We(e,n,l)):(I&&t&&Hi(n),n.flags|=1,re(e,n,r,l),n.child)}function so(e,n,t,r,l){if(e===null){var i=t.type;return typeof i=="function"&&!fu(i)&&i.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=i,ea(e,n,i,r,l)):(e=kr(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(i=e.child,!(e.lanes&l)){var u=i.memoizedProps;if(t=t.compare,t=t!==null?t:Rt,t(u,r)&&e.ref===n.ref)return We(e,n,l)}return n.flags|=1,e=on(i,r),e.ref=n.ref,e.return=n,n.child=e}function ea(e,n,t,r,l){if(e!==null){var i=e.memoizedProps;if(Rt(i,r)&&e.ref===n.ref)if(oe=!1,n.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(oe=!0);else return n.lanes=e.lanes,We(e,n,l)}return pi(e,n,t,r,l)}function na(e,n,t){var r=n.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(Bn,fe),fe|=t;else{if(!(t&1073741824))return e=i!==null?i.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,D(Bn,fe),fe|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:t,D(Bn,fe),fe|=r}else i!==null?(r=i.baseLanes|t,n.memoizedState=null):r=t,D(Bn,fe),fe|=r;return re(e,n,l,t),n.child}function ta(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function pi(e,n,t,r,l){var i=ae(t)?En:te.current;return i=Gn(n,i),Kn(n,l),t=eu(e,n,t,r,i,l),r=nu(),e!==null&&!oe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,We(e,n,l)):(I&&r&&Hi(n),n.flags|=1,re(e,n,t,l),n.child)}function ao(e,n,t,r,l){if(ae(t)){var i=!0;Mr(n)}else i=!1;if(Kn(n,l),n.stateNode===null)yr(e,n),Ts(n,t,r),fi(n,t,r,l),r=!0;else if(e===null){var u=n.stateNode,o=n.memoizedProps;u.props=o;var s=u.context,d=t.contextType;typeof d=="object"&&d!==null?d=Se(d):(d=ae(t)?En:te.current,d=Gn(n,d));var v=t.getDerivedStateFromProps,m=typeof v=="function"||typeof u.getSnapshotBeforeUpdate=="function";m||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==r||s!==d)&&eo(n,u,r,d),Xe=!1;var p=n.memoizedState;u.state=p,Ir(n,r,u,l),s=n.memoizedState,o!==r||p!==s||se.current||Xe?(typeof v=="function"&&(ci(n,t,v,r),s=n.memoizedState),(o=Xe||bu(n,t,o,r,p,s,d))?(m||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(n.flags|=4194308)):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=s),u.props=r,u.state=s,u.context=d,r=o):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{u=n.stateNode,zs(e,n),o=n.memoizedProps,d=n.type===n.elementType?o:_e(n.type,o),u.props=d,m=n.pendingProps,p=u.context,s=t.contextType,typeof s=="object"&&s!==null?s=Se(s):(s=ae(t)?En:te.current,s=Gn(n,s));var g=t.getDerivedStateFromProps;(v=typeof g=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==m||p!==s)&&eo(n,u,r,s),Xe=!1,p=n.memoizedState,u.state=p,Ir(n,r,u,l);var w=n.memoizedState;o!==m||p!==w||se.current||Xe?(typeof g=="function"&&(ci(n,t,g,r),w=n.memoizedState),(d=Xe||bu(n,t,d,r,p,w,s)||!1)?(v||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(r,w,s),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(r,w,s)),typeof u.componentDidUpdate=="function"&&(n.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=w),u.props=r,u.state=w,u.context=s,r=d):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),r=!1)}return mi(e,n,t,r,i,l)}function mi(e,n,t,r,l,i){ta(e,n);var u=(n.flags&128)!==0;if(!r&&!u)return l&&Xu(n,t,!1),We(e,n,i);r=n.stateNode,af.current=n;var o=u&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&u?(n.child=Jn(n,e.child,null,i),n.child=Jn(n,null,o,i)):re(e,n,o,i),n.memoizedState=r.state,l&&Xu(n,t,!0),n.child}function ra(e){var n=e.stateNode;n.pendingContext?Yu(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Yu(e,n.context,!1),Zi(e,n.containerInfo)}function co(e,n,t,r,l){return Zn(),Wi(l),n.flags|=256,re(e,n,t,r),n.child}var vi={dehydrated:null,treeContext:null,retryLane:0};function hi(e){return{baseLanes:e,cachePool:null,transitions:null}}function la(e,n,t){var r=n.pendingProps,l=j.current,i=!1,u=(n.flags&128)!==0,o;if((o=u)||(o=e!==null&&e.memoizedState===null?!1:(l&2)!==0),o?(i=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),D(j,l&1),e===null)return si(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(u=r.children,e=r.fallback,i?(r=n.mode,i=n.child,u={mode:"hidden",children:u},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=u):i=nl(u,r,0,null),e=Sn(e,r,t,null),i.return=n,e.return=n,i.sibling=e,n.child=i,n.child.memoizedState=hi(t),n.memoizedState=vi,e):lu(n,u));if(l=e.memoizedState,l!==null&&(o=l.dehydrated,o!==null))return cf(e,n,u,r,o,l,t);if(i){i=r.fallback,u=n.mode,l=e.child,o=l.sibling;var s={mode:"hidden",children:r.children};return!(u&1)&&n.child!==l?(r=n.child,r.childLanes=0,r.pendingProps=s,n.deletions=null):(r=on(l,s),r.subtreeFlags=l.subtreeFlags&14680064),o!==null?i=on(o,i):(i=Sn(i,u,t,null),i.flags|=2),i.return=n,r.return=n,r.sibling=i,n.child=r,r=i,i=n.child,u=e.child.memoizedState,u=u===null?hi(t):{baseLanes:u.baseLanes|t,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~t,n.memoizedState=vi,r}return i=e.child,e=i.sibling,r=on(i,{mode:"visible",children:r.children}),!(n.mode&1)&&(r.lanes=t),r.return=n,r.sibling=null,e!==null&&(t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=r,n.memoizedState=null,r}function lu(e,n){return n=nl({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function or(e,n,t,r){return r!==null&&Wi(r),Jn(n,e.child,null,t),e=lu(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function cf(e,n,t,r,l,i,u){if(t)return n.flags&256?(n.flags&=-257,r=Ll(Error(y(422))),or(e,n,u,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(i=r.fallback,l=n.mode,r=nl({mode:"visible",children:r.children},l,0,null),i=Sn(i,l,u,null),i.flags|=2,r.return=n,i.return=n,r.sibling=i,n.child=r,n.mode&1&&Jn(n,e.child,null,u),n.child.memoizedState=hi(u),n.memoizedState=vi,i);if(!(n.mode&1))return or(e,n,u,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var o=r.dgst;return r=o,i=Error(y(419)),r=Ll(i,r,void 0),or(e,n,u,r)}if(o=(u&e.childLanes)!==0,oe||o){if(r=G,r!==null){switch(u&-u){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|u)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Qe(e,l),Te(r,e,l,-1))}return cu(),r=Ll(Error(y(421))),or(e,n,u,r)}return l.data==="$?"?(n.flags|=128,n.child=e.child,n=Cf.bind(null,e),l._reactRetry=n,null):(e=i.treeContext,de=tn(l.nextSibling),pe=n,I=!0,ze=null,e!==null&&(ye[ge++]=Ue,ye[ge++]=Ve,ye[ge++]=Cn,Ue=e.id,Ve=e.overflow,Cn=n),n=lu(n,r.children),n.flags|=4096,n)}function fo(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),ai(e.return,n,t)}function Ml(e,n,t,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(i.isBackwards=n,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=t,i.tailMode=l)}function ia(e,n,t){var r=n.pendingProps,l=r.revealOrder,i=r.tail;if(re(e,n,r.children,t),r=j.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&fo(e,t,n);else if(e.tag===19)fo(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(D(j,r),!(n.mode&1))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;t!==null;)e=t.alternate,e!==null&&jr(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Ml(n,!1,l,t,i);break;case"backwards":for(t=null,l=n.child,n.child=null;l!==null;){if(e=l.alternate,e!==null&&jr(e)===null){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Ml(n,!0,t,null,i);break;case"together":Ml(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function yr(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function We(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),_n|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(y(153));if(n.child!==null){for(e=n.child,t=on(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=on(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function ff(e,n,t){switch(n.tag){case 3:ra(n),Zn();break;case 5:Ds(n);break;case 1:ae(n.type)&&Mr(n);break;case 4:Zi(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;D(Fr,r._currentValue),r._currentValue=l;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(D(j,j.current&1),n.flags|=128,null):t&n.child.childLanes?la(e,n,t):(D(j,j.current&1),e=We(e,n,t),e!==null?e.sibling:null);D(j,j.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return ia(e,n,t);n.flags|=128}if(l=n.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),D(j,j.current),r)break;return null;case 22:case 23:return n.lanes=0,na(e,n,t)}return We(e,n,t)}var ua,yi,oa,sa;ua=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};yi=function(){};oa=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,wn(Oe.current);var i=null;switch(t){case"input":l=Vl(e,l),r=Vl(e,r),i=[];break;case"select":l=V({},l,{value:void 0}),r=V({},r,{value:void 0}),i=[];break;case"textarea":l=Hl(e,l),r=Hl(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Tr)}Wl(t,r);var u;t=null;for(d in l)if(!r.hasOwnProperty(d)&&l.hasOwnProperty(d)&&l[d]!=null)if(d==="style"){var o=l[d];for(u in o)o.hasOwnProperty(u)&&(t||(t={}),t[u]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(Nt.hasOwnProperty(d)?i||(i=[]):(i=i||[]).push(d,null));for(d in r){var s=r[d];if(o=l!=null?l[d]:void 0,r.hasOwnProperty(d)&&s!==o&&(s!=null||o!=null))if(d==="style")if(o){for(u in o)!o.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(t||(t={}),t[u]="");for(u in s)s.hasOwnProperty(u)&&o[u]!==s[u]&&(t||(t={}),t[u]=s[u])}else t||(i||(i=[]),i.push(d,t)),t=s;else d==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,o=o?o.__html:void 0,s!=null&&o!==s&&(i=i||[]).push(d,s)):d==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(d,""+s):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(Nt.hasOwnProperty(d)?(s!=null&&d==="onScroll"&&R("scroll",e),i||o===s||(i=[])):(i=i||[]).push(d,s))}t&&(i=i||[]).push("style",t);var d=i;(n.updateQueue=d)&&(n.flags|=4)}};sa=function(e,n,t,r){t!==r&&(n.flags|=4)};function ft(e,n){if(!I)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ee(e){var n=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function df(e,n,t){var r=n.pendingProps;switch(Qi(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ee(n),null;case 1:return ae(n.type)&&Lr(),ee(n),null;case 3:return r=n.stateNode,qn(),F(se),F(te),qi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ir(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,ze!==null&&(_i(ze),ze=null))),yi(e,n),ee(n),null;case 5:Ji(n);var l=wn(Ut.current);if(t=n.type,e!==null&&n.stateNode!=null)oa(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(n.stateNode===null)throw Error(y(166));return ee(n),null}if(e=wn(Oe.current),ir(n)){r=n.stateNode,t=n.type;var i=n.memoizedProps;switch(r[Re]=n,r[It]=i,e=(n.mode&1)!==0,t){case"dialog":R("cancel",r),R("close",r);break;case"iframe":case"object":case"embed":R("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Re]=n,e[It]=r,ua(e,n,!1,!1),n.stateNode=e;e:{switch(u=$l(t,r),t){case"dialog":R("cancel",e),R("close",e),l=r;break;case"iframe":case"object":case"embed":R("load",e),l=r;break;case"video":case"audio":for(l=0;let&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304)}else{if(!r)if(e=jr(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),ft(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!I)return ee(n),null}else 2*Q()-i.renderingStartTime>et&&t!==1073741824&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304);i.isBackwards?(u.sibling=n.child,n.child=u):(t=i.last,t!==null?t.sibling=u:n.child=u,i.last=u)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=Q(),n.sibling=null,t=j.current,D(j,r?t&1|2:t&1),n):(ee(n),null);case 22:case 23:return au(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?fe&1073741824&&(ee(n),n.subtreeFlags&6&&(n.flags|=8192)):ee(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function pf(e,n){switch(Qi(n),n.tag){case 1:return ae(n.type)&&Lr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return qn(),F(se),F(te),qi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return Ji(n),null;case 13:if(F(j),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Zn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return F(j),null;case 4:return qn(),null;case 10:return Yi(n.type._context),null;case 22:case 23:return au(),null;case 24:return null;default:return null}}var sr=!1,ne=!1,mf=typeof WeakSet=="function"?WeakSet:Set,S=null;function An(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){A(e,n,r)}else t.current=null}function gi(e,n,t){try{t()}catch(r){A(e,n,r)}}var po=!1;function vf(e,n){if(ni=Nr,e=ds(),Bi(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var u=0,o=-1,s=-1,d=0,v=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(o=u+l),m!==i||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++d===l&&(o=u),p===i&&++v===r&&(s=u),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=o===-1||s===-1?null:{start:o,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ti={focusedElem:e,selectionRange:t},Nr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,O=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:_e(n.type,k),O);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(h){A(n,n.return,h)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=po,po=!1,w}function Ct(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&gi(n,t,i)}l=l.next}while(l!==r)}}function br(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function wi(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function aa(e){var n=e.alternate;n!==null&&(e.alternate=null,aa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Re],delete n[It],delete n[ii],delete n[Zc],delete n[Jc])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ca(e){return e.tag===5||e.tag===3||e.tag===4}function mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ca(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ki(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Tr));else if(r!==4&&(e=e.child,e!==null))for(ki(e,n,t),e=e.sibling;e!==null;)ki(e,n,t),e=e.sibling}function Si(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Si(e,n,t),e=e.sibling;e!==null;)Si(e,n,t),e=e.sibling}var Z=null,Ne=!1;function Ke(e,n,t){for(t=t.child;t!==null;)fa(e,n,t),t=t.sibling}function fa(e,n,t){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount($r,t)}catch{}switch(t.tag){case 5:ne||An(t,n);case 6:var r=Z,l=Ne;Z=null,Ke(e,n,t),Z=r,Ne=l,Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):Z.removeChild(t.stateNode));break;case 18:Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?xl(e.parentNode,t):e.nodeType===1&&xl(e,t),Mt(e)):xl(Z,t.stateNode));break;case 4:r=Z,l=Ne,Z=t.stateNode.containerInfo,Ne=!0,Ke(e,n,t),Z=r,Ne=l;break;case 0:case 11:case 14:case 15:if(!ne&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,u=i.destroy;i=i.tag,u!==void 0&&(i&2||i&4)&&gi(t,n,u),l=l.next}while(l!==r)}Ke(e,n,t);break;case 1:if(!ne&&(An(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){A(t,n,o)}Ke(e,n,t);break;case 21:Ke(e,n,t);break;case 22:t.mode&1?(ne=(r=ne)||t.memoizedState!==null,Ke(e,n,t),ne=r):Ke(e,n,t);break;default:Ke(e,n,t)}}function vo(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new mf),n.forEach(function(r){var l=xf.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function xe(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=u),r&=~i}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yf(r/1960))-r,10e?16:e,qe===null)var r=!1;else{if(e=qe,qe=null,Hr=0,L&6)throw Error(y(331));var l=L;for(L|=4,S=e.current;S!==null;){var i=S,u=i.child;if(S.flags&16){var o=i.deletions;if(o!==null){for(var s=0;sQ()-ou?kn(e,0):uu|=t),ce(e,n)}function wa(e,n){n===0&&(e.mode&1?(n=bt,bt<<=1,!(bt&130023424)&&(bt=4194304)):n=1);var t=le();e=Qe(e,n),e!==null&&(Qt(e,n,t),ce(e,t))}function Cf(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),wa(e,t)}function xf(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),wa(e,t)}var ka;ka=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||se.current)oe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return oe=!1,ff(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&Cs(n,Rr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;yr(e,n),e=n.pendingProps;var l=Gn(n,te.current);Kn(n,t),l=eu(null,n,r,e,l,t);var i=nu();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,ae(r)?(i=!0,Mr(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Gi(n),l.updater=Jr,n.stateNode=l,l._reactInternals=n,fi(n,r,e,t),n=mi(null,n,r,!0,i,t)):(n.tag=0,I&&i&&Hi(n),re(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(yr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Nf(r),e=_e(r,e),l){case 0:n=pi(null,n,r,e,t);break e;case 1:n=ao(null,n,r,e,t);break e;case 11:n=oo(null,n,r,e,t);break e;case 14:n=so(null,n,r,_e(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),pi(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),ao(e,n,r,l,t);case 3:e:{if(ra(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,zs(e,n),Ir(n,r,null,t);var u=n.memoizedState;if(r=u.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=bn(Error(y(423)),n),n=co(e,n,r,t,l);break e}else if(r!==l){l=bn(Error(y(424)),n),n=co(e,n,r,t,l);break e}else for(de=tn(n.stateNode.containerInfo.firstChild),pe=n,I=!0,ze=null,t=Ms(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Zn(),r===l){n=We(e,n,t);break e}re(e,n,r,t)}n=n.child}return n;case 5:return Ds(n),e===null&&si(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,u=l.children,ri(r,l)?u=null:i!==null&&ri(r,i)&&(n.flags|=32),ta(e,n),re(e,n,u,t),n.child;case 6:return e===null&&si(n),null;case 13:return la(e,n,t);case 4:return Zi(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=Jn(n,null,r,t):re(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),oo(e,n,r,l,t);case 7:return re(e,n,n.pendingProps,t),n.child;case 8:return re(e,n,n.pendingProps.children,t),n.child;case 12:return re(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,i=n.memoizedProps,u=l.value,D(Fr,r._currentValue),r._currentValue=u,i!==null)if(Le(i.value,u)){if(i.children===l.children&&!se.current){n=We(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var o=i.dependencies;if(o!==null){u=i.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Ae(-1,t&-t),s.tag=2;var d=i.updateQueue;if(d!==null){d=d.shared;var v=d.pending;v===null?s.next=s:(s.next=v.next,v.next=s),d.pending=s}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),ai(i.return,t,n),o.lanes|=t;break}s=s.next}}else if(i.tag===10)u=i.type===n.type?null:i.child;else if(i.tag===18){if(u=i.return,u===null)throw Error(y(341));u.lanes|=t,o=u.alternate,o!==null&&(o.lanes|=t),ai(u,t,n),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===n){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}re(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Kn(n,t),l=Se(l),r=r(l),n.flags|=1,re(e,n,r,t),n.child;case 14:return r=n.type,l=_e(r,n.pendingProps),l=_e(r.type,l),so(e,n,r,l,t);case 15:return ea(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),yr(e,n),n.tag=1,ae(r)?(e=!0,Mr(n)):e=!1,Kn(n,t),Ts(n,r,l),fi(n,r,l,t),mi(null,n,r,!0,e,t);case 19:return ia(e,n,t);case 22:return na(e,n,t)}throw Error(y(156,n.tag))};function Sa(e,n){return Yo(e,n)}function _f(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function we(e,n,t,r){return new _f(e,n,t,r)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nf(e){if(typeof e=="function")return fu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Li)return 11;if(e===Mi)return 14}return 2}function on(e,n){var t=e.alternate;return t===null?(t=we(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function kr(e,n,t,r,l,i){var u=2;if(r=e,typeof e=="function")fu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Mn:return Sn(t.children,l,i,n);case Ti:u=8,l|=8;break;case Ol:return e=we(12,t,n,l|2),e.elementType=Ol,e.lanes=i,e;case Il:return e=we(13,t,n,l),e.elementType=Il,e.lanes=i,e;case jl:return e=we(19,t,n,l),e.elementType=jl,e.lanes=i,e;case Lo:return nl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Po:u=10;break e;case To:u=9;break e;case Li:u=11;break e;case Mi:u=14;break e;case Ye:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=we(u,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function Sn(e,n,t,r){return e=we(7,e,r,n),e.lanes=t,e}function nl(e,n,t,r){return e=we(22,e,r,n),e.elementType=Lo,e.lanes=t,e.stateNode={isHidden:!1},e}function Dl(e,n,t){return e=we(6,e,null,n),e.lanes=t,e}function Rl(e,n,t){return n=we(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function zf(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pl(0),this.expirationTimes=pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function du(e,n,t,r,l,i,u,o,s){return e=new zf(e,n,t,o,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=we(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gi(i),e}function Pf(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_a)}catch(e){console.error(e)}}_a(),Co.exports=ve;var Rf=Co.exports;const Of=Pa(Rf);export{Of as b,Rf as r}; diff --git a/assets/index-aXz8NaAs.js b/assets/index-ebcBgdYO.js similarity index 90% rename from assets/index-aXz8NaAs.js rename to assets/index-ebcBgdYO.js index 3f7bb5f9..7320fe20 100644 --- a/assets/index-aXz8NaAs.js +++ b/assets/index-ebcBgdYO.js @@ -1,4 +1,4 @@ -function I(e,t){for(var r=0;rn[u]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var X=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function T(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Z(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,u.get?u:{enumerable:!0,get:function(){return e[n]}})}),r}var O={exports:{}},o={};/** +function A(e,t){for(var r=0;rn[u]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var X=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function D(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Z(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,u.get?u:{enumerable:!0,get:function(){return e[n]}})}),r}var O={exports:{}},o={};/** * @license React * react.production.min.js * @@ -6,4 +6,4 @@ function I(e,t){for(var r=0;r-1&&u%1==0&&u-1&&u%1==0&&u<=Lt}var Ku=Mt,kt=lu,Ut=Ku,jt=cu,Gt="[object Arguments]",Kt="[object Array]",Ht="[object Boolean]",Wt="[object Date]",qt="[object Error]",zt="[object Function]",Vt="[object Map]",Jt="[object Number]",Qt="[object Object]",Yt="[object RegExp]",Xt="[object Set]",Zt="[object String]",u0="[object WeakMap]",e0="[object ArrayBuffer]",r0="[object DataView]",t0="[object Float32Array]",a0="[object Float64Array]",n0="[object Int8Array]",i0="[object Int16Array]",s0="[object Int32Array]",D0="[object Uint8Array]",A0="[object Uint8ClampedArray]",o0="[object Uint16Array]",F0="[object Uint32Array]",S={};S[t0]=S[a0]=S[n0]=S[i0]=S[s0]=S[D0]=S[A0]=S[o0]=S[F0]=!0;S[Gt]=S[Kt]=S[e0]=S[Ht]=S[r0]=S[Wt]=S[qt]=S[zt]=S[Vt]=S[Jt]=S[Qt]=S[Yt]=S[Xt]=S[Zt]=S[u0]=!1;function C0(u){return jt(u)&&Ut(u.length)&&!!S[kt(u)]}var l0=C0;function c0(u){return function(e){return u(e)}}var E0=c0,vu={exports:{}};vu.exports;(function(u,e){var r=be,t=e&&!e.nodeType&&e,a=t&&!0&&u&&!u.nodeType&&u,i=a&&a.exports===t,n=i&&r.process,C=function(){try{var E=a&&a.require&&a.require("util").types;return E||n&&n.binding&&n.binding("util")}catch{}}();u.exports=C})(vu,vu.exports);var f0=vu.exports,p0=l0,B0=E0,ae=f0,ne=ae&&ae.isTypedArray,h0=ne?B0(ne):p0,Ie=h0,d0=dt,v0=Oe,y0=q,g0=Ne,m0=Pe,_0=Ie,x0=Object.prototype,T0=x0.hasOwnProperty;function b0(u,e){var r=y0(u),t=!r&&v0(u),a=!r&&!t&&g0(u),i=!r&&!t&&!a&&_0(u),n=r||t||a||i,C=n?d0(u.length,String):[],E=C.length;for(var f in u)(e||T0.call(u,f))&&!(n&&(f=="length"||a&&(f=="offset"||f=="parent")||i&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||m0(f,E)))&&C.push(f);return C}var S0=b0,$0=Object.prototype;function w0(u){var e=u&&u.constructor,r=typeof e=="function"&&e.prototype||$0;return u===r}var O0=w0;function N0(u,e){return function(r){return u(e(r))}}var Re=N0,P0=Re,I0=P0(Object.keys,Object),R0=I0,L0=O0,M0=R0,k0=Object.prototype,U0=k0.hasOwnProperty;function j0(u){if(!L0(u))return M0(u);var e=[];for(var r in Object(u))U0.call(u,r)&&r!="constructor"&&e.push(r);return e}var G0=j0,K0=Gu,H0=Ku;function W0(u){return u!=null&&H0(u.length)&&!K0(u)}var q0=W0,z0=S0,V0=G0,J0=q0;function Q0(u){return J0(u)?z0(u):V0(u)}var Hu=Q0,Y0=Bt,X0=Hu;function Z0(u,e){return u&&Y0(u,e,X0)}var ua=Z0;function ea(){this.__data__=[],this.size=0}var ra=ea;function ta(u,e){return u===e||u!==u&&e!==e}var Le=ta,aa=Le;function na(u,e){for(var r=u.length;r--;)if(aa(u[r][0],e))return r;return-1}var mu=na,ia=mu,sa=Array.prototype,Da=sa.splice;function Aa(u){var e=this.__data__,r=ia(e,u);if(r<0)return!1;var t=e.length-1;return r==t?e.pop():Da.call(e,r,1),--this.size,!0}var oa=Aa,Fa=mu;function Ca(u){var e=this.__data__,r=Fa(e,u);return r<0?void 0:e[r][1]}var la=Ca,ca=mu;function Ea(u){return ca(this.__data__,u)>-1}var fa=Ea,pa=mu;function Ba(u,e){var r=this.__data__,t=pa(r,u);return t<0?(++this.size,r.push([u,e])):r[t][1]=e,this}var ha=Ba,da=ra,va=oa,ya=la,ga=fa,ma=ha;function uu(u){var e=-1,r=u==null?0:u.length;for(this.clear();++eC))return!1;var f=i.get(u),T=i.get(e);if(f&&T)return f==e&&T==u;var x=-1,F=!0,m=r&Fi?new si:void 0;for(i.set(u,e),i.set(e,u);++x=48&&p<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function f(p){return p===32||p===9||p===11||p===12||p===160||p>=5760&&r.indexOf(p)>=0}function T(p){return p===10||p===13||p===8232||p===8233}function x(p){if(p<=65535)return String.fromCharCode(p);var I=String.fromCharCode(Math.floor((p-65536)/1024)+55296),L=String.fromCharCode((p-65536)%1024+56320);return I+L}for(t=new Array(128),i=0;i<128;++i)t[i]=i>=97&&i<=122||i>=65&&i<=90||i===36||i===95;for(a=new Array(128),i=0;i<128;++i)a[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||i===36||i===95;function F(p){return p<128?t[p]:e.NonAsciiIdentifierStart.test(x(p))}function m(p){return p<128?a[p]:e.NonAsciiIdentifierPart.test(x(p))}function v(p){return p<128?t[p]:u.NonAsciiIdentifierStart.test(x(p))}function c(p){return p<128?a[p]:u.NonAsciiIdentifierPart.test(x(p))}Ye.exports={isDecimalDigit:n,isHexDigit:C,isOctalDigit:E,isWhiteSpace:f,isLineTerminator:T,isIdentifierStartES5:F,isIdentifierPartES5:m,isIdentifierStartES6:v,isIdentifierPartES6:c}})();var Xe=Ye.exports,Ze={exports:{}};(function(){var u=Xe;function e(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(F,m){return!m&&F==="yield"?!1:t(F,m)}function t(F,m){if(m&&e(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function a(F,m){return F==="null"||F==="true"||F==="false"||r(F,m)}function i(F,m){return F==="null"||F==="true"||F==="false"||t(F,m)}function n(F){return F==="eval"||F==="arguments"}function C(F){var m,v,c;if(F.length===0||(c=F.charCodeAt(0),!u.isIdentifierStartES5(c)))return!1;for(m=1,v=F.length;m=v||(p=F.charCodeAt(m),!(56320<=p&&p<=57343)))return!1;c=E(c,p)}if(!I(c))return!1;I=u.isIdentifierPartES6}return!0}function T(F,m){return C(F)&&!a(F,m)}function x(F,m){return f(F)&&!i(F,m)}Ze.exports={isKeywordES5:r,isKeywordES6:t,isReservedWordES5:a,isReservedWordES6:i,isRestrictedWord:n,isIdentifierNameES5:C,isIdentifierNameES6:f,isIdentifierES5:T,isIdentifierES6:x}})();var Y1=Ze.exports;(function(){ou.ast=Q1,ou.code=Xe,ou.keyword=Y1})();var Du={},X={};const X1="doctrine",Z1="JSDoc parser",uA="https://github.com/eslint/doctrine",eA="lib/doctrine.js",rA="3.0.0",tA={node:">=6.0.0"},aA={lib:"./lib"},nA=["lib"],iA=[{name:"Nicholas C. Zakas",email:"nicholas+npm@nczconsulting.com",web:"https://www.nczonline.net"},{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"https://github.com/Constellation"}],sA="eslint/doctrine",DA={coveralls:"^3.0.1",dateformat:"^1.0.11",eslint:"^1.10.3","eslint-release":"^1.0.0",linefix:"^0.1.1",mocha:"^3.4.2","npm-license":"^0.3.1",nyc:"^10.3.2",semver:"^5.0.3",shelljs:"^0.5.3","shelljs-nodecli":"^0.1.1",should:"^5.0.1"},AA="Apache-2.0",oA={pretest:"npm run lint",test:"nyc mocha",coveralls:"nyc report --reporter=text-lcov | coveralls",lint:"eslint lib/","generate-release":"eslint-generate-release","generate-alpharelease":"eslint-generate-prerelease alpha","generate-betarelease":"eslint-generate-prerelease beta","generate-rcrelease":"eslint-generate-prerelease rc","publish-release":"eslint-publish-release"},FA={esutils:"^2.0.2"},CA={name:X1,description:Z1,homepage:uA,main:eA,version:rA,engines:tA,directories:aA,files:nA,maintainers:iA,repository:sA,devDependencies:DA,license:AA,scripts:oA,dependencies:FA};function lA(u,e){if(!u)throw new Error(e||"unknown assertion error")}var cA=lA;(function(){var u;u=CA.version,X.VERSION=u;function e(t){this.name="DoctrineError",this.message=t}e.prototype=function(){var t=function(){};return t.prototype=Error.prototype,new t}(),e.prototype.constructor=e,X.DoctrineError=e;function r(t){throw new e(t)}X.throwError=r,X.assert=cA})();(function(){var u,e,r,t,a,i,n,C,E,f,T,x;E=ou,f=X,u={NullableLiteral:"NullableLiteral",AllLiteral:"AllLiteral",NullLiteral:"NullLiteral",UndefinedLiteral:"UndefinedLiteral",VoidLiteral:"VoidLiteral",UnionType:"UnionType",ArrayType:"ArrayType",RecordType:"RecordType",FieldType:"FieldType",FunctionType:"FunctionType",ParameterType:"ParameterType",RestType:"RestType",NonNullableType:"NonNullableType",OptionalType:"OptionalType",NullableType:"NullableType",NameExpression:"NameExpression",TypeApplication:"TypeApplication",StringLiteralType:"StringLiteralType",NumericLiteralType:"NumericLiteralType",BooleanLiteralType:"BooleanLiteralType"},e={ILLEGAL:0,DOT_LT:1,REST:2,LT:3,GT:4,LPAREN:5,RPAREN:6,LBRACE:7,RBRACE:8,LBRACK:9,RBRACK:10,COMMA:11,COLON:12,STAR:13,PIPE:14,QUESTION:15,BANG:16,EQUAL:17,NAME:18,STRING:19,NUMBER:20,EOF:21};function F(s){return"><(){}[],:*|?!=".indexOf(String.fromCharCode(s))===-1&&!E.code.isWhiteSpace(s)&&!E.code.isLineTerminator(s)}function m(s,D,d,o){this._previous=s,this._index=D,this._token=d,this._value=o}m.prototype.restore=function(){i=this._previous,a=this._index,n=this._token,C=this._value},m.save=function(){return new m(i,a,n,C)};function v(s,D){return x&&(s.range=[D[0]+T,D[1]+T]),s}function c(){var s=r.charAt(a);return a+=1,s}function p(s){var D,d,o,A=0;for(d=s==="u"?4:2,D=0;D=0&&a=t)return e.ILLEGAL;if(D=r.charCodeAt(a+1),D===60)break}C+=c()}return e.NAME}function M(){var s;for(i=a;a=t)return n=e.EOF,n;switch(s=r.charCodeAt(a),s){case 39:case 34:return n=I(),n;case 58:return c(),n=e.COLON,n;case 44:return c(),n=e.COMMA,n;case 40:return c(),n=e.LPAREN,n;case 41:return c(),n=e.RPAREN,n;case 91:return c(),n=e.LBRACK,n;case 93:return c(),n=e.RBRACK,n;case 123:return c(),n=e.LBRACE,n;case 125:return c(),n=e.RBRACE,n;case 46:if(a+1=97&&l<=122||l>=65&&l<=90||l>=48&&l<=57}function f(l){return l==="param"||l==="argument"||l==="arg"}function T(l){return l==="return"||l==="returns"}function x(l){return l==="property"||l==="prop"}function F(l){return f(l)||x(l)||l==="alias"||l==="this"||l==="mixes"||l==="requires"}function m(l){return F(l)||l==="const"||l==="constant"}function v(l){return x(l)||f(l)}function c(l){return x(l)||f(l)}function p(l){return f(l)||T(l)||l==="define"||l==="enum"||l==="implements"||l==="this"||l==="type"||l==="typedef"||x(l)}function I(l){return p(l)||l==="throws"||l==="const"||l==="constant"||l==="namespace"||l==="member"||l==="var"||l==="module"||l==="constructor"||l==="class"||l==="extends"||l==="augments"||l==="public"||l==="private"||l==="protected"}var L="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",z="("+L+"*(?:\\*"+L+`?)?)(.+|[\r -\u2028\u2029])`;function M(l){return l.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(z,"g"),"$2").replace(/\s*$/,"")}function _(l,k){for(var B=l.replace(/^\/\*\*?/,""),j=0,G=new RegExp(z,"g"),g;g=G.exec(B);)if(j+=g[1].length,g.index+g[0].length>k+j)return k+j+l.length-B.length;return l.replace(/\*\/$/,"").replace(/\s*$/,"").length}(function(l){var k,B,j,G,g,nu,Eu,V,fu;function $(){var o=g.charCodeAt(B);return B+=1,a.code.isLineTerminator(o)&&!(o===13&&g.charCodeAt(B)===10)&&(j+=1),String.fromCharCode(o)}function $u(){var o="";for($();B=o)return null;if(g.charCodeAt(B)===91)if(A)N=!0,y=$();else return null;if(y+=K(o),h)for(g.charCodeAt(B)===58&&(y==="module"||y==="external"||y==="event")&&(y+=$(),y+=K(o)),g.charCodeAt(B)===91&&g.charCodeAt(B+1)===93&&(y+=$(),y+=$());g.charCodeAt(B)===46||g.charCodeAt(B)===47||g.charCodeAt(B)===35||g.charCodeAt(B)===45||g.charCodeAt(B)===126;)y+=$(),y+=K(o);if(N){if(J(o),g.charCodeAt(B)===61){y+=$(),J(o);for(var R,W=1;B=o||g.charCodeAt(B)!==93)return null;y+=$()}return y}function wu(){for(;B=G?!1:(r.assert(g.charCodeAt(B)===64),!0)}function w(o){return g===nu?o:_(nu,o)}function O(o,A){this._options=o,this._title=A.toLowerCase(),this._tag={title:A,description:null},this._options.lineNumbers&&(this._tag.lineNumber=j),this._first=B-A.length-1,this._last=0,this._extra={}}O.prototype.addError=function(A){var h=Array.prototype.slice.call(arguments,1),y=A.replace(/%(\d)/g,function(N,b){return r.assert(b1&&(this._tag.default=o.slice(1).join("=")),this._tag.name=o[0],this._tag.type&&this._tag.type.type!=="OptionalType"&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!F(this._title))return!0;if(f(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},O.prototype.parseDescription=function(){var A=n(g,B,this._last).trim();return A&&(/^-\s+/.test(A)&&(A=A.substring(2)),this._tag.description=A),!0},O.prototype.parseCaption=function(){var A=n(g,B,this._last).trim(),h="",y="",N=A.indexOf(h),b=A.indexOf(y);return N>=0&&b>=0?(this._tag.caption=A.substring(N+h.length,b).trim(),this._tag.description=A.substring(b+y.length).trim()):this._tag.description=A,!0},O.prototype.parseKind=function(){var A,h;return h={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},A=n(g,B,this._last).trim(),this._tag.kind=A,!(!i(h,A)&&!this.addError("Invalid kind name '%0'",A))},O.prototype.parseAccess=function(){var A;return A=n(g,B,this._last).trim(),this._tag.access=A,!(A!=="private"&&A!=="protected"&&A!=="public"&&!this.addError("Invalid access name '%0'",A))},O.prototype.parseThis=function(){var A=n(g,B,this._last).trim();if(A&&A.charAt(0)==="{"){var h=this.parseType();return h&&this._tag.type.type==="NameExpression"||this._tag.type.type==="UnionType"?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this")}else return this.parseNamePath()},O.prototype.parseVariation=function(){var A,h;return h=n(g,B,this._last).trim(),A=parseFloat(h,10),this._tag.variation=A,!(isNaN(A)&&!this.addError("Invalid variation '%0'",h))},O.prototype.ensureEnd=function(){var o=n(g,B,this._last).trim();return!(o&&!this.addError("Unknown content '%0'",o))},O.prototype.epilogue=function(){var A;return A=this._tag.description,!(c(this._title)&&!this._tag.type&&A&&A.charAt(0)==="["&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!V&&!this.addError("Missing or invalid tag name")))},k={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},O.prototype.parse=function(){var A,h,y,N;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=iu(this._title),this._options.range&&(this._tag.range=[this._first,g.slice(0,this._last).replace(/\s*$/,"").length].map(w)),i(k,this._title)?y=k[this._title]:y=["parseType","parseName","parseDescription","epilogue"],A=0,h=y.length;Au.replace(er,""),BA=u=>er.test(u),rr=u=>{let e=pA(u);return BA(u)||Number.isNaN(Number(e))?e:Number(e)},hA=u=>{switch(u.type){case"function":return{name:"function"};case"object":let e={};return u.signature.properties.forEach(r=>{e[r.key]=Fu(r.value)}),{name:"object",value:e};default:throw new ur({type:u,language:"Typescript"})}},Fu=u=>{var a,i,n,C;let{name:e,raw:r}=u,t={};switch(typeof r<"u"&&(t.raw=r),u.name){case"string":case"number":case"symbol":case"boolean":return{...t,name:e};case"Array":return{...t,name:"array",value:u.elements.map(Fu)};case"signature":return{...t,...hA(u)};case"union":let E;return(a=u.elements)!=null&&a.every(f=>f.name==="literal")?E={...t,name:"enum",value:(i=u.elements)==null?void 0:i.map(f=>rr(f.value))}:E={...t,name:e,value:(n=u.elements)==null?void 0:n.map(Fu)},E;case"intersection":return{...t,name:e,value:(C=u.elements)==null?void 0:C.map(Fu)};default:return{...t,name:"other",value:e}}},dA=u=>u.name==="literal",vA=u=>u.value.replace(/['|"]/g,""),yA=u=>{switch(u.type){case"function":return{name:"function"};case"object":let e={};return u.signature.properties.forEach(r=>{e[r.key]=Cu(r.value)}),{name:"object",value:e};default:throw new ur({type:u,language:"Flow"})}},Cu=u=>{var a,i,n,C;let{name:e,raw:r}=u,t={};switch(typeof r<"u"&&(t.raw=r),u.name){case"literal":return{...t,name:"other",value:u.value};case"string":case"number":case"symbol":case"boolean":return{...t,name:e};case"Array":return{...t,name:"array",value:u.elements.map(Cu)};case"signature":return{...t,...yA(u)};case"union":return(a=u.elements)!=null&&a.every(dA)?{...t,name:"enum",value:(i=u.elements)==null?void 0:i.map(vA)}:{...t,name:e,value:(n=u.elements)==null?void 0:n.map(Cu)};case"intersection":return{...t,name:e,value:(C=u.elements)==null?void 0:C.map(Cu)};default:return{...t,name:"other",value:e}}},gA=/^\(.*\) => /,Au=u=>{let{name:e,raw:r,computed:t,value:a}=u,i={};switch(typeof r<"u"&&(i.raw=r),e){case"enum":{let C=t?a:a.map(E=>rr(E.value));return{...i,name:e,value:C}}case"string":case"number":case"symbol":return{...i,name:e};case"func":return{...i,name:"function"};case"bool":case"boolean":return{...i,name:"boolean"};case"arrayOf":case"array":return{...i,name:"array",value:a&&Au(a)};case"object":return{...i,name:e};case"objectOf":return{...i,name:e,value:Au(a)};case"shape":case"exact":let n=z1(a,C=>Au(C));return{...i,name:"object",value:n};case"union":return{...i,name:"union",value:a.map(C=>Au(C))};case"instanceOf":case"element":case"elementType":default:{if((e==null?void 0:e.indexOf("|"))>0)try{let f=e.split("|").map(T=>JSON.parse(T));return{...i,name:"enum",value:f}}catch{}let C=a?`${e}(${a})`:e,E=gA.test(e)?"function":"other";return{...i,name:E,value:C}}}},Qu=u=>{let{type:e,tsType:r,flowType:t}=u;try{if(e!=null)return Au(e);if(r!=null)return Fu(r);if(t!=null)return Cu(t)}catch(a){console.error(a)}return null},mA=(u=>(u.JAVASCRIPT="JavaScript",u.FLOW="Flow",u.TYPESCRIPT="TypeScript",u.UNKNOWN="Unknown",u))(mA||{}),_A=["null","undefined"];function Yu(u){return _A.some(e=>e===u)}var xA=u=>{if(!u)return"";if(typeof u=="string")return u;throw new Error(`Description: expected string, got: ${JSON.stringify(u)}`)};function tr(u){return!!u.__docgenInfo}function TA(u){return u!=null&&Object.keys(u).length>0}function bA(u,e){return tr(u)?u.__docgenInfo[e]:null}function SA(u){return tr(u)?xA(u.__docgenInfo.description):""}function $A(u){return u!=null&&u.includes("@")}function wA(u,e){let r;try{r=EA.parse(u??"",{tags:e,sloppy:!0})}catch(t){throw console.error(t),new Error("Cannot parse JSDoc tags.")}return r}var OA={tags:["param","arg","argument","returns","ignore","deprecated"]},NA=(u,e=OA)=>{if(!$A(u))return{includesJsDoc:!1,ignore:!1};let r=wA(u,e.tags),t=PA(r);return t.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description,extractedTags:t}};function PA(u){let e={params:null,deprecated:null,returns:null,ignore:!1};for(let r=0;re.includes("null")?e.replace("-null","").replace(".null",""):u.name,getTypeName:()=>u.type!=null?Z(u.type):null}:null}function RA(u){return u.title!=null?u.description:null}function LA(u){return u.type!=null?{type:u.type,description:u.description,getTypeName:()=>Z(u.type)}:null}function Z(u){return(u==null?void 0:u.type)==="NameExpression"?u.name:(u==null?void 0:u.type)==="RecordType"?`({${u.fields.map(e=>{if(e.type==="FieldType"&&e.value!=null){let r=Z(e.value);return`${e.key}: ${r}`}return e.key}).join(", ")}})`:(u==null?void 0:u.type)==="UnionType"?`(${u.elements.map(Z).join("|")})`:(u==null?void 0:u.type)==="ArrayType"?"[]":(u==null?void 0:u.type)==="TypeApplication"&&u.expression!=null&&u.expression.name==="Array"?`${Z(u.applications[0])}[]`:(u==null?void 0:u.type)==="NullableType"||(u==null?void 0:u.type)==="NonNullableType"||(u==null?void 0:u.type)==="OptionalType"?Z(u.expression):(u==null?void 0:u.type)==="AllLiteral"?"any":null}function ar(u){return u.length>90}function MA(u){return u.length>50}function P(u,e){return u===e?{summary:u}:{summary:u,detail:e}}function nr({name:u,value:e,elements:r,raw:t}){return e??(r!=null?r.map(nr).join(" | "):t??u)}function kA({name:u,raw:e,elements:r}){return r!=null?P(r.map(nr).join(" | ")):e!=null?P(e.replace(/^\|\s*/,"")):P(u)}function UA({type:u,raw:e}){return e!=null?P(e):P(u)}function jA({type:u,raw:e}){return e!=null?ar(e)?P(u,e):P(e):P(u)}function GA(u){let{type:e}=u;return e==="object"?jA(u):UA(u)}function KA({name:u,raw:e}){return e!=null?ar(e)?P(u,e):P(e):P(u)}function HA(u){if(u==null)return null;switch(u.name){case"union":return kA(u);case"signature":return GA(u);default:return KA(u)}}function WA(u,e){if(u!=null){let{value:r}=u;if(!Yu(r))return MA(r)?P(e==null?void 0:e.name,r):P(r)}return null}var qA=(u,e)=>{let{flowType:r,description:t,required:a,defaultValue:i}=e;return{name:u,type:HA(r),required:a,description:t,defaultValue:WA(i??null,r??null)}};function zA({tsType:u,required:e}){if(u==null)return null;let r=u.name;return e||(r=r.replace(" | undefined","")),P(["Array","Record","signature"].includes(u.name)?u.raw:r)}function VA({defaultValue:u}){if(u!=null){let{value:e}=u;if(!Yu(e))return P(e)}return null}var JA=(u,e)=>{let{description:r,required:t}=e;return{name:u,type:zA(e),required:t,description:r,defaultValue:VA(e)}};function QA(u){return u!=null?P(u.name):null}function YA(u){let{computed:e,func:r}=u;return typeof e>"u"&&typeof r>"u"}function XA(u){return u?u.name==="string"?!0:u.name==="enum"?Array.isArray(u.value)&&u.value.every(({value:e})=>typeof e=="string"&&e[0]==='"'&&e[e.length-1]==='"'):!1:!1}function ZA(u,e){if(u!=null){let{value:r}=u;if(!Yu(r))return YA(u)&&XA(e)?P(JSON.stringify(r)):P(r)}return null}function ir(u,e,r){let{description:t,required:a,defaultValue:i}=r;return{name:u,type:QA(e),required:a,description:t,defaultValue:ZA(i,e)}}function Su(u,e){var r;if(e!=null&&e.includesJsDoc){let{description:t,extractedTags:a}=e;t!=null&&(u.description=e.description);let i={...a,params:(r=a==null?void 0:a.params)==null?void 0:r.map(n=>({name:n.getPrettyName(),description:n.description}))};Object.values(i).filter(Boolean).length>0&&(u.jsDocTags=i)}return u}var uo=(u,e,r)=>{let t=ir(u,e.type,e);return t.sbType=Qu(e),Su(t,r)},eo=(u,e,r)=>{let t=JA(u,e);return t.sbType=Qu(e),Su(t,r)},ro=(u,e,r)=>{let t=qA(u,e);return t.sbType=Qu(e),Su(t,r)},to=(u,e,r)=>{let t=ir(u,{name:"unknown"},e);return Su(t,r)},sr=u=>{switch(u){case"JavaScript":return uo;case"TypeScript":return eo;case"Flow":return ro;default:return to}},Dr=u=>u.type!=null?"JavaScript":u.flowType!=null?"Flow":u.tsType!=null?"TypeScript":"Unknown",ao=u=>{let e=Dr(u[0]),r=sr(e);return u.map(t=>{var i;let a=t;return(i=t.type)!=null&&i.elements&&(a={...t,type:{...t.type,value:t.type.elements}}),Ar(a.name,a,e,r)})},no=u=>{let e=Object.keys(u),r=Dr(u[e[0]]),t=sr(r);return e.map(a=>{let i=u[a];return i!=null?Ar(a,i,r,t):null}).filter(Boolean)},Fo=(u,e)=>{let r=bA(u,e);return TA(r)?Array.isArray(r)?ao(r):no(r):[]};function Ar(u,e,r,t){let a=NA(e.description);return a.includesJsDoc&&a.ignore?null:{propDef:t(u,e,a),jsDocTags:a.extractedTags,docgenInfo:e,typeSystem:r}}function Co(u){return u!=null?SA(u):""}var lo=u=>{let{component:e,argTypes:r,parameters:{docs:t={}}}=u,{extractArgTypes:a}=t,i=a&&e?a(e):{};return i?fA(i,r):r},io="storybook/docs",co=`${io}/snippet-rendered`,so=(u=>(u.AUTO="auto",u.CODE="code",u.DYNAMIC="dynamic",u))(so||{});export{O0 as A,S0 as B,q0 as C,Hi as D,bD as E,j1 as F,ys as G,hi as H,ri as I,ii as J,Hu as K,Ei as L,gu as M,Ns as N,f0 as O,E0 as P,Me as Q,Ne as R,co as S,mA as T,ns as U,H as _,zu as a,lu as b,oo as c,cu as d,q as e,Co as f,lo as g,P as h,ju as i,bA as j,so as k,Ao as l,tr as m,Fo as n,MA as o,ar as p,lt as q,Le as r,ze as s,Pe as t,ou as u,bu as v,Ve as w,Ui as x,us as y,Vi as z}; diff --git a/assets/inline-alert.stories-YudhdemP.js b/assets/inline-alert.stories-DgspFDa0.js similarity index 88% rename from assets/inline-alert.stories-YudhdemP.js rename to assets/inline-alert.stories-DgspFDa0.js index c8528965..74132e6e 100644 --- a/assets/inline-alert.stories-YudhdemP.js +++ b/assets/inline-alert.stories-DgspFDa0.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-DvLKfCe6.js";import{c as o}from"./class-names-J070TWId.js";import{c as w,d as j,e as S,f as _}from"./zoom-to-fit-icon-D5bxa5rH.js";import{g as A}from"./storybook-utils-8tYEDzov.js";import"./index-aXz8NaAs.js";const b={info:"text-primary-600",danger:"text-danger-500",success:"text-success-500",warning:"text-warning-600"},T={info:"fill-primary-400",danger:"fill-danger-400",success:"fill-success-400",warning:"fill-warning-500"},V={info:w,success:j,warning:S,danger:_},i=({title:r,className:l,children:n,intent:c="info"})=>{const y=V[c],N=b[c],h=T[c];return e.jsxs("div",{className:o("flex w-full text-sm",l),children:[e.jsx("div",{className:"mr-4 w-4 grow-0 pt-0.5",children:e.jsx(y,{className:h})}),e.jsxs("div",{className:"w-full",children:[e.jsx("h1",{className:o("font-medium",N),children:r}),n?e.jsx("div",{className:"mt-2",children:n}):null]})]})};try{i.displayName="InlineAlert",i.__docgenInfo={description:"",displayName:"InlineAlert",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},intent:{defaultValue:{value:"info"},description:"",name:"intent",required:!1,type:{name:"enum",value:[{value:'"success"'},{value:'"info"'},{value:'"warning"'},{value:'"danger"'}]}}}}}catch{}const q=["info","success","warning","danger"],D={component:i,title:"Inline Alert",parameters:A("Inline alert text to inform user about contextual things"),args:{title:"Alert title",children:"Alert text"}},t={},s={argTypes:{intent:{table:{disable:!0}}},render:({children:r,...l})=>e.jsx("div",{className:"flex flex-col gap-4",children:q.map(n=>e.jsx(i,{...l,intent:n,children:r},n))})},a={...s,args:{children:void 0}};var d,m,u;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(u=(m=t.parameters)==null?void 0:m.docs)==null?void 0:u.source}}};var p,g,f;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-B57y5fZt.js";import{c as o}from"./class-names-B8CnD4Xb.js";import{c as w,d as j,e as S,f as _}from"./zoom-to-fit-icon-DLvbqD3B.js";import{g as A}from"./storybook-utils-C5xEhci0.js";import"./index-ebcBgdYO.js";const b={info:"text-primary-600",danger:"text-danger-500",success:"text-success-500",warning:"text-warning-600"},T={info:"fill-primary-400",danger:"fill-danger-400",success:"fill-success-400",warning:"fill-warning-500"},V={info:w,success:j,warning:S,danger:_},i=({title:r,className:l,children:n,intent:c="info"})=>{const y=V[c],N=b[c],h=T[c];return e.jsxs("div",{className:o("flex w-full text-sm",l),children:[e.jsx("div",{className:"mr-4 w-4 grow-0 pt-0.5",children:e.jsx(y,{className:h})}),e.jsxs("div",{className:"w-full",children:[e.jsx("h1",{className:o("font-medium",N),children:r}),n?e.jsx("div",{className:"mt-2",children:n}):null]})]})};try{i.displayName="InlineAlert",i.__docgenInfo={description:"",displayName:"InlineAlert",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},intent:{defaultValue:{value:"info"},description:"",name:"intent",required:!1,type:{name:"enum",value:[{value:'"success"'},{value:'"warning"'},{value:'"danger"'},{value:'"info"'}]}}}}}catch{}const q=["info","success","warning","danger"],D={component:i,title:"Inline Alert",parameters:A("Inline alert text to inform user about contextual things"),args:{title:"Alert title",children:"Alert text"}},t={},s={argTypes:{intent:{table:{disable:!0}}},render:({children:r,...l})=>e.jsx("div",{className:"flex flex-col gap-4",children:q.map(n=>e.jsx(i,{...l,intent:n,children:r},n))})},a={...s,args:{children:void 0}};var d,m,u;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(u=(m=t.parameters)==null?void 0:m.docs)==null?void 0:u.source}}};var p,g,f;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:`{ argTypes: { intent: { table: { diff --git a/assets/jsx-runtime-DvLKfCe6.js b/assets/jsx-runtime-B57y5fZt.js similarity index 93% rename from assets/jsx-runtime-DvLKfCe6.js rename to assets/jsx-runtime-B57y5fZt.js index a4caec5d..d7792cd8 100644 --- a/assets/jsx-runtime-DvLKfCe6.js +++ b/assets/jsx-runtime-B57y5fZt.js @@ -1,4 +1,4 @@ -import{r as l}from"./index-aXz8NaAs.js";var f={exports:{}},n={};/** +import{r as l}from"./index-ebcBgdYO.js";var f={exports:{}},n={};/** * @license React * react-jsx-runtime.production.min.js * diff --git a/assets/keyboard-NjAwe_S6.js b/assets/keyboard-6YZ08te-.js similarity index 77% rename from assets/keyboard-NjAwe_S6.js rename to assets/keyboard-6YZ08te-.js index 24ac59de..6a89077f 100644 --- a/assets/keyboard-NjAwe_S6.js +++ b/assets/keyboard-6YZ08te-.js @@ -1 +1 @@ -import{R as a}from"./index-aXz8NaAs.js";import{a as r,s as t,l as p}from"./render-THca3tYe.js";var n;let u=(n=a.useId)!=null?n:function(){let e=r(),[o,l]=a.useState(e?()=>t.nextId():null);return p(()=>{o===null&&l(t.nextId())},[o]),o!=null?""+o:void 0};var w=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(w||{});export{u as I,w as o}; +import{R as a}from"./index-ebcBgdYO.js";import{a as r,s as t,l as p}from"./render-BBULYOlI.js";var n;let u=(n=a.useId)!=null?n:function(){let e=r(),[o,l]=a.useState(e?()=>t.nextId():null);return p(()=>{o===null&&l(t.nextId())},[o]),o!=null?""+o:void 0};var w=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(w||{});export{u as I,w as o}; diff --git a/assets/label-tTJj5301.js b/assets/label-DM5sTrnd.js similarity index 92% rename from assets/label-tTJj5301.js rename to assets/label-DM5sTrnd.js index 54eb81fb..704fbfa5 100644 --- a/assets/label-tTJj5301.js +++ b/assets/label-DM5sTrnd.js @@ -1 +1 @@ -import{r as i,R as g}from"./index-aXz8NaAs.js";import{o as f,D as b,y as v,l as y,X as T}from"./render-THca3tYe.js";import{I as S}from"./keyboard-NjAwe_S6.js";function k(t={},n=null,e=[]){for(let[o,r]of Object.entries(t))d(e,p(n,o),r);return e}function p(t,n){return t?t+"["+n+"]":n}function d(t,n,e){if(Array.isArray(e))for(let[o,r]of e.entries())d(t,p(n,o.toString()),r);else e instanceof Date?t.push([n,e.toISOString()]):typeof e=="boolean"?t.push([n,e?"1":"0"]):typeof e=="string"?t.push([n,e]):typeof e=="number"?t.push([n,`${e}`]):e==null?t.push([n,""]):k(e,n,t)}function P(t){var n,e;let o=(n=t==null?void 0:t.form)!=null?n:t.closest("form");if(o){for(let r of o.elements)if(r!==t&&(r.tagName==="INPUT"&&r.type==="submit"||r.tagName==="BUTTON"&&r.type==="submit"||r.nodeName==="INPUT"&&r.type==="image")){r.click();return}(e=o.requestSubmit)==null||e.call(o)}}function R(t,n,e){let[o,r]=i.useState(e),l=t!==void 0,u=i.useRef(l),s=i.useRef(!1),a=i.useRef(!1);return l&&!u.current&&!s.current?(s.current=!0,u.current=l,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!l&&u.current&&!a.current&&(a.current=!0,u.current=l,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[l?t:o,f(c=>(l||r(c),n==null?void 0:n(c)))]}let m=i.createContext(null);function h(){let t=i.useContext(m);if(t===null){let n=new Error("You used a