From 2d9c2911b48041d085f865dbab407b868eb5e6b9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 22:39:44 +0000 Subject: [PATCH] deploy: fce10b05f0f0fbb82df21b9ba3b71c2bb7c99fb0 --- 404.html | 10 +++++----- assets/css/styles.21cb559a.css | 1 + assets/css/styles.490d145a.css | 1 - assets/js/0f6bc27b.c8e7e4a7.js | 1 - assets/js/0f6bc27b.d07a1751.js | 1 + assets/js/13c4e3bb.80703ae5.js | 1 - assets/js/13c4e3bb.b79295a8.js | 1 + assets/js/17896441.1a2f4372.js | 1 + assets/js/17896441.28b37a0d.js | 1 - assets/js/193.2e4b0181.js | 1 + assets/js/1be78505.13faff4b.js | 1 + assets/js/1be78505.50ad97e7.js | 1 - assets/js/22f348d2.4b9b5eac.js | 1 + assets/js/22f348d2.7ee9352d.js | 1 - assets/js/28e78d68.a9650a1a.js | 1 - assets/js/28e78d68.c48c387d.js | 1 + assets/js/366a509e.a9292136.js | 1 - assets/js/366a509e.d5924e3a.js | 1 + assets/js/3a56c823.93ee3602.js | 1 - assets/js/3a56c823.b299898e.js | 1 + assets/js/3ec8ed95.3cc4fa62.js | 1 - assets/js/3ec8ed95.88d9b5d3.js | 1 + assets/js/5fbc5cf1.1d3098f8.js | 1 - assets/js/5fbc5cf1.9e90bde2.js | 1 + assets/js/64f7982e.14b3f1ac.js | 1 - assets/js/64f7982e.d798e35c.js | 1 + assets/js/670.85b5b7f9.js | 2 -- assets/js/670.85b5b7f9.js.LICENSE.txt | 1 - assets/js/6ebfbd9a.4e5574c0.js | 1 + assets/js/6ebfbd9a.578d5a9a.js | 1 - assets/js/80ab3120.0bd0b20e.js | 1 + assets/js/80ab3120.ded4a173.js | 1 - assets/js/859.2acfc751.js | 1 + assets/js/859.8276f4fa.js | 1 - assets/js/878f79e1.1f88265b.js | 1 - assets/js/878f79e1.8425645a.js | 1 + assets/js/88d09b9b.75650fd9.js | 1 + assets/js/88d09b9b.8671656c.js | 1 - assets/js/935f2afb.5e6b94ed.js | 1 + assets/js/935f2afb.ef62f291.js | 1 - assets/js/972.3ccd22ab.js | 1 - assets/js/972.b43202c5.js | 1 + assets/js/c4f5d8e4.063e8d03.js | 1 + assets/js/c4f5d8e4.86f346cc.js | 1 - assets/js/common.3ea66e67.js | 2 ++ ...d.js.LICENSE.txt => common.3ea66e67.js.LICENSE.txt} | 0 assets/js/common.d7b5a18d.js | 2 -- assets/js/e56b3d68.6c84bca0.js | 1 - assets/js/e56b3d68.81114682.js | 1 + assets/js/f7176354.82bb532b.js | 1 - assets/js/f7176354.a32584ac.js | 1 + assets/js/main.4fb47343.js | 2 ++ ...aed.js.LICENSE.txt => main.4fb47343.js.LICENSE.txt} | 0 assets/js/main.8de11aed.js | 2 -- assets/js/runtime~main.5a69a430.js | 1 + assets/js/runtime~main.9db00f63.js | 1 - docs/api.html | 10 +++++----- docs/examples-Basic.html | 10 +++++----- docs/examples-ControlledExpandedNode.html | 10 +++++----- docs/examples-DataTypes.html | 10 +++++----- docs/examples-DirectoryTree.html | 10 +++++----- docs/examples-Filtering.html | 10 +++++----- docs/examples-MultiSelectCheckbox.html | 10 +++++----- docs/examples-MultiSelectCheckboxAsync.html | 10 +++++----- docs/examples-MultiSelectCheckboxAsyncControlled.html | 10 +++++----- docs/examples-MultiSelectCheckboxControlled.html | 10 +++++----- docs/examples-MultiSelectCheckboxDisabled.html | 10 +++++----- docs/examples-MultiSelectDirectoryTree.html | 10 +++++----- docs/examples-SingleSelectCheckbox.html | 10 +++++----- index.html | 10 +++++----- 70 files changed, 103 insertions(+), 105 deletions(-) create mode 100644 assets/css/styles.21cb559a.css delete mode 100644 assets/css/styles.490d145a.css delete mode 100644 assets/js/0f6bc27b.c8e7e4a7.js create mode 100644 assets/js/0f6bc27b.d07a1751.js delete mode 100644 assets/js/13c4e3bb.80703ae5.js create mode 100644 assets/js/13c4e3bb.b79295a8.js create mode 100644 assets/js/17896441.1a2f4372.js delete mode 100644 assets/js/17896441.28b37a0d.js create mode 100644 assets/js/193.2e4b0181.js create mode 100644 assets/js/1be78505.13faff4b.js delete mode 100644 assets/js/1be78505.50ad97e7.js create mode 100644 assets/js/22f348d2.4b9b5eac.js delete mode 100644 assets/js/22f348d2.7ee9352d.js delete mode 100644 assets/js/28e78d68.a9650a1a.js create mode 100644 assets/js/28e78d68.c48c387d.js delete mode 100644 assets/js/366a509e.a9292136.js create mode 100644 assets/js/366a509e.d5924e3a.js delete mode 100644 assets/js/3a56c823.93ee3602.js create mode 100644 assets/js/3a56c823.b299898e.js delete mode 100644 assets/js/3ec8ed95.3cc4fa62.js create mode 100644 assets/js/3ec8ed95.88d9b5d3.js delete mode 100644 assets/js/5fbc5cf1.1d3098f8.js create mode 100644 assets/js/5fbc5cf1.9e90bde2.js delete mode 100644 assets/js/64f7982e.14b3f1ac.js create mode 100644 assets/js/64f7982e.d798e35c.js delete mode 100644 assets/js/670.85b5b7f9.js delete mode 100644 assets/js/670.85b5b7f9.js.LICENSE.txt create mode 100644 assets/js/6ebfbd9a.4e5574c0.js delete mode 100644 assets/js/6ebfbd9a.578d5a9a.js create mode 100644 assets/js/80ab3120.0bd0b20e.js delete mode 100644 assets/js/80ab3120.ded4a173.js create mode 100644 assets/js/859.2acfc751.js delete mode 100644 assets/js/859.8276f4fa.js delete mode 100644 assets/js/878f79e1.1f88265b.js create mode 100644 assets/js/878f79e1.8425645a.js create mode 100644 assets/js/88d09b9b.75650fd9.js delete mode 100644 assets/js/88d09b9b.8671656c.js create mode 100644 assets/js/935f2afb.5e6b94ed.js delete mode 100644 assets/js/935f2afb.ef62f291.js delete mode 100644 assets/js/972.3ccd22ab.js create mode 100644 assets/js/972.b43202c5.js create mode 100644 assets/js/c4f5d8e4.063e8d03.js delete mode 100644 assets/js/c4f5d8e4.86f346cc.js create mode 100644 assets/js/common.3ea66e67.js rename assets/js/{common.d7b5a18d.js.LICENSE.txt => common.3ea66e67.js.LICENSE.txt} (100%) delete mode 100644 assets/js/common.d7b5a18d.js delete mode 100644 assets/js/e56b3d68.6c84bca0.js create mode 100644 assets/js/e56b3d68.81114682.js delete mode 100644 assets/js/f7176354.82bb532b.js create mode 100644 assets/js/f7176354.a32584ac.js create mode 100644 assets/js/main.4fb47343.js rename assets/js/{main.8de11aed.js.LICENSE.txt => main.4fb47343.js.LICENSE.txt} (100%) delete mode 100644 assets/js/main.8de11aed.js create mode 100644 assets/js/runtime~main.5a69a430.js delete mode 100644 assets/js/runtime~main.9db00f63.js diff --git a/404.html b/404.html index 26714265..7b680f0e 100644 --- a/404.html +++ b/404.html @@ -3,14 +3,14 @@ -Page Not Found | react-accessible-treeview - - +Page Not Found | react-accessible-treeview + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- - + + \ No newline at end of file diff --git a/assets/css/styles.21cb559a.css b/assets/css/styles.21cb559a.css new file mode 100644 index 00000000..07917ec4 --- /dev/null +++ b/assets/css/styles.21cb559a.css @@ -0,0 +1 @@ +.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.toggleButton_gllP,html{-webkit-tap-highlight-color:transparent}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:#0000;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:#0000000d;--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 #0000001a;--ifm-global-shadow-md:0 5px 40px #0003;--ifm-global-shadow-tl:0 12px 28px 0 #0003,0 2px 4px 0 #0000001a;--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:#0000;--ifm-table-stripe-background:#00000008;--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#25c2a0;--ifm-color-primary-dark:#21af90;--ifm-color-primary-darker:#1fa588;--ifm-color-primary-darkest:#1a8870;--ifm-color-primary-light:#46cbae;--ifm-color-primary-lighter:#66d4bd;--ifm-color-primary-lightest:#92e0d0;--docusaurus-announcement-bar-height:auto;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docusaurus-collapse-button-bg:#0000;--docusaurus-collapse-button-bg-hover:#0000001a;--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px;--reach-tooltip:1}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:#0000}*{box-sizing:border-box;box-sizing:inherit}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_NmtK,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid #0000001a;border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:initial;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_tbUL,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{list-style:none;padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:#3578e526;--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:#ebedf026;--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:#00a40026;--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:#54c7ec26;--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:#ffba0026;--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:#fa383e26;--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.card--full-height,.navbar__logo img,body,html{height:100%}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:any-link:hover,.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:#0000;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]),[data-reach-tooltip]{pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;list-style:none;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_Djhp article>:first-child,.docItemContainer_Djhp header+*,.footer__item{margin-top:0}.admonitionContent_S0QG>:last-child,.collapsibleContent_i85q>:last-child,.footer__items{margin-bottom:0}.codeBlockStandalone_MEMb,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{list-style:none;margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.checkbox .arrow--open,.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before,.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.filtered .arrow--open,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;left:0;top:0;visibility:hidden}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter);content:""}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:-webkit-sticky;position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_xLdY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.code-tabs li+li,.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:#ffffff1a;--ifm-navbar-search-input-placeholder-color:#ffffff80;color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:#ffffff0d;--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);position:fixed;transform:translate3d(-100%,0,0);transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:#0009;position:fixed;right:0;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#ffffff1a;--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:#ffffff12;--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}.visually-hidden{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:absolute!important}.basic .tree-branch-wrapper,.basic .tree-node__leaf,.checkbox .tree-branch-wrapper,.checkbox .tree-node__leaf,.directory .tree-branch-wrapper,.directory .tree-node__leaf,.filtered .tree-branch-wrapper,.ide .tree-branch-wrapper,.ide .tree-node__leaf,[data-reach-tab-panel],body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#__docusaurus-base-url-issue-banner-container,.docSidebarContainer_b6E3,.sidebarLogo_isFc,.themedImage_ToTc,[data-theme=dark] .lightToggleIcon_pyhR,[data-theme=light] .darkToggleIcon_wfgR,html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}.skipToContent_fXgn{background-color:var(--ifm-background-surface-color);color:var(--ifm-color-emphasis-900);left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem;z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{line-height:0;padding:0}.content_knG7{font-size:85%;padding:5px 0;text-align:center}.content_knG7 a{color:inherit;text-decoration:underline}.announcementBar_mb4j{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{align-self:stretch;flex:0 0 30px}.toggle_vylO{height:2rem;width:2rem}.toggleButton_gllP{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_aARS{cursor:not-allowed}.darkNavbarColorModeToggle_X3D1:hover{background:var(--ifm-color-gray-800)}[data-theme=dark] .themedImage--dark_i4oU,[data-theme=light] .themedImage--light_HNdA,html:not([data-theme]) .themedComponent--light_NU7w{display:initial}.iconExternalLink_nPIU{margin-left:.3rem}.iconLanguage_nlXk{margin-right:5px;vertical-align:text-bottom}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_jGov{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_a6uf{color:red;white-space:pre-wrap}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.mainWrapper_z2l0{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.iconEdit_Z9Sw{margin-right:.3em;vertical-align:sub}.admonitionIcon_kALy,.checkbox .arrow,.directory .icon,.filtered .arrow,.ide .icon,[data-reach-tab],[data-reach-tabs] svg{vertical-align:middle}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_h2kH{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_h2kH:after,.tagWithCount_h2kH:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_h2kH:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tags_jXut{display:inline}.tag_QGVx{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_vwxv{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_TO0P{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_TO0P:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_MG3E:after,.tocCollapsibleExpanded_sAul{transform:none}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.tocCollapsibleContent_vkbj a{display:block}.tableOfContents_bqdL{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:-webkit-sticky;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.backToTopButton_sjWU:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_xfvO{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:#ffffff0d;--docusaurus-collapse-button-bg-hover:#ffffff1a}.collapseSidebarButton_PEFL{display:none;margin:0}.docMainContainer_gTbr,.docPage__5DB{display:flex;width:100%}.docPage__5DB{flex:1 0}.docsWrapper_BCFX{display:flex;flex:1 0 auto}.basic.tree{list-style:none;margin:0;padding:20px}.basic .tree-node,.basic .tree-node-group,.checkbox .tree,.checkbox .tree-node,.checkbox .tree-node-group,.directory .tree,.directory .tree-node,.directory .tree-node-group,.filtered .tree,.filtered .tree-node,.filtered .tree-node-group,.ide .tree,.ide .tree-node,.ide .tree-node-group{list-style:none;margin:0;padding:0}.basic .tree-node--focused{display:block;outline:#4d90fe auto 2px}.basic .tree-node__branch,.directory .tree-node__branch,.ide .tree-node__branch{display:block}.basic .tree-node{cursor:pointer}.heroBanner_UJJx{overflow:hidden;padding:4rem 0;position:relative;text-align:center}.buttons_pzbO{justify-content:center}.buttons_pzbO,.features_keug{align-items:center;display:flex}.features_keug{padding:2rem 0;width:100%}.featureImage_yA8i{height:200px;width:200px}.checkbox,.filtered{box-sizing:initial;font-size:16px;min-height:320px;padding:20px;-webkit-user-select:none;user-select:none}.filtered .tree-node{cursor:pointer;display:inline-block}.checkbox .tree-node .name:hover,.filtered .tree-node .name:hover{background:#0000001a}.checkbox .tree-node--focused .name,.filtered .tree-node--focused .name{background:#0003}.checkbox .checkbox-icon,.filtered .checkbox-icon{margin:0 5px;vertical-align:middle}.checkbox button,.filtered button{background:#0000;border:none;cursor:pointer}.buttonGroup__atx button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.checkbox .arrow,.filtered .arrow{margin-left:5px}.filtered [role=treeitem]{display:inline-flex;flex-direction:column;margin-left:px-to-rem(2)}.filtered [role=treeitem]:focus-visible{outline:#0064d6 solid .125rem!important}.filtered [role=treeitem]:focus-visible label:not(.ant-checkbox-wrapper-disabled):hover>span:nth-of-type(2){line-height:px-to-rem(16);margin-right:px-to-rem(1);padding-right:px-to-rem(7)}.filtered [role=treeitem].tree-node--focused{outline:#0064d6 solid .125rem!important}.filtered .tree,.filtered .tree-node-group{display:flex;flex-direction:column}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_Ktv7+.codeBlockContent_biex .codeBlock_bY9V{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_e6Vv{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup__atx{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup__atx button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity var(--ifm-transition-fast) ease-in-out}.buttonGroup__atx button:focus-visible,.buttonGroup__atx button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup__atx button{opacity:.4}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_lJS_{counter-increment:a;display:table-row}.codeLineNumber_Tfdd{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:-webkit-sticky;position:sticky;text-align:right;width:1%}.codeLineNumber_Tfdd:before{content:counter(a);opacity:.4}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.copyButtonIcons_eSgA{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_LjdS{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_Bwma{height:1.2rem;width:1.2rem}.details_lb9f{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;list-style:none;padding-left:1rem;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{border-color:#0000 #0000 #0000 var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.containsTaskList_mC6p{list-style:none}.img_ev3q{height:auto}.admonition_LlT9{margin-bottom:1em}.admonitionHeading_tbUL{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.3rem}.admonitionHeading_tbUL code{text-transform:none}.admonitionIcon_kALy{display:inline-block;margin-right:.4em}.admonitionIcon_kALy svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}[data-reach-tab-list]{background:#0000000d;display:flex;background:none}[data-reach-tab]{-webkit-appearance:none;-moz-appearance:none;background:none;border:none;border-bottom:1px solid #0000;color:inherit;cursor:pointer;display:inline-block;font:inherit;padding:.25em .5em}[data-reach-tab]:active{background:#0000000d;background:#0000}[data-reach-tab]:disabled{cursor:default;opacity:.25}.directory .tree-node,.ide .tree-node{cursor:pointer}[data-reach-tab][data-selected]{border-bottom-color:inherit}[data-reach-tooltip]{border:1px solid #ccc;box-shadow:2px 2px 10px #0000001a;font-size:85%;padding:.25em .5em;position:absolute;white-space:nowrap;z-index:1;background:#fff;border:.5px solid #1f222799;border-radius:var(--ifm-global-radius);color:#000}[data-reach-tabs]{background:none;box-sizing:border-box}[data-reach-tab]{background:#0000;font-size:20px;margin:5px}[data-reach-tab]:focus{fill:var(--ifm-menu-color-active);color:var(--ifm-menu-color-active);outline:0}.code-tabs-tabpanel__component{background-color:initial;border:.5px solid #1f222799;border-radius:var(--ifm-global-radius);box-sizing:border-box;font-family:inherit;padding:0}.breadcrumbHomeIcon_YNFT{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.directory,.ide{background:#242322;border-radius:.4em;color:#fff;font-family:monospace;font-size:16px;padding:20px;-webkit-user-select:none;user-select:none}.directory .tree-node:hover,.ide .tree-node:hover{background:#ffffff1a}.directory .tree .tree-node--focused,.ide .tree .tree-node--focused{background:#fff3}.directory .tree .tree-node--selected,.ide .tree .tree-node--selected{background:#306bb0}.directory .icon{padding-right:5px}.ide .icon{margin-right:5px}@keyframes a{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.loading-icon{animation:1.5s linear infinite a;margin-left:5px}.visually-hidden{border:0;-webkit-clip-path:circle(0);clip-path:circle(0);height:1px;margin:-1px;overflow:hidden;padding:0;white-space:nowrap;width:1px}.checkbox .tree-node{cursor:pointer;display:inline-block}@media (min-width:997px){.collapseSidebarButton_PEFL,.expandButton_m80_{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.searchBox_ZlJk{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_vwxv{text-align:right}.tocMobile_ITEo{display:none}.collapseSidebarButton_PEFL{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:-webkit-sticky;position:sticky}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_BlDH,[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:focus,.collapseSidebarButton_PEFL:hover,.expandButton_m80_:focus,.expandButton_m80_:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{opacity:0;visibility:hidden}.sidebarLogo_isFc{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}.expandButton_m80_{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_BlDH{transform:rotate(180deg)}.docSidebarContainer_b6E3{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_b3ry{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_Xe31{height:100%;max-height:100vh;position:-webkit-sticky;position:sticky;top:0}.docMainContainer_gTbr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_Uz_u{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_czyv{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.docItemCol_VOVn{max-width:75%!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_DEke,.footer__link-separator,.navbar__item,.tableOfContents_bqdL{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.searchBox_ZlJk{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_F8PC{padding:0 .3rem}}@media screen and (max-width:966px){.heroBanner_UJJx{padding:2rem}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@media print{.announcementBar_mb4j,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_ITEo{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_e6Vv{white-space:pre-wrap}} \ No newline at end of file diff --git a/assets/css/styles.490d145a.css b/assets/css/styles.490d145a.css deleted file mode 100644 index 29d7a897..00000000 --- a/assets/css/styles.490d145a.css +++ /dev/null @@ -1 +0,0 @@ -.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.toggleButton_gllP,html{-webkit-tap-highlight-color:transparent}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:transparent;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:rgba(0,0,0,.05);--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 rgba(0,0,0,.1);--ifm-global-shadow-md:0 5px 40px rgba(0,0,0,.2);--ifm-global-shadow-tl:0 12px 28px 0 rgba(0,0,0,.2),0 2px 4px 0 rgba(0,0,0,.1);--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:transparent;--ifm-table-stripe-background:rgba(0,0,0,.03);--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#25c2a0;--ifm-color-primary-dark:#21af90;--ifm-color-primary-darker:#1fa588;--ifm-color-primary-darkest:#1a8870;--ifm-color-primary-light:#46cbae;--ifm-color-primary-lighter:#66d4bd;--ifm-color-primary-lightest:#92e0d0;--docusaurus-announcement-bar-height:auto;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1);--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px;--reach-tooltip:1}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:transparent}*{box-sizing:border-box;box-sizing:inherit}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_NmtK,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid rgba(0,0,0,.1);border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:initial;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_tbUL,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{list-style:none;padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:rgba(53,120,229,.15);--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:rgba(235,237,240,.15);--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:rgba(0,164,0,.15);--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:rgba(84,199,236,.15);--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:rgba(255,186,0,.15);--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:rgba(250,56,62,.15);--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{-webkit-column-gap:var(--ifm-avatar-intro-margin);column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.card--full-height,.navbar__logo img,body,html{height:100%}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;-webkit-filter:var(--ifm-breadcrumb-separator-filter);filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs__link:-webkit-any-link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs__link:any-link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:transparent;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;-webkit-transform:translateY(-1px);transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]),[data-reach-tooltip]{pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;list-style:none;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);-webkit-transform:translateY(-.625rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility,-webkit-transform;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor transparent;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_Djhp article>:first-child,.docItemContainer_Djhp header+*,.footer__item{margin-top:0}.admonitionContent_S0QG>:last-child,.collapsibleContent_i85q>:last-child,.footer__items{margin-bottom:0}.codeBlockStandalone_MEMb,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{list-style:none;margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.menu__caret:before,.menu__link--sublist-caret:after{-webkit-filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;width:1.25rem;content:""}.checkbox .arrow--open,.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before,.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.filtered .arrow--open,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;left:0;top:0;visibility:hidden}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;filter:var(--ifm-menu-link-sublist-icon-filter);margin-left:auto;min-width:1.25rem;-webkit-transform:rotate(180deg);transform:rotate(180deg);transition:-webkit-transform var(--ifm-transition-fast) linear;transition:transform var(--ifm-transition-fast) linear;transition:transform var(--ifm-transition-fast) linear,-webkit-transform var(--ifm-transition-fast) linear}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;filter:var(--ifm-menu-link-sublist-icon-filter);-webkit-transform:rotate(180deg);transform:rotate(180deg);transition:-webkit-transform var(--ifm-transition-fast) linear;transition:transform var(--ifm-transition-fast) linear;transition:transform var(--ifm-transition-fast) linear,-webkit-transform var(--ifm-transition-fast) linear}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:-webkit-sticky;position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_xLdY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.code-tabs li+li,.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:hsla(0,0%,100%,.1);--ifm-navbar-search-input-placeholder-color:hsla(0,0%,100%,.5);color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:hsla(0,0%,100%,.05);--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::-webkit-input-placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);position:fixed;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);transition-property:opacity,visibility,transform,-webkit-transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar--show .navbar-sidebar{-webkit-transform:translateZ(0);transform:translateZ(0)}.navbar-sidebar__backdrop{background-color:rgba(0,0,0,.6);position:fixed;right:0;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));-webkit-transform:translateZ(0);transform:translateZ(0);transition:-webkit-transform var(--ifm-transition-fast) ease-in-out;transition:transform var(--ifm-transition-fast) ease-in-out;transition:transform var(--ifm-transition-fast) ease-in-out,-webkit-transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{-webkit-transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0);transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{-webkit-column-gap:var(--ifm-pagination-page-spacing);column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid transparent;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:hsla(0,0%,100%,.05);--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:hsla(0,0%,100%,.1);--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:hsla(0,0%,100%,.07);--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;-webkit-transform:rotate(3deg) translateY(-4px);transform:rotate(3deg) translateY(-4px);width:100px}.visually-hidden{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:absolute!important}.basic .tree-branch-wrapper,.basic .tree-node__leaf,.checkbox .tree-branch-wrapper,.checkbox .tree-node__leaf,.directory .tree-branch-wrapper,.directory .tree-node__leaf,.filtered .tree-branch-wrapper,.ide .tree-branch-wrapper,.ide .tree-node__leaf,[data-reach-tab-panel],body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#__docusaurus-base-url-issue-banner-container,.docSidebarContainer_b6E3,.sidebarLogo_isFc,.themedImage_ToTc,[data-theme=dark] .lightToggleIcon_pyhR,[data-theme=light] .darkToggleIcon_wfgR,html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}.skipToContent_fXgn{background-color:var(--ifm-background-surface-color);color:var(--ifm-color-emphasis-900);left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem;z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{line-height:0;padding:0}.content_knG7{font-size:85%;padding:5px 0;text-align:center}.content_knG7 a{color:inherit;text-decoration:underline}.announcementBar_mb4j{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{align-self:stretch;flex:0 0 30px}.toggle_vylO{height:2rem;width:2rem}.toggleButton_gllP{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_aARS{cursor:not-allowed}.darkNavbarColorModeToggle_X3D1:hover{background:var(--ifm-color-gray-800)}[data-theme=dark] .themedImage--dark_i4oU,[data-theme=light] .themedImage--light_HNdA,html:not([data-theme]) .themedComponent--light_NU7w{display:initial}.iconExternalLink_nPIU{margin-left:.3rem}.iconLanguage_nlXk{margin-right:5px;vertical-align:text-bottom}.navbarHideable_m1mJ{transition:-webkit-transform var(--ifm-transition-fast) ease;transition:transform var(--ifm-transition-fast) ease;transition:transform var(--ifm-transition-fast) ease,-webkit-transform var(--ifm-transition-fast) ease}.navbarHidden_jGov{-webkit-transform:translate3d(0,calc(-100% - 2px),0);transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_a6uf{color:red;white-space:pre-wrap}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.mainWrapper_z2l0{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.iconEdit_Z9Sw{margin-right:.3em;vertical-align:sub}.admonitionIcon_kALy,.checkbox .arrow,.directory .icon,.filtered .arrow,.ide .icon,[data-reach-tab],[data-reach-tabs] svg{vertical-align:middle}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_h2kH{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_h2kH:after,.tagWithCount_h2kH:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;-webkit-transform:translate(50%,-50%) rotate(-45deg);transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_h2kH:after{border-radius:50%;height:.5rem;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:.5rem}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tags_jXut{display:inline}.tag_QGVx{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_vwxv{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_TO0P{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_TO0P:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";-webkit-filter:var(--ifm-menu-link-sublist-icon-filter);filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;-webkit-transform:rotate(180deg);transform:rotate(180deg);transition:-webkit-transform var(--ifm-transition-fast);transition:transform var(--ifm-transition-fast);transition:transform var(--ifm-transition-fast),-webkit-transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_MG3E:after,.tocCollapsibleExpanded_sAul{-webkit-transform:none;transform:none}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.tocCollapsibleContent_vkbj a{display:block}.tableOfContents_bqdL{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:-webkit-sticky;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;-webkit-transform:scale(0);transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.backToTopButton_sjWU:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_xfvO{opacity:1;-webkit-transform:scale(1);transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:hsla(0,0%,100%,.05);--docusaurus-collapse-button-bg-hover:hsla(0,0%,100%,.1)}.collapseSidebarButton_PEFL{display:none;margin:0}.docMainContainer_gTbr,.docPage__5DB{display:flex;width:100%}.docPage__5DB{flex:1 0}.docsWrapper_BCFX{display:flex;flex:1 0 auto}.basic.tree{list-style:none;margin:0;padding:20px}.basic .tree-node,.basic .tree-node-group,.checkbox .tree,.checkbox .tree-node,.checkbox .tree-node-group,.directory .tree,.directory .tree-node,.directory .tree-node-group,.filtered .tree,.filtered .tree-node,.filtered .tree-node-group,.ide .tree,.ide .tree-node,.ide .tree-node-group{list-style:none;margin:0;padding:0}.basic .tree-node--focused{display:block;outline:#4d90fe auto 2px}.basic .tree-node__branch,.directory .tree-node__branch,.ide .tree-node__branch{display:block}.basic .tree-node{cursor:pointer}.heroBanner_UJJx{overflow:hidden;padding:4rem 0;position:relative;text-align:center}.buttons_pzbO{justify-content:center}.buttons_pzbO,.features_keug{align-items:center;display:flex}.features_keug{padding:2rem 0;width:100%}.featureImage_yA8i{height:200px;width:200px}.checkbox,.filtered{box-sizing:initial;font-size:16px;min-height:320px;padding:20px;-webkit-user-select:none;user-select:none}.filtered .tree-node{cursor:pointer;display:inline-block}.checkbox .tree-node .name:hover,.filtered .tree-node .name:hover{background:rgba(0,0,0,.1)}.checkbox .tree-node--focused .name,.filtered .tree-node--focused .name{background:rgba(0,0,0,.2)}.checkbox .checkbox-icon,.filtered .checkbox-icon{margin:0 5px;vertical-align:middle}.checkbox button,.filtered button{background:0 0;border:none;cursor:pointer}.buttonGroup__atx button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.checkbox .arrow,.filtered .arrow{margin-left:5px}.filtered [role=treeitem]{display:inline-flex;flex-direction:column;margin-left:px-to-rem(2)}.filtered [role=treeitem]:focus-visible{outline:#0064d6 solid .125rem!important}.filtered [role=treeitem]:focus-visible label:not(.ant-checkbox-wrapper-disabled):hover>span:nth-of-type(2){line-height:px-to-rem(16);margin-right:px-to-rem(1);padding-right:px-to-rem(7)}.filtered [role=treeitem].tree-node--focused{outline:#0064d6 solid .125rem!important}.filtered .tree,.filtered .tree-node-group{display:flex;flex-direction:column}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_Ktv7+.codeBlockContent_biex .codeBlock_bY9V{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_e6Vv{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup__atx{-webkit-column-gap:.2rem;column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup__atx button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity var(--ifm-transition-fast) ease-in-out}.buttonGroup__atx button:focus-visible,.buttonGroup__atx button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup__atx button{opacity:.4}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_lJS_{counter-increment:a;display:table-row}.codeLineNumber_Tfdd{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:-webkit-sticky;position:sticky;text-align:right;width:1%}.codeLineNumber_Tfdd:before{content:counter(a);opacity:.4}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.copyButtonIcons_eSgA{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_LjdS{color:#00d600;left:50%;opacity:0;top:50%;-webkit-transform:translate(-50%,-50%) scale(.33);transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;-webkit-transform:scale(.33);transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_Bwma{height:1.2rem;width:1.2rem}.details_lb9f{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;list-style:none;padding-left:1rem;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{border-color:transparent transparent transparent var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.containsTaskList_mC6p{list-style:none}.img_ev3q{height:auto}.admonition_LlT9{margin-bottom:1em}.admonitionHeading_tbUL{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.3rem}.admonitionHeading_tbUL code{text-transform:none}.admonitionIcon_kALy{display:inline-block;margin-right:.4em}.admonitionIcon_kALy svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}[data-reach-tab-list]{display:flex;background:none}[data-reach-tab]{-webkit-appearance:none;-moz-appearance:none;border:none;border-bottom:1px solid transparent;color:inherit;cursor:pointer;display:inline-block;font:inherit;padding:.25em .5em}[data-reach-tab]:disabled{cursor:default;opacity:.25}.directory .tree-node,.ide .tree-node{cursor:pointer}[data-reach-tab][data-selected]{border-bottom-color:inherit}[data-reach-tooltip]{box-shadow:2px 2px 10px rgba(0,0,0,.1);font-size:85%;padding:.25em .5em;position:absolute;white-space:nowrap;z-index:1;background:#fff;border:.5px solid rgba(31,34,39,.6);border-radius:var(--ifm-global-radius);color:#000}[data-reach-tabs]{background:none;box-sizing:border-box}[data-reach-tab]{font-size:20px;margin:5px}[data-reach-tab],[data-reach-tab]:active{background:0 0}[data-reach-tab]:focus{fill:var(--ifm-menu-color-active);color:var(--ifm-menu-color-active);outline:0}.code-tabs-tabpanel__component{background-color:initial;border:.5px solid rgba(31,34,39,.6);border-radius:var(--ifm-global-radius);box-sizing:border-box;font-family:inherit;padding:0}.breadcrumbHomeIcon_YNFT{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.directory,.ide{background:#242322;border-radius:.4em;color:#fff;font-family:monospace;font-size:16px;padding:20px;-webkit-user-select:none;user-select:none}.directory .tree-node:hover,.ide .tree-node:hover{background:hsla(0,0%,100%,.1)}.directory .tree .tree-node--focused,.ide .tree .tree-node--focused{background:hsla(0,0%,100%,.2)}.directory .tree .tree-node--selected,.ide .tree .tree-node--selected{background:#306bb0}.directory .icon{padding-right:5px}.ide .icon{margin-right:5px}@-webkit-keyframes a{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes a{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loading-icon{-webkit-animation:1.5s linear infinite a;animation:1.5s linear infinite a;margin-left:5px}.visually-hidden{border:0;-webkit-clip-path:circle(0);clip-path:circle(0);height:1px;margin:-1px;overflow:hidden;padding:0;white-space:nowrap;width:1px}.checkbox .tree-node{cursor:pointer;display:inline-block}@media (min-width:997px){.collapseSidebarButton_PEFL,.expandButton_m80_{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.searchBox_ZlJk{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_vwxv{text-align:right}.tocMobile_ITEo{display:none}.collapseSidebarButton_PEFL{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:-webkit-sticky;position:sticky}.collapseSidebarButtonIcon_kv0_{margin-top:4px;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.expandButtonIcon_BlDH,[dir=rtl] .collapseSidebarButtonIcon_kv0_{-webkit-transform:rotate(0);transform:rotate(0)}.collapseSidebarButton_PEFL:focus,.collapseSidebarButton_PEFL:hover,.expandButton_m80_:focus,.expandButton_m80_:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{opacity:0;visibility:hidden}.sidebarLogo_isFc{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}.expandButton_m80_{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_BlDH{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.docSidebarContainer_b6E3{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_b3ry{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_Xe31{height:100%;max-height:100vh;position:-webkit-sticky;position:sticky;top:0}.docMainContainer_gTbr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_Uz_u{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_czyv{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.docItemCol_VOVn{max-width:75%!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_DEke,.footer__link-separator,.navbar__item,.tableOfContents_bqdL{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.searchBox_ZlJk{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_F8PC{padding:0 .3rem}}@media screen and (max-width:966px){.heroBanner_UJJx{padding:2rem}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@media print{.announcementBar_mb4j,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_ITEo{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_e6Vv{white-space:pre-wrap}} \ No newline at end of file diff --git a/assets/js/0f6bc27b.c8e7e4a7.js b/assets/js/0f6bc27b.c8e7e4a7.js deleted file mode 100644 index 970cdd6a..00000000 --- a/assets/js/0f6bc27b.c8e7e4a7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[99],{4650:function(e,n,a){a.r(n),a.d(n,{assets:function(){return w},contentTitle:function(){return v},default:function(){return T},frontMatter:function(){return E},metadata:function(){return C},toc:function(){return I}});var t=a(7462),r=a(3366),o=a(7294),s=a(3905),d=a(1649),l=a(148),i=a(4184),c=a.n(i),m=(0,l.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Apple Juice"},{name:"Chocolate"},{name:"Coffee"},{name:"Tea",children:[{name:"Black Tea"},{name:"Green Tea"},{name:"Red Tea"},{name:"Matcha"}]}]},{name:"Vegetables",children:[{name:"Beets"},{name:"Carrots"},{name:"Celery"},{name:"Lettuce"},{name:"Onions"}]}]});var p=function(e){var n,a,t=e.isOpen,r=e.className,s="arrow",l=c()(s,((n={})[s+"--closed"]=!t,n),((a={})[s+"--open"]=t,a),r);return o.createElement(d.am,{className:l})},u=function(){var e=(0,o.useState)(),n=e[0],a=e[1],r=function(){a(document.querySelector("#txtIdsToExpand").value.split(",").filter((function(e){return!!e.trim()})).map((function(e){return isNaN(parseInt(e.trim()))?e:parseInt(e.trim())})))};return o.createElement("div",null,o.createElement("div",null,o.createElement("label",{htmlFor:"txtIdsToExpand"},"Comma-delimited list of branch node IDs to expand:"),o.createElement("input",{id:"txtIdsToExpand",type:"text",onKeyDown:function(e){"Enter"===e.key&&r()}}),o.createElement("button",{onClick:function(){return r()}},"Set")),o.createElement("div",null,o.createElement("button",{onClick:function(){return a([])}},"Clear all expanded nodes")),o.createElement("div",{className:"checkbox"},o.createElement(l.ZP,{data:m,"aria-label":"Controlled expanded node tree",expandedIds:n,defaultExpandedIds:[1],nodeRenderer:function(e){var n=e.element,a=e.isBranch,r=e.isExpanded,s=e.isDisabled,d=e.getNodeProps,l=e.level,i=e.handleExpand;return o.createElement("div",(0,t.Z)({},d({onClick:i}),{style:{marginLeft:40*(l-1),opacity:s?.5:1}}),a&&o.createElement(p,{isOpen:r}),o.createElement("span",{className:"name"},n.name,"-",n.id))}})))},x='import React, { useState } from "react";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport cx from "classnames";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "Fruits",\n children: [\n { name: "Avocados" },\n { name: "Bananas" },\n { name: "Berries" },\n { name: "Oranges" },\n { name: "Pears" },\n ],\n },\n {\n name: "Drinks",\n children: [\n { name: "Apple Juice" },\n { name: "Chocolate" },\n { name: "Coffee" },\n {\n name: "Tea",\n children: [\n { name: "Black Tea" },\n { name: "Green Tea" },\n { name: "Red Tea" },\n { name: "Matcha" },\n ],\n },\n ],\n },\n {\n name: "Vegetables",\n children: [\n { name: "Beets" },\n { name: "Carrots" },\n { name: "Celery" },\n { name: "Lettuce" },\n { name: "Onions" },\n ],\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nfunction ControlledExpandedNode() {\n const [expandedIds, setExpandedIds] = useState();\n\n const onKeyDown = (e) => {\n if (e.key === "Enter") {\n getAndSetIds();\n }\n };\n\n const getAndSetIds = () => {\n setExpandedIds(\n document\n .querySelector("#txtIdsToExpand")\n .value.split(",")\n .filter(val => !!val.trim())\n .map((x) => {\n if (isNaN(parseInt(x.trim()))) {\n return x;\n }\n return parseInt(x.trim());\n })\n );\n };\n\n return (\n
\n
\n \n \n \n
\n
\n \n
\n
\n {\n return (\n \n {isBranch && }\n \n {element.name}-{element.id}\n \n
\n );\n }}\n />\n
\n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nexport default ControlledExpandedNode;\n',b=a(3952),f=a(2805),h=["components"],E={title:"Basic with controlled expandable node"},v=void 0,C={unversionedId:"examples-ControlledExpandedNode",id:"examples-ControlledExpandedNode",title:"Basic with controlled expandable node",description:"This example demonstrates how to create a simple tree with controlled expandable node",source:"@site/docs/examples-ControlledExpandedNode.mdx",sourceDirName:".",slug:"/examples-ControlledExpandedNode",permalink:"/react-accessible-treeview/docs/examples-ControlledExpandedNode",draft:!1,tags:[],version:"current",frontMatter:{title:"Basic with controlled expandable node"},sidebar:"docs",previous:{title:"Basic",permalink:"/react-accessible-treeview/docs/examples-Basic"},next:{title:"Data types",permalink:"/react-accessible-treeview/docs/examples-DataTypes"}},w={},I=[],k={toc:I},y="wrapper";function T(e){var n=e.components,a=(0,r.Z)(e,h);return(0,s.kt)(y,(0,t.Z)({},k,a,{components:n,mdxType:"MDXLayout"}),(0,s.kt)("p",null,"This example demonstrates how to create a simple tree with controlled expandable node"),(0,s.kt)(f.Z,{component:u,js:x,css:b.Z,mdxType:"CodeTabs"}))}T.isMDXComponent=!0},3952:function(e,n){n.Z=".basic.tree {\n list-style: none;\n margin: 0;\n padding: 20px;\n}\n.basic .tree-node,\n.basic .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.basic .tree-branch-wrapper,\n.basic .tree-node__leaf {\n outline: none;\n}\n\n.basic .tree-node--focused {\n outline-color: rgb(77, 144, 254);\n outline-style: auto;\n outline-width: 2px;\n display: block;\n}\n\n.basic .tree-node__branch {\n display: block;\n}\n\n.basic .tree-node {\n cursor: pointer;\n}\n"}}]); \ No newline at end of file diff --git a/assets/js/0f6bc27b.d07a1751.js b/assets/js/0f6bc27b.d07a1751.js new file mode 100644 index 00000000..b4888c3d --- /dev/null +++ b/assets/js/0f6bc27b.d07a1751.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[99],{4650:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>C,contentTitle:()=>E,default:()=>k,frontMatter:()=>h,metadata:()=>f,toc:()=>v});var t=a(7462),s=a(7294),d=a(3905),o=a(1649),r=a(148),l=a(4184),i=a.n(l);const c=(0,r.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Apple Juice"},{name:"Chocolate"},{name:"Coffee"},{name:"Tea",children:[{name:"Black Tea"},{name:"Green Tea"},{name:"Red Tea"},{name:"Matcha"}]}]},{name:"Vegetables",children:[{name:"Beets"},{name:"Carrots"},{name:"Celery"},{name:"Lettuce"},{name:"Onions"}]}]});const m=e=>{let{isOpen:n,className:a}=e;const t="arrow",d=i()(t,{[t+"--closed"]:!n},{[t+"--open"]:n},a);return s.createElement(o.am,{className:d})},p=function(){const[e,n]=(0,s.useState)(),a=()=>{n(document.querySelector("#txtIdsToExpand").value.split(",").filter((e=>!!e.trim())).map((e=>isNaN(parseInt(e.trim()))?e:parseInt(e.trim()))))};return s.createElement("div",null,s.createElement("div",null,s.createElement("label",{htmlFor:"txtIdsToExpand"},"Comma-delimited list of branch node IDs to expand:"),s.createElement("input",{id:"txtIdsToExpand",type:"text",onKeyDown:e=>{"Enter"===e.key&&a()}}),s.createElement("button",{onClick:()=>a()},"Set")),s.createElement("div",null,s.createElement("button",{onClick:()=>n([])},"Clear all expanded nodes")),s.createElement("div",{className:"checkbox"},s.createElement(r.ZP,{data:c,"aria-label":"Controlled expanded node tree",expandedIds:e,defaultExpandedIds:[1],nodeRenderer:e=>{let{element:n,isBranch:a,isExpanded:d,isDisabled:o,getNodeProps:r,level:l,handleExpand:i}=e;return s.createElement("div",(0,t.Z)({},r({onClick:i}),{style:{marginLeft:40*(l-1),opacity:o?.5:1}}),a&&s.createElement(m,{isOpen:d}),s.createElement("span",{className:"name"},n.name,"-",n.id))}})))},x='import React, { useState } from "react";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport cx from "classnames";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "Fruits",\n children: [\n { name: "Avocados" },\n { name: "Bananas" },\n { name: "Berries" },\n { name: "Oranges" },\n { name: "Pears" },\n ],\n },\n {\n name: "Drinks",\n children: [\n { name: "Apple Juice" },\n { name: "Chocolate" },\n { name: "Coffee" },\n {\n name: "Tea",\n children: [\n { name: "Black Tea" },\n { name: "Green Tea" },\n { name: "Red Tea" },\n { name: "Matcha" },\n ],\n },\n ],\n },\n {\n name: "Vegetables",\n children: [\n { name: "Beets" },\n { name: "Carrots" },\n { name: "Celery" },\n { name: "Lettuce" },\n { name: "Onions" },\n ],\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nfunction ControlledExpandedNode() {\n const [expandedIds, setExpandedIds] = useState();\n\n const onKeyDown = (e) => {\n if (e.key === "Enter") {\n getAndSetIds();\n }\n };\n\n const getAndSetIds = () => {\n setExpandedIds(\n document\n .querySelector("#txtIdsToExpand")\n .value.split(",")\n .filter(val => !!val.trim())\n .map((x) => {\n if (isNaN(parseInt(x.trim()))) {\n return x;\n }\n return parseInt(x.trim());\n })\n );\n };\n\n return (\n
\n
\n \n \n \n
\n
\n \n
\n
\n {\n return (\n \n {isBranch && }\n \n {element.name}-{element.id}\n \n
\n );\n }}\n />\n
\n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nexport default ControlledExpandedNode;\n';var u=a(3952),b=a(2805);const h={title:"Basic with controlled expandable node"},E=void 0,f={unversionedId:"examples-ControlledExpandedNode",id:"examples-ControlledExpandedNode",title:"Basic with controlled expandable node",description:"This example demonstrates how to create a simple tree with controlled expandable node",source:"@site/docs/examples-ControlledExpandedNode.mdx",sourceDirName:".",slug:"/examples-ControlledExpandedNode",permalink:"/react-accessible-treeview/docs/examples-ControlledExpandedNode",draft:!1,tags:[],version:"current",frontMatter:{title:"Basic with controlled expandable node"},sidebar:"docs",previous:{title:"Basic",permalink:"/react-accessible-treeview/docs/examples-Basic"},next:{title:"Data types",permalink:"/react-accessible-treeview/docs/examples-DataTypes"}},C={},v=[],w={toc:v},I="wrapper";function k(e){let{components:n,...a}=e;return(0,d.kt)(I,(0,t.Z)({},w,a,{components:n,mdxType:"MDXLayout"}),(0,d.kt)("p",null,"This example demonstrates how to create a simple tree with controlled expandable node"),(0,d.kt)(b.Z,{component:p,js:x,css:u.Z,mdxType:"CodeTabs"}))}k.isMDXComponent=!0},3952:(e,n,a)=>{a.d(n,{Z:()=>t});const t=".basic.tree {\n list-style: none;\n margin: 0;\n padding: 20px;\n}\n.basic .tree-node,\n.basic .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.basic .tree-branch-wrapper,\n.basic .tree-node__leaf {\n outline: none;\n}\n\n.basic .tree-node--focused {\n outline-color: rgb(77, 144, 254);\n outline-style: auto;\n outline-width: 2px;\n display: block;\n}\n\n.basic .tree-node__branch {\n display: block;\n}\n\n.basic .tree-node {\n cursor: pointer;\n}\n"}}]); \ No newline at end of file diff --git a/assets/js/13c4e3bb.80703ae5.js b/assets/js/13c4e3bb.80703ae5.js deleted file mode 100644 index f9294479..00000000 --- a/assets/js/13c4e3bb.80703ae5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[320],{5532:function(e,n,t){t.r(n),t.d(n,{assets:function(){return A},contentTitle:function(){return w},default:function(){return T},frontMatter:function(){return N},metadata:function(){return E},toc:function(){return M}});var a=t(7462),l=t(3366),r=t(7294),i=t(3905),o=t(2805),s=t(4165),c=t(5861),d=t(9583),u=t(1649),m=t(8193),h=t(148),p=t(4184),f=t.n(p),S=["variant"],g=[{name:"",id:0,children:[1,2,3],parent:null},{name:"Fruits",children:[],id:1,parent:0,isBranch:!0},{name:"Drinks",children:[4,5],id:2,parent:0,isBranch:!0},{name:"Vegetables",children:[],id:3,parent:0,isBranch:!0},{name:"Pine colada",children:[],id:4,parent:2},{name:"Water",children:[],id:5,parent:2}];var v=function(e){var n,t,a=e.isOpen,l=e.className,i="arrow",o=f()(i,((n={})[i+"--closed"]=!a,n),((t={})[i+"--open"]=a,t),l);return r.createElement(u.am,{className:o})},x=function(e){var n=e.variant,t=(0,l.Z)(e,S);switch(n){case"all":return r.createElement(d.xik,t);case"none":return r.createElement(d.u9M,t);case"some":return r.createElement(d.kty,t);default:return null}},C=function(){var e=(0,r.useRef)(null),n=(0,r.useState)(g),t=n[0],l=n[1],i=(0,r.useState)([]),o=i[0],d=i[1],u=(0,r.useState)([]),p=u[0],f=u[1],S=(0,r.useState)(!1),C=S[0],y=S[1],b=(0,r.useState)(!1),k=b[0],N=b[1],w=(0,r.useState)([]),E=w[0],A=w[1],M=function(e){var n=e.element;return new Promise((function(e){n.children.length>0?e():setTimeout((function(){l((function(e){return t=e,a=n.id,l=[{name:"Child Node "+e.length,children:[],id:e.length,parent:n.id,isBranch:!0},{name:"Another child Node",children:[],id:e.length+1,parent:n.id}],t.map((function(e){return e.id===a&&(e.children=l.map((function(e){return e.id}))),e})).concat(l);var t,a,l})),C&&f(k?[].concat(new Set([].concat(E,p)),[t.length,t.length+1]):[t.length,t.length+1]),e()}),1e3)}))},L=function(){var n=(0,c.Z)((0,s.Z)().mark((function n(t){var a,l,r;return(0,s.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=0===t.element.children.length,l=o.find((function(e){return e.id===t.element.id})),n.next=4,M(t);case 4:a&&!l&&(r=e.current,d([].concat(o,[t.element])),r&&(r.innerHTML=t.element.name+" loaded"),setTimeout((function(){r&&(r.innerHTML="")}),5e3));case 5:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}();return r.createElement(r.Fragment,null,r.createElement("div",null,r.createElement("div",{className:"visually-hidden",ref:e,role:"alert","aria-live":"polite"}),r.createElement("button",{onClick:function(){return y(!C)}},"Select next loaded children - [",JSON.stringify(C),"]"),r.createElement("button",{onClick:function(){return N(!k)},style:{marginLeft:"16px"}},"Preserve current selection - [",JSON.stringify(k),"]"),r.createElement("div",{className:"checkbox"},r.createElement(h.ZP,{data:t,"aria-label":"Checkbox tree",onLoadData:L,onNodeSelect:function(e){var n=e.element,t=e.isSelected;t&&A([].concat(E,[n.id])),!t&&A(E.filter((function(e){return e===n.id})))},selectedIds:p,multiSelect:!0,propagateSelect:!0,togglableSelect:!0,propagateSelectUpwards:!0,nodeRenderer:function(e){var n=e.element,t=e.isBranch,l=e.isExpanded,i=e.isSelected,o=e.isHalfSelected,s=e.getNodeProps,c=e.level,d=e.handleSelect,u=e.handleExpand;return r.createElement("div",(0,a.Z)({},s({onClick:u}),{style:{marginLeft:40*(c-1)}}),t&&function(e,n){return e&&0===n.children.length?r.createElement(r.Fragment,null,r.createElement("span",{role:"alert","aria-live":"assertive",className:"visually-hidden"},"loading ",n.name),r.createElement(m.xz6,{"aria-hidden":!0,className:"loading-icon"})):r.createElement(v,{isOpen:e})}(l,n),r.createElement(x,{className:"checkbox-icon",onClick:function(e){!l&&u(e),d(e),e.stopPropagation()},variant:o?"some":i?"all":"none"}),r.createElement("span",{className:"name"},n.name,"-",n.id))}}))))},y='import React, { useRef, useState } from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport { AiOutlineLoading } from "react-icons/ai";\nimport TreeView from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst initialData = [\n {\n name: "",\n id: 0,\n children: [1, 2, 3],\n parent: null,\n },\n {\n name: "Fruits",\n children: [],\n id: 1,\n parent: 0,\n isBranch: true,\n },\n {\n name: "Drinks",\n children: [4, 5],\n id: 2,\n parent: 0,\n isBranch: true,\n },\n {\n name: "Vegetables",\n children: [],\n id: 3,\n parent: 0,\n isBranch: true,\n },\n {\n name: "Pine colada",\n children: [],\n id: 4,\n parent: 2,\n },\n {\n name: "Water",\n children: [],\n id: 5,\n parent: 2,\n },\n];\n\nfunction MultiSelectCheckboxAsyncControlled() {\n const loadedAlertElement = useRef(null);\n const [data, setData] = useState(initialData);\n const [nodesAlreadyLoaded, setNodesAlreadyLoaded] = useState([]);\n const [selectedIds, setSelectedIds] = useState([]);\n const [selectChildren, setSelectChildren] = useState(false);\n const [preserveSelection, setPreserveSelection] = useState(false);\n const [manuallySelectedNodes, setManuallySelectiedNodes] = useState([]);\n\n const updateTreeData = (list, id, children) => {\n const data = list.map((node) => {\n if (node.id === id) {\n node.children = children.map((el) => {\n return el.id;\n });\n }\n return node;\n });\n return data.concat(children);\n };\n\n const onLoadData = ({ element }) => {\n return new Promise((resolve) => {\n if (element.children.length > 0) {\n resolve();\n return;\n }\n setTimeout(() => {\n setData((value) =>\n updateTreeData(value, element.id, [\n {\n name: `Child Node ${value.length}`,\n children: [],\n id: value.length,\n parent: element.id,\n isBranch: true,\n },\n {\n name: "Another child Node",\n children: [],\n id: value.length + 1,\n parent: element.id,\n },\n ])\n );\n if (selectChildren) {\n preserveSelection\n ? setSelectedIds([\n ...new Set([...manuallySelectedNodes, ...selectedIds]),\n data.length,\n data.length + 1,\n ])\n : setSelectedIds([data.length, data.length + 1]);\n }\n resolve();\n }, 1000);\n });\n };\n\n const wrappedOnLoadData = async (props) => {\n const nodeHasNoChildData = props.element.children.length === 0;\n const nodeHasAlreadyBeenLoaded = nodesAlreadyLoaded.find(\n (e) => e.id === props.element.id\n );\n\n await onLoadData(props);\n\n if (nodeHasNoChildData && !nodeHasAlreadyBeenLoaded) {\n const el = loadedAlertElement.current;\n setNodesAlreadyLoaded([...nodesAlreadyLoaded, props.element]);\n el && (el.innerHTML = `${props.element.name} loaded`);\n\n // Clearing aria-live region so loaded node alerts no longer appear in DOM\n setTimeout(() => {\n el && (el.innerHTML = "");\n }, 5000);\n }\n };\n\n const handleNodeSelect = ({ element, isSelected }) => {\n isSelected &&\n setManuallySelectiedNodes([...manuallySelectedNodes, element.id]);\n !isSelected &&\n setManuallySelectiedNodes(\n manuallySelectedNodes.filter((id) => id === element.id)\n );\n };\n\n return (\n <>\n
\n
\n \n setPreserveSelection(!preserveSelection)}\n style={{ marginLeft: "16px" }}\n >\n Preserve current selection - [{JSON.stringify(preserveSelection)}]\n \n
\n {\n const branchNode = (isExpanded, element) => {\n return isExpanded && element.children.length === 0 ? (\n <>\n \n loading {element.name}\n \n \n \n ) : (\n \n );\n };\n return (\n \n {isBranch && branchNode(isExpanded, element)}\n {\n !isExpanded && handleExpand(e); \n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n \n {element.name}-{element.id}\n \n
\n );\n }}\n />\n \n \n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default MultiSelectCheckboxAsyncControlled;\n',b="@keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.loading-icon {\n animation: spinner 1.5s linear infinite;\n margin-left: 5px;\n}\n\n.visually-hidden {\n position: absolute;\n clip-path: circle(0);\n border: 0;\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n width: 1px;\n white-space: nowrap;\n}\n",k=["components"],N={title:"Asynchronous loading with Controlled selection"},w=void 0,E={unversionedId:"examples-MultiSelectCheckboxAsyncControlled",id:"examples-MultiSelectCheckboxAsyncControlled",title:"Asynchronous loading with Controlled selection",description:"This example demonstrates how to create a checkbox tree with asynchronous loading and controlled selection",source:"@site/docs/examples-MultiSelectCheckboxAsyncControlled.mdx",sourceDirName:".",slug:"/examples-MultiSelectCheckboxAsyncControlled",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled",draft:!1,tags:[],version:"current",frontMatter:{title:"Asynchronous loading with Controlled selection"},sidebar:"docs",previous:{title:"Asynchronous loading",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync"},next:{title:"Checkbox with controlled selectedIds",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled"}},A={},M=[],L={toc:M},D="wrapper";function T(e){var n=e.components,t=(0,l.Z)(e,k);return(0,i.kt)(D,(0,a.Z)({},L,t,{components:n,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"This example demonstrates how to create a checkbox tree with asynchronous loading and controlled selection"),(0,i.kt)(o.Z,{component:C,js:y,css:b,mdxType:"CodeTabs"}))}T.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/13c4e3bb.b79295a8.js b/assets/js/13c4e3bb.b79295a8.js new file mode 100644 index 00000000..d5bb37c7 --- /dev/null +++ b/assets/js/13c4e3bb.b79295a8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[320],{5532:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>b,contentTitle:()=>f,default:()=>E,frontMatter:()=>C,metadata:()=>y,toc:()=>N});var a=t(7462),l=t(7294),r=t(3905),s=t(2805),i=t(9583),d=t(1649),o=t(8193),c=t(148),m=t(4184),h=t.n(m);const p=[{name:"",id:0,children:[1,2,3],parent:null},{name:"Fruits",children:[],id:1,parent:0,isBranch:!0},{name:"Drinks",children:[4,5],id:2,parent:0,isBranch:!0},{name:"Vegetables",children:[],id:3,parent:0,isBranch:!0},{name:"Pine colada",children:[],id:4,parent:2},{name:"Water",children:[],id:5,parent:2}];const u=e=>{let{isOpen:n,className:t}=e;const a="arrow",r=h()(a,{[a+"--closed"]:!n},{[a+"--open"]:n},t);return l.createElement(d.am,{className:r})},S=e=>{let{variant:n,...t}=e;switch(n){case"all":return l.createElement(i.xik,t);case"none":return l.createElement(i.u9M,t);case"some":return l.createElement(i.kty,t);default:return null}},g=function(){const e=(0,l.useRef)(null),[n,t]=(0,l.useState)(p),[r,s]=(0,l.useState)([]),[i,d]=(0,l.useState)([]),[m,h]=(0,l.useState)(!1),[g,v]=(0,l.useState)(!1),[x,C]=(0,l.useState)([]);return l.createElement(l.Fragment,null,l.createElement("div",null,l.createElement("div",{className:"visually-hidden",ref:e,role:"alert","aria-live":"polite"}),l.createElement("button",{onClick:()=>h(!m)},"Select next loaded children - [",JSON.stringify(m),"]"),l.createElement("button",{onClick:()=>v(!g),style:{marginLeft:"16px"}},"Preserve current selection - [",JSON.stringify(g),"]"),l.createElement("div",{className:"checkbox"},l.createElement(c.ZP,{data:n,"aria-label":"Checkbox tree",onLoadData:async a=>{const l=0===a.element.children.length,o=r.find((e=>e.id===a.element.id));if(await(e=>{let{element:a}=e;return new Promise((e=>{a.children.length>0?e():setTimeout((()=>{t((e=>{return n=e,t=a.id,l=[{name:"Child Node "+e.length,children:[],id:e.length,parent:a.id,isBranch:!0},{name:"Another child Node",children:[],id:e.length+1,parent:a.id}],n.map((e=>(e.id===t&&(e.children=l.map((e=>e.id))),e))).concat(l);var n,t,l})),m&&d(g?[...new Set([...x,...i]),n.length,n.length+1]:[n.length,n.length+1]),e()}),1e3)}))})(a),l&&!o){const n=e.current;s([...r,a.element]),n&&(n.innerHTML=a.element.name+" loaded"),setTimeout((()=>{n&&(n.innerHTML="")}),5e3)}},onNodeSelect:e=>{let{element:n,isSelected:t}=e;t&&C([...x,n.id]),!t&&C(x.filter((e=>e===n.id)))},selectedIds:i,multiSelect:!0,propagateSelect:!0,togglableSelect:!0,propagateSelectUpwards:!0,nodeRenderer:e=>{let{element:n,isBranch:t,isExpanded:r,isSelected:s,isHalfSelected:i,getNodeProps:d,level:c,handleSelect:m,handleExpand:h}=e;return l.createElement("div",(0,a.Z)({},d({onClick:h}),{style:{marginLeft:40*(c-1)}}),t&&((e,n)=>e&&0===n.children.length?l.createElement(l.Fragment,null,l.createElement("span",{role:"alert","aria-live":"assertive",className:"visually-hidden"},"loading ",n.name),l.createElement(o.xz6,{"aria-hidden":!0,className:"loading-icon"})):l.createElement(u,{isOpen:e}))(r,n),l.createElement(S,{className:"checkbox-icon",onClick:e=>{!r&&h(e),m(e),e.stopPropagation()},variant:i?"some":s?"all":"none"}),l.createElement("span",{className:"name"},n.name,"-",n.id))}}))))},v='import React, { useRef, useState } from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport { AiOutlineLoading } from "react-icons/ai";\nimport TreeView from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst initialData = [\n {\n name: "",\n id: 0,\n children: [1, 2, 3],\n parent: null,\n },\n {\n name: "Fruits",\n children: [],\n id: 1,\n parent: 0,\n isBranch: true,\n },\n {\n name: "Drinks",\n children: [4, 5],\n id: 2,\n parent: 0,\n isBranch: true,\n },\n {\n name: "Vegetables",\n children: [],\n id: 3,\n parent: 0,\n isBranch: true,\n },\n {\n name: "Pine colada",\n children: [],\n id: 4,\n parent: 2,\n },\n {\n name: "Water",\n children: [],\n id: 5,\n parent: 2,\n },\n];\n\nfunction MultiSelectCheckboxAsyncControlled() {\n const loadedAlertElement = useRef(null);\n const [data, setData] = useState(initialData);\n const [nodesAlreadyLoaded, setNodesAlreadyLoaded] = useState([]);\n const [selectedIds, setSelectedIds] = useState([]);\n const [selectChildren, setSelectChildren] = useState(false);\n const [preserveSelection, setPreserveSelection] = useState(false);\n const [manuallySelectedNodes, setManuallySelectiedNodes] = useState([]);\n\n const updateTreeData = (list, id, children) => {\n const data = list.map((node) => {\n if (node.id === id) {\n node.children = children.map((el) => {\n return el.id;\n });\n }\n return node;\n });\n return data.concat(children);\n };\n\n const onLoadData = ({ element }) => {\n return new Promise((resolve) => {\n if (element.children.length > 0) {\n resolve();\n return;\n }\n setTimeout(() => {\n setData((value) =>\n updateTreeData(value, element.id, [\n {\n name: `Child Node ${value.length}`,\n children: [],\n id: value.length,\n parent: element.id,\n isBranch: true,\n },\n {\n name: "Another child Node",\n children: [],\n id: value.length + 1,\n parent: element.id,\n },\n ])\n );\n if (selectChildren) {\n preserveSelection\n ? setSelectedIds([\n ...new Set([...manuallySelectedNodes, ...selectedIds]),\n data.length,\n data.length + 1,\n ])\n : setSelectedIds([data.length, data.length + 1]);\n }\n resolve();\n }, 1000);\n });\n };\n\n const wrappedOnLoadData = async (props) => {\n const nodeHasNoChildData = props.element.children.length === 0;\n const nodeHasAlreadyBeenLoaded = nodesAlreadyLoaded.find(\n (e) => e.id === props.element.id\n );\n\n await onLoadData(props);\n\n if (nodeHasNoChildData && !nodeHasAlreadyBeenLoaded) {\n const el = loadedAlertElement.current;\n setNodesAlreadyLoaded([...nodesAlreadyLoaded, props.element]);\n el && (el.innerHTML = `${props.element.name} loaded`);\n\n // Clearing aria-live region so loaded node alerts no longer appear in DOM\n setTimeout(() => {\n el && (el.innerHTML = "");\n }, 5000);\n }\n };\n\n const handleNodeSelect = ({ element, isSelected }) => {\n isSelected &&\n setManuallySelectiedNodes([...manuallySelectedNodes, element.id]);\n !isSelected &&\n setManuallySelectiedNodes(\n manuallySelectedNodes.filter((id) => id === element.id)\n );\n };\n\n return (\n <>\n
\n
\n \n setPreserveSelection(!preserveSelection)}\n style={{ marginLeft: "16px" }}\n >\n Preserve current selection - [{JSON.stringify(preserveSelection)}]\n \n
\n {\n const branchNode = (isExpanded, element) => {\n return isExpanded && element.children.length === 0 ? (\n <>\n \n loading {element.name}\n \n \n \n ) : (\n \n );\n };\n return (\n \n {isBranch && branchNode(isExpanded, element)}\n {\n !isExpanded && handleExpand(e); \n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n \n {element.name}-{element.id}\n \n
\n );\n }}\n />\n \n \n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default MultiSelectCheckboxAsyncControlled;\n',x="@keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.loading-icon {\n animation: spinner 1.5s linear infinite;\n margin-left: 5px;\n}\n\n.visually-hidden {\n position: absolute;\n clip-path: circle(0);\n border: 0;\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n width: 1px;\n white-space: nowrap;\n}\n",C={title:"Asynchronous loading with Controlled selection"},f=void 0,y={unversionedId:"examples-MultiSelectCheckboxAsyncControlled",id:"examples-MultiSelectCheckboxAsyncControlled",title:"Asynchronous loading with Controlled selection",description:"This example demonstrates how to create a checkbox tree with asynchronous loading and controlled selection",source:"@site/docs/examples-MultiSelectCheckboxAsyncControlled.mdx",sourceDirName:".",slug:"/examples-MultiSelectCheckboxAsyncControlled",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled",draft:!1,tags:[],version:"current",frontMatter:{title:"Asynchronous loading with Controlled selection"},sidebar:"docs",previous:{title:"Asynchronous loading",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync"},next:{title:"Checkbox with controlled selectedIds",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled"}},b={},N=[],k={toc:N},w="wrapper";function E(e){let{components:n,...t}=e;return(0,r.kt)(w,(0,a.Z)({},k,t,{components:n,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"This example demonstrates how to create a checkbox tree with asynchronous loading and controlled selection"),(0,r.kt)(s.Z,{component:g,js:v,css:x,mdxType:"CodeTabs"}))}E.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/17896441.1a2f4372.js b/assets/js/17896441.1a2f4372.js new file mode 100644 index 00000000..c47e7ac0 --- /dev/null +++ b/assets/js/17896441.1a2f4372.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[918],{2839:(e,t,n)=>{n.r(t),n.d(t,{default:()=>He});var a=n(7294),l=n(1944),r=n(902);const o=a.createContext(null);function s(e){let{children:t,content:n}=e;const l=function(e){return(0,a.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return a.createElement(o.Provider,{value:l},t)}function c(){const e=(0,a.useContext)(o);if(null===e)throw new r.i6("DocProvider");return e}function i(){var e;const{metadata:t,frontMatter:n,assets:r}=c();return a.createElement(l.d,{title:t.title,description:t.description,keywords:n.keywords,image:null!=(e=r.image)?e:n.image})}var d=n(6010),m=n(7524),u=n(7462),b=n(5999),v=n(9960);function p(e){const{permalink:t,title:n,subLabel:l,isNext:r}=e;return a.createElement(v.Z,{className:(0,d.Z)("pagination-nav__link",r?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t},l&&a.createElement("div",{className:"pagination-nav__sublabel"},l),a.createElement("div",{className:"pagination-nav__label"},n))}function h(e){const{previous:t,next:n}=e;return a.createElement("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,b.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"})},t&&a.createElement(p,(0,u.Z)({},t,{subLabel:a.createElement(b.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")})),n&&a.createElement(p,(0,u.Z)({},n,{subLabel:a.createElement(b.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next"),isNext:!0})))}function g(){const{metadata:e}=c();return a.createElement(h,{previous:e.previous,next:e.next})}var E=n(2263),f=n(143),L=n(5281),N=n(373),C=n(4477);const _={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return a.createElement(b.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:a.createElement("b",null,n.label)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return a.createElement(b.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:a.createElement("b",null,n.label)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}};function k(e){const t=_[e.versionMetadata.banner];return a.createElement(t,e)}function Z(e){let{versionLabel:t,to:n,onClick:l}=e;return a.createElement(b.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:a.createElement("b",null,a.createElement(v.Z,{to:n,onClick:l},a.createElement(b.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}function x(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:l}}=(0,E.Z)(),{pluginId:r}=(0,f.gA)({failfast:!0}),{savePreferredVersionName:o}=(0,N.J)(r),{latestDocSuggestion:s,latestVersionSuggestion:c}=(0,f.Jo)(r),i=null!=s?s:(m=c).docs.find((e=>e.id===m.mainDocId));var m;return a.createElement("div",{className:(0,d.Z)(t,L.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert"},a.createElement("div",null,a.createElement(k,{siteTitle:l,versionMetadata:n})),a.createElement("div",{className:"margin-top--md"},a.createElement(Z,{versionLabel:c.label,to:i.path,onClick:()=>o(c.name)})))}function T(e){let{className:t}=e;const n=(0,C.E)();return n.banner?a.createElement(x,{className:t,versionMetadata:n}):null}function H(e){let{className:t}=e;const n=(0,C.E)();return n.badge?a.createElement("span",{className:(0,d.Z)(t,L.k.docs.docVersionBadge,"badge badge--secondary")},a.createElement(b.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label}},"Version: {versionLabel}")):null}function U(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n}=e;return a.createElement(b.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:a.createElement("b",null,a.createElement("time",{dateTime:new Date(1e3*t).toISOString()},n))}}," on {date}")}function w(e){let{lastUpdatedBy:t}=e;return a.createElement(b.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:a.createElement("b",null,t)}}," by {user}")}function y(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n,lastUpdatedBy:l}=e;return a.createElement("span",{className:L.k.common.lastUpdated},a.createElement(b.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&n?a.createElement(U,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:l?a.createElement(w,{lastUpdatedBy:l}):""}},"Last updated{atDate}{byUser}"),!1)}const A={iconEdit:"iconEdit_Z9Sw"};function M(e){let{className:t,...n}=e;return a.createElement("svg",(0,u.Z)({fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,d.Z)(A.iconEdit,t),"aria-hidden":"true"},n),a.createElement("g",null,a.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})))}function I(e){let{editUrl:t}=e;return a.createElement("a",{href:t,target:"_blank",rel:"noreferrer noopener",className:L.k.common.editThisPage},a.createElement(M,null),a.createElement(b.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page"},"Edit this page"))}const B={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function O(e){let{permalink:t,label:n,count:l}=e;return a.createElement(v.Z,{href:t,className:(0,d.Z)(B.tag,l?B.tagWithCount:B.tagRegular)},n,l&&a.createElement("span",null,l))}const V={tags:"tags_jXut",tag:"tag_QGVx"};function P(e){let{tags:t}=e;return a.createElement(a.Fragment,null,a.createElement("b",null,a.createElement(b.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list"},"Tags:")),a.createElement("ul",{className:(0,d.Z)(V.tags,"padding--none","margin-left--sm")},t.map((e=>{let{label:t,permalink:n}=e;return a.createElement("li",{key:n,className:V.tag},a.createElement(O,{label:t,permalink:n}))}))))}const S={lastUpdated:"lastUpdated_vwxv"};function R(e){return a.createElement("div",{className:(0,d.Z)(L.k.docs.docFooterTagsRow,"row margin-bottom--sm")},a.createElement("div",{className:"col"},a.createElement(P,e)))}function D(e){let{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:l,formattedLastUpdatedAt:r}=e;return a.createElement("div",{className:(0,d.Z)(L.k.docs.docFooterEditMetaRow,"row")},a.createElement("div",{className:"col"},t&&a.createElement(I,{editUrl:t})),a.createElement("div",{className:(0,d.Z)("col",S.lastUpdated)},(n||l)&&a.createElement(y,{lastUpdatedAt:n,formattedLastUpdatedAt:r,lastUpdatedBy:l})))}function F(){const{metadata:e}=c(),{editUrl:t,lastUpdatedAt:n,formattedLastUpdatedAt:l,lastUpdatedBy:r,tags:o}=e,s=o.length>0,i=!!(t||n||r);return s||i?a.createElement("footer",{className:(0,d.Z)(L.k.docs.docFooter,"docusaurus-mt-lg")},s&&a.createElement(R,{tags:o}),i&&a.createElement(D,{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:r,formattedLastUpdatedAt:l})):null}var z=n(6043),q=n(6668);function j(e){const t=e.map((e=>({...e,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);t.forEach(((e,t)=>{const a=n.slice(2,e.level);e.parentIndex=Math.max(...a),n[e.level]=t}));const a=[];return t.forEach((e=>{const{parentIndex:n,...l}=e;n>=0?t[n].children.push(l):a.push(l)})),a}function G(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:a}=e;return t.flatMap((e=>{const t=G({toc:e.children,minHeadingLevel:n,maxHeadingLevel:a});return function(e){return e.level>=n&&e.level<=a}(e)?[{...e,children:t}]:t}))}function W(e){const t=e.getBoundingClientRect();return t.top===t.bottom?W(e.parentNode):t}function J(e,t){var n;let{anchorTopOffset:a}=t;const l=e.find((e=>W(e).top>=a));if(l){var r;return function(e){return e.top>0&&e.bottom{e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function X(e){const t=(0,a.useRef)(void 0),n=Q();(0,a.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:a,linkActiveClassName:l,minHeadingLevel:r,maxHeadingLevel:o}=e;function s(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(a),s=function(e){let{minHeadingLevel:t,maxHeadingLevel:n}=e;const a=[];for(let l=t;l<=n;l+=1)a.push("h"+l+".anchor");return Array.from(document.querySelectorAll(a.join()))}({minHeadingLevel:r,maxHeadingLevel:o}),c=J(s,{anchorTopOffset:n.current}),i=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(l),e.classList.add(l),t.current=e):e.classList.remove(l)}(e,e===i)}))}return document.addEventListener("scroll",s),document.addEventListener("resize",s),s(),()=>{document.removeEventListener("scroll",s),document.removeEventListener("resize",s)}}),[e,n])}function Y(e){let{toc:t,className:n,linkClassName:l,isChild:r}=e;return t.length?a.createElement("ul",{className:r?void 0:n},t.map((e=>a.createElement("li",{key:e.id},a.createElement("a",{href:"#"+e.id,className:null!=l?l:void 0,dangerouslySetInnerHTML:{__html:e.value}}),a.createElement(Y,{isChild:!0,toc:e.children,className:n,linkClassName:l}))))):null}const K=a.memo(Y);function $(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:l="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:o,maxHeadingLevel:s,...c}=e;const i=(0,q.L)(),d=null!=o?o:i.tableOfContents.minHeadingLevel,m=null!=s?s:i.tableOfContents.maxHeadingLevel,b=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:l}=e;return(0,a.useMemo)((()=>G({toc:j(t),minHeadingLevel:n,maxHeadingLevel:l})),[t,n,l])}({toc:t,minHeadingLevel:d,maxHeadingLevel:m});return X((0,a.useMemo)((()=>{if(l&&r)return{linkClassName:l,linkActiveClassName:r,minHeadingLevel:d,maxHeadingLevel:m}}),[l,r,d,m])),a.createElement(K,(0,u.Z)({toc:b,className:n,linkClassName:l},c))}const ee={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function te(e){let{collapsed:t,...n}=e;return a.createElement("button",(0,u.Z)({type:"button"},n,{className:(0,d.Z)("clean-btn",ee.tocCollapsibleButton,!t&&ee.tocCollapsibleButtonExpanded,n.className)}),a.createElement(b.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component"},"On this page"))}const ne={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function ae(e){let{toc:t,className:n,minHeadingLevel:l,maxHeadingLevel:r}=e;const{collapsed:o,toggleCollapsed:s}=(0,z.u)({initialState:!0});return a.createElement("div",{className:(0,d.Z)(ne.tocCollapsible,!o&&ne.tocCollapsibleExpanded,n)},a.createElement(te,{collapsed:o,onClick:s}),a.createElement(z.z,{lazy:!0,className:ne.tocCollapsibleContent,collapsed:o},a.createElement($,{toc:t,minHeadingLevel:l,maxHeadingLevel:r})))}const le={tocMobile:"tocMobile_ITEo"};function re(){const{toc:e,frontMatter:t}=c();return a.createElement(ae,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,d.Z)(L.k.docs.docTocMobile,le.tocMobile)})}const oe={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"},se="table-of-contents__link toc-highlight",ce="table-of-contents__link--active";function ie(e){let{className:t,...n}=e;return a.createElement("div",{className:(0,d.Z)(oe.tableOfContents,"thin-scrollbar",t)},a.createElement($,(0,u.Z)({},n,{linkClassName:se,linkActiveClassName:ce})))}function de(){const{toc:e,frontMatter:t}=c();return a.createElement(ie,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:L.k.docs.docTocDesktop})}var me=n(2503),ue=n(3905),be=n(9297);function ve(e){let{children:t}=e;return a.createElement(ue.Zo,{components:be.Z},t)}function pe(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=c();return t.hide_title||void 0!==n?null:e.title}();return a.createElement("div",{className:(0,d.Z)(L.k.docs.docMarkdown,"markdown")},n&&a.createElement("header",null,a.createElement(me.Z,{as:"h1"},n)),a.createElement(ve,null,t))}var he=n(2802),ge=n(8596),Ee=n(4996);function fe(e){return a.createElement("svg",(0,u.Z)({viewBox:"0 0 24 24"},e),a.createElement("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"}))}const Le={breadcrumbHomeIcon:"breadcrumbHomeIcon_YNFT"};function Ne(){const e=(0,Ee.Z)("/");return a.createElement("li",{className:"breadcrumbs__item"},a.createElement(v.Z,{"aria-label":(0,b.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e},a.createElement(fe,{className:Le.breadcrumbHomeIcon})))}const Ce={breadcrumbsContainer:"breadcrumbsContainer_Z_bl"};function _e(e){let{children:t,href:n,isLast:l}=e;const r="breadcrumbs__link";return l?a.createElement("span",{className:r,itemProp:"name"},t):n?a.createElement(v.Z,{className:r,href:n,itemProp:"item"},a.createElement("span",{itemProp:"name"},t)):a.createElement("span",{className:r},t)}function ke(e){let{children:t,active:n,index:l,addMicrodata:r}=e;return a.createElement("li",(0,u.Z)({},r&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},{className:(0,d.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n})}),t,a.createElement("meta",{itemProp:"position",content:String(l+1)}))}function Ze(){const e=(0,he.s1)(),t=(0,ge.Ns)();return e?a.createElement("nav",{className:(0,d.Z)(L.k.docs.docBreadcrumbs,Ce.breadcrumbsContainer),"aria-label":(0,b.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"})},a.createElement("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},t&&a.createElement(Ne,null),e.map(((t,n)=>{const l=n===e.length-1;return a.createElement(ke,{key:n,active:l,index:n,addMicrodata:!!t.href},a.createElement(_e,{href:t.href,isLast:l},t.label))})))):null}const xe={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function Te(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=c(),n=(0,m.i)(),l=e.hide_table_of_contents,r=!l&&t.length>0;return{hidden:l,mobile:r?a.createElement(re,null):void 0,desktop:!r||"desktop"!==n&&"ssr"!==n?void 0:a.createElement(de,null)}}();return a.createElement("div",{className:"row"},a.createElement("div",{className:(0,d.Z)("col",!n.hidden&&xe.docItemCol)},a.createElement(T,null),a.createElement("div",{className:xe.docItemContainer},a.createElement("article",null,a.createElement(Ze,null),a.createElement(H,null),n.mobile,a.createElement(pe,null,t),a.createElement(F,null)),a.createElement(g,null))),n.desktop&&a.createElement("div",{className:"col col--3"},n.desktop))}function He(e){const t="docs-doc-id-"+e.content.metadata.unversionedId,n=e.content;return a.createElement(s,{content:e.content},a.createElement(l.FG,{className:t},a.createElement(i,null),a.createElement(Te,null,a.createElement(n,null))))}},4477:(e,t,n)=>{n.d(t,{E:()=>s,q:()=>o});var a=n(7294),l=n(902);const r=a.createContext(null);function o(e){let{children:t,version:n}=e;return a.createElement(r.Provider,{value:n},t)}function s(){const e=(0,a.useContext)(r);if(null===e)throw new l.i6("DocsVersionProvider");return e}}}]); \ No newline at end of file diff --git a/assets/js/17896441.28b37a0d.js b/assets/js/17896441.28b37a0d.js deleted file mode 100644 index 99310177..00000000 --- a/assets/js/17896441.28b37a0d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[918],{2839:function(e,t,a){a.r(t),a.d(t,{default:function(){return Ie}});var n=a(7294),l=a(1944),r=a(9688),i=n.createContext(null);function o(e){var t=e.children,a=function(e){return(0,n.useMemo)((function(){return{metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc}}),[e])}(e.content);return n.createElement(i.Provider,{value:a},t)}function c(){var e=(0,n.useContext)(i);if(null===e)throw new r.i6("DocProvider");return e}function s(){var e,t=c(),a=t.metadata,r=t.frontMatter,i=t.assets;return n.createElement(l.d,{title:a.title,description:a.description,keywords:r.keywords,image:null!=(e=i.image)?e:r.image})}var d=a(6010),m=a(7524),u=a(7462),v=a(5999),b=a(9960);function p(e){var t=e.permalink,a=e.title,l=e.subLabel,r=e.isNext;return n.createElement(b.Z,{className:(0,d.Z)("pagination-nav__link",r?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t},l&&n.createElement("div",{className:"pagination-nav__sublabel"},l),n.createElement("div",{className:"pagination-nav__label"},a))}function f(e){var t=e.previous,a=e.next;return n.createElement("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,v.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"})},t&&n.createElement(p,(0,u.Z)({},t,{subLabel:n.createElement(v.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")})),a&&n.createElement(p,(0,u.Z)({},a,{subLabel:n.createElement(v.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next"),isNext:!0})))}function h(){var e=c().metadata;return n.createElement(f,{previous:e.previous,next:e.next})}var g=a(2263),E=a(143),L=a(5281),N=a(373),C=a(4477);var _={unreleased:function(e){var t=e.siteTitle,a=e.versionMetadata;return n.createElement(v.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:n.createElement("b",null,a.label)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")},unmaintained:function(e){var t=e.siteTitle,a=e.versionMetadata;return n.createElement(v.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:n.createElement("b",null,a.label)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}};function k(e){var t=_[e.versionMetadata.banner];return n.createElement(t,e)}function Z(e){var t=e.versionLabel,a=e.to,l=e.onClick;return n.createElement(v.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:n.createElement("b",null,n.createElement(b.Z,{to:a,onClick:l},n.createElement(v.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}function x(e){var t,a=e.className,l=e.versionMetadata,r=(0,g.Z)().siteConfig.title,i=(0,E.gA)({failfast:!0}).pluginId,o=(0,N.J)(i).savePreferredVersionName,c=(0,E.Jo)(i),s=c.latestDocSuggestion,m=c.latestVersionSuggestion,u=null!=s?s:(t=m).docs.find((function(e){return e.id===t.mainDocId}));return n.createElement("div",{className:(0,d.Z)(a,L.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert"},n.createElement("div",null,n.createElement(k,{siteTitle:r,versionMetadata:l})),n.createElement("div",{className:"margin-top--md"},n.createElement(Z,{versionLabel:m.label,to:u.path,onClick:function(){return o(m.name)}})))}function T(e){var t=e.className,a=(0,C.E)();return a.banner?n.createElement(x,{className:t,versionMetadata:a}):null}function H(e){var t=e.className,a=(0,C.E)();return a.badge?n.createElement("span",{className:(0,d.Z)(t,L.k.docs.docVersionBadge,"badge badge--secondary")},n.createElement(v.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:a.label}},"Version: {versionLabel}")):null}function U(e){var t=e.lastUpdatedAt,a=e.formattedLastUpdatedAt;return n.createElement(v.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:n.createElement("b",null,n.createElement("time",{dateTime:new Date(1e3*t).toISOString()},a))}}," on {date}")}function w(e){var t=e.lastUpdatedBy;return n.createElement(v.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:n.createElement("b",null,t)}}," by {user}")}function y(e){var t=e.lastUpdatedAt,a=e.formattedLastUpdatedAt,l=e.lastUpdatedBy;return n.createElement("span",{className:L.k.common.lastUpdated},n.createElement(v.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&a?n.createElement(U,{lastUpdatedAt:t,formattedLastUpdatedAt:a}):"",byUser:l?n.createElement(w,{lastUpdatedBy:l}):""}},"Last updated{atDate}{byUser}"),!1)}var A=a(3366),M={iconEdit:"iconEdit_Z9Sw"},I=["className"];function B(e){var t=e.className,a=(0,A.Z)(e,I);return n.createElement("svg",(0,u.Z)({fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,d.Z)(M.iconEdit,t),"aria-hidden":"true"},a),n.createElement("g",null,n.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})))}function O(e){var t=e.editUrl;return n.createElement("a",{href:t,target:"_blank",rel:"noreferrer noopener",className:L.k.common.editThisPage},n.createElement(B,null),n.createElement(v.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page"},"Edit this page"))}var V={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function P(e){var t=e.permalink,a=e.label,l=e.count;return n.createElement(b.Z,{href:t,className:(0,d.Z)(V.tag,l?V.tagWithCount:V.tagRegular)},a,l&&n.createElement("span",null,l))}var S={tags:"tags_jXut",tag:"tag_QGVx"};function R(e){var t=e.tags;return n.createElement(n.Fragment,null,n.createElement("b",null,n.createElement(v.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list"},"Tags:")),n.createElement("ul",{className:(0,d.Z)(S.tags,"padding--none","margin-left--sm")},t.map((function(e){var t=e.label,a=e.permalink;return n.createElement("li",{key:a,className:S.tag},n.createElement(P,{label:t,permalink:a}))}))))}var D={lastUpdated:"lastUpdated_vwxv"};function F(e){return n.createElement("div",{className:(0,d.Z)(L.k.docs.docFooterTagsRow,"row margin-bottom--sm")},n.createElement("div",{className:"col"},n.createElement(R,e)))}function z(e){var t=e.editUrl,a=e.lastUpdatedAt,l=e.lastUpdatedBy,r=e.formattedLastUpdatedAt;return n.createElement("div",{className:(0,d.Z)(L.k.docs.docFooterEditMetaRow,"row")},n.createElement("div",{className:"col"},t&&n.createElement(O,{editUrl:t})),n.createElement("div",{className:(0,d.Z)("col",D.lastUpdated)},(a||l)&&n.createElement(y,{lastUpdatedAt:a,formattedLastUpdatedAt:r,lastUpdatedBy:l})))}function j(){var e=c().metadata,t=e.editUrl,a=e.lastUpdatedAt,l=e.formattedLastUpdatedAt,r=e.lastUpdatedBy,i=e.tags,o=i.length>0,s=!!(t||a||r);return o||s?n.createElement("footer",{className:(0,d.Z)(L.k.docs.docFooter,"docusaurus-mt-lg")},o&&n.createElement(F,{tags:i}),s&&n.createElement(z,{editUrl:t,lastUpdatedAt:a,lastUpdatedBy:r,formattedLastUpdatedAt:l})):null}var q=a(6043),G=a(6668),W=["parentIndex"];function J(e){var t=e.map((function(e){return Object.assign({},e,{parentIndex:-1,children:[]})})),a=Array(7).fill(-1);t.forEach((function(e,t){var n=a.slice(2,e.level);e.parentIndex=Math.max.apply(Math,n),a[e.level]=t}));var n=[];return t.forEach((function(e){var a=e.parentIndex,l=(0,A.Z)(e,W);a>=0?t[a].children.push(l):n.push(l)})),n}function Q(e){var t=e.toc,a=e.minHeadingLevel,n=e.maxHeadingLevel;return t.flatMap((function(e){var t=Q({toc:e.children,minHeadingLevel:a,maxHeadingLevel:n});return function(e){return e.level>=a&&e.level<=n}(e)?[Object.assign({},e,{children:t})]:t}))}function X(e){var t=e.getBoundingClientRect();return t.top===t.bottom?X(e.parentNode):t}function Y(e,t){var a,n,l=t.anchorTopOffset,r=e.find((function(e){return X(e).top>=l}));return r?function(e){return e.top>0&&e.bottom0,{hidden:i,mobile:o?n.createElement(de,null):void 0,desktop:!o||"desktop"!==r&&"ssr"!==r?void 0:n.createElement(fe,null)});return n.createElement("div",{className:"row"},n.createElement("div",{className:(0,d.Z)("col",!u.hidden&&Ae.docItemCol)},n.createElement(T,null),n.createElement("div",{className:Ae.docItemContainer},n.createElement("article",null,n.createElement(ye,null),n.createElement(H,null),u.mobile,n.createElement(Ne,null,s),n.createElement(j,null)),n.createElement(h,null))),u.desktop&&n.createElement("div",{className:"col col--3"},u.desktop))}function Ie(e){var t="docs-doc-id-"+e.content.metadata.unversionedId,a=e.content;return n.createElement(o,{content:e.content},n.createElement(l.FG,{className:t},n.createElement(s,null),n.createElement(Me,null,n.createElement(a,null))))}},4477:function(e,t,a){a.d(t,{E:function(){return o},q:function(){return i}});var n=a(7294),l=a(9688),r=n.createContext(null);function i(e){var t=e.children,a=e.version;return n.createElement(r.Provider,{value:a},t)}function o(){var e=(0,n.useContext)(r);if(null===e)throw new l.i6("DocsVersionProvider");return e}}}]); \ No newline at end of file diff --git a/assets/js/193.2e4b0181.js b/assets/js/193.2e4b0181.js new file mode 100644 index 00000000..0cc24aad --- /dev/null +++ b/assets/js/193.2e4b0181.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[193],{8193:(t,e,a)=>{a.d(e,{xz6:()=>s});var c=a(8357);function s(t){return(0,c.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]})(t)}}}]); \ No newline at end of file diff --git a/assets/js/1be78505.13faff4b.js b/assets/js/1be78505.13faff4b.js new file mode 100644 index 00000000..5de3cd1c --- /dev/null +++ b/assets/js/1be78505.13faff4b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[514,972],{9963:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ge});var a=n(7294),l=n(6010),o=n(1944),r=n(5281),c=n(3320),i=n(2802),s=n(4477),d=n(1116),m=n(7961),u=n(5999),b=n(2466),p=n(5936);const h={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function E(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,l]=(0,a.useState)(!1),o=(0,a.useRef)(!1),{startScroll:r,cancelScroll:c}=(0,b.Ct)();return(0,b.RF)(((e,n)=>{let{scrollY:a}=e;const r=null==n?void 0:n.scrollY;r&&(o.current?o.current=!1:a>=r?(c(),l(!1)):a{e.location.hash&&(o.current=!0,l(!1))})),{shown:n,scrollToTop:()=>r(0)}}({threshold:300});return a.createElement("button",{"aria-label":(0,u.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,l.Z)("clean-btn",r.k.common.backToTopButton,h.backToTopButton,e&&h.backToTopButtonShow),type:"button",onClick:t})}var f=n(1442),g=n(6550),v=n(7524),k=n(6668),_=n(1327),C=n(7462);function S(e){return a.createElement("svg",(0,C.Z)({width:"20",height:"20","aria-hidden":"true"},e),a.createElement("g",{fill:"#7a7a7a"},a.createElement("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),a.createElement("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})))}const I={collapseSidebarButton:"collapseSidebarButton_PEFL",collapseSidebarButtonIcon:"collapseSidebarButtonIcon_kv0_"};function N(e){let{onClick:t}=e;return a.createElement("button",{type:"button",title:(0,u.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,u.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,l.Z)("button button--secondary button--outline",I.collapseSidebarButton),onClick:t},a.createElement(S,{className:I.collapseSidebarButtonIcon}))}var T=n(9689),x=n(902);const Z=Symbol("EmptyContext"),B=a.createContext(Z);function w(e){let{children:t}=e;const[n,l]=(0,a.useState)(null),o=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:l})),[n]);return a.createElement(B.Provider,{value:o},t)}var y=n(6043),L=n(8596),A=n(9960),M=n(2389);function F(e){let{categoryLabel:t,onClick:n}=e;return a.createElement("button",{"aria-label":(0,u.I)({id:"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel",message:"Toggle the collapsible sidebar category '{label}'",description:"The ARIA label to toggle the collapsible sidebar category"},{label:t}),type:"button",className:"clean-btn menu__caret",onClick:n})}function H(e){let{item:t,onItemClick:n,activePath:o,level:c,index:s,...d}=e;const{items:m,label:u,collapsible:b,className:p,href:h}=t,{docs:{sidebar:{autoCollapseCategories:E}}}=(0,k.L)(),f=function(e){const t=(0,M.Z)();return(0,a.useMemo)((()=>e.href?e.href:!t&&e.collapsible?(0,i.Wl)(e):void 0),[e,t])}(t),g=(0,i._F)(t,o),v=(0,L.Mg)(h,o),{collapsed:_,setCollapsed:S}=(0,y.u)({initialState:()=>!!b&&(!g&&t.collapsed)}),{expandedItem:I,setExpandedItem:N}=function(){const e=(0,a.useContext)(B);if(e===Z)throw new x.i6("DocSidebarItemsExpandedStateProvider");return e}(),T=function(e){void 0===e&&(e=!_),N(e?null:s),S(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:l}=e;const o=(0,x.D9)(t);(0,a.useEffect)((()=>{t&&!o&&n&&l(!1)}),[t,o,n,l])}({isActive:g,collapsed:_,updateCollapsed:T}),(0,a.useEffect)((()=>{b&&null!=I&&I!==s&&E&&S(!0)}),[b,I,s,S,E]),a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemCategory,r.k.docs.docSidebarItemCategoryLevel(c),"menu__list-item",{"menu__list-item--collapsed":_},p)},a.createElement("div",{className:(0,l.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":v})},a.createElement(A.Z,(0,C.Z)({className:(0,l.Z)("menu__link",{"menu__link--sublist":b,"menu__link--sublist-caret":!h&&b,"menu__link--active":g}),onClick:b?e=>{null==n||n(t),h?T(!1):(e.preventDefault(),T())}:()=>{null==n||n(t)},"aria-current":v?"page":void 0,"aria-expanded":b?!_:void 0,href:b?null!=f?f:"#":f},d),u),h&&b&&a.createElement(F,{categoryLabel:u,onClick:e=>{e.preventDefault(),T()}})),a.createElement(y.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:_},a.createElement(j,{items:m,tabIndex:_?-1:0,onItemClick:n,activePath:o,level:c+1})))}var P=n(3919),W=n(9471);const D={menuExternalLink:"menuExternalLink_NmtK"};function R(e){let{item:t,onItemClick:n,activePath:o,level:c,index:s,...d}=e;const{href:m,label:u,className:b,autoAddBaseUrl:p}=t,h=(0,i._F)(t,o),E=(0,P.Z)(m);return a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemLink,r.k.docs.docSidebarItemLinkLevel(c),"menu__list-item",b),key:u},a.createElement(A.Z,(0,C.Z)({className:(0,l.Z)("menu__link",!E&&D.menuExternalLink,{"menu__link--active":h}),autoAddBaseUrl:p,"aria-current":h?"page":void 0,to:m},E&&{onClick:n?()=>n(t):void 0},d),u,!E&&a.createElement(W.Z,null)))}const V={menuHtmlItem:"menuHtmlItem_M9Kj"};function U(e){let{item:t,level:n,index:o}=e;const{value:c,defaultStyle:i,className:s}=t;return a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemLink,r.k.docs.docSidebarItemLinkLevel(n),i&&[V.menuHtmlItem,"menu__list-item"],s),key:o,dangerouslySetInnerHTML:{__html:c}})}function z(e){let{item:t,...n}=e;switch(t.type){case"category":return a.createElement(H,(0,C.Z)({item:t},n));case"html":return a.createElement(U,(0,C.Z)({item:t},n));default:return a.createElement(R,(0,C.Z)({item:t},n))}}function K(e){let{items:t,...n}=e;return a.createElement(w,null,t.map(((e,t)=>a.createElement(z,(0,C.Z)({key:t,item:e,index:t},n)))))}const j=(0,a.memo)(K),q={menu:"menu_SIkG",menuWithAnnouncementBar:"menuWithAnnouncementBar_GW3s"};function G(e){let{path:t,sidebar:n,className:o}=e;const c=function(){const{isActive:e}=(0,T.nT)(),[t,n]=(0,a.useState)(e);return(0,b.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return a.createElement("nav",{"aria-label":(0,u.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,l.Z)("menu thin-scrollbar",q.menu,c&&q.menuWithAnnouncementBar,o)},a.createElement("ul",{className:(0,l.Z)(r.k.docs.docSidebarMenu,"menu__list")},a.createElement(j,{items:n,activePath:t,level:1})))}const Y="sidebar_njMd",O="sidebarWithHideableNavbar_wUlq",X="sidebarHidden_VK0M",J="sidebarLogo_isFc";function Q(e){let{path:t,sidebar:n,onCollapse:o,isHidden:r}=e;const{navbar:{hideOnScroll:c},docs:{sidebar:{hideable:i}}}=(0,k.L)();return a.createElement("div",{className:(0,l.Z)(Y,c&&O,r&&X)},c&&a.createElement(_.Z,{tabIndex:-1,className:J}),a.createElement(G,{path:t,sidebar:n}),i&&a.createElement(N,{onClick:o}))}const $=a.memo(Q);var ee=n(3102),te=n(2961);const ne=e=>{let{sidebar:t,path:n}=e;const o=(0,te.e)();return a.createElement("ul",{className:(0,l.Z)(r.k.docs.docSidebarMenu,"menu__list")},a.createElement(j,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&o.toggle(),"link"===e.type&&o.toggle()},level:1}))};function ae(e){return a.createElement(ee.Zo,{component:ne,props:e})}const le=a.memo(ae);function oe(e){const t=(0,v.i)(),n="desktop"===t||"ssr"===t,l="mobile"===t;return a.createElement(a.Fragment,null,n&&a.createElement($,e),l&&a.createElement(le,e))}const re={expandButton:"expandButton_m80_",expandButtonIcon:"expandButtonIcon_BlDH"};function ce(e){let{toggleSidebar:t}=e;return a.createElement("div",{className:re.expandButton,title:(0,u.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,u.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t},a.createElement(S,{className:re.expandButtonIcon}))}const ie={docSidebarContainer:"docSidebarContainer_b6E3",docSidebarContainerHidden:"docSidebarContainerHidden_b3ry",sidebarViewport:"sidebarViewport_Xe31"};function se(e){var t;let{children:n}=e;const l=(0,d.V)();return a.createElement(a.Fragment,{key:null!=(t=null==l?void 0:l.name)?t:"noSidebar"},n)}function de(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:o}=e;const{pathname:c}=(0,g.TH)(),[i,s]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{i&&s(!1),!i&&(0,f.n)()&&s(!0),o((e=>!e))}),[o,i]);return a.createElement("aside",{className:(0,l.Z)(r.k.docs.docSidebarContainer,ie.docSidebarContainer,n&&ie.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(ie.docSidebarContainer)&&n&&s(!0)}},a.createElement(se,null,a.createElement("div",{className:(0,l.Z)(ie.sidebarViewport,i&&ie.sidebarViewportHidden)},a.createElement(oe,{sidebar:t,path:c,onCollapse:d,isHidden:i}),i&&a.createElement(ce,{toggleSidebar:d}))))}const me={docMainContainer:"docMainContainer_gTbr",docMainContainerEnhanced:"docMainContainerEnhanced_Uz_u",docItemWrapperEnhanced:"docItemWrapperEnhanced_czyv"};function ue(e){let{hiddenSidebarContainer:t,children:n}=e;const o=(0,d.V)();return a.createElement("main",{className:(0,l.Z)(me.docMainContainer,(t||!o)&&me.docMainContainerEnhanced)},a.createElement("div",{className:(0,l.Z)("container padding-top--md padding-bottom--lg",me.docItemWrapper,t&&me.docItemWrapperEnhanced)},n))}const be={docPage:"docPage__5DB",docsWrapper:"docsWrapper_BCFX","themedComponent--light":"themedComponent--light_NU7w"};function pe(e){let{children:t}=e;const n=(0,d.V)(),[l,o]=(0,a.useState)(!1);return a.createElement(m.Z,{wrapperClassName:be.docsWrapper},a.createElement(E,null),a.createElement("div",{className:be.docPage},n&&a.createElement(de,{sidebar:n.items,hiddenSidebarContainer:l,setHiddenSidebarContainer:o}),a.createElement(ue,{hiddenSidebarContainer:l},t)))}var he=n(4972),Ee=n(197);function fe(e){const{versionMetadata:t}=e;return a.createElement(a.Fragment,null,a.createElement(Ee.Z,{version:t.version,tag:(0,c.os)(t.pluginId,t.version)}),a.createElement(o.d,null,t.noIndex&&a.createElement("meta",{name:"robots",content:"noindex, nofollow"})))}function ge(e){const{versionMetadata:t}=e,n=(0,i.hI)(e);if(!n)return a.createElement(he.default,null);const{docElement:c,sidebarName:m,sidebarItems:u}=n;return a.createElement(a.Fragment,null,a.createElement(fe,e),a.createElement(o.FG,{className:(0,l.Z)(r.k.wrapper.docsPages,r.k.page.docsDocPage,e.versionMetadata.className)},a.createElement(s.q,{version:t},a.createElement(d.b,{name:m,items:u},a.createElement(pe,null,c)))))}},4972:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var a=n(7294),l=n(5999),o=n(1944),r=n(7961);function c(){return a.createElement(a.Fragment,null,a.createElement(o.d,{title:(0,l.I)({id:"theme.NotFound.title",message:"Page Not Found"})}),a.createElement(r.Z,null,a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(l.Z,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}},4477:(e,t,n)=>{n.d(t,{E:()=>c,q:()=>r});var a=n(7294),l=n(902);const o=a.createContext(null);function r(e){let{children:t,version:n}=e;return a.createElement(o.Provider,{value:n},t)}function c(){const e=(0,a.useContext)(o);if(null===e)throw new l.i6("DocsVersionProvider");return e}}}]); \ No newline at end of file diff --git a/assets/js/1be78505.50ad97e7.js b/assets/js/1be78505.50ad97e7.js deleted file mode 100644 index 0cce2942..00000000 --- a/assets/js/1be78505.50ad97e7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[514,972],{9963:function(e,t,n){n.r(t),n.d(t,{default:function(){return Ie}});var a=n(7294),r=n(6010),l=n(1944),o=n(5281),i=n(3320),c=n(8425),d=n(4477),s=n(1116),u=n(7961),m=n(5999),b=n(2466),p=n(5936);var v={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function h(){var e=function(e){var t=e.threshold,n=(0,a.useState)(!1),r=n[0],l=n[1],o=(0,a.useRef)(!1),i=(0,b.Ct)(),c=i.startScroll,d=i.cancelScroll;return(0,b.RF)((function(e,n){var a=e.scrollY,r=null==n?void 0:n.scrollY;r&&(o.current?o.current=!1:a>=r?(d(),l(!1)):a{a.r(n),a.d(n,{assets:()=>h,contentTitle:()=>b,default:()=>x,frontMatter:()=>p,metadata:()=>u,toc:()=>f});var t=a(7462),s=a(7294),c=a(3905),i=a(148);const r=(0,i.fK)({name:"",children:[{name:"src",children:[{name:"index.js"},{name:"styles.css"}]},{name:"node_modules",children:[{name:"react-accessible-treeview",children:[{name:"bundle.js"}]},{name:"react",children:[{name:"bundle.js"}]}]},{name:".npmignore"},{name:"package.json"},{name:"webpack.config.js"}]}),o=()=>s.createElement(i.ZP,{data:r,className:"basic","aria-label":"basic example tree",nodeRenderer:e=>{let{element:n,getNodeProps:a,level:c,handleSelect:i}=e;return s.createElement("div",(0,t.Z)({},a(),{style:{paddingLeft:20*(c-1)}}),n.name)}}),l='import React from "react";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport "./styles.css";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "src",\n children: [{ name: "index.js" }, { name: "styles.css" }],\n },\n {\n name: "node_modules",\n children: [\n {\n name: "react-accessible-treeview",\n children: [{ name: "bundle.js" }],\n },\n { name: "react", children: [{ name: "bundle.js" }] },\n ],\n },\n {\n name: ".npmignore",\n },\n {\n name: "package.json",\n },\n {\n name: "webpack.config.js",\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nconst BasicTreeView = () => (\n (\n
\n {element.name}\n
\n )}\n />\n);\n\nexport default BasicTreeView;\n';var d=a(3952),m=a(2805);const p={title:"Basic"},b=void 0,u={unversionedId:"examples-Basic",id:"examples-Basic",title:"Basic",description:"The simplest instance of the component, a good base on which a custom component can be built.",source:"@site/docs/examples-Basic.mdx",sourceDirName:".",slug:"/examples-Basic",permalink:"/react-accessible-treeview/docs/examples-Basic",draft:!1,tags:[],version:"current",frontMatter:{title:"Basic"},sidebar:"docs",previous:{title:"API Reference",permalink:"/react-accessible-treeview/docs/api"},next:{title:"Basic with controlled expandable node",permalink:"/react-accessible-treeview/docs/examples-ControlledExpandedNode"}},h={},f=[],w={toc:f},g="wrapper";function x(e){let{components:n,...a}=e;return(0,c.kt)(g,(0,t.Z)({},w,a,{components:n,mdxType:"MDXLayout"}),(0,c.kt)("p",null,"The simplest instance of the component, a good base on which a custom component can be built."),(0,c.kt)(m.Z,{component:o,js:l,css:d.Z,mdxType:"CodeTabs"}))}x.isMDXComponent=!0},3952:(e,n,a)=>{a.d(n,{Z:()=>t});const t=".basic.tree {\n list-style: none;\n margin: 0;\n padding: 20px;\n}\n.basic .tree-node,\n.basic .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.basic .tree-branch-wrapper,\n.basic .tree-node__leaf {\n outline: none;\n}\n\n.basic .tree-node--focused {\n outline-color: rgb(77, 144, 254);\n outline-style: auto;\n outline-width: 2px;\n display: block;\n}\n\n.basic .tree-node__branch {\n display: block;\n}\n\n.basic .tree-node {\n cursor: pointer;\n}\n"}}]); \ No newline at end of file diff --git a/assets/js/22f348d2.7ee9352d.js b/assets/js/22f348d2.7ee9352d.js deleted file mode 100644 index 9c2b1f15..00000000 --- a/assets/js/22f348d2.7ee9352d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[148],{5804:function(e,n,t){t.r(n),t.d(n,{assets:function(){return w},contentTitle:function(){return f},default:function(){return k},frontMatter:function(){return b},metadata:function(){return h},toc:function(){return g}});var a=t(7462),s=t(3366),c=t(7294),i=t(3905),r=t(148),o=(0,r.fK)({name:"",children:[{name:"src",children:[{name:"index.js"},{name:"styles.css"}]},{name:"node_modules",children:[{name:"react-accessible-treeview",children:[{name:"bundle.js"}]},{name:"react",children:[{name:"bundle.js"}]}]},{name:".npmignore"},{name:"package.json"},{name:"webpack.config.js"}]}),l=function(){return c.createElement(r.ZP,{data:o,className:"basic","aria-label":"basic example tree",nodeRenderer:function(e){var n=e.element,t=e.getNodeProps,s=e.level;e.handleSelect;return c.createElement("div",(0,a.Z)({},t(),{style:{paddingLeft:20*(s-1)}}),n.name)}})},d='import React from "react";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport "./styles.css";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "src",\n children: [{ name: "index.js" }, { name: "styles.css" }],\n },\n {\n name: "node_modules",\n children: [\n {\n name: "react-accessible-treeview",\n children: [{ name: "bundle.js" }],\n },\n { name: "react", children: [{ name: "bundle.js" }] },\n ],\n },\n {\n name: ".npmignore",\n },\n {\n name: "package.json",\n },\n {\n name: "webpack.config.js",\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nconst BasicTreeView = () => (\n (\n
\n {element.name}\n
\n )}\n />\n);\n\nexport default BasicTreeView;\n',m=t(3952),p=t(2805),u=["components"],b={title:"Basic"},f=void 0,h={unversionedId:"examples-Basic",id:"examples-Basic",title:"Basic",description:"The simplest instance of the component, a good base on which a custom component can be built.",source:"@site/docs/examples-Basic.mdx",sourceDirName:".",slug:"/examples-Basic",permalink:"/react-accessible-treeview/docs/examples-Basic",draft:!1,tags:[],version:"current",frontMatter:{title:"Basic"},sidebar:"docs",previous:{title:"API Reference",permalink:"/react-accessible-treeview/docs/api"},next:{title:"Basic with controlled expandable node",permalink:"/react-accessible-treeview/docs/examples-ControlledExpandedNode"}},w={},g=[],v={toc:g},x="wrapper";function k(e){var n=e.components,t=(0,s.Z)(e,u);return(0,i.kt)(x,(0,a.Z)({},v,t,{components:n,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"The simplest instance of the component, a good base on which a custom component can be built."),(0,i.kt)(p.Z,{component:l,js:d,css:m.Z,mdxType:"CodeTabs"}))}k.isMDXComponent=!0},3952:function(e,n){n.Z=".basic.tree {\n list-style: none;\n margin: 0;\n padding: 20px;\n}\n.basic .tree-node,\n.basic .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.basic .tree-branch-wrapper,\n.basic .tree-node__leaf {\n outline: none;\n}\n\n.basic .tree-node--focused {\n outline-color: rgb(77, 144, 254);\n outline-style: auto;\n outline-width: 2px;\n display: block;\n}\n\n.basic .tree-node__branch {\n display: block;\n}\n\n.basic .tree-node {\n cursor: pointer;\n}\n"}}]); \ No newline at end of file diff --git a/assets/js/28e78d68.a9650a1a.js b/assets/js/28e78d68.a9650a1a.js deleted file mode 100644 index ee1e9677..00000000 --- a/assets/js/28e78d68.a9650a1a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[507],{842:function(e,n,a){var t=a(3366),r=a(7462),c=a(7294),o=a(9583),s=a(1649),l=a(148),i=a(4184),m=a.n(i),d=["variant"],u=(0,l.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Apple Juice"},{name:"Chocolate"},{name:"Coffee"},{name:"Tea",children:[{name:"Black Tea"},{name:"Green Tea"},{name:"Red Tea"},{name:"Matcha"}]}]},{name:"Vegetables",children:[{name:"Beets"},{name:"Carrots"},{name:"Celery"},{name:"Lettuce"},{name:"Onions"}]}]});var p=function(e){var n,a,t=e.isOpen,r=e.className,o="arrow",l=m()(o,((n={})[o+"--closed"]=!t,n),((a={})[o+"--open"]=t,a),r);return c.createElement(s.am,{className:l})},h=function(e){var n=e.variant,a=(0,t.Z)(e,d);switch(n){case"all":return c.createElement(o.xik,a);case"none":return c.createElement(o.u9M,a);case"some":return c.createElement(o.kty,a);default:return null}};n.Z=function(){return c.createElement("div",null,c.createElement("div",{className:"checkbox"},c.createElement(l.ZP,{data:u,"aria-label":"Checkbox tree",multiSelect:!0,propagateSelect:!0,propagateSelectUpwards:!0,togglableSelect:!0,nodeRenderer:function(e){var n=e.element,a=e.isBranch,t=e.isExpanded,o=e.isSelected,s=e.isHalfSelected,l=e.getNodeProps,i=e.level,m=e.handleSelect,d=e.handleExpand;return c.createElement("div",(0,r.Z)({},l({onClick:d}),{style:{marginLeft:40*(i-1)}}),a&&c.createElement(p,{isOpen:t}),c.createElement(h,{className:"checkbox-icon",onClick:function(e){m(e),e.stopPropagation()},variant:s?"some":o?"all":"none"}),c.createElement("span",{className:"name"},n.name))}})))}},2986:function(e,n,a){a.r(n),a.d(n,{assets:function(){return h},contentTitle:function(){return u},default:function(){return f},frontMatter:function(){return d},metadata:function(){return p},toc:function(){return x}});var t=a(7462),r=a(3366),c=(a(7294),a(3905)),o=a(2805),s=a(842),l='import React from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "Fruits",\n children: [\n { name: "Avocados" },\n { name: "Bananas" },\n { name: "Berries" },\n { name: "Oranges" },\n { name: "Pears" },\n ],\n },\n {\n name: "Drinks",\n children: [\n { name: "Apple Juice" },\n { name: "Chocolate" },\n { name: "Coffee" },\n {\n name: "Tea",\n children: [\n { name: "Black Tea" },\n { name: "Green Tea" },\n { name: "Red Tea" },\n { name: "Matcha" },\n ],\n },\n ],\n },\n {\n name: "Vegetables",\n children: [\n { name: "Beets" },\n { name: "Carrots" },\n { name: "Celery" },\n { name: "Lettuce" },\n { name: "Onions" },\n ],\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nfunction MultiSelectCheckbox() {\n return (\n
\n
\n {\n return (\n \n {isBranch && }\n {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n {element.name}\n
\n );\n }}\n />\n
\n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default MultiSelectCheckbox;\n',i=a(1240),m=["components"],d={title:"Checkbox"},u=void 0,p={unversionedId:"examples-MultiSelectCheckbox",id:"examples-MultiSelectCheckbox",title:"Checkbox",description:"This example demonstrates how to create a checkbox tree",source:"@site/docs/examples-MultiSelectCheckbox.mdx",sourceDirName:".",slug:"/examples-MultiSelectCheckbox",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckbox",draft:!1,tags:[],version:"current",frontMatter:{title:"Checkbox"},sidebar:"docs",previous:{title:"Filtering",permalink:"/react-accessible-treeview/docs/examples-Filtering"},next:{title:"Asynchronous loading",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync"}},h={},x=[],b={toc:x},k="wrapper";function f(e){var n=e.components,a=(0,r.Z)(e,m);return(0,c.kt)(k,(0,t.Z)({},b,a,{components:n,mdxType:"MDXLayout"}),(0,c.kt)("p",null,"This example demonstrates how to create a checkbox tree"),(0,c.kt)(o.Z,{component:s.Z,js:l,css:i.Z,mdxType:"CodeTabs"}))}f.isMDXComponent=!0},1240:function(e,n){n.Z=".checkbox {\n font-size: 16px;\n user-select: none;\n min-height: 320px;\n padding: 20px;\n box-sizing: content-box;\n}\n\n.checkbox .tree,\n.checkbox .tree-node,\n.checkbox .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.checkbox .tree-branch-wrapper,\n.checkbox .tree-node__leaf {\n outline: none;\n}\n\n.checkbox .tree-node {\n cursor: pointer;\n}\n\n.checkbox .tree-node .name:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n\n.checkbox .tree-node--focused .name {\n background: rgba(0, 0, 0, 0.2);\n}\n\n.checkbox .tree-node {\n display: inline-block;\n}\n\n.checkbox .checkbox-icon {\n margin: 0 5px;\n vertical-align: middle;\n}\n\n.checkbox button {\n border: none;\n background: transparent;\n cursor: pointer;\n}\n\n.checkbox .arrow {\n margin-left: 5px;\n vertical-align: middle;\n}\n\n.checkbox .arrow--open {\n transform: rotate(90deg);\n}\n"}}]); \ No newline at end of file diff --git a/assets/js/28e78d68.c48c387d.js b/assets/js/28e78d68.c48c387d.js new file mode 100644 index 00000000..fdf5ce27 --- /dev/null +++ b/assets/js/28e78d68.c48c387d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[507],{842:(e,n,a)=>{a.d(n,{Z:()=>h});var t=a(7462),r=a(7294),c=a(9583),o=a(1649),s=a(148),l=a(4184),i=a.n(l);const m=(0,s.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Apple Juice"},{name:"Chocolate"},{name:"Coffee"},{name:"Tea",children:[{name:"Black Tea"},{name:"Green Tea"},{name:"Red Tea"},{name:"Matcha"}]}]},{name:"Vegetables",children:[{name:"Beets"},{name:"Carrots"},{name:"Celery"},{name:"Lettuce"},{name:"Onions"}]}]});const d=e=>{let{isOpen:n,className:a}=e;const t="arrow",c=i()(t,{[t+"--closed"]:!n},{[t+"--open"]:n},a);return r.createElement(o.am,{className:c})},p=e=>{let{variant:n,...a}=e;switch(n){case"all":return r.createElement(c.xik,a);case"none":return r.createElement(c.u9M,a);case"some":return r.createElement(c.kty,a);default:return null}},h=function(){return r.createElement("div",null,r.createElement("div",{className:"checkbox"},r.createElement(s.ZP,{data:m,"aria-label":"Checkbox tree",multiSelect:!0,propagateSelect:!0,propagateSelectUpwards:!0,togglableSelect:!0,nodeRenderer:e=>{let{element:n,isBranch:a,isExpanded:c,isSelected:o,isHalfSelected:s,getNodeProps:l,level:i,handleSelect:m,handleExpand:h}=e;return r.createElement("div",(0,t.Z)({},l({onClick:h}),{style:{marginLeft:40*(i-1)}}),a&&r.createElement(d,{isOpen:c}),r.createElement(p,{className:"checkbox-icon",onClick:e=>{m(e),e.stopPropagation()},variant:s?"some":o?"all":"none"}),r.createElement("span",{className:"name"},n.name))}})))}},2986:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>p,contentTitle:()=>m,default:()=>b,frontMatter:()=>i,metadata:()=>d,toc:()=>h});var t=a(7462),r=(a(7294),a(3905)),c=a(2805),o=a(842);const s='import React from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "Fruits",\n children: [\n { name: "Avocados" },\n { name: "Bananas" },\n { name: "Berries" },\n { name: "Oranges" },\n { name: "Pears" },\n ],\n },\n {\n name: "Drinks",\n children: [\n { name: "Apple Juice" },\n { name: "Chocolate" },\n { name: "Coffee" },\n {\n name: "Tea",\n children: [\n { name: "Black Tea" },\n { name: "Green Tea" },\n { name: "Red Tea" },\n { name: "Matcha" },\n ],\n },\n ],\n },\n {\n name: "Vegetables",\n children: [\n { name: "Beets" },\n { name: "Carrots" },\n { name: "Celery" },\n { name: "Lettuce" },\n { name: "Onions" },\n ],\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nfunction MultiSelectCheckbox() {\n return (\n
\n
\n {\n return (\n \n {isBranch && }\n {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n {element.name}\n
\n );\n }}\n />\n
\n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default MultiSelectCheckbox;\n';var l=a(1240);const i={title:"Checkbox"},m=void 0,d={unversionedId:"examples-MultiSelectCheckbox",id:"examples-MultiSelectCheckbox",title:"Checkbox",description:"This example demonstrates how to create a checkbox tree",source:"@site/docs/examples-MultiSelectCheckbox.mdx",sourceDirName:".",slug:"/examples-MultiSelectCheckbox",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckbox",draft:!1,tags:[],version:"current",frontMatter:{title:"Checkbox"},sidebar:"docs",previous:{title:"Filtering",permalink:"/react-accessible-treeview/docs/examples-Filtering"},next:{title:"Asynchronous loading",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync"}},p={},h=[],u={toc:h},x="wrapper";function b(e){let{components:n,...a}=e;return(0,r.kt)(x,(0,t.Z)({},u,a,{components:n,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"This example demonstrates how to create a checkbox tree"),(0,r.kt)(c.Z,{component:o.Z,js:s,css:l.Z,mdxType:"CodeTabs"}))}b.isMDXComponent=!0},1240:(e,n,a)=>{a.d(n,{Z:()=>t});const t=".checkbox {\n font-size: 16px;\n user-select: none;\n min-height: 320px;\n padding: 20px;\n box-sizing: content-box;\n}\n\n.checkbox .tree,\n.checkbox .tree-node,\n.checkbox .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.checkbox .tree-branch-wrapper,\n.checkbox .tree-node__leaf {\n outline: none;\n}\n\n.checkbox .tree-node {\n cursor: pointer;\n}\n\n.checkbox .tree-node .name:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n\n.checkbox .tree-node--focused .name {\n background: rgba(0, 0, 0, 0.2);\n}\n\n.checkbox .tree-node {\n display: inline-block;\n}\n\n.checkbox .checkbox-icon {\n margin: 0 5px;\n vertical-align: middle;\n}\n\n.checkbox button {\n border: none;\n background: transparent;\n cursor: pointer;\n}\n\n.checkbox .arrow {\n margin-left: 5px;\n vertical-align: middle;\n}\n\n.checkbox .arrow--open {\n transform: rotate(90deg);\n}\n"}}]); \ No newline at end of file diff --git a/assets/js/366a509e.a9292136.js b/assets/js/366a509e.a9292136.js deleted file mode 100644 index 65f82cff..00000000 --- a/assets/js/366a509e.a9292136.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[891],{9013:function(e,n,r){var t=r(7462),o=r(7294),c=r(859),a=r(9583),i=r(148),s=(0,i.fK)({name:"",children:[{name:"src",children:[{name:"index.js"},{name:"styles.css"}]},{name:"node_modules",children:[{name:"react-accessible-treeview",children:[{name:"index.js"}]},{name:"react",children:[{name:"index.js"}]}]},{name:".npmignore"},{name:"package.json"},{name:"webpack.config.js"}]});var l=function(e){return e.isOpen?o.createElement(a.zuo,{color:"e8a87c",className:"icon"}):o.createElement(a.IEK,{color:"e8a87c",className:"icon"})},d=function(e){var n=e.filename;switch(n.slice(n.lastIndexOf(".")+1)){case"js":return o.createElement(c.Fi5,{color:"yellow",className:"icon"});case"css":return o.createElement(c.BA4,{color:"turquoise",className:"icon"});case"json":return o.createElement(a.AeW,{color:"yellow",className:"icon"});case"npmignore":return o.createElement(c.I_N,{color:"red",className:"icon"});default:return null}};n.Z=function(){return o.createElement("div",null,o.createElement("div",{className:"directory"},o.createElement(i.ZP,{data:s,"aria-label":"directory tree",nodeRenderer:function(e){var n=e.element,r=e.isBranch,c=e.isExpanded,a=e.getNodeProps,i=e.level;return o.createElement("div",(0,t.Z)({},a(),{style:{paddingLeft:20*(i-1)}}),r?o.createElement(l,{isOpen:c}):o.createElement(d,{filename:n.name}),n.name)}})))}},7745:function(e,n,r){r.r(n),r.d(n,{assets:function(){return f},contentTitle:function(){return p},default:function(){return h},frontMatter:function(){return m},metadata:function(){return u},toc:function(){return y}});var t=r(7462),o=r(3366),c=(r(7294),r(3905)),a=r(2805),i=r(9013),s='import React from "react";\nimport { DiCss3, DiJavascript, DiNpm } from "react-icons/di";\nimport { FaList, FaRegFolder, FaRegFolderOpen } from "react-icons/fa";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport "./styles.css";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "src",\n children: [{ name: "index.js" }, { name: "styles.css" }],\n },\n {\n name: "node_modules",\n children: [\n {\n name: "react-accessible-treeview",\n children: [{ name: "index.js" }],\n },\n { name: "react", children: [{ name: "index.js" }] },\n ],\n },\n {\n name: ".npmignore",\n },\n {\n name: "package.json",\n },\n {\n name: "webpack.config.js",\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nfunction DirectoryTreeView() {\n return (\n
\n
\n (\n
\n {isBranch ? (\n \n ) : (\n \n )}\n\n {element.name}\n
\n )}\n />\n
\n
\n );\n}\n\nconst FolderIcon = ({ isOpen }) =>\n isOpen ? (\n \n ) : (\n \n );\n\nconst FileIcon = ({ filename }) => {\n const extension = filename.slice(filename.lastIndexOf(".") + 1);\n switch (extension) {\n case "js":\n return ;\n case "css":\n return ;\n case "json":\n return ;\n case "npmignore":\n return ;\n default:\n return null;\n }\n};\n\nexport default DirectoryTreeView;\n',l=".directory {\n background: #242322;\n font-family: monospace;\n font-size: 16px;\n color: white;\n user-select: none;\n padding: 20px;\n border-radius: 0.4em;\n}\n\n.directory .tree,\n.directory .tree-node,\n.directory .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.directory .tree-branch-wrapper,\n.directory .tree-node__leaf {\n outline: none;\n outline: none;\n}\n\n.directory .tree-node {\n cursor: pointer;\n}\n\n.directory .tree-node:hover {\n background: rgba(255, 255, 255, 0.1);\n}\n\n.directory .tree .tree-node--focused {\n background: rgba(255, 255, 255, 0.2);\n}\n\n.directory .tree .tree-node--selected {\n background: rgba(48, 107, 176);\n}\n\n.directory .tree-node__branch {\n display: block;\n}\n\n.directory .icon {\n vertical-align: middle;\n padding-right: 5px;\n}\n",d=["components"],m={title:"Directory tree (single selection)"},p=void 0,u={unversionedId:"examples-DirectoryTree",id:"examples-DirectoryTree",title:"Directory tree (single selection)",description:"An example of how to customize the styling of the component",source:"@site/docs/examples-DirectoryTree.md",sourceDirName:".",slug:"/examples-DirectoryTree",permalink:"/react-accessible-treeview/docs/examples-DirectoryTree",draft:!1,tags:[],version:"current",frontMatter:{title:"Directory tree (single selection)"},sidebar:"docs",previous:{title:"Data types",permalink:"/react-accessible-treeview/docs/examples-DataTypes"},next:{title:"Filtering",permalink:"/react-accessible-treeview/docs/examples-Filtering"}},f={},y=[],g={toc:y},v="wrapper";function h(e){var n=e.components,r=(0,o.Z)(e,d);return(0,c.kt)(v,(0,t.Z)({},g,r,{components:n,mdxType:"MDXLayout"}),(0,c.kt)("p",null,"An example of how to customize the styling of the component"),(0,c.kt)(a.Z,{component:i.Z,js:s,css:l,mdxType:"CodeTabs"}))}h.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/366a509e.d5924e3a.js b/assets/js/366a509e.d5924e3a.js new file mode 100644 index 00000000..5decbc9c --- /dev/null +++ b/assets/js/366a509e.d5924e3a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[891],{9013:(e,n,r)=>{r.d(n,{Z:()=>m});var t=r(7462),a=r(7294),o=r(859),c=r(9583),i=r(148);const s=(0,i.fK)({name:"",children:[{name:"src",children:[{name:"index.js"},{name:"styles.css"}]},{name:"node_modules",children:[{name:"react-accessible-treeview",children:[{name:"index.js"}]},{name:"react",children:[{name:"index.js"}]}]},{name:".npmignore"},{name:"package.json"},{name:"webpack.config.js"}]});const l=e=>{let{isOpen:n}=e;return n?a.createElement(c.zuo,{color:"e8a87c",className:"icon"}):a.createElement(c.IEK,{color:"e8a87c",className:"icon"})},d=e=>{let{filename:n}=e;switch(n.slice(n.lastIndexOf(".")+1)){case"js":return a.createElement(o.Fi5,{color:"yellow",className:"icon"});case"css":return a.createElement(o.BA4,{color:"turquoise",className:"icon"});case"json":return a.createElement(c.AeW,{color:"yellow",className:"icon"});case"npmignore":return a.createElement(o.I_N,{color:"red",className:"icon"});default:return null}},m=function(){return a.createElement("div",null,a.createElement("div",{className:"directory"},a.createElement(i.ZP,{data:s,"aria-label":"directory tree",nodeRenderer:e=>{let{element:n,isBranch:r,isExpanded:o,getNodeProps:c,level:i}=e;return a.createElement("div",(0,t.Z)({},c(),{style:{paddingLeft:20*(i-1)}}),r?a.createElement(l,{isOpen:o}):a.createElement(d,{filename:n.name}),n.name)}})))}},7745:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>p,contentTitle:()=>d,default:()=>g,frontMatter:()=>l,metadata:()=>m,toc:()=>u});var t=r(7462),a=(r(7294),r(3905)),o=r(2805),c=r(9013);const i='import React from "react";\nimport { DiCss3, DiJavascript, DiNpm } from "react-icons/di";\nimport { FaList, FaRegFolder, FaRegFolderOpen } from "react-icons/fa";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport "./styles.css";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "src",\n children: [{ name: "index.js" }, { name: "styles.css" }],\n },\n {\n name: "node_modules",\n children: [\n {\n name: "react-accessible-treeview",\n children: [{ name: "index.js" }],\n },\n { name: "react", children: [{ name: "index.js" }] },\n ],\n },\n {\n name: ".npmignore",\n },\n {\n name: "package.json",\n },\n {\n name: "webpack.config.js",\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nfunction DirectoryTreeView() {\n return (\n
\n
\n (\n
\n {isBranch ? (\n \n ) : (\n \n )}\n\n {element.name}\n
\n )}\n />\n
\n
\n );\n}\n\nconst FolderIcon = ({ isOpen }) =>\n isOpen ? (\n \n ) : (\n \n );\n\nconst FileIcon = ({ filename }) => {\n const extension = filename.slice(filename.lastIndexOf(".") + 1);\n switch (extension) {\n case "js":\n return ;\n case "css":\n return ;\n case "json":\n return ;\n case "npmignore":\n return ;\n default:\n return null;\n }\n};\n\nexport default DirectoryTreeView;\n',s=".directory {\n background: #242322;\n font-family: monospace;\n font-size: 16px;\n color: white;\n user-select: none;\n padding: 20px;\n border-radius: 0.4em;\n}\n\n.directory .tree,\n.directory .tree-node,\n.directory .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.directory .tree-branch-wrapper,\n.directory .tree-node__leaf {\n outline: none;\n outline: none;\n}\n\n.directory .tree-node {\n cursor: pointer;\n}\n\n.directory .tree-node:hover {\n background: rgba(255, 255, 255, 0.1);\n}\n\n.directory .tree .tree-node--focused {\n background: rgba(255, 255, 255, 0.2);\n}\n\n.directory .tree .tree-node--selected {\n background: rgba(48, 107, 176);\n}\n\n.directory .tree-node__branch {\n display: block;\n}\n\n.directory .icon {\n vertical-align: middle;\n padding-right: 5px;\n}\n",l={title:"Directory tree (single selection)"},d=void 0,m={unversionedId:"examples-DirectoryTree",id:"examples-DirectoryTree",title:"Directory tree (single selection)",description:"An example of how to customize the styling of the component",source:"@site/docs/examples-DirectoryTree.md",sourceDirName:".",slug:"/examples-DirectoryTree",permalink:"/react-accessible-treeview/docs/examples-DirectoryTree",draft:!1,tags:[],version:"current",frontMatter:{title:"Directory tree (single selection)"},sidebar:"docs",previous:{title:"Data types",permalink:"/react-accessible-treeview/docs/examples-DataTypes"},next:{title:"Filtering",permalink:"/react-accessible-treeview/docs/examples-Filtering"}},p={},u=[],y={toc:u},f="wrapper";function g(e){let{components:n,...r}=e;return(0,a.kt)(f,(0,t.Z)({},y,r,{components:n,mdxType:"MDXLayout"}),(0,a.kt)("p",null,"An example of how to customize the styling of the component"),(0,a.kt)(o.Z,{component:c.Z,js:i,css:s,mdxType:"CodeTabs"}))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3a56c823.93ee3602.js b/assets/js/3a56c823.93ee3602.js deleted file mode 100644 index ca4f8a62..00000000 --- a/assets/js/3a56c823.93ee3602.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[890],{8312:function(e,n,t){t.r(n),t.d(n,{assets:function(){return w},contentTitle:function(){return v},default:function(){return N},frontMatter:function(){return k},metadata:function(){return x},toc:function(){return y}});var r=t(7462),i=t(3366),c=t(7294),a=t(3905),l=t(2805),o=t(859),s=t(9583),d=t(148),m=(0,d.fK)({name:"",children:[{name:"src",children:[{name:"index.js"},{name:"styles.css"}]},{name:"node_modules",children:[{name:"react-accessible-treeview",children:[{name:"index.js"}]},{name:"react",children:[{name:"index.js"}]}]},{name:".npmignore"},{name:"package.json"},{name:"webpack.config.js"}]});var u=function(e){return e.isOpen?c.createElement(s.zuo,{color:"e8a87c",className:"icon"}):c.createElement(s.IEK,{color:"e8a87c",className:"icon"})},p=function(e){var n=e.filename;switch(n.slice(n.lastIndexOf(".")+1)){case"js":return c.createElement(o.Fi5,{color:"yellow",className:"icon"});case"css":return c.createElement(o.BA4,{color:"turquoise",className:"icon"});case"json":return c.createElement(s.AeW,{color:"yellow",className:"icon"});case"npmignore":return c.createElement(o.I_N,{color:"red",className:"icon"});default:return null}},f=function(){return c.createElement("div",null,c.createElement("div",{className:"ide"},c.createElement(d.ZP,{data:m,"aria-label":"directory tree",togglableSelect:!0,clickAction:"EXCLUSIVE_SELECT",multiSelect:!0,nodeRenderer:function(e){var n=e.element,t=e.isBranch,i=e.isExpanded,a=e.getNodeProps,l=e.level;e.handleSelect;return c.createElement("div",(0,r.Z)({},a(),{style:{paddingLeft:20*(l-1)}}),t?c.createElement(u,{isOpen:i}):c.createElement(p,{filename:n.name}),n.name)}})))},g='import React from "react";\nimport { DiCss3, DiJavascript, DiNpm } from "react-icons/di";\nimport { FaList, FaRegFolder, FaRegFolderOpen } from "react-icons/fa";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport "./styles.css";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "src",\n children: [{ name: "index.js" }, { name: "styles.css" }],\n },\n {\n name: "node_modules",\n children: [\n {\n name: "react-accessible-treeview",\n children: [{ name: "index.js" }],\n },\n { name: "react", children: [{ name: "index.js" }] },\n ],\n },\n {\n name: ".npmignore",\n },\n {\n name: "package.json",\n },\n {\n name: "webpack.config.js",\n },\n ],\n};\n\nconst data = flattenTree(folder);\nfunction MultiSelectDirectoryTreeView() {\n return (\n
\n
\n (\n
\n {isBranch ? (\n \n ) : (\n \n )}\n {element.name}\n
\n )}\n />\n
\n
\n );\n}\n\nconst FolderIcon = ({ isOpen }) =>\n isOpen ? (\n \n ) : (\n \n );\n\nconst FileIcon = ({ filename }) => {\n const extension = filename.slice(filename.lastIndexOf(".") + 1);\n switch (extension) {\n case "js":\n return ;\n case "css":\n return ;\n case "json":\n return ;\n case "npmignore":\n return ;\n default:\n return null;\n }\n};\nexport default MultiSelectDirectoryTreeView;\n',h=".ide {\n background: #242322;\n font-family: monospace;\n font-size: 16px;\n color: white;\n user-select: none;\n padding: 20px;\n border-radius: 0.4em;\n}\n\n.ide .tree,\n.ide .tree-node,\n.ide .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.ide .tree-branch-wrapper,\n.ide .tree-node__leaf {\n outline: none;\n outline: none;\n}\n\n.ide .tree-node {\n cursor: pointer;\n}\n\n.ide .tree-node:hover {\n background: rgba(255, 255, 255, 0.1);\n}\n\n.ide .tree .tree-node--focused {\n background: rgba(255, 255, 255, 0.2);\n}\n\n.ide .tree .tree-node--selected {\n background: rgba(48, 107, 176);\n}\n\n.ide .tree-node__branch {\n display: block;\n}\n\n.ide .icon {\n vertical-align: middle;\n margin-right: 5px;\n}\n",b=["components"],k={title:"Directory tree (multiple selection)"},v=void 0,x={unversionedId:"examples-MultiSelectDirectoryTree",id:"examples-MultiSelectDirectoryTree",title:"Directory tree (multiple selection)",description:"This example combines multiselect and an exclusive select onClick. It supports multiselect using various commands, such as Ctrl+click Shift+Click, Enter/Space and Shift + Up/Down.",source:"@site/docs/examples-MultiSelectDirectoryTree.md",sourceDirName:".",slug:"/examples-MultiSelectDirectoryTree",permalink:"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree",draft:!1,tags:[],version:"current",frontMatter:{title:"Directory tree (multiple selection)"},sidebar:"docs",previous:{title:"Checkbox with disabled nodes",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled"},next:{title:"Checkbox (single selection)",permalink:"/react-accessible-treeview/docs/examples-SingleSelectCheckbox"}},w={},y=[],E={toc:y},S="wrapper";function N(e){var n=e.components,t=(0,i.Z)(e,b);return(0,a.kt)(S,(0,r.Z)({},E,t,{components:n,mdxType:"MDXLayout"}),(0,a.kt)("p",null,"This example combines multiselect and an exclusive select onClick. It supports multiselect using various commands, such as ",(0,a.kt)("inlineCode",{parentName:"p"},"Ctrl+click")," ",(0,a.kt)("inlineCode",{parentName:"p"},"Shift+Click"),", ",(0,a.kt)("inlineCode",{parentName:"p"},"Enter/Space")," and ",(0,a.kt)("inlineCode",{parentName:"p"},"Shift + Up/Down"),"."),(0,a.kt)(l.Z,{component:f,js:g,css:h,mdxType:"CodeTabs"}))}N.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3a56c823.b299898e.js b/assets/js/3a56c823.b299898e.js new file mode 100644 index 00000000..106581fc --- /dev/null +++ b/assets/js/3a56c823.b299898e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[890],{8312:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>x,contentTitle:()=>b,default:()=>E,frontMatter:()=>h,metadata:()=>k,toc:()=>v});var i=t(7462),r=t(7294),c=t(3905),a=t(2805),l=t(859),s=t(9583),o=t(148);const d=(0,o.fK)({name:"",children:[{name:"src",children:[{name:"index.js"},{name:"styles.css"}]},{name:"node_modules",children:[{name:"react-accessible-treeview",children:[{name:"index.js"}]},{name:"react",children:[{name:"index.js"}]}]},{name:".npmignore"},{name:"package.json"},{name:"webpack.config.js"}]});const m=e=>{let{isOpen:n}=e;return n?r.createElement(s.zuo,{color:"e8a87c",className:"icon"}):r.createElement(s.IEK,{color:"e8a87c",className:"icon"})},p=e=>{let{filename:n}=e;switch(n.slice(n.lastIndexOf(".")+1)){case"js":return r.createElement(l.Fi5,{color:"yellow",className:"icon"});case"css":return r.createElement(l.BA4,{color:"turquoise",className:"icon"});case"json":return r.createElement(s.AeW,{color:"yellow",className:"icon"});case"npmignore":return r.createElement(l.I_N,{color:"red",className:"icon"});default:return null}},u=function(){return r.createElement("div",null,r.createElement("div",{className:"ide"},r.createElement(o.ZP,{data:d,"aria-label":"directory tree",togglableSelect:!0,clickAction:"EXCLUSIVE_SELECT",multiSelect:!0,nodeRenderer:e=>{let{element:n,isBranch:t,isExpanded:c,getNodeProps:a,level:l,handleSelect:s}=e;return r.createElement("div",(0,i.Z)({},a(),{style:{paddingLeft:20*(l-1)}}),t?r.createElement(m,{isOpen:c}):r.createElement(p,{filename:n.name}),n.name)}})))},f='import React from "react";\nimport { DiCss3, DiJavascript, DiNpm } from "react-icons/di";\nimport { FaList, FaRegFolder, FaRegFolderOpen } from "react-icons/fa";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport "./styles.css";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "src",\n children: [{ name: "index.js" }, { name: "styles.css" }],\n },\n {\n name: "node_modules",\n children: [\n {\n name: "react-accessible-treeview",\n children: [{ name: "index.js" }],\n },\n { name: "react", children: [{ name: "index.js" }] },\n ],\n },\n {\n name: ".npmignore",\n },\n {\n name: "package.json",\n },\n {\n name: "webpack.config.js",\n },\n ],\n};\n\nconst data = flattenTree(folder);\nfunction MultiSelectDirectoryTreeView() {\n return (\n
\n
\n (\n
\n {isBranch ? (\n \n ) : (\n \n )}\n {element.name}\n
\n )}\n />\n
\n
\n );\n}\n\nconst FolderIcon = ({ isOpen }) =>\n isOpen ? (\n \n ) : (\n \n );\n\nconst FileIcon = ({ filename }) => {\n const extension = filename.slice(filename.lastIndexOf(".") + 1);\n switch (extension) {\n case "js":\n return ;\n case "css":\n return ;\n case "json":\n return ;\n case "npmignore":\n return ;\n default:\n return null;\n }\n};\nexport default MultiSelectDirectoryTreeView;\n',g=".ide {\n background: #242322;\n font-family: monospace;\n font-size: 16px;\n color: white;\n user-select: none;\n padding: 20px;\n border-radius: 0.4em;\n}\n\n.ide .tree,\n.ide .tree-node,\n.ide .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.ide .tree-branch-wrapper,\n.ide .tree-node__leaf {\n outline: none;\n outline: none;\n}\n\n.ide .tree-node {\n cursor: pointer;\n}\n\n.ide .tree-node:hover {\n background: rgba(255, 255, 255, 0.1);\n}\n\n.ide .tree .tree-node--focused {\n background: rgba(255, 255, 255, 0.2);\n}\n\n.ide .tree .tree-node--selected {\n background: rgba(48, 107, 176);\n}\n\n.ide .tree-node__branch {\n display: block;\n}\n\n.ide .icon {\n vertical-align: middle;\n margin-right: 5px;\n}\n",h={title:"Directory tree (multiple selection)"},b=void 0,k={unversionedId:"examples-MultiSelectDirectoryTree",id:"examples-MultiSelectDirectoryTree",title:"Directory tree (multiple selection)",description:"This example combines multiselect and an exclusive select onClick. It supports multiselect using various commands, such as Ctrl+click Shift+Click, Enter/Space and Shift + Up/Down.",source:"@site/docs/examples-MultiSelectDirectoryTree.md",sourceDirName:".",slug:"/examples-MultiSelectDirectoryTree",permalink:"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree",draft:!1,tags:[],version:"current",frontMatter:{title:"Directory tree (multiple selection)"},sidebar:"docs",previous:{title:"Checkbox with disabled nodes",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled"},next:{title:"Checkbox (single selection)",permalink:"/react-accessible-treeview/docs/examples-SingleSelectCheckbox"}},x={},v=[],w={toc:v},y="wrapper";function E(e){let{components:n,...t}=e;return(0,c.kt)(y,(0,i.Z)({},w,t,{components:n,mdxType:"MDXLayout"}),(0,c.kt)("p",null,"This example combines multiselect and an exclusive select onClick. It supports multiselect using various commands, such as ",(0,c.kt)("inlineCode",{parentName:"p"},"Ctrl+click")," ",(0,c.kt)("inlineCode",{parentName:"p"},"Shift+Click"),", ",(0,c.kt)("inlineCode",{parentName:"p"},"Enter/Space")," and ",(0,c.kt)("inlineCode",{parentName:"p"},"Shift + Up/Down"),"."),(0,c.kt)(a.Z,{component:u,js:f,css:g,mdxType:"CodeTabs"}))}E.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3ec8ed95.3cc4fa62.js b/assets/js/3ec8ed95.3cc4fa62.js deleted file mode 100644 index 3eac63fa..00000000 --- a/assets/js/3ec8ed95.3cc4fa62.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[147],{7207:function(e,n,t){t.r(n),t.d(n,{assets:function(){return I},contentTitle:function(){return g},default:function(){return T},frontMatter:function(){return v},metadata:function(){return w},toc:function(){return E}});var a=t(7462),o=t(3366),r=t(7294),c=t(3905),l=t(2805),s=t(9583),i=t(1649),d=t(148),m=t(4184),u=t.n(m),p=["variant"],h=(0,d.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Apple Juice"},{name:"Chocolate"},{name:"Coffee"},{name:"Tea",children:[{name:"Black Tea"},{name:"Green Tea"},{name:"Red Tea"},{name:"Matcha"}]}]},{name:"Vegetables",children:[{name:"Beets"},{name:"Carrots"},{name:"Celery"},{name:"Lettuce"},{name:"Onions"}]}]});var b=function(e){var n,t,a=e.isOpen,o=e.className,c="arrow",l=u()(c,((n={})[c+"--closed"]=!a,n),((t={})[c+"--open"]=a,t),o);return r.createElement(i.am,{className:l})},x=function(e){var n=e.variant,t=(0,o.Z)(e,p);switch(n){case"all":return r.createElement(s.xik,t);case"none":return r.createElement(s.u9M,t);case"some":return r.createElement(s.kty,t);default:return null}},k=function(){var e=(0,r.useState)([]),n=e[0],t=e[1],o=function(){t(document.querySelector("#txtIdsToSelect").value.split(",").filter((function(e){return!!e.trim()})).map((function(e){return isNaN(parseInt(e.trim()))?e:parseInt(e.trim())})))};return r.createElement("div",null,r.createElement("div",null,r.createElement("label",{htmlFor:"txtIdsToSelect"},"Comma-delimited list of IDs to set:"),r.createElement("input",{id:"txtIdsToSelect",type:"text",onKeyDown:function(e){"Enter"===e.key&&o()}}),r.createElement("button",{onClick:function(){return o()}},"Set")),r.createElement("div",null,r.createElement("button",{onClick:function(){return t([])}},"Clear Selected Nodes")),r.createElement("div",{className:"checkbox"},r.createElement(d.ZP,{data:h,"aria-label":"Checkbox tree",multiSelect:!0,selectedIds:n,defaultExpandedIds:[1],propagateSelect:!0,propagateSelectUpwards:!0,togglableSelect:!0,onSelect:function(e){return console.log("onSelect callback: ",e)},onNodeSelect:function(e){return console.log("onNodeSelect callback: ",e)},nodeRenderer:function(e){var n=e.element,t=e.isBranch,o=e.isExpanded,c=e.isSelected,l=e.isHalfSelected,s=e.isDisabled,i=e.getNodeProps,d=e.level,m=e.handleSelect,u=e.handleExpand;return r.createElement("div",(0,a.Z)({},i({onClick:u}),{style:{marginLeft:40*(d-1),opacity:s?.5:1}}),t&&r.createElement(b,{isOpen:o}),r.createElement(x,{className:"checkbox-icon",onClick:function(e){m(e),e.stopPropagation()},variant:l?"some":c?"all":"none"}),r.createElement("span",{className:"name"},n.name,"-",n.id))}})))},f='import React, { useState } from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "Fruits",\n children: [\n { name: "Avocados" },\n { name: "Bananas" },\n { name: "Berries" },\n { name: "Oranges" },\n { name: "Pears" },\n ],\n },\n {\n name: "Drinks",\n children: [\n { name: "Apple Juice" },\n { name: "Chocolate" },\n { name: "Coffee" },\n {\n name: "Tea",\n children: [\n { name: "Black Tea" },\n { name: "Green Tea" },\n { name: "Red Tea" },\n { name: "Matcha" },\n ],\n },\n ],\n },\n {\n name: "Vegetables",\n children: [\n { name: "Beets" },\n { name: "Carrots" },\n { name: "Celery" },\n { name: "Lettuce" },\n { name: "Onions" },\n ],\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nfunction MultiSelectCheckboxControlled() {\n const [selectedIds, setSelectedIds] = useState([]);\n\n const onKeyDown = (e) => {\n if (e.key === "Enter") {\n getAndSetIds();\n }\n };\n\n const getAndSetIds = () => {\n setSelectedIds(\n document\n .querySelector("#txtIdsToSelect")\n .value.split(",")\n .filter(val => !!val.trim())\n .map((x) => {\n if (isNaN(parseInt(x.trim()))) {\n return x;\n }\n return parseInt(x.trim());\n })\n );\n };\n\n return (\n
\n
\n \n \n \n
\n
\n \n
\n
\n console.log(\'onSelect callback: \', props)}\n onNodeSelect={(props) => console.log(\'onNodeSelect callback: \', props)}\n nodeRenderer={({\n element,\n isBranch,\n isExpanded,\n isSelected,\n isHalfSelected,\n isDisabled,\n getNodeProps,\n level,\n handleSelect,\n handleExpand,\n }) => {\n return (\n \n {isBranch && }\n {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n \n {element.name}-{element.id}\n \n
\n );\n }}\n />\n
\n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default MultiSelectCheckboxControlled;\n',S=".checkbox {\n font-size: 16px;\n user-select: none;\n min-height: 320px;\n padding: 20px;\n box-sizing: content-box;\n }\n \n .checkbox .tree,\n .checkbox .tree-node,\n .checkbox .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n \n .checkbox .tree-branch-wrapper,\n .checkbox .tree-node__leaf {\n outline: none;\n }\n \n .checkbox .tree-node {\n cursor: pointer;\n }\n \n .checkbox .tree-node .name:hover {\n background: rgba(0, 0, 0, 0.1);\n }\n \n .checkbox .tree-node--focused .name {\n background: rgba(0, 0, 0, 0.2);\n }\n \n .checkbox .tree-node {\n display: inline-block;\n }\n \n .checkbox .checkbox-icon {\n margin: 0 5px;\n vertical-align: middle;\n }\n \n .checkbox button {\n border: none;\n background: transparent;\n cursor: pointer;\n }\n \n .checkbox .arrow {\n margin-left: 5px;\n vertical-align: middle;\n }\n \n .checkbox .arrow--open {\n transform: rotate(90deg);\n }\n ",C=["components"],v={title:"Checkbox with controlled selectedIds"},g=void 0,w={unversionedId:"examples-MultiSelectCheckboxControlled",id:"examples-MultiSelectCheckboxControlled",title:"Checkbox with controlled selectedIds",description:"This example demonstrates how to create a checkbox tree",source:"@site/docs/examples-MultiSelectCheckboxControlled.mdx",sourceDirName:".",slug:"/examples-MultiSelectCheckboxControlled",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled",draft:!1,tags:[],version:"current",frontMatter:{title:"Checkbox with controlled selectedIds"},sidebar:"docs",previous:{title:"Asynchronous loading with Controlled selection",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled"},next:{title:"Checkbox with disabled nodes",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled"}},I={},E=[],y={toc:E},N="wrapper";function T(e){var n=e.components,t=(0,o.Z)(e,C);return(0,c.kt)(N,(0,a.Z)({},y,t,{components:n,mdxType:"MDXLayout"}),(0,c.kt)("p",null,"This example demonstrates how to create a checkbox tree"),(0,c.kt)(l.Z,{component:k,js:f,css:S,mdxType:"CodeTabs"}))}T.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3ec8ed95.88d9b5d3.js b/assets/js/3ec8ed95.88d9b5d3.js new file mode 100644 index 00000000..d3bd5bbf --- /dev/null +++ b/assets/js/3ec8ed95.88d9b5d3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[147],{7207:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>f,contentTitle:()=>C,default:()=>E,frontMatter:()=>S,metadata:()=>g,toc:()=>v});var a=t(7462),l=t(7294),o=t(3905),c=t(2805),r=t(9583),s=t(1649),i=t(148),d=t(4184),m=t.n(d);const p=(0,i.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Apple Juice"},{name:"Chocolate"},{name:"Coffee"},{name:"Tea",children:[{name:"Black Tea"},{name:"Green Tea"},{name:"Red Tea"},{name:"Matcha"}]}]},{name:"Vegetables",children:[{name:"Beets"},{name:"Carrots"},{name:"Celery"},{name:"Lettuce"},{name:"Onions"}]}]});const u=e=>{let{isOpen:n,className:t}=e;const a="arrow",o=m()(a,{[a+"--closed"]:!n},{[a+"--open"]:n},t);return l.createElement(s.am,{className:o})},h=e=>{let{variant:n,...t}=e;switch(n){case"all":return l.createElement(r.xik,t);case"none":return l.createElement(r.u9M,t);case"some":return l.createElement(r.kty,t);default:return null}},b=function(){const[e,n]=(0,l.useState)([]),t=()=>{n(document.querySelector("#txtIdsToSelect").value.split(",").filter((e=>!!e.trim())).map((e=>isNaN(parseInt(e.trim()))?e:parseInt(e.trim()))))};return l.createElement("div",null,l.createElement("div",null,l.createElement("label",{htmlFor:"txtIdsToSelect"},"Comma-delimited list of IDs to set:"),l.createElement("input",{id:"txtIdsToSelect",type:"text",onKeyDown:e=>{"Enter"===e.key&&t()}}),l.createElement("button",{onClick:()=>t()},"Set")),l.createElement("div",null,l.createElement("button",{onClick:()=>n([])},"Clear Selected Nodes")),l.createElement("div",{className:"checkbox"},l.createElement(i.ZP,{data:p,"aria-label":"Checkbox tree",multiSelect:!0,selectedIds:e,defaultExpandedIds:[1],propagateSelect:!0,propagateSelectUpwards:!0,togglableSelect:!0,onSelect:e=>console.log("onSelect callback: ",e),onNodeSelect:e=>console.log("onNodeSelect callback: ",e),nodeRenderer:e=>{let{element:n,isBranch:t,isExpanded:o,isSelected:c,isHalfSelected:r,isDisabled:s,getNodeProps:i,level:d,handleSelect:m,handleExpand:p}=e;return l.createElement("div",(0,a.Z)({},i({onClick:p}),{style:{marginLeft:40*(d-1),opacity:s?.5:1}}),t&&l.createElement(u,{isOpen:o}),l.createElement(h,{className:"checkbox-icon",onClick:e=>{m(e),e.stopPropagation()},variant:r?"some":c?"all":"none"}),l.createElement("span",{className:"name"},n.name,"-",n.id))}})))},x='import React, { useState } from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "Fruits",\n children: [\n { name: "Avocados" },\n { name: "Bananas" },\n { name: "Berries" },\n { name: "Oranges" },\n { name: "Pears" },\n ],\n },\n {\n name: "Drinks",\n children: [\n { name: "Apple Juice" },\n { name: "Chocolate" },\n { name: "Coffee" },\n {\n name: "Tea",\n children: [\n { name: "Black Tea" },\n { name: "Green Tea" },\n { name: "Red Tea" },\n { name: "Matcha" },\n ],\n },\n ],\n },\n {\n name: "Vegetables",\n children: [\n { name: "Beets" },\n { name: "Carrots" },\n { name: "Celery" },\n { name: "Lettuce" },\n { name: "Onions" },\n ],\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nfunction MultiSelectCheckboxControlled() {\n const [selectedIds, setSelectedIds] = useState([]);\n\n const onKeyDown = (e) => {\n if (e.key === "Enter") {\n getAndSetIds();\n }\n };\n\n const getAndSetIds = () => {\n setSelectedIds(\n document\n .querySelector("#txtIdsToSelect")\n .value.split(",")\n .filter(val => !!val.trim())\n .map((x) => {\n if (isNaN(parseInt(x.trim()))) {\n return x;\n }\n return parseInt(x.trim());\n })\n );\n };\n\n return (\n
\n
\n \n \n \n
\n
\n \n
\n
\n console.log(\'onSelect callback: \', props)}\n onNodeSelect={(props) => console.log(\'onNodeSelect callback: \', props)}\n nodeRenderer={({\n element,\n isBranch,\n isExpanded,\n isSelected,\n isHalfSelected,\n isDisabled,\n getNodeProps,\n level,\n handleSelect,\n handleExpand,\n }) => {\n return (\n \n {isBranch && }\n {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n \n {element.name}-{element.id}\n \n
\n );\n }}\n />\n
\n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default MultiSelectCheckboxControlled;\n',k=".checkbox {\n font-size: 16px;\n user-select: none;\n min-height: 320px;\n padding: 20px;\n box-sizing: content-box;\n }\n \n .checkbox .tree,\n .checkbox .tree-node,\n .checkbox .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n \n .checkbox .tree-branch-wrapper,\n .checkbox .tree-node__leaf {\n outline: none;\n }\n \n .checkbox .tree-node {\n cursor: pointer;\n }\n \n .checkbox .tree-node .name:hover {\n background: rgba(0, 0, 0, 0.1);\n }\n \n .checkbox .tree-node--focused .name {\n background: rgba(0, 0, 0, 0.2);\n }\n \n .checkbox .tree-node {\n display: inline-block;\n }\n \n .checkbox .checkbox-icon {\n margin: 0 5px;\n vertical-align: middle;\n }\n \n .checkbox button {\n border: none;\n background: transparent;\n cursor: pointer;\n }\n \n .checkbox .arrow {\n margin-left: 5px;\n vertical-align: middle;\n }\n \n .checkbox .arrow--open {\n transform: rotate(90deg);\n }\n ",S={title:"Checkbox with controlled selectedIds"},C=void 0,g={unversionedId:"examples-MultiSelectCheckboxControlled",id:"examples-MultiSelectCheckboxControlled",title:"Checkbox with controlled selectedIds",description:"This example demonstrates how to create a checkbox tree",source:"@site/docs/examples-MultiSelectCheckboxControlled.mdx",sourceDirName:".",slug:"/examples-MultiSelectCheckboxControlled",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled",draft:!1,tags:[],version:"current",frontMatter:{title:"Checkbox with controlled selectedIds"},sidebar:"docs",previous:{title:"Asynchronous loading with Controlled selection",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled"},next:{title:"Checkbox with disabled nodes",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled"}},f={},v=[],w={toc:v},I="wrapper";function E(e){let{components:n,...t}=e;return(0,o.kt)(I,(0,a.Z)({},w,t,{components:n,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"This example demonstrates how to create a checkbox tree"),(0,o.kt)(c.Z,{component:b,js:x,css:k,mdxType:"CodeTabs"}))}E.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5fbc5cf1.1d3098f8.js b/assets/js/5fbc5cf1.1d3098f8.js deleted file mode 100644 index e4d6ad97..00000000 --- a/assets/js/5fbc5cf1.1d3098f8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[207],{7480:function(t,e,n){n.r(e),n.d(e,{assets:function(){return m},contentTitle:function(){return o},default:function(){return s},frontMatter:function(){return i},metadata:function(){return p},toc:function(){return k}});var a=n(7462),l=n(3366),r=(n(7294),n(3905)),d=["components"],i={title:"API Reference"},o=void 0,p={unversionedId:"api",id:"api",title:"API Reference",description:"Prop Types",source:"@site/docs/api.md",sourceDirName:".",slug:"/api",permalink:"/react-accessible-treeview/docs/api",draft:!1,tags:[],version:"current",frontMatter:{title:"API Reference"},sidebar:"docs",next:{title:"Basic",permalink:"/react-accessible-treeview/docs/examples-Basic"}},m={},k=[{value:"Prop Types",id:"prop-types",level:2},{value:"data",id:"data",level:2},{value:"nodeRenderer",id:"noderenderer",level:2},{value:"getNodeProps",id:"getnodeprops",level:2},{value:"onSelect",id:"onselect",level:2},{value:"onNodeSelect",id:"onnodeselect",level:2},{value:"onExpand",id:"onexpand",level:2},{value:"onLoadData",id:"onloaddata",level:2},{value:"Keyboard Navigation",id:"keyboard-navigation",level:2},{value:"Mouse Navigation",id:"mouse-navigation",level:2},{value:"Click actions",id:"click-actions",level:2},{value:"treeState",id:"treestate",level:2}],N={toc:k},u="wrapper";function s(t){var e=t.components,n=(0,l.Z)(t,d);return(0,r.kt)(u,(0,a.Z)({},N,n,{components:e,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"prop-types"},"Prop Types"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:null},"Prop name"),(0,r.kt)("th",{parentName:"tr",align:null},"Type"),(0,r.kt)("th",{parentName:"tr",align:null},"Default value"),(0,r.kt)("th",{parentName:"tr",align:null},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"data")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"array[node]")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"required")),(0,r.kt)("td",{parentName:"tr",align:null},"Tree data")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"nodeRenderer")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"func")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"required")),(0,r.kt)("td",{parentName:"tr",align:null},"Render prop for the node (see below for more details)")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"onSelect")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"func")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"noop")),(0,r.kt)("td",{parentName:"tr",align:null},"Function called when a node changes its selected state")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"onNodeSelect")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"func")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"noop")),(0,r.kt)("td",{parentName:"tr",align:null},"Function called when a node was manually selected/deselected")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"onExpand")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"func")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"noop")),(0,r.kt)("td",{parentName:"tr",align:null},"Function called when a node changes its expanded state")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"className")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"string")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},'""')),(0,r.kt)("td",{parentName:"tr",align:null},"className to add to the outermost dom element, al ",(0,r.kt)("inlineCode",{parentName:"td"},"ul")," with ",(0,r.kt)("inlineCode",{parentName:"td"},'role = "tree"'))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"multiSelect")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"bool")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"false")),(0,r.kt)("td",{parentName:"tr",align:null},"Allows multiple nodes to be selected")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"propagateSelect")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"bool")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"false")),(0,r.kt)("td",{parentName:"tr",align:null},"If set to true, selecting a node will also select its descendants")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"propagateSelectUpwards")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"bool")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"false")),(0,r.kt)("td",{parentName:"tr",align:null},"If set to true, selecting a node will update the state of its parent (e.g. a parent node in a checkbox will be automatically selected if all of its children are selected")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"propagateCollapse")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"bool")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"false")),(0,r.kt)("td",{parentName:"tr",align:null},"If set to true, collapsing a node will also collapse its descendants")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"expandOnKeyboardSelect")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"bool")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"false")),(0,r.kt)("td",{parentName:"tr",align:null},"Selecting a node with a keyboard (using Space or Enter) will also toggle its expanded state")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"togglableSelect")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"bool")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"false")),(0,r.kt)("td",{parentName:"tr",align:null},"Whether the selected state is togglable")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"defaultSelectedIds")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"array")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"[]")),(0,r.kt)("td",{parentName:"tr",align:null},"Array with the ids of the default selected nodes")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"defaultExpandedIds")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"array")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"[]")),(0,r.kt)("td",{parentName:"tr",align:null},"Array with the ids of the default expanded nodes")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"defaultDisabledIds")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"array")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"[]")),(0,r.kt)("td",{parentName:"tr",align:null},"Array with the ids of the default disabled nodes")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"selectedIds")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"array")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"[]")),(0,r.kt)("td",{parentName:"tr",align:null},"(Controlled) Array with the ids that should be selected")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"expandedIds")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"array")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"[]")),(0,r.kt)("td",{parentName:"tr",align:null},"(Controlled) Array with the ids of branch node that should be")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"clickAction")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"enum")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"SELECT")),(0,r.kt)("td",{parentName:"tr",align:null},"Action to perform on click. One of: EXCLUSIVE_SELECT, FOCUS, SELECT")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"onBlur")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"func")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"noop")),(0,r.kt)("td",{parentName:"tr",align:null},"Custom onBlur event that is triggered when focusing out of the component as a whole (moving focus between the nodes won't trigger it).")))),(0,r.kt)("br",null)," ",(0,r.kt)("br",null),(0,r.kt)("h2",{id:"data"},"data"),(0,r.kt)("p",null,"An array of nodes. Nodes are objects with the following structure:"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:null},"Property"),(0,r.kt)("th",{parentName:"tr",align:null},"Type"),(0,r.kt)("th",{parentName:"tr",align:null},"Default"),(0,r.kt)("th",{parentName:"tr",align:null},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"id")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"number")," or ",(0,r.kt)("inlineCode",{parentName:"td"},"string")),(0,r.kt)("td",{parentName:"tr",align:null},"required"),(0,r.kt)("td",{parentName:"tr",align:null},"A nonnegative integer or string that uniquely identifies the node. ",(0,r.kt)("inlineCode",{parentName:"td"},"parent:null")," identifies the root node")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"string")),(0,r.kt)("td",{parentName:"tr",align:null},"required"),(0,r.kt)("td",{parentName:"tr",align:null},"Used to match on key press")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"children")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"array[id]")),(0,r.kt)("td",{parentName:"tr",align:null},"required"),(0,r.kt)("td",{parentName:"tr",align:null},"An array with the ids of the children nodes.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"parent")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"id")),(0,r.kt)("td",{parentName:"tr",align:null},"required"),(0,r.kt)("td",{parentName:"tr",align:null},"The parent of the node. ",(0,r.kt)("inlineCode",{parentName:"td"},"null")," for the root node")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"isBranch")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"boolean")),(0,r.kt)("td",{parentName:"tr",align:null},"optional"),(0,r.kt)("td",{parentName:"tr",align:null},"Used to indicated whether a node is branch to be able load async data onExpand, default is false")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"metadata")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"object")),(0,r.kt)("td",{parentName:"tr",align:null},"optional"),(0,r.kt)("td",{parentName:"tr",align:null},"Used to add metadata into node object. We do not currently support metadata that is a nested object")))),(0,r.kt)("p",null,"The item with ",(0,r.kt)("inlineCode",{parentName:"p"},"parent:null")," of the array represents the root node and won't be displayed."),(0,r.kt)("p",null,"Example:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-js",metastring:"static",static:!0},'const data = [\n { name: "", children: [1, 4, 9, 10, 11], id: 0, parent: null },\n { name: "src", children: [2, 3], id: 1, parent: 0 },\n { name: "index.js", id: 2, parent: 1 },\n { name: "styles.css", id: 3, parent: 1 },\n { name: "node_modules", children: [5, 7], id: 4, parent: 0 },\n { name: "react-accessible-treeview", children: [6], id: 5, parent: 4 },\n { name: "bundle.js", id: 6, parent: 5 },\n { name: "react", children: [8], id: 7, parent: 4 },\n { name: "bundle.js", id: 8, parent: 7 },\n { name: ".npmignore", id: 9, parent: 0 },\n { name: "package.json", id: 10, parent: 0 },\n { name: "webpack.config.js", id: 11, parent: 0 },\n];\n')),(0,r.kt)("p",null,"The array can also be generated from a nested object using the ",(0,r.kt)("inlineCode",{parentName:"p"},"flattenTree")," helper (see the examples below). ",(0,r.kt)("inlineCode",{parentName:"p"},"flattenTree")," preserves ",(0,r.kt)("inlineCode",{parentName:"p"},"metadata"),"."),(0,r.kt)("p",null,"Data supports non-sequential ids provided by user."),(0,r.kt)("br",null)," ",(0,r.kt)("br",null),(0,r.kt)("h2",{id:"noderenderer"},"nodeRenderer"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"Arguments"),": An object containing the following properties:")),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:null},"Property"),(0,r.kt)("th",{parentName:"tr",align:null},"Type"),(0,r.kt)("th",{parentName:"tr",align:null},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"element")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"object")),(0,r.kt)("td",{parentName:"tr",align:null},"The object that represents the rendered node")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"getNodeProps")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"function")),(0,r.kt)("td",{parentName:"tr",align:null},"A function which gives back the props to pass to the node")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"isBranch")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"bool")),(0,r.kt)("td",{parentName:"tr",align:null},"Whether the rendered node is a branch node")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"isSelected")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"bool")),(0,r.kt)("td",{parentName:"tr",align:null},"Whether the rendered node is selected")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"isHalfSelected")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"bool")," or ",(0,r.kt)("inlineCode",{parentName:"td"},"undefined")),(0,r.kt)("td",{parentName:"tr",align:null},"If the node is a branch node, whether it is half-selected, else undefined")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"isExpanded")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"bool")," or ",(0,r.kt)("inlineCode",{parentName:"td"},"undefined")),(0,r.kt)("td",{parentName:"tr",align:null},"If the node is a branch node, whether it is expanded, else undefined")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"isDisabled")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"bool")),(0,r.kt)("td",{parentName:"tr",align:null},"Whether the rendered node is disabled")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"level")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"number")),(0,r.kt)("td",{parentName:"tr",align:null},"A positive integer that corresponds to the aria-level attribute")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"setsize")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"number")),(0,r.kt)("td",{parentName:"tr",align:null},"A positive integer that corresponds to the aria-setsize attribute")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"posinset")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"number")),(0,r.kt)("td",{parentName:"tr",align:null},"A positive integer that corresponds to the aria-posinset attribute")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"handleSelect")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"function")),(0,r.kt)("td",{parentName:"tr",align:null},"Function to assign to the onClick event handler of the element(s) that will toggle the selected state")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"handleExpand")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"function")),(0,r.kt)("td",{parentName:"tr",align:null},"Function to assign to the onClick event handler of the element(s) that will toggle the expanded state")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"dispatch")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"function")),(0,r.kt)("td",{parentName:"tr",align:null},"Low level function to dispatch actions.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"treeState")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"object")),(0,r.kt)("td",{parentName:"tr",align:null},"state of the treeview")))),(0,r.kt)("h2",{id:"getnodeprops"},"getNodeProps"),(0,r.kt)("p",null,"If called without arguments, clicking a leaf node will also call ",(0,r.kt)("inlineCode",{parentName:"p"},"handleSelect")," and clicking a branch node will call ",(0,r.kt)("inlineCode",{parentName:"p"},"handleSelect")," and ",(0,r.kt)("inlineCode",{parentName:"p"},"handleExpand"),".\nIf called with an object with an ",(0,r.kt)("inlineCode",{parentName:"p"},"onClick")," attribute: ",(0,r.kt)("inlineCode",{parentName:"p"},"getNodeProps({onClick:onClickFn})"),", the component will only handle focus onClick. This enables the use of\nthe handleSelect and handleExpand for just a part of the component, as demonstrated in the ",(0,r.kt)("inlineCode",{parentName:"p"},"CheckboxTree")," example."),(0,r.kt)("br",null)," ",(0,r.kt)("br",null),(0,r.kt)("h2",{id:"onselect"},"onSelect"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"Arguments"),": ",(0,r.kt)("inlineCode",{parentName:"li"},"onSelect({element, isBranch, isExpanded, isSelected, isHalfSelected, isDisabled, treeState })"),"\nNote: the function uses the state ",(0,r.kt)("em",{parentName:"li"},"after")," the selection.")),(0,r.kt)("h2",{id:"onnodeselect"},"onNodeSelect"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"Arguments"),": ",(0,r.kt)("inlineCode",{parentName:"li"},"onNodeSelect({element, isBranch, isSelected, treeState })"),"\nNote: the function uses the state right ",(0,r.kt)("em",{parentName:"li"},"after")," the selection before propagation.")),(0,r.kt)("h2",{id:"onexpand"},"onExpand"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"Arguments"),": ",(0,r.kt)("inlineCode",{parentName:"li"},"onExpand({element, isExpanded, isSelected, isHalfSelected, isDisabled, treeState})"),"\nNote: the function uses the state ",(0,r.kt)("em",{parentName:"li"},"after")," the expansion.")),(0,r.kt)("h2",{id:"onloaddata"},"onLoadData"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"Arguments"),": ",(0,r.kt)("inlineCode",{parentName:"li"},"onLoadData({element, isExpanded, isSelected, isHalfSelected, isDisabled, treeState})"),"\nNote: the function uses the state ",(0,r.kt)("em",{parentName:"li"},"after")," inital data is loaded and on expansion .",(0,r.kt)("br",null)," ",(0,r.kt)("br",null))),(0,r.kt)("h2",{id:"keyboard-navigation"},"Keyboard Navigation"),(0,r.kt)("p",null,"Follows the same conventions described in ",(0,r.kt)("a",{parentName:"p",href:"https://www.w3.org/TR/wai-aria-practices/examples/treeview/treeview-1/treeview-1b.html"},"https://www.w3.org/TR/wai-aria-practices/examples/treeview/treeview-1/treeview-1b.html")," and ",(0,r.kt)("a",{parentName:"p",href:"https://www.w3.org/TR/wai-aria-practices/#keyboard-interaction-22"},"https://www.w3.org/TR/wai-aria-practices/#keyboard-interaction-22"),"."),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:null},"Key"),(0,r.kt)("th",{parentName:"tr",align:null},"Function"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Enter")," or ",(0,r.kt)("inlineCode",{parentName:"td"},"Space")),(0,r.kt)("td",{parentName:"tr",align:null},"Updates the selected node to the current node and triggers ",(0,r.kt)("inlineCode",{parentName:"td"},"onSelect"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Down Arrow")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("ul",null,(0,r.kt)("li",null,"Moves focus to the next node that is tabbable without opening or closing a node.")," ",(0,r.kt)("li",null,"If focus is on the last node, does nothing.")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Up arrow")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("ul",null,(0,r.kt)("li",null," Moves focus to the previous node that is tabbable without opening or closing a node. "),(0,r.kt)("li",null," If focus is on the first node, does nothing.")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Right Arrow")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("ul",null,(0,r.kt)("li",null,"When focus is on a closed node, opens the node; focus does not move.")," ",(0,r.kt)("li",null," When focus is on an end node, does nothing."),(0,r.kt)("li",null," When focus is on a open node, moves focus to the first child node. ")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Left Arrow")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("ul",null," ",(0,r.kt)("li",null,"When focus is on an open node, closes the node.")," ",(0,r.kt)("li",null,"When focus is on a child node that is also either an end node or a closed node, moves focus to its parent node.")," ",(0,r.kt)("li",null," When focus is on a root node that is also either an end node or a closed node, does nothing.")," "))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Home")),(0,r.kt)("td",{parentName:"tr",align:null},"Moves focus to first node without opening or closing a node.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"End")),(0,r.kt)("td",{parentName:"tr",align:null},"Moves focus to the last node that can be focused without expanding any nodes that are closed.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"a-z, A-Z")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("ul",null," ",(0,r.kt)("li",null,"Focus moves to the next node with a name that starts with the typed character.")," ",(0,r.kt)("li",null,"Search wraps to first node if a matching name is not found among the nodes that follow the focused node.")," ",(0,r.kt)("li",null,"Search ignores nodes that are descendants of closed nodes.")," "))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"*")," (asterisk)"),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("ul",null,(0,r.kt)("li",null," Expands all closed sibling nodes that are at the same level as the focused node."),(0,r.kt)("li",null," Focus does not move.")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Shift + Down Arrow")),(0,r.kt)("td",{parentName:"tr",align:null},"Moves focus to and toggles the selection state of the next node.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Shift + Up Arrow")),(0,r.kt)("td",{parentName:"tr",align:null},"Moves focus to and toggles the selection state of the previous node.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Ctrl + A")),(0,r.kt)("td",{parentName:"tr",align:null},"Selects all nodes in the tree. If all nodes are selected, unselects all nodes.")))),(0,r.kt)("br",null)," ",(0,r.kt)("br",null),(0,r.kt)("h2",{id:"mouse-navigation"},"Mouse Navigation"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:null},"Key"),(0,r.kt)("th",{parentName:"tr",align:null},"Function"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Click")),(0,r.kt)("td",{parentName:"tr",align:null},"Toggles parent nodes and also performs one of ",(0,r.kt)("inlineCode",{parentName:"td"},"clickActions = SELECT, EXCLUSIVE_SELECT, FOCUS"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Ctrl+Click")),(0,r.kt)("td",{parentName:"tr",align:null},"If ",(0,r.kt)("inlineCode",{parentName:"td"},"multiselect")," is set to ",(0,r.kt)("inlineCode",{parentName:"td"},"true"),", selects the node without dropping the current selected ones. If false, it selects the clicked node. Doesn't toggle parents.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Shift+Click")),(0,r.kt)("td",{parentName:"tr",align:null},"If ",(0,r.kt)("inlineCode",{parentName:"td"},"multiselect")," is set to ",(0,r.kt)("inlineCode",{parentName:"td"},"true"),", selects from the node without dropping the current selected ones. If false, it focus the clicked node. Doesn't toggle parents.")))),(0,r.kt)("br",null)," ",(0,r.kt)("br",null),(0,r.kt)("h2",{id:"click-actions"},"Click actions"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:null},"Variant"),(0,r.kt)("th",{parentName:"tr",align:null},"Function"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"SELECT")),(0,r.kt)("td",{parentName:"tr",align:null},"Selects the clicked node (default).")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"EXCLUSIVE_SELECT")),(0,r.kt)("td",{parentName:"tr",align:null},"Selects the clicked node and deselects the rest.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"FOCUS")),(0,r.kt)("td",{parentName:"tr",align:null},"Focuses the clicked node")))),(0,r.kt)("br",null)," ",(0,r.kt)("br",null),(0,r.kt)("h2",{id:"treestate"},"treeState"),(0,r.kt)("p",null,"The internal state of the component."),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:null},"Property"),(0,r.kt)("th",{parentName:"tr",align:null},"Type"),(0,r.kt)("th",{parentName:"tr",align:null},"Default"),(0,r.kt)("th",{parentName:"tr",align:null},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"selectedIds"),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Set")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"new Set(defaultSelectedIds)")),(0,r.kt)("td",{parentName:"tr",align:null},"Set of the ids of the selected nodes")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"controlledIds"),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Set")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"new Set(controlledSelectedIds)")),(0,r.kt)("td",{parentName:"tr",align:null},"Set of the ids of the nodes selected programmatically")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"tabbableId"),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"number")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"data[0].children[0]")),(0,r.kt)("td",{parentName:"tr",align:null},"Id of the node with tabindex = 0")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"isFocused"),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"bool")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"false")),(0,r.kt)("td",{parentName:"tr",align:null},"Whether the tree has focus")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"expandedIds"),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Set")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"new Set(defaultExpandedIds)")),(0,r.kt)("td",{parentName:"tr",align:null},"Set of the ids of the expanded nodes")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"halfSelectedIds"),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Set")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"new Set()")),(0,r.kt)("td",{parentName:"tr",align:null},"Set of the ids of the selected nodes")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"lastUserSelect"),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"number")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"data[0].children[0]")),(0,r.kt)("td",{parentName:"tr",align:null},"Last selection made directly by the user")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"lastInteractedWith"),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"number or null")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"null")),(0,r.kt)("td",{parentName:"tr",align:null},"Last node interacted with")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"lastManuallyToggled"),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"number or null")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"null")),(0,r.kt)("td",{parentName:"tr",align:null},"Last node that was manually selected/deselected")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"disabledIds"),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"Set")),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("inlineCode",{parentName:"td"},"new Set(defaultDisabledIds)")),(0,r.kt)("td",{parentName:"tr",align:null},"Set of the ids of the selected nodes")))))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5fbc5cf1.9e90bde2.js b/assets/js/5fbc5cf1.9e90bde2.js new file mode 100644 index 00000000..679b8b4a --- /dev/null +++ b/assets/js/5fbc5cf1.9e90bde2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[207],{7480:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>o,contentTitle:()=>d,default:()=>N,frontMatter:()=>r,metadata:()=>i,toc:()=>p});var a=n(7462),l=(n(7294),n(3905));const r={title:"API Reference"},d=void 0,i={unversionedId:"api",id:"api",title:"API Reference",description:"Prop Types",source:"@site/docs/api.md",sourceDirName:".",slug:"/api",permalink:"/react-accessible-treeview/docs/api",draft:!1,tags:[],version:"current",frontMatter:{title:"API Reference"},sidebar:"docs",next:{title:"Basic",permalink:"/react-accessible-treeview/docs/examples-Basic"}},o={},p=[{value:"Prop Types",id:"prop-types",level:2},{value:"data",id:"data",level:2},{value:"nodeRenderer",id:"noderenderer",level:2},{value:"getNodeProps",id:"getnodeprops",level:2},{value:"onSelect",id:"onselect",level:2},{value:"onNodeSelect",id:"onnodeselect",level:2},{value:"onExpand",id:"onexpand",level:2},{value:"onLoadData",id:"onloaddata",level:2},{value:"Keyboard Navigation",id:"keyboard-navigation",level:2},{value:"Mouse Navigation",id:"mouse-navigation",level:2},{value:"Click actions",id:"click-actions",level:2},{value:"treeState",id:"treestate",level:2}],m={toc:p},k="wrapper";function N(t){let{components:e,...n}=t;return(0,l.kt)(k,(0,a.Z)({},m,n,{components:e,mdxType:"MDXLayout"}),(0,l.kt)("h2",{id:"prop-types"},"Prop Types"),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Prop name"),(0,l.kt)("th",{parentName:"tr",align:null},"Type"),(0,l.kt)("th",{parentName:"tr",align:null},"Default value"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"data")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"array[node]")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"required")),(0,l.kt)("td",{parentName:"tr",align:null},"Tree data")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"nodeRenderer")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"func")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"required")),(0,l.kt)("td",{parentName:"tr",align:null},"Render prop for the node (see below for more details)")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"onSelect")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"func")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"noop")),(0,l.kt)("td",{parentName:"tr",align:null},"Function called when a node changes its selected state")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"onNodeSelect")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"func")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"noop")),(0,l.kt)("td",{parentName:"tr",align:null},"Function called when a node was manually selected/deselected")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"onExpand")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"func")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"noop")),(0,l.kt)("td",{parentName:"tr",align:null},"Function called when a node changes its expanded state")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"className")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"string")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'""')),(0,l.kt)("td",{parentName:"tr",align:null},"className to add to the outermost dom element, al ",(0,l.kt)("inlineCode",{parentName:"td"},"ul")," with ",(0,l.kt)("inlineCode",{parentName:"td"},'role = "tree"'))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"multiSelect")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"bool")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"false")),(0,l.kt)("td",{parentName:"tr",align:null},"Allows multiple nodes to be selected")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"propagateSelect")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"bool")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"false")),(0,l.kt)("td",{parentName:"tr",align:null},"If set to true, selecting a node will also select its descendants")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"propagateSelectUpwards")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"bool")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"false")),(0,l.kt)("td",{parentName:"tr",align:null},"If set to true, selecting a node will update the state of its parent (e.g. a parent node in a checkbox will be automatically selected if all of its children are selected")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"propagateCollapse")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"bool")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"false")),(0,l.kt)("td",{parentName:"tr",align:null},"If set to true, collapsing a node will also collapse its descendants")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"expandOnKeyboardSelect")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"bool")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"false")),(0,l.kt)("td",{parentName:"tr",align:null},"Selecting a node with a keyboard (using Space or Enter) will also toggle its expanded state")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"togglableSelect")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"bool")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"false")),(0,l.kt)("td",{parentName:"tr",align:null},"Whether the selected state is togglable")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"defaultSelectedIds")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"array")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"[]")),(0,l.kt)("td",{parentName:"tr",align:null},"Array with the ids of the default selected nodes")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"defaultExpandedIds")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"array")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"[]")),(0,l.kt)("td",{parentName:"tr",align:null},"Array with the ids of the default expanded nodes")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"defaultDisabledIds")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"array")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"[]")),(0,l.kt)("td",{parentName:"tr",align:null},"Array with the ids of the default disabled nodes")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"selectedIds")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"array")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"[]")),(0,l.kt)("td",{parentName:"tr",align:null},"(Controlled) Array with the ids that should be selected")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"expandedIds")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"array")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"[]")),(0,l.kt)("td",{parentName:"tr",align:null},"(Controlled) Array with the ids of branch node that should be")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"clickAction")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"enum")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"SELECT")),(0,l.kt)("td",{parentName:"tr",align:null},"Action to perform on click. One of: EXCLUSIVE_SELECT, FOCUS, SELECT")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"onBlur")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"func")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"noop")),(0,l.kt)("td",{parentName:"tr",align:null},"Custom onBlur event that is triggered when focusing out of the component as a whole (moving focus between the nodes won't trigger it).")))),(0,l.kt)("br",null)," ",(0,l.kt)("br",null),(0,l.kt)("h2",{id:"data"},"data"),(0,l.kt)("p",null,"An array of nodes. Nodes are objects with the following structure:"),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Property"),(0,l.kt)("th",{parentName:"tr",align:null},"Type"),(0,l.kt)("th",{parentName:"tr",align:null},"Default"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"id")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"number")," or ",(0,l.kt)("inlineCode",{parentName:"td"},"string")),(0,l.kt)("td",{parentName:"tr",align:null},"required"),(0,l.kt)("td",{parentName:"tr",align:null},"A nonnegative integer or string that uniquely identifies the node. ",(0,l.kt)("inlineCode",{parentName:"td"},"parent:null")," identifies the root node")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"name")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"string")),(0,l.kt)("td",{parentName:"tr",align:null},"required"),(0,l.kt)("td",{parentName:"tr",align:null},"Used to match on key press")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"children")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"array[id]")),(0,l.kt)("td",{parentName:"tr",align:null},"required"),(0,l.kt)("td",{parentName:"tr",align:null},"An array with the ids of the children nodes.")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"parent")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"id")),(0,l.kt)("td",{parentName:"tr",align:null},"required"),(0,l.kt)("td",{parentName:"tr",align:null},"The parent of the node. ",(0,l.kt)("inlineCode",{parentName:"td"},"null")," for the root node")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"isBranch")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"boolean")),(0,l.kt)("td",{parentName:"tr",align:null},"optional"),(0,l.kt)("td",{parentName:"tr",align:null},"Used to indicated whether a node is branch to be able load async data onExpand, default is false")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"metadata")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"object")),(0,l.kt)("td",{parentName:"tr",align:null},"optional"),(0,l.kt)("td",{parentName:"tr",align:null},"Used to add metadata into node object. We do not currently support metadata that is a nested object")))),(0,l.kt)("p",null,"The item with ",(0,l.kt)("inlineCode",{parentName:"p"},"parent:null")," of the array represents the root node and won't be displayed."),(0,l.kt)("p",null,"Example:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-js",metastring:"static",static:!0},'const data = [\n { name: "", children: [1, 4, 9, 10, 11], id: 0, parent: null },\n { name: "src", children: [2, 3], id: 1, parent: 0 },\n { name: "index.js", id: 2, parent: 1 },\n { name: "styles.css", id: 3, parent: 1 },\n { name: "node_modules", children: [5, 7], id: 4, parent: 0 },\n { name: "react-accessible-treeview", children: [6], id: 5, parent: 4 },\n { name: "bundle.js", id: 6, parent: 5 },\n { name: "react", children: [8], id: 7, parent: 4 },\n { name: "bundle.js", id: 8, parent: 7 },\n { name: ".npmignore", id: 9, parent: 0 },\n { name: "package.json", id: 10, parent: 0 },\n { name: "webpack.config.js", id: 11, parent: 0 },\n];\n')),(0,l.kt)("p",null,"The array can also be generated from a nested object using the ",(0,l.kt)("inlineCode",{parentName:"p"},"flattenTree")," helper (see the examples below). ",(0,l.kt)("inlineCode",{parentName:"p"},"flattenTree")," preserves ",(0,l.kt)("inlineCode",{parentName:"p"},"metadata"),"."),(0,l.kt)("p",null,"Data supports non-sequential ids provided by user."),(0,l.kt)("br",null)," ",(0,l.kt)("br",null),(0,l.kt)("h2",{id:"noderenderer"},"nodeRenderer"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("em",{parentName:"li"},"Arguments"),": An object containing the following properties:")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Property"),(0,l.kt)("th",{parentName:"tr",align:null},"Type"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"element")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"object")),(0,l.kt)("td",{parentName:"tr",align:null},"The object that represents the rendered node")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"getNodeProps")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"function")),(0,l.kt)("td",{parentName:"tr",align:null},"A function which gives back the props to pass to the node")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"isBranch")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"bool")),(0,l.kt)("td",{parentName:"tr",align:null},"Whether the rendered node is a branch node")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"isSelected")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"bool")),(0,l.kt)("td",{parentName:"tr",align:null},"Whether the rendered node is selected")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"isHalfSelected")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"bool")," or ",(0,l.kt)("inlineCode",{parentName:"td"},"undefined")),(0,l.kt)("td",{parentName:"tr",align:null},"If the node is a branch node, whether it is half-selected, else undefined")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"isExpanded")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"bool")," or ",(0,l.kt)("inlineCode",{parentName:"td"},"undefined")),(0,l.kt)("td",{parentName:"tr",align:null},"If the node is a branch node, whether it is expanded, else undefined")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"isDisabled")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"bool")),(0,l.kt)("td",{parentName:"tr",align:null},"Whether the rendered node is disabled")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"level")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"number")),(0,l.kt)("td",{parentName:"tr",align:null},"A positive integer that corresponds to the aria-level attribute")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"setsize")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"number")),(0,l.kt)("td",{parentName:"tr",align:null},"A positive integer that corresponds to the aria-setsize attribute")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"posinset")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"number")),(0,l.kt)("td",{parentName:"tr",align:null},"A positive integer that corresponds to the aria-posinset attribute")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"handleSelect")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"function")),(0,l.kt)("td",{parentName:"tr",align:null},"Function to assign to the onClick event handler of the element(s) that will toggle the selected state")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"handleExpand")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"function")),(0,l.kt)("td",{parentName:"tr",align:null},"Function to assign to the onClick event handler of the element(s) that will toggle the expanded state")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"dispatch")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"function")),(0,l.kt)("td",{parentName:"tr",align:null},"Low level function to dispatch actions.")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"treeState")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"object")),(0,l.kt)("td",{parentName:"tr",align:null},"state of the treeview")))),(0,l.kt)("h2",{id:"getnodeprops"},"getNodeProps"),(0,l.kt)("p",null,"If called without arguments, clicking a leaf node will also call ",(0,l.kt)("inlineCode",{parentName:"p"},"handleSelect")," and clicking a branch node will call ",(0,l.kt)("inlineCode",{parentName:"p"},"handleSelect")," and ",(0,l.kt)("inlineCode",{parentName:"p"},"handleExpand"),".\nIf called with an object with an ",(0,l.kt)("inlineCode",{parentName:"p"},"onClick")," attribute: ",(0,l.kt)("inlineCode",{parentName:"p"},"getNodeProps({onClick:onClickFn})"),", the component will only handle focus onClick. This enables the use of\nthe handleSelect and handleExpand for just a part of the component, as demonstrated in the ",(0,l.kt)("inlineCode",{parentName:"p"},"CheckboxTree")," example."),(0,l.kt)("br",null)," ",(0,l.kt)("br",null),(0,l.kt)("h2",{id:"onselect"},"onSelect"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("em",{parentName:"li"},"Arguments"),": ",(0,l.kt)("inlineCode",{parentName:"li"},"onSelect({element, isBranch, isExpanded, isSelected, isHalfSelected, isDisabled, treeState })"),"\nNote: the function uses the state ",(0,l.kt)("em",{parentName:"li"},"after")," the selection.")),(0,l.kt)("h2",{id:"onnodeselect"},"onNodeSelect"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("em",{parentName:"li"},"Arguments"),": ",(0,l.kt)("inlineCode",{parentName:"li"},"onNodeSelect({element, isBranch, isSelected, treeState })"),"\nNote: the function uses the state right ",(0,l.kt)("em",{parentName:"li"},"after")," the selection before propagation.")),(0,l.kt)("h2",{id:"onexpand"},"onExpand"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("em",{parentName:"li"},"Arguments"),": ",(0,l.kt)("inlineCode",{parentName:"li"},"onExpand({element, isExpanded, isSelected, isHalfSelected, isDisabled, treeState})"),"\nNote: the function uses the state ",(0,l.kt)("em",{parentName:"li"},"after")," the expansion.")),(0,l.kt)("h2",{id:"onloaddata"},"onLoadData"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("em",{parentName:"li"},"Arguments"),": ",(0,l.kt)("inlineCode",{parentName:"li"},"onLoadData({element, isExpanded, isSelected, isHalfSelected, isDisabled, treeState})"),"\nNote: the function uses the state ",(0,l.kt)("em",{parentName:"li"},"after")," inital data is loaded and on expansion .",(0,l.kt)("br",null)," ",(0,l.kt)("br",null))),(0,l.kt)("h2",{id:"keyboard-navigation"},"Keyboard Navigation"),(0,l.kt)("p",null,"Follows the same conventions described in ",(0,l.kt)("a",{parentName:"p",href:"https://www.w3.org/TR/wai-aria-practices/examples/treeview/treeview-1/treeview-1b.html"},"https://www.w3.org/TR/wai-aria-practices/examples/treeview/treeview-1/treeview-1b.html")," and ",(0,l.kt)("a",{parentName:"p",href:"https://www.w3.org/TR/wai-aria-practices/#keyboard-interaction-22"},"https://www.w3.org/TR/wai-aria-practices/#keyboard-interaction-22"),"."),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Key"),(0,l.kt)("th",{parentName:"tr",align:null},"Function"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Enter")," or ",(0,l.kt)("inlineCode",{parentName:"td"},"Space")),(0,l.kt)("td",{parentName:"tr",align:null},"Updates the selected node to the current node and triggers ",(0,l.kt)("inlineCode",{parentName:"td"},"onSelect"))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Down Arrow")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("ul",null,(0,l.kt)("li",null,"Moves focus to the next node that is tabbable without opening or closing a node.")," ",(0,l.kt)("li",null,"If focus is on the last node, does nothing.")))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Up arrow")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("ul",null,(0,l.kt)("li",null," Moves focus to the previous node that is tabbable without opening or closing a node. "),(0,l.kt)("li",null," If focus is on the first node, does nothing.")))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Right Arrow")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("ul",null,(0,l.kt)("li",null,"When focus is on a closed node, opens the node; focus does not move.")," ",(0,l.kt)("li",null," When focus is on an end node, does nothing."),(0,l.kt)("li",null," When focus is on a open node, moves focus to the first child node. ")))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Left Arrow")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("ul",null," ",(0,l.kt)("li",null,"When focus is on an open node, closes the node.")," ",(0,l.kt)("li",null,"When focus is on a child node that is also either an end node or a closed node, moves focus to its parent node.")," ",(0,l.kt)("li",null," When focus is on a root node that is also either an end node or a closed node, does nothing.")," "))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Home")),(0,l.kt)("td",{parentName:"tr",align:null},"Moves focus to first node without opening or closing a node.")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"End")),(0,l.kt)("td",{parentName:"tr",align:null},"Moves focus to the last node that can be focused without expanding any nodes that are closed.")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"a-z, A-Z")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("ul",null," ",(0,l.kt)("li",null,"Focus moves to the next node with a name that starts with the typed character.")," ",(0,l.kt)("li",null,"Search wraps to first node if a matching name is not found among the nodes that follow the focused node.")," ",(0,l.kt)("li",null,"Search ignores nodes that are descendants of closed nodes.")," "))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"*")," (asterisk)"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("ul",null,(0,l.kt)("li",null," Expands all closed sibling nodes that are at the same level as the focused node."),(0,l.kt)("li",null," Focus does not move.")))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Shift + Down Arrow")),(0,l.kt)("td",{parentName:"tr",align:null},"Moves focus to and toggles the selection state of the next node.")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Shift + Up Arrow")),(0,l.kt)("td",{parentName:"tr",align:null},"Moves focus to and toggles the selection state of the previous node.")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Ctrl + A")),(0,l.kt)("td",{parentName:"tr",align:null},"Selects all nodes in the tree. If all nodes are selected, unselects all nodes.")))),(0,l.kt)("br",null)," ",(0,l.kt)("br",null),(0,l.kt)("h2",{id:"mouse-navigation"},"Mouse Navigation"),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Key"),(0,l.kt)("th",{parentName:"tr",align:null},"Function"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Click")),(0,l.kt)("td",{parentName:"tr",align:null},"Toggles parent nodes and also performs one of ",(0,l.kt)("inlineCode",{parentName:"td"},"clickActions = SELECT, EXCLUSIVE_SELECT, FOCUS"))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Ctrl+Click")),(0,l.kt)("td",{parentName:"tr",align:null},"If ",(0,l.kt)("inlineCode",{parentName:"td"},"multiselect")," is set to ",(0,l.kt)("inlineCode",{parentName:"td"},"true"),", selects the node without dropping the current selected ones. If false, it selects the clicked node. Doesn't toggle parents.")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Shift+Click")),(0,l.kt)("td",{parentName:"tr",align:null},"If ",(0,l.kt)("inlineCode",{parentName:"td"},"multiselect")," is set to ",(0,l.kt)("inlineCode",{parentName:"td"},"true"),", selects from the node without dropping the current selected ones. If false, it focus the clicked node. Doesn't toggle parents.")))),(0,l.kt)("br",null)," ",(0,l.kt)("br",null),(0,l.kt)("h2",{id:"click-actions"},"Click actions"),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Variant"),(0,l.kt)("th",{parentName:"tr",align:null},"Function"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"SELECT")),(0,l.kt)("td",{parentName:"tr",align:null},"Selects the clicked node (default).")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"EXCLUSIVE_SELECT")),(0,l.kt)("td",{parentName:"tr",align:null},"Selects the clicked node and deselects the rest.")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"FOCUS")),(0,l.kt)("td",{parentName:"tr",align:null},"Focuses the clicked node")))),(0,l.kt)("br",null)," ",(0,l.kt)("br",null),(0,l.kt)("h2",{id:"treestate"},"treeState"),(0,l.kt)("p",null,"The internal state of the component."),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Property"),(0,l.kt)("th",{parentName:"tr",align:null},"Type"),(0,l.kt)("th",{parentName:"tr",align:null},"Default"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"selectedIds"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Set")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"new Set(defaultSelectedIds)")),(0,l.kt)("td",{parentName:"tr",align:null},"Set of the ids of the selected nodes")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"controlledIds"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Set")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"new Set(controlledSelectedIds)")),(0,l.kt)("td",{parentName:"tr",align:null},"Set of the ids of the nodes selected programmatically")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"tabbableId"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"number")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"data[0].children[0]")),(0,l.kt)("td",{parentName:"tr",align:null},"Id of the node with tabindex = 0")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"isFocused"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"bool")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"false")),(0,l.kt)("td",{parentName:"tr",align:null},"Whether the tree has focus")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"expandedIds"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Set")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"new Set(defaultExpandedIds)")),(0,l.kt)("td",{parentName:"tr",align:null},"Set of the ids of the expanded nodes")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"halfSelectedIds"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Set")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"new Set()")),(0,l.kt)("td",{parentName:"tr",align:null},"Set of the ids of the selected nodes")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"lastUserSelect"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"number")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"data[0].children[0]")),(0,l.kt)("td",{parentName:"tr",align:null},"Last selection made directly by the user")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"lastInteractedWith"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"number or null")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"null")),(0,l.kt)("td",{parentName:"tr",align:null},"Last node interacted with")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"lastManuallyToggled"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"number or null")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"null")),(0,l.kt)("td",{parentName:"tr",align:null},"Last node that was manually selected/deselected")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"disabledIds"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"Set")),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"new Set(defaultDisabledIds)")),(0,l.kt)("td",{parentName:"tr",align:null},"Set of the ids of the selected nodes")))))}N.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/64f7982e.14b3f1ac.js b/assets/js/64f7982e.14b3f1ac.js deleted file mode 100644 index 311ed6d9..00000000 --- a/assets/js/64f7982e.14b3f1ac.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[442],{1869:function(e,n,a){a.r(n),a.d(n,{assets:function(){return E},contentTitle:function(){return N},default:function(){return T},frontMatter:function(){return C},metadata:function(){return A},toc:function(){return M}});var t=a(7462),r=a(3366),l=a(7294),i=a(3905),o=a(2805),s=a(4165),c=a(5861),d=a(9583),u=a(1649),m=a(8193),p=a(148),h=a(4184),f=a.n(h),v=["variant"],g=[{name:"",id:0,children:[1,2,3],parent:null},{name:"Fruits",children:[],id:1,parent:0,isBranch:!0},{name:"Drinks",children:[4,5],id:2,parent:0,isBranch:!0},{name:"Vegetables",children:[],id:3,parent:0,isBranch:!0},{name:"Pine colada",children:[],id:4,parent:2},{name:"Water",children:[],id:5,parent:2}];var x=function(e){var n,a,t=e.isOpen,r=e.className,i="arrow",o=f()(i,((n={})[i+"--closed"]=!t,n),((a={})[i+"--open"]=t,a),r);return l.createElement(u.am,{className:o})},b=function(e){var n=e.variant,a=(0,r.Z)(e,v);switch(n){case"all":return l.createElement(d.xik,a);case"none":return l.createElement(d.u9M,a);case"some":return l.createElement(d.kty,a);default:return null}},k=function(){var e=(0,l.useRef)(null),n=(0,l.useState)(g),a=n[0],r=n[1],i=(0,l.useState)([]),o=i[0],d=i[1],u=function(e){var n=e.element;return new Promise((function(e){n.children.length>0?e():setTimeout((function(){r((function(e){return a=e,t=n.id,r=[{name:"Child Node "+e.length,children:[],id:e.length,parent:n.id,isBranch:!0},{name:"Another child Node",children:[],id:e.length+1,parent:n.id}],a.map((function(e){return e.id===t&&(e.children=r.map((function(e){return e.id}))),e})).concat(r);var a,t,r})),e()}),1e3)}))},h=function(){var n=(0,c.Z)((0,s.Z)().mark((function n(a){var t,r,l;return(0,s.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=0===a.element.children.length,r=o.find((function(e){return e.id===a.element.id})),n.next=4,u(a);case 4:t&&!r&&(l=e.current,d([].concat(o,[a.element])),l&&(l.innerHTML=a.element.name+" loaded"),setTimeout((function(){l&&(l.innerHTML="")}),5e3));case 5:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}();return l.createElement(l.Fragment,null,l.createElement("div",null,l.createElement("div",{className:"visually-hidden",ref:e,role:"alert","aria-live":"polite"}),l.createElement("div",{className:"checkbox"},l.createElement(p.ZP,{data:a,"aria-label":"Checkbox tree",onLoadData:h,multiSelect:!0,propagateSelect:!0,togglableSelect:!0,propagateSelectUpwards:!0,nodeRenderer:function(e){var n=e.element,a=e.isBranch,r=e.isExpanded,i=e.isSelected,o=e.isHalfSelected,s=e.getNodeProps,c=e.level,d=e.handleSelect,u=e.handleExpand;return l.createElement("div",(0,t.Z)({},s({onClick:u}),{style:{marginLeft:40*(c-1)}}),a&&function(e,n){return e&&0===n.children.length?l.createElement(l.Fragment,null,l.createElement("span",{role:"alert","aria-live":"assertive",className:"visually-hidden"},"loading ",n.name),l.createElement(m.xz6,{"aria-hidden":!0,className:"loading-icon"})):l.createElement(x,{isOpen:e})}(r,n),l.createElement(b,{className:"checkbox-icon",onClick:function(e){d(e),e.stopPropagation()},variant:o?"some":i?"all":"none"}),l.createElement("span",{className:"name"},n.name))}}))))},w='import React, { useRef, useState } from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport { AiOutlineLoading } from "react-icons/ai";\nimport TreeView from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst initialData = [\n {\n name: "",\n id: 0,\n children: [1, 2, 3],\n parent: null,\n },\n {\n name: "Fruits",\n children: [],\n id: 1,\n parent: 0,\n isBranch: true,\n },\n {\n name: "Drinks",\n children: [4, 5],\n id: 2,\n parent: 0,\n isBranch: true,\n },\n {\n name: "Vegetables",\n children: [],\n id: 3,\n parent: 0,\n isBranch: true,\n },\n {\n name: "Pine colada",\n children: [],\n id: 4,\n parent: 2,\n },\n {\n name: "Water",\n children: [],\n id: 5,\n parent: 2,\n },\n];\n\nfunction MultiSelectCheckboxAsync() {\n const loadedAlertElement = useRef(null);\n const [data, setData] = useState(initialData);\n const [nodesAlreadyLoaded, setNodesAlreadyLoaded] = useState([]);\n\n const updateTreeData = (list, id, children) => {\n const data = list.map((node) => {\n if (node.id === id) {\n node.children = children.map((el) => {\n return el.id;\n });\n }\n return node;\n });\n return data.concat(children);\n };\n\n const onLoadData = ({ element }) => {\n return new Promise((resolve) => {\n if (element.children.length > 0) {\n resolve();\n return;\n }\n setTimeout(() => {\n setData((value) =>\n updateTreeData(value, element.id, [\n {\n name: `Child Node ${value.length}`,\n children: [],\n id: value.length,\n parent: element.id,\n isBranch: true,\n },\n {\n name: "Another child Node",\n children: [],\n id: value.length + 1,\n parent: element.id,\n },\n ])\n );\n resolve();\n }, 1000);\n });\n };\n\n const wrappedOnLoadData = async (props) => {\n const nodeHasNoChildData = props.element.children.length === 0;\n const nodeHasAlreadyBeenLoaded = nodesAlreadyLoaded.find(\n (e) => e.id === props.element.id\n );\n\n await onLoadData(props);\n\n if (nodeHasNoChildData && !nodeHasAlreadyBeenLoaded) {\n const el = loadedAlertElement.current;\n setNodesAlreadyLoaded([...nodesAlreadyLoaded, props.element]);\n el && (el.innerHTML = `${props.element.name} loaded`);\n\n // Clearing aria-live region so loaded node alerts no longer appear in DOM\n setTimeout(() => {\n el && (el.innerHTML = "");\n }, 5000);\n }\n };\n\n return (\n <>\n
\n
\n
\n {\n const branchNode = (isExpanded, element) => {\n return isExpanded && element.children.length === 0 ? (\n <>\n \n loading {element.name}\n \n \n \n ) : (\n \n );\n };\n return (\n \n {isBranch && branchNode(isExpanded, element)}\n {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n {element.name}\n
\n );\n }}\n />\n \n \n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default MultiSelectCheckboxAsync;\n',S="@keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.loading-icon {\n animation: spinner 1.5s linear infinite;\n margin-left: 5px;\n}\n\n.visually-hidden {\n position: absolute;\n clip-path: circle(0);\n border: 0;\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n width: 1px;\n white-space: nowrap;\n}\n",y=["components"],C={title:"Asynchronous loading"},N=void 0,A={unversionedId:"examples-MultiSelectCheckboxAsync",id:"examples-MultiSelectCheckboxAsync",title:"Asynchronous loading",description:"This example demonstrates how to create a checkbox tree with asynchronous loading",source:"@site/docs/examples-MultiSelectCheckboxAsync.mdx",sourceDirName:".",slug:"/examples-MultiSelectCheckboxAsync",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync",draft:!1,tags:[],version:"current",frontMatter:{title:"Asynchronous loading"},sidebar:"docs",previous:{title:"Checkbox",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckbox"},next:{title:"Asynchronous loading with Controlled selection",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled"}},E={},M=[],D={toc:M},L="wrapper";function T(e){var n=e.components,a=(0,r.Z)(e,y);return(0,i.kt)(L,(0,t.Z)({},D,a,{components:n,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"This example demonstrates how to create a checkbox tree with asynchronous loading"),(0,i.kt)(o.Z,{component:k,js:w,css:S,mdxType:"CodeTabs"}))}T.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/64f7982e.d798e35c.js b/assets/js/64f7982e.d798e35c.js new file mode 100644 index 00000000..0508707d --- /dev/null +++ b/assets/js/64f7982e.d798e35c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[442],{1869:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>w,contentTitle:()=>k,default:()=>A,frontMatter:()=>f,metadata:()=>S,toc:()=>y});var t=a(7462),l=a(7294),r=a(3905),i=a(2805),s=a(9583),o=a(1649),c=a(8193),d=a(148),m=a(4184),p=a.n(m);const h=[{name:"",id:0,children:[1,2,3],parent:null},{name:"Fruits",children:[],id:1,parent:0,isBranch:!0},{name:"Drinks",children:[4,5],id:2,parent:0,isBranch:!0},{name:"Vegetables",children:[],id:3,parent:0,isBranch:!0},{name:"Pine colada",children:[],id:4,parent:2},{name:"Water",children:[],id:5,parent:2}];const u=e=>{let{isOpen:n,className:a}=e;const t="arrow",r=p()(t,{[t+"--closed"]:!n},{[t+"--open"]:n},a);return l.createElement(o.am,{className:r})},g=e=>{let{variant:n,...a}=e;switch(n){case"all":return l.createElement(s.xik,a);case"none":return l.createElement(s.u9M,a);case"some":return l.createElement(s.kty,a);default:return null}},v=function(){const e=(0,l.useRef)(null),[n,a]=(0,l.useState)(h),[r,i]=(0,l.useState)([]);return l.createElement(l.Fragment,null,l.createElement("div",null,l.createElement("div",{className:"visually-hidden",ref:e,role:"alert","aria-live":"polite"}),l.createElement("div",{className:"checkbox"},l.createElement(d.ZP,{data:n,"aria-label":"Checkbox tree",onLoadData:async n=>{const t=0===n.element.children.length,l=r.find((e=>e.id===n.element.id));if(await(e=>{let{element:n}=e;return new Promise((e=>{n.children.length>0?e():setTimeout((()=>{a((e=>{return a=e,t=n.id,l=[{name:"Child Node "+e.length,children:[],id:e.length,parent:n.id,isBranch:!0},{name:"Another child Node",children:[],id:e.length+1,parent:n.id}],a.map((e=>(e.id===t&&(e.children=l.map((e=>e.id))),e))).concat(l);var a,t,l})),e()}),1e3)}))})(n),t&&!l){const a=e.current;i([...r,n.element]),a&&(a.innerHTML=n.element.name+" loaded"),setTimeout((()=>{a&&(a.innerHTML="")}),5e3)}},multiSelect:!0,propagateSelect:!0,togglableSelect:!0,propagateSelectUpwards:!0,nodeRenderer:e=>{let{element:n,isBranch:a,isExpanded:r,isSelected:i,isHalfSelected:s,getNodeProps:o,level:d,handleSelect:m,handleExpand:p}=e;return l.createElement("div",(0,t.Z)({},o({onClick:p}),{style:{marginLeft:40*(d-1)}}),a&&((e,n)=>e&&0===n.children.length?l.createElement(l.Fragment,null,l.createElement("span",{role:"alert","aria-live":"assertive",className:"visually-hidden"},"loading ",n.name),l.createElement(c.xz6,{"aria-hidden":!0,className:"loading-icon"})):l.createElement(u,{isOpen:e}))(r,n),l.createElement(g,{className:"checkbox-icon",onClick:e=>{m(e),e.stopPropagation()},variant:s?"some":i?"all":"none"}),l.createElement("span",{className:"name"},n.name))}}))))},x='import React, { useRef, useState } from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport { AiOutlineLoading } from "react-icons/ai";\nimport TreeView from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst initialData = [\n {\n name: "",\n id: 0,\n children: [1, 2, 3],\n parent: null,\n },\n {\n name: "Fruits",\n children: [],\n id: 1,\n parent: 0,\n isBranch: true,\n },\n {\n name: "Drinks",\n children: [4, 5],\n id: 2,\n parent: 0,\n isBranch: true,\n },\n {\n name: "Vegetables",\n children: [],\n id: 3,\n parent: 0,\n isBranch: true,\n },\n {\n name: "Pine colada",\n children: [],\n id: 4,\n parent: 2,\n },\n {\n name: "Water",\n children: [],\n id: 5,\n parent: 2,\n },\n];\n\nfunction MultiSelectCheckboxAsync() {\n const loadedAlertElement = useRef(null);\n const [data, setData] = useState(initialData);\n const [nodesAlreadyLoaded, setNodesAlreadyLoaded] = useState([]);\n\n const updateTreeData = (list, id, children) => {\n const data = list.map((node) => {\n if (node.id === id) {\n node.children = children.map((el) => {\n return el.id;\n });\n }\n return node;\n });\n return data.concat(children);\n };\n\n const onLoadData = ({ element }) => {\n return new Promise((resolve) => {\n if (element.children.length > 0) {\n resolve();\n return;\n }\n setTimeout(() => {\n setData((value) =>\n updateTreeData(value, element.id, [\n {\n name: `Child Node ${value.length}`,\n children: [],\n id: value.length,\n parent: element.id,\n isBranch: true,\n },\n {\n name: "Another child Node",\n children: [],\n id: value.length + 1,\n parent: element.id,\n },\n ])\n );\n resolve();\n }, 1000);\n });\n };\n\n const wrappedOnLoadData = async (props) => {\n const nodeHasNoChildData = props.element.children.length === 0;\n const nodeHasAlreadyBeenLoaded = nodesAlreadyLoaded.find(\n (e) => e.id === props.element.id\n );\n\n await onLoadData(props);\n\n if (nodeHasNoChildData && !nodeHasAlreadyBeenLoaded) {\n const el = loadedAlertElement.current;\n setNodesAlreadyLoaded([...nodesAlreadyLoaded, props.element]);\n el && (el.innerHTML = `${props.element.name} loaded`);\n\n // Clearing aria-live region so loaded node alerts no longer appear in DOM\n setTimeout(() => {\n el && (el.innerHTML = "");\n }, 5000);\n }\n };\n\n return (\n <>\n
\n
\n
\n {\n const branchNode = (isExpanded, element) => {\n return isExpanded && element.children.length === 0 ? (\n <>\n \n loading {element.name}\n \n \n \n ) : (\n \n );\n };\n return (\n \n {isBranch && branchNode(isExpanded, element)}\n {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n {element.name}\n
\n );\n }}\n />\n \n \n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default MultiSelectCheckboxAsync;\n',b="@keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.loading-icon {\n animation: spinner 1.5s linear infinite;\n margin-left: 5px;\n}\n\n.visually-hidden {\n position: absolute;\n clip-path: circle(0);\n border: 0;\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n width: 1px;\n white-space: nowrap;\n}\n",f={title:"Asynchronous loading"},k=void 0,S={unversionedId:"examples-MultiSelectCheckboxAsync",id:"examples-MultiSelectCheckboxAsync",title:"Asynchronous loading",description:"This example demonstrates how to create a checkbox tree with asynchronous loading",source:"@site/docs/examples-MultiSelectCheckboxAsync.mdx",sourceDirName:".",slug:"/examples-MultiSelectCheckboxAsync",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync",draft:!1,tags:[],version:"current",frontMatter:{title:"Asynchronous loading"},sidebar:"docs",previous:{title:"Checkbox",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckbox"},next:{title:"Asynchronous loading with Controlled selection",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled"}},w={},y=[],C={toc:y},N="wrapper";function A(e){let{components:n,...a}=e;return(0,r.kt)(N,(0,t.Z)({},C,a,{components:n,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"This example demonstrates how to create a checkbox tree with asynchronous loading"),(0,r.kt)(i.Z,{component:v,js:x,css:b,mdxType:"CodeTabs"}))}A.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/670.85b5b7f9.js b/assets/js/670.85b5b7f9.js deleted file mode 100644 index af78974c..00000000 --- a/assets/js/670.85b5b7f9.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 670.85b5b7f9.js.LICENSE.txt */ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[670],{8193:function(t,r,e){e.d(r,{xz6:function(){return o}});var n=e(8357);function o(t){return(0,n.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]})(t)}},5861:function(t,r,e){function n(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(f){return void e(f)}c.done?r(u):Promise.resolve(u).then(n,o)}function o(t){return function(){var r=this,e=arguments;return new Promise((function(o,i){var a=t.apply(r,e);function c(t){n(a,o,i,c,u,"next",t)}function u(t){n(a,o,i,c,u,"throw",t)}c(void 0)}))}}e.d(r,{Z:function(){return o}})},4165:function(t,r,e){e.d(r,{Z:function(){return o}});var n=e(1002);function o(){o=function(){return r};var t,r={},e=Object.prototype,i=e.hasOwnProperty,a=Object.defineProperty||function(t,r,e){t[r]=e.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",f=c.asyncIterator||"@@asyncIterator",h=c.toStringTag||"@@toStringTag";function l(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{l({},"")}catch(t){l=function(t,r,e){return t[r]=e}}function s(t,r,e,n){var o=r&&r.prototype instanceof m?r:m,i=Object.create(o.prototype),c=new T(n||[]);return a(i,"_invoke",{value:P(t,e,c)}),i}function p(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}r.wrap=s;var v="suspendedStart",y="suspendedYield",d="executing",g="completed",w={};function m(){}function b(){}function L(){}var x={};l(x,u,(function(){return this}));var E=Object.getPrototypeOf,_=E&&E(E(F([])));_&&_!==e&&i.call(_,u)&&(x=_);var O=L.prototype=m.prototype=Object.create(x);function j(t){["next","throw","return"].forEach((function(r){l(t,r,(function(t){return this._invoke(r,t)}))}))}function k(t,r){function e(o,a,c,u){var f=p(t[o],t,a);if("throw"!==f.type){var h=f.arg,l=h.value;return l&&"object"==(0,n.Z)(l)&&i.call(l,"__await")?r.resolve(l.__await).then((function(t){e("next",t,c,u)}),(function(t){e("throw",t,c,u)})):r.resolve(l).then((function(t){h.value=t,c(h)}),(function(t){return e("throw",t,c,u)}))}u(f.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new r((function(r,o){e(t,n,r,o)}))}return o=o?o.then(i,i):i()}})}function P(r,e,n){var o=v;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=G(c,n);if(u){if(u===w)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===v)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var f=p(r,e,n);if("normal"===f.type){if(o=n.done?g:y,f.arg===w)continue;return{value:f.arg,done:n.done}}"throw"===f.type&&(o=g,n.method="throw",n.arg=f.arg)}}}function G(r,e){var n=e.method,o=r.iterator[n];if(o===t)return e.delegate=null,"throw"===n&&r.iterator.return&&(e.method="return",e.arg=t,G(r,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),w;var i=p(o,r.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,w;var a=i.arg;return a?a.done?(e[r.resultName]=a.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,w):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,w)}function N(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function S(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function F(r){if(r||""===r){var e=r[u];if(e)return e.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function e(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),f=i.call(a,"finallyLoc");if(u&&f){if(this.prev=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),S(e),w}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;S(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(r,e,n){return this.delegate={iterator:F(r),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=t),w}},r}}}]); \ No newline at end of file diff --git a/assets/js/670.85b5b7f9.js.LICENSE.txt b/assets/js/670.85b5b7f9.js.LICENSE.txt deleted file mode 100644 index ae386fb7..00000000 --- a/assets/js/670.85b5b7f9.js.LICENSE.txt +++ /dev/null @@ -1 +0,0 @@ -/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ diff --git a/assets/js/6ebfbd9a.4e5574c0.js b/assets/js/6ebfbd9a.4e5574c0.js new file mode 100644 index 00000000..65ff0161 --- /dev/null +++ b/assets/js/6ebfbd9a.4e5574c0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[864],{6532:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>S,contentTitle:()=>C,default:()=>E,frontMatter:()=>f,metadata:()=>g,toc:()=>v});var t=a(7462),s=a(7294),r=a(3905),c=a(2805),l=a(9583),o=a(1649),i=a(4184),d=a.n(i),m=a(148);const p=(0,m.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Apple Juice"},{name:"Chocolate"},{name:"Coffee"},{name:"Tea",children:[{name:"Black Tea"},{name:"Green Tea"},{name:"Red Tea"},{name:"Matcha"}]}]},{name:"Vegetables",children:[{name:"Beets"},{name:"Carrots"},{name:"Celery"},{name:"Lettuce"},{name:"Onions"}]}]});const b=e=>{let{isOpen:n,className:a}=e;const t="arrow",r=d()(t,{[t+"--closed"]:!n},{[t+"--open"]:n},a);return s.createElement(o.am,{className:r})},h=e=>{let{variant:n,...a}=e;switch(n){case"all":return s.createElement(l.xik,a);case"none":return s.createElement(l.u9M,a);case"some":return s.createElement(l.kty,a);default:return null}},u=function(){return s.createElement("div",null,s.createElement("div",{className:"checkbox"},s.createElement(m.ZP,{data:p,"aria-label":"Checkbox tree",multiSelect:!0,propagateSelect:!0,propagateSelectUpwards:!0,defaultDisabledIds:[1,5],togglableSelect:!0,nodeRenderer:e=>{let{element:n,isBranch:a,isExpanded:r,isSelected:c,isDisabled:l,isHalfSelected:o,getNodeProps:i,level:d,handleSelect:m,handleExpand:p,dispatch:u}=e;return s.createElement(s.Fragment,null,s.createElement("div",(0,t.Z)({},i({onClick:p}),{style:{marginLeft:40*(d-1),opacity:l?.5:1}}),a&&s.createElement(b,{isOpen:r}),s.createElement(h,{className:"checkbox-icon",onClick:e=>{m(e),e.stopPropagation()},variant:o?"some":c?"all":"none"}),s.createElement("span",{className:"name"},n.name)),s.createElement("button",{onClick:()=>u({type:l?"ENABLE":"DISABLE",id:n.id})},l?"Enable":"Disable"))}})))},x='import React from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport cx from "classnames";\n\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nconst folder = {\n name: "",\n children: [\n {\n name: "Fruits",\n children: [\n { name: "Avocados" },\n { name: "Bananas" },\n { name: "Berries" },\n { name: "Oranges" },\n { name: "Pears" },\n ],\n },\n {\n name: "Drinks",\n children: [\n { name: "Apple Juice" },\n { name: "Chocolate" },\n { name: "Coffee" },\n {\n name: "Tea",\n children: [\n { name: "Black Tea" },\n { name: "Green Tea" },\n { name: "Red Tea" },\n { name: "Matcha" },\n ],\n },\n ],\n },\n {\n name: "Vegetables",\n children: [\n { name: "Beets" },\n { name: "Carrots" },\n { name: "Celery" },\n { name: "Lettuce" },\n { name: "Onions" },\n ],\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nfunction MultiSelectCheckboxDisabled() {\n return (\n
\n
\n {\n return (\n <>\n \n {isBranch && }\n {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n {element.name}\n
\n \n dispatch({\n type: isDisabled ? "ENABLE" : "DISABLE",\n id: element.id,\n })\n }\n >\n {isDisabled ? "Enable" : "Disable"}\n \n \n );\n }}\n />\n
\n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default MultiSelectCheckboxDisabled;\n';var k=a(1240);const f={title:"Checkbox with disabled nodes"},C=void 0,g={unversionedId:"examples-MultiSelectCheckboxDisabled",id:"examples-MultiSelectCheckboxDisabled",title:"Checkbox with disabled nodes",description:"This example demonstrates the use of disabled nodes",source:"@site/docs/examples-MultiSelectCheckboxDisabled.md",sourceDirName:".",slug:"/examples-MultiSelectCheckboxDisabled",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled",draft:!1,tags:[],version:"current",frontMatter:{title:"Checkbox with disabled nodes"},sidebar:"docs",previous:{title:"Checkbox with controlled selectedIds",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled"},next:{title:"Directory tree (multiple selection)",permalink:"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree"}},S={},v=[],w={toc:v},D="wrapper";function E(e){let{components:n,...a}=e;return(0,r.kt)(D,(0,t.Z)({},w,a,{components:n,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"This example demonstrates the use of disabled nodes"),(0,r.kt)(c.Z,{component:u,js:x,css:k.Z,mdxType:"CodeTabs"}))}E.isMDXComponent=!0},1240:(e,n,a)=>{a.d(n,{Z:()=>t});const t=".checkbox {\n font-size: 16px;\n user-select: none;\n min-height: 320px;\n padding: 20px;\n box-sizing: content-box;\n}\n\n.checkbox .tree,\n.checkbox .tree-node,\n.checkbox .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.checkbox .tree-branch-wrapper,\n.checkbox .tree-node__leaf {\n outline: none;\n}\n\n.checkbox .tree-node {\n cursor: pointer;\n}\n\n.checkbox .tree-node .name:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n\n.checkbox .tree-node--focused .name {\n background: rgba(0, 0, 0, 0.2);\n}\n\n.checkbox .tree-node {\n display: inline-block;\n}\n\n.checkbox .checkbox-icon {\n margin: 0 5px;\n vertical-align: middle;\n}\n\n.checkbox button {\n border: none;\n background: transparent;\n cursor: pointer;\n}\n\n.checkbox .arrow {\n margin-left: 5px;\n vertical-align: middle;\n}\n\n.checkbox .arrow--open {\n transform: rotate(90deg);\n}\n"}}]); \ No newline at end of file diff --git a/assets/js/6ebfbd9a.578d5a9a.js b/assets/js/6ebfbd9a.578d5a9a.js deleted file mode 100644 index 91a0f948..00000000 --- a/assets/js/6ebfbd9a.578d5a9a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[864],{6532:function(e,n,a){a.r(n),a.d(n,{assets:function(){return D},contentTitle:function(){return S},default:function(){return B},frontMatter:function(){return v},metadata:function(){return w},toc:function(){return E}});var t=a(7462),r=a(3366),c=a(7294),s=a(3905),o=a(2805),l=a(9583),i=a(1649),d=a(4184),m=a.n(d),u=a(148),p=["variant"],b=(0,u.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Apple Juice"},{name:"Chocolate"},{name:"Coffee"},{name:"Tea",children:[{name:"Black Tea"},{name:"Green Tea"},{name:"Red Tea"},{name:"Matcha"}]}]},{name:"Vegetables",children:[{name:"Beets"},{name:"Carrots"},{name:"Celery"},{name:"Lettuce"},{name:"Onions"}]}]});var h=function(e){var n,a,t=e.isOpen,r=e.className,s="arrow",o=m()(s,((n={})[s+"--closed"]=!t,n),((a={})[s+"--open"]=t,a),r);return c.createElement(i.am,{className:o})},x=function(e){var n=e.variant,a=(0,r.Z)(e,p);switch(n){case"all":return c.createElement(l.xik,a);case"none":return c.createElement(l.u9M,a);case"some":return c.createElement(l.kty,a);default:return null}},k=function(){return c.createElement("div",null,c.createElement("div",{className:"checkbox"},c.createElement(u.ZP,{data:b,"aria-label":"Checkbox tree",multiSelect:!0,propagateSelect:!0,propagateSelectUpwards:!0,defaultDisabledIds:[1,5],togglableSelect:!0,nodeRenderer:function(e){var n=e.element,a=e.isBranch,r=e.isExpanded,s=e.isSelected,o=e.isDisabled,l=e.isHalfSelected,i=e.getNodeProps,d=e.level,m=e.handleSelect,u=e.handleExpand,p=e.dispatch;return c.createElement(c.Fragment,null,c.createElement("div",(0,t.Z)({},i({onClick:u}),{style:{marginLeft:40*(d-1),opacity:o?.5:1}}),a&&c.createElement(h,{isOpen:r}),c.createElement(x,{className:"checkbox-icon",onClick:function(e){m(e),e.stopPropagation()},variant:l?"some":s?"all":"none"}),c.createElement("span",{className:"name"},n.name)),c.createElement("button",{onClick:function(){return p({type:o?"ENABLE":"DISABLE",id:n.id})}},o?"Enable":"Disable"))}})))},f='import React from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport cx from "classnames";\n\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nconst folder = {\n name: "",\n children: [\n {\n name: "Fruits",\n children: [\n { name: "Avocados" },\n { name: "Bananas" },\n { name: "Berries" },\n { name: "Oranges" },\n { name: "Pears" },\n ],\n },\n {\n name: "Drinks",\n children: [\n { name: "Apple Juice" },\n { name: "Chocolate" },\n { name: "Coffee" },\n {\n name: "Tea",\n children: [\n { name: "Black Tea" },\n { name: "Green Tea" },\n { name: "Red Tea" },\n { name: "Matcha" },\n ],\n },\n ],\n },\n {\n name: "Vegetables",\n children: [\n { name: "Beets" },\n { name: "Carrots" },\n { name: "Celery" },\n { name: "Lettuce" },\n { name: "Onions" },\n ],\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nfunction MultiSelectCheckboxDisabled() {\n return (\n
\n
\n {\n return (\n <>\n \n {isBranch && }\n {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n {element.name}\n
\n \n dispatch({\n type: isDisabled ? "ENABLE" : "DISABLE",\n id: element.id,\n })\n }\n >\n {isDisabled ? "Enable" : "Disable"}\n \n \n );\n }}\n />\n
\n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default MultiSelectCheckboxDisabled;\n',C=a(1240),g=["components"],v={title:"Checkbox with disabled nodes"},S=void 0,w={unversionedId:"examples-MultiSelectCheckboxDisabled",id:"examples-MultiSelectCheckboxDisabled",title:"Checkbox with disabled nodes",description:"This example demonstrates the use of disabled nodes",source:"@site/docs/examples-MultiSelectCheckboxDisabled.md",sourceDirName:".",slug:"/examples-MultiSelectCheckboxDisabled",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled",draft:!1,tags:[],version:"current",frontMatter:{title:"Checkbox with disabled nodes"},sidebar:"docs",previous:{title:"Checkbox with controlled selectedIds",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled"},next:{title:"Directory tree (multiple selection)",permalink:"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree"}},D={},E=[],M={toc:E},T="wrapper";function B(e){var n=e.components,a=(0,r.Z)(e,g);return(0,s.kt)(T,(0,t.Z)({},M,a,{components:n,mdxType:"MDXLayout"}),(0,s.kt)("p",null,"This example demonstrates the use of disabled nodes"),(0,s.kt)(o.Z,{component:k,js:f,css:C.Z,mdxType:"CodeTabs"}))}B.isMDXComponent=!0},1240:function(e,n){n.Z=".checkbox {\n font-size: 16px;\n user-select: none;\n min-height: 320px;\n padding: 20px;\n box-sizing: content-box;\n}\n\n.checkbox .tree,\n.checkbox .tree-node,\n.checkbox .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.checkbox .tree-branch-wrapper,\n.checkbox .tree-node__leaf {\n outline: none;\n}\n\n.checkbox .tree-node {\n cursor: pointer;\n}\n\n.checkbox .tree-node .name:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n\n.checkbox .tree-node--focused .name {\n background: rgba(0, 0, 0, 0.2);\n}\n\n.checkbox .tree-node {\n display: inline-block;\n}\n\n.checkbox .checkbox-icon {\n margin: 0 5px;\n vertical-align: middle;\n}\n\n.checkbox button {\n border: none;\n background: transparent;\n cursor: pointer;\n}\n\n.checkbox .arrow {\n margin-left: 5px;\n vertical-align: middle;\n}\n\n.checkbox .arrow--open {\n transform: rotate(90deg);\n}\n"}}]); \ No newline at end of file diff --git a/assets/js/80ab3120.0bd0b20e.js b/assets/js/80ab3120.0bd0b20e.js new file mode 100644 index 00000000..3e87d27c --- /dev/null +++ b/assets/js/80ab3120.0bd0b20e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[648],{3769:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/80ab3120.ded4a173.js b/assets/js/80ab3120.ded4a173.js deleted file mode 100644 index d8da0de4..00000000 --- a/assets/js/80ab3120.ded4a173.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[648],{3769:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/859.2acfc751.js b/assets/js/859.2acfc751.js new file mode 100644 index 00000000..26fb24a5 --- /dev/null +++ b/assets/js/859.2acfc751.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[859],{859:(h,v,t)=>{t.d(v,{BA4:()=>a,Fi5:()=>e,I_N:()=>r});var l=t(8357);function a(h){return(0,l.w_)({tag:"svg",attr:{version:"1.1",viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M16.017 21.044v0zM4.743 3.519l2.049 22.981 9.194 2.552 9.22-2.556 2.051-22.977h-22.514zM23 8.775l-0.693 7.767h-0l-0.48 5.359-0.042 0.476-5.781 1.603-5.773-1.603-0.395-4.426h2.829l0.201 2.248 3.142 0.847 0.008-0.002 0.002-0 3.134-0.846 0.329-3.655-6.579 0-0.056-0.633-0.129-1.429-0.067-0.756 7.081-0 0.258-2.886h-10.786l-0.056-0.634-0.129-1.429-0.067-0.756h14.118l-0.068 0.756z"}}]})(h)}function e(h){return(0,l.w_)({tag:"svg",attr:{version:"1.1",viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M4.698 3.419l2.057 23.073 9.231 2.563 9.256-2.566 2.059-23.069h-22.604zM13.226 9.394l-0.409 4.441 9.671 0.001-0.069 0.76-0.665 7.45-0.042 0.478-5.804 1.609-5.796-1.609-0.396-4.443h2.84l0.202 2.257 3.154 0.85 3.156-0.852 0.328-3.67-9.671-0.001 0.069-0.76 0.665-7.45 0.209-2.086h11.287l0.131 1.598 0.403 4.453h-2.841l-0.262-2.922-2.889-0.174h-0.515v-0.004l-2.755 0.074z"}}]})(h)}function r(h){return(0,l.w_)({tag:"svg",attr:{version:"1.1",viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M0.32 15.406v5.248h8.736v1.76h6.976v-1.76h15.649v-10.495h-31.36v5.248zM9.055 15.406v3.488h-1.76v-5.216h-1.697v5.216h-3.582v-6.976h7.039v3.488zM17.779 15.412l-0.019 3.488-3.425-0.012v1.766h-3.582v-8.736h7.039l-0.012 3.494zM29.983 15.406v3.488h-1.76v-5.216h-1.76v5.248l-1.76-0.038v-5.21h-1.697v5.216h-3.519v-6.976h10.495v3.488zM14.335 15.406v1.728h1.634v-3.457h-1.634v1.728z"}}]})(h)}}}]); \ No newline at end of file diff --git a/assets/js/859.8276f4fa.js b/assets/js/859.8276f4fa.js deleted file mode 100644 index 2d8aa691..00000000 --- a/assets/js/859.8276f4fa.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[859],{859:function(t,h,v){v.d(h,{BA4:function(){return r},Fi5:function(){return e},I_N:function(){return i}});var n=v(8357);function r(t){return(0,n.w_)({tag:"svg",attr:{version:"1.1",viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M16.017 21.044v0zM4.743 3.519l2.049 22.981 9.194 2.552 9.22-2.556 2.051-22.977h-22.514zM23 8.775l-0.693 7.767h-0l-0.48 5.359-0.042 0.476-5.781 1.603-5.773-1.603-0.395-4.426h2.829l0.201 2.248 3.142 0.847 0.008-0.002 0.002-0 3.134-0.846 0.329-3.655-6.579 0-0.056-0.633-0.129-1.429-0.067-0.756 7.081-0 0.258-2.886h-10.786l-0.056-0.634-0.129-1.429-0.067-0.756h14.118l-0.068 0.756z"}}]})(t)}function e(t){return(0,n.w_)({tag:"svg",attr:{version:"1.1",viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M4.698 3.419l2.057 23.073 9.231 2.563 9.256-2.566 2.059-23.069h-22.604zM13.226 9.394l-0.409 4.441 9.671 0.001-0.069 0.76-0.665 7.45-0.042 0.478-5.804 1.609-5.796-1.609-0.396-4.443h2.84l0.202 2.257 3.154 0.85 3.156-0.852 0.328-3.67-9.671-0.001 0.069-0.76 0.665-7.45 0.209-2.086h11.287l0.131 1.598 0.403 4.453h-2.841l-0.262-2.922-2.889-0.174h-0.515v-0.004l-2.755 0.074z"}}]})(t)}function i(t){return(0,n.w_)({tag:"svg",attr:{version:"1.1",viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M0.32 15.406v5.248h8.736v1.76h6.976v-1.76h15.649v-10.495h-31.36v5.248zM9.055 15.406v3.488h-1.76v-5.216h-1.697v5.216h-3.582v-6.976h7.039v3.488zM17.779 15.412l-0.019 3.488-3.425-0.012v1.766h-3.582v-8.736h7.039l-0.012 3.494zM29.983 15.406v3.488h-1.76v-5.216h-1.76v5.248l-1.76-0.038v-5.21h-1.697v5.216h-3.519v-6.976h10.495v3.488zM14.335 15.406v1.728h1.634v-3.457h-1.634v1.728z"}}]})(t)}}}]); \ No newline at end of file diff --git a/assets/js/878f79e1.1f88265b.js b/assets/js/878f79e1.1f88265b.js deleted file mode 100644 index b45f2167..00000000 --- a/assets/js/878f79e1.1f88265b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[627],{4892:function(e,n,a){a.r(n),a.d(n,{assets:function(){return E},contentTitle:function(){return D},default:function(){return N},frontMatter:function(){return C},metadata:function(){return w},toc:function(){return I}});var t=a(7462),r=a(3366),i=a(7294),o=a(3905),s=a(2805),c=a(9583),d=a(1649),l=a(148),m=a(4184),u=a.n(m),p=["variant"],h=(0,l.fK)({name:"",id:890,children:[{id:"data-string",name:"Fruits",children:[{name:"Avocados",id:690},{name:"Bananas",id:1001},{name:"Berries",id:793},{name:"Oranges",id:18},{name:"Pears",id:9990}]},{id:"one",name:"Drinks",children:[{name:"Apple Juice",id:7},{name:"Chocolate",id:12},{name:"Coffee",id:1},{id:908,name:"Tea",children:[{name:"Black Tea",id:923},{name:"Green Tea",id:43},{name:"Red Tea",id:23},{name:"Matcha",id:4}]}]},{id:42,name:"Vegetables",children:[{name:"Beets",id:672},{name:"Carrots",id:13},{name:"Celery",id:123},{name:"Lettuce",id:893},{name:"Onions",id:82}]}]}),f=(0,l.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Apple Juice"},{name:"Chocolate"},{name:"Coffee"},{name:"Tea",children:[{name:"Black Tea"},{name:"Green Tea"},{name:"Red Tea"},{name:"Matcha"}]}]},{name:"Vegetables",children:[{name:"Beets"},{name:"Carrots"},{name:"Celery"},{name:"Lettuce"},{name:"Onions"}]}]});function b(e){var n=e.data;return i.createElement(l.ZP,{data:n,"aria-label":"Data type Map tree",multiSelect:!0,propagateSelect:!0,propagateSelectUpwards:!0,togglableSelect:!0,nodeRenderer:function(e){var n=e.element,a=e.isBranch,r=e.isExpanded,o=e.isSelected,s=e.isHalfSelected,c=e.getNodeProps,d=e.level,l=e.handleSelect,m=e.handleExpand;return i.createElement("div",(0,t.Z)({},c({onClick:m}),{style:{marginLeft:40*(d-1)}}),a&&i.createElement(x,{isOpen:r}),i.createElement(y,{className:"checkbox-icon",onClick:function(e){l(e),e.stopPropagation()},variant:s?"some":o?"all":"none"}),i.createElement("span",{className:"name"},n.name,"-",n.id))}})}var x=function(e){var n,a,t=e.isOpen,r=e.className,o="arrow",s=u()(o,((n={})[o+"--closed"]=!t,n),((a={})[o+"--open"]=t,a),r);return i.createElement(d.am,{className:s})},y=function(e){var n=e.variant,a=(0,r.Z)(e,p);switch(n){case"all":return i.createElement(c.xik,a);case"none":return i.createElement(c.u9M,a);case"some":return i.createElement(c.kty,a);default:return null}},g=function(){return i.createElement("div",null,i.createElement("div",{className:"checkbox"},i.createElement("span",null,"You can define IDs for your tree nodes yourself (they have to be of type ",i.createElement("code",null,"number")," or ",i.createElement("code",null,"string"),"). Alternatively, if IDs are not defined, ",i.createElement("code",null,"flattenTree()")," will create sequential, unique node IDs. If you are loading TreeView data asynchronously, it is recommended to define IDs yourself."),i.createElement("h4",null,"IDs defined by consumer (you)"),i.createElement(b,{data:h}),i.createElement("h4",null,"IDs set by ",i.createElement("code",null,"flattenTree()")),i.createElement(b,{data:f})))},k='import React from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst dataWithPredefinedIds = flattenTree({\n name: "",\n id: 890,\n children: [\n {\n id: "data-string",\n name: "Fruits",\n children: [\n { name: "Avocados", id: 690 },\n { name: "Bananas", id: 1001 },\n { name: "Berries", id: 793 },\n { name: "Oranges", id: 18 },\n { name: "Pears", id: 9990 },\n ],\n },\n {\n id: "one",\n name: "Drinks",\n children: [\n { name: "Apple Juice", id: 7 },\n { name: "Chocolate", id: 12 },\n { name: "Coffee", id: 1 },\n {\n id: 908,\n name: "Tea",\n children: [\n { name: "Black Tea", id: 923 },\n { name: "Green Tea", id: 43 },\n { name: "Red Tea", id: 23 },\n { name: "Matcha", id: 4 },\n ],\n },\n ],\n },\n {\n id: 42,\n name: "Vegetables",\n children: [\n { name: "Beets", id: 672 },\n { name: "Carrots", id: 13 },\n { name: "Celery", id: 123 },\n { name: "Lettuce", id: 893 },\n { name: "Onions", id: 82 },\n ],\n },\n ],\n});\n\nconst dataWithGeneratedIds = flattenTree({\n name: "",\n children: [\n {\n name: "Fruits",\n children: [\n { name: "Avocados" },\n { name: "Bananas" },\n { name: "Berries" },\n { name: "Oranges" },\n { name: "Pears" },\n ],\n },\n {\n name: "Drinks",\n children: [\n { name: "Apple Juice" },\n { name: "Chocolate" },\n { name: "Coffee" },\n {\n name: "Tea",\n children: [\n { name: "Black Tea" },\n { name: "Green Tea" },\n { name: "Red Tea" },\n { name: "Matcha" },\n ],\n },\n ],\n },\n {\n name: "Vegetables",\n children: [\n { name: "Beets" },\n { name: "Carrots" },\n { name: "Celery" },\n { name: "Lettuce" },\n { name: "Onions" },\n ],\n },\n ],\n});\n\nfunction DataTypes() {\n return (\n
\n
\n \n You can define IDs for your tree nodes yourself (they have to be of\n type number or string). Alternatively, if\n IDs are not defined, flattenTree() will create\n sequential, unique node IDs. If you are loading TreeView data\n asynchronously, it is recommended to define IDs yourself.\n \n

IDs defined by consumer (you)

\n \n

\n IDs set by flattenTree()\n

\n \n
\n
\n );\n}\n\nfunction TreeViewComponent({ data }) {\n return (\n {\n return (\n \n {isBranch && }\n {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={isHalfSelected ? "some" : isSelected ? "all" : "none"}\n />\n \n {element.name}-{element.id}\n \n \n );\n }}\n />\n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default DataTypes;\n',v=".checkbox {\n font-size: 16px;\n user-select: none;\n min-height: 320px;\n padding: 20px;\n box-sizing: content-box;\n}\n\n.checkbox .tree,\n.checkbox .tree-node,\n.checkbox .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.checkbox .tree-branch-wrapper,\n.checkbox .tree-node__leaf {\n outline: none;\n}\n\n.checkbox .tree-node {\n cursor: pointer;\n}\n\n.checkbox .tree-node .name:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n\n.checkbox .tree-node--focused .name {\n background: rgba(0, 0, 0, 0.2);\n}\n\n.checkbox .tree-node {\n display: inline-block;\n}\n\n.checkbox .checkbox-icon {\n margin: 0 5px;\n vertical-align: middle;\n}\n\n.checkbox button {\n border: none;\n background: transparent;\n cursor: pointer;\n}\n\n.checkbox .arrow {\n margin-left: 5px;\n vertical-align: middle;\n}\n\n.checkbox .arrow--open {\n transform: rotate(90deg);\n}\n",T=["components"],C={title:"Data types"},D=void 0,w={unversionedId:"examples-DataTypes",id:"examples-DataTypes",title:"Data types",description:"This example demonstrates different ways of defining ids in data",source:"@site/docs/examples-DataTypes.mdx",sourceDirName:".",slug:"/examples-DataTypes",permalink:"/react-accessible-treeview/docs/examples-DataTypes",draft:!1,tags:[],version:"current",frontMatter:{title:"Data types"},sidebar:"docs",previous:{title:"Basic with controlled expandable node",permalink:"/react-accessible-treeview/docs/examples-ControlledExpandedNode"},next:{title:"Directory tree (single selection)",permalink:"/react-accessible-treeview/docs/examples-DirectoryTree"}},E={},I=[],S={toc:I},B="wrapper";function N(e){var n=e.components,a=(0,r.Z)(e,T);return(0,o.kt)(B,(0,t.Z)({},S,a,{components:n,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"This example demonstrates different ways of defining ids in data"),(0,o.kt)(s.Z,{component:g,js:k,css:v,mdxType:"CodeTabs"}))}N.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/878f79e1.8425645a.js b/assets/js/878f79e1.8425645a.js new file mode 100644 index 00000000..ceffc498 --- /dev/null +++ b/assets/js/878f79e1.8425645a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[627],{4892:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>C,contentTitle:()=>T,default:()=>I,frontMatter:()=>k,metadata:()=>v,toc:()=>D});var t=a(7462),r=a(7294),s=a(3905),i=a(2805),o=a(9583),c=a(1649),l=a(148),d=a(4184),m=a.n(d);const p=(0,l.fK)({name:"",id:890,children:[{id:"data-string",name:"Fruits",children:[{name:"Avocados",id:690},{name:"Bananas",id:1001},{name:"Berries",id:793},{name:"Oranges",id:18},{name:"Pears",id:9990}]},{id:"one",name:"Drinks",children:[{name:"Apple Juice",id:7},{name:"Chocolate",id:12},{name:"Coffee",id:1},{id:908,name:"Tea",children:[{name:"Black Tea",id:923},{name:"Green Tea",id:43},{name:"Red Tea",id:23},{name:"Matcha",id:4}]}]},{id:42,name:"Vegetables",children:[{name:"Beets",id:672},{name:"Carrots",id:13},{name:"Celery",id:123},{name:"Lettuce",id:893},{name:"Onions",id:82}]}]}),u=(0,l.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Apple Juice"},{name:"Chocolate"},{name:"Coffee"},{name:"Tea",children:[{name:"Black Tea"},{name:"Green Tea"},{name:"Red Tea"},{name:"Matcha"}]}]},{name:"Vegetables",children:[{name:"Beets"},{name:"Carrots"},{name:"Celery"},{name:"Lettuce"},{name:"Onions"}]}]});function h(e){let{data:n}=e;return r.createElement(l.ZP,{data:n,"aria-label":"Data type Map tree",multiSelect:!0,propagateSelect:!0,propagateSelectUpwards:!0,togglableSelect:!0,nodeRenderer:e=>{let{element:n,isBranch:a,isExpanded:s,isSelected:i,isHalfSelected:o,getNodeProps:c,level:l,handleSelect:d,handleExpand:m}=e;return r.createElement("div",(0,t.Z)({},c({onClick:m}),{style:{marginLeft:40*(l-1)}}),a&&r.createElement(f,{isOpen:s}),r.createElement(b,{className:"checkbox-icon",onClick:e=>{d(e),e.stopPropagation()},variant:o?"some":i?"all":"none"}),r.createElement("span",{className:"name"},n.name,"-",n.id))}})}const f=e=>{let{isOpen:n,className:a}=e;const t="arrow",s=m()(t,{[t+"--closed"]:!n},{[t+"--open"]:n},a);return r.createElement(c.am,{className:s})},b=e=>{let{variant:n,...a}=e;switch(n){case"all":return r.createElement(o.xik,a);case"none":return r.createElement(o.u9M,a);case"some":return r.createElement(o.kty,a);default:return null}},x=function(){return r.createElement("div",null,r.createElement("div",{className:"checkbox"},r.createElement("span",null,"You can define IDs for your tree nodes yourself (they have to be of type ",r.createElement("code",null,"number")," or ",r.createElement("code",null,"string"),"). Alternatively, if IDs are not defined, ",r.createElement("code",null,"flattenTree()")," will create sequential, unique node IDs. If you are loading TreeView data asynchronously, it is recommended to define IDs yourself."),r.createElement("h4",null,"IDs defined by consumer (you)"),r.createElement(h,{data:p}),r.createElement("h4",null,"IDs set by ",r.createElement("code",null,"flattenTree()")),r.createElement(h,{data:u})))},y='import React from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst dataWithPredefinedIds = flattenTree({\n name: "",\n id: 890,\n children: [\n {\n id: "data-string",\n name: "Fruits",\n children: [\n { name: "Avocados", id: 690 },\n { name: "Bananas", id: 1001 },\n { name: "Berries", id: 793 },\n { name: "Oranges", id: 18 },\n { name: "Pears", id: 9990 },\n ],\n },\n {\n id: "one",\n name: "Drinks",\n children: [\n { name: "Apple Juice", id: 7 },\n { name: "Chocolate", id: 12 },\n { name: "Coffee", id: 1 },\n {\n id: 908,\n name: "Tea",\n children: [\n { name: "Black Tea", id: 923 },\n { name: "Green Tea", id: 43 },\n { name: "Red Tea", id: 23 },\n { name: "Matcha", id: 4 },\n ],\n },\n ],\n },\n {\n id: 42,\n name: "Vegetables",\n children: [\n { name: "Beets", id: 672 },\n { name: "Carrots", id: 13 },\n { name: "Celery", id: 123 },\n { name: "Lettuce", id: 893 },\n { name: "Onions", id: 82 },\n ],\n },\n ],\n});\n\nconst dataWithGeneratedIds = flattenTree({\n name: "",\n children: [\n {\n name: "Fruits",\n children: [\n { name: "Avocados" },\n { name: "Bananas" },\n { name: "Berries" },\n { name: "Oranges" },\n { name: "Pears" },\n ],\n },\n {\n name: "Drinks",\n children: [\n { name: "Apple Juice" },\n { name: "Chocolate" },\n { name: "Coffee" },\n {\n name: "Tea",\n children: [\n { name: "Black Tea" },\n { name: "Green Tea" },\n { name: "Red Tea" },\n { name: "Matcha" },\n ],\n },\n ],\n },\n {\n name: "Vegetables",\n children: [\n { name: "Beets" },\n { name: "Carrots" },\n { name: "Celery" },\n { name: "Lettuce" },\n { name: "Onions" },\n ],\n },\n ],\n});\n\nfunction DataTypes() {\n return (\n
\n
\n \n You can define IDs for your tree nodes yourself (they have to be of\n type number or string). Alternatively, if\n IDs are not defined, flattenTree() will create\n sequential, unique node IDs. If you are loading TreeView data\n asynchronously, it is recommended to define IDs yourself.\n \n

IDs defined by consumer (you)

\n \n

\n IDs set by flattenTree()\n

\n \n
\n
\n );\n}\n\nfunction TreeViewComponent({ data }) {\n return (\n {\n return (\n \n {isBranch && }\n {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={isHalfSelected ? "some" : isSelected ? "all" : "none"}\n />\n \n {element.name}-{element.id}\n \n \n );\n }}\n />\n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default DataTypes;\n',g=".checkbox {\n font-size: 16px;\n user-select: none;\n min-height: 320px;\n padding: 20px;\n box-sizing: content-box;\n}\n\n.checkbox .tree,\n.checkbox .tree-node,\n.checkbox .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.checkbox .tree-branch-wrapper,\n.checkbox .tree-node__leaf {\n outline: none;\n}\n\n.checkbox .tree-node {\n cursor: pointer;\n}\n\n.checkbox .tree-node .name:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n\n.checkbox .tree-node--focused .name {\n background: rgba(0, 0, 0, 0.2);\n}\n\n.checkbox .tree-node {\n display: inline-block;\n}\n\n.checkbox .checkbox-icon {\n margin: 0 5px;\n vertical-align: middle;\n}\n\n.checkbox button {\n border: none;\n background: transparent;\n cursor: pointer;\n}\n\n.checkbox .arrow {\n margin-left: 5px;\n vertical-align: middle;\n}\n\n.checkbox .arrow--open {\n transform: rotate(90deg);\n}\n",k={title:"Data types"},T=void 0,v={unversionedId:"examples-DataTypes",id:"examples-DataTypes",title:"Data types",description:"This example demonstrates different ways of defining ids in data",source:"@site/docs/examples-DataTypes.mdx",sourceDirName:".",slug:"/examples-DataTypes",permalink:"/react-accessible-treeview/docs/examples-DataTypes",draft:!1,tags:[],version:"current",frontMatter:{title:"Data types"},sidebar:"docs",previous:{title:"Basic with controlled expandable node",permalink:"/react-accessible-treeview/docs/examples-ControlledExpandedNode"},next:{title:"Directory tree (single selection)",permalink:"/react-accessible-treeview/docs/examples-DirectoryTree"}},C={},D=[],w={toc:D},E="wrapper";function I(e){let{components:n,...a}=e;return(0,s.kt)(E,(0,t.Z)({},w,a,{components:n,mdxType:"MDXLayout"}),(0,s.kt)("p",null,"This example demonstrates different ways of defining ids in data"),(0,s.kt)(i.Z,{component:x,js:y,css:g,mdxType:"CodeTabs"}))}I.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/88d09b9b.75650fd9.js b/assets/js/88d09b9b.75650fd9.js new file mode 100644 index 00000000..2ac058eb --- /dev/null +++ b/assets/js/88d09b9b.75650fd9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[982],{3112:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>v,contentTitle:()=>S,default:()=>N,frontMatter:()=>g,metadata:()=>f,toc:()=>C});var t=a(7462),c=a(7294),r=a(3905),s=a(2805),l=a(9583),o=a(1649),i=a(148),d=a(4184),m=a.n(d);const p=(0,i.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Hot drinks",children:[{name:"Non-alcohol",children:[{name:"Tea",children:[{name:"Black Tea"}]}]}]}]},{name:"Vegetables",children:[{name:"Beets"}]}]});const h=e=>{let{isOpen:n,className:a}=e;const t="arrow",r=m()(t,{[t+"--closed"]:!n},{[t+"--open"]:n},a);return c.createElement(o.am,{className:r})},k=e=>{let{variant:n,...a}=e;switch(n){case"all":return c.createElement(l.xik,a);case"none":return c.createElement(l.u9M,a);case"some":return c.createElement(l.kty,a);default:return null}},u=function(){return c.createElement("div",null,c.createElement("div",{className:"checkbox"},c.createElement(i.ZP,{data:p,"aria-label":"Single select",multiSelect:!1,propagateSelectUpwards:!0,togglableSelect:!0,nodeAction:"check",nodeRenderer:e=>{let{element:n,isBranch:a,isExpanded:r,isSelected:s,isHalfSelected:l,getNodeProps:o,level:i,handleSelect:d,handleExpand:m}=e;return c.createElement("div",(0,t.Z)({},o({onClick:m}),{style:{marginLeft:40*(i-1)}}),a&&c.createElement(h,{isOpen:r}),c.createElement(k,{className:"checkbox-icon",onClick:e=>{d(e),e.stopPropagation()},variant:l?"some":s?"all":"none"}),c.createElement("span",{className:"name"},n.name))}})))},b='import React from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "Fruits",\n children: [\n { name: "Avocados" },\n { name: "Bananas" },\n { name: "Berries" },\n { name: "Oranges" },\n { name: "Pears" },\n ],\n },\n {\n name: "Drinks",\n children: [\n {\n name: "Hot drinks",\n children: [\n {\n name: "Non-alcohol",\n children: [\n {\n name: "Tea",\n children: [\n {\n name: "Black Tea",\n },\n ],\n },\n ],\n },\n ],\n },\n ],\n },\n {\n name: "Vegetables",\n children: [{ name: "Beets" }],\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nfunction SingleSelectCheckbox() {\n return (\n
\n
\n {\n return (\n \n {isBranch && }\n {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n {element.name}\n
\n );\n }}\n />\n
\n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default SingleSelectCheckbox;\n',x=".checkbox {\n font-size: 16px;\n user-select: none;\n min-height: 320px;\n padding: 20px;\n box-sizing: content-box;\n}\n\n.checkbox .tree,\n.checkbox .tree-node,\n.checkbox .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.checkbox .tree-branch-wrapper,\n.checkbox .tree-node__leaf {\n outline: none;\n}\n\n.checkbox .tree-node {\n cursor: pointer;\n}\n\n.checkbox .tree-node .name:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n\n.checkbox .tree-node--focused .name {\n background: rgba(0, 0, 0, 0.2);\n}\n\n.checkbox .tree-node {\n display: inline-block;\n}\n\n.checkbox .checkbox-icon {\n margin: 0 5px;\n vertical-align: middle;\n}\n\n.checkbox button {\n border: none;\n background: transparent;\n cursor: pointer;\n}\n\n.checkbox .arrow {\n margin-left: 5px;\n vertical-align: middle;\n}\n\n.checkbox .arrow--open {\n transform: rotate(90deg);\n}\n",g={title:"Checkbox (single selection)"},S=void 0,f={unversionedId:"examples-SingleSelectCheckbox",id:"examples-SingleSelectCheckbox",title:"Checkbox (single selection)",description:"This example demonstrates how to create single select checkbox tree",source:"@site/docs/examples-SingleSelectCheckbox.mdx",sourceDirName:".",slug:"/examples-SingleSelectCheckbox",permalink:"/react-accessible-treeview/docs/examples-SingleSelectCheckbox",draft:!1,tags:[],version:"current",frontMatter:{title:"Checkbox (single selection)"},sidebar:"docs",previous:{title:"Directory tree (multiple selection)",permalink:"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree"}},v={},C=[],w={toc:C},E="wrapper";function N(e){let{components:n,...a}=e;return(0,r.kt)(E,(0,t.Z)({},w,a,{components:n,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"This example demonstrates how to create single select checkbox tree"),(0,r.kt)(s.Z,{component:u,js:b,css:x,mdxType:"CodeTabs"}))}N.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/88d09b9b.8671656c.js b/assets/js/88d09b9b.8671656c.js deleted file mode 100644 index 6dc1799f..00000000 --- a/assets/js/88d09b9b.8671656c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[982],{3112:function(e,n,a){a.r(n),a.d(n,{assets:function(){return E},contentTitle:function(){return C},default:function(){return y},frontMatter:function(){return v},metadata:function(){return w},toc:function(){return N}});var t=a(7462),r=a(3366),c=a(7294),o=a(3905),s=a(2805),l=a(9583),i=a(1649),d=a(148),m=a(4184),p=a.n(m),u=["variant"],h=(0,d.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Hot drinks",children:[{name:"Non-alcohol",children:[{name:"Tea",children:[{name:"Black Tea"}]}]}]}]},{name:"Vegetables",children:[{name:"Beets"}]}]});var k=function(e){var n,a,t=e.isOpen,r=e.className,o="arrow",s=p()(o,((n={})[o+"--closed"]=!t,n),((a={})[o+"--open"]=t,a),r);return c.createElement(i.am,{className:s})},b=function(e){var n=e.variant,a=(0,r.Z)(e,u);switch(n){case"all":return c.createElement(l.xik,a);case"none":return c.createElement(l.u9M,a);case"some":return c.createElement(l.kty,a);default:return null}},x=function(){return c.createElement("div",null,c.createElement("div",{className:"checkbox"},c.createElement(d.ZP,{data:h,"aria-label":"Single select",multiSelect:!1,propagateSelectUpwards:!0,togglableSelect:!0,nodeAction:"check",nodeRenderer:function(e){var n=e.element,a=e.isBranch,r=e.isExpanded,o=e.isSelected,s=e.isHalfSelected,l=e.getNodeProps,i=e.level,d=e.handleSelect,m=e.handleExpand;return c.createElement("div",(0,t.Z)({},l({onClick:m}),{style:{marginLeft:40*(i-1)}}),a&&c.createElement(k,{isOpen:r}),c.createElement(b,{className:"checkbox-icon",onClick:function(e){d(e),e.stopPropagation()},variant:s?"some":o?"all":"none"}),c.createElement("span",{className:"name"},n.name))}})))},g='import React from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst folder = {\n name: "",\n children: [\n {\n name: "Fruits",\n children: [\n { name: "Avocados" },\n { name: "Bananas" },\n { name: "Berries" },\n { name: "Oranges" },\n { name: "Pears" },\n ],\n },\n {\n name: "Drinks",\n children: [\n {\n name: "Hot drinks",\n children: [\n {\n name: "Non-alcohol",\n children: [\n {\n name: "Tea",\n children: [\n {\n name: "Black Tea",\n },\n ],\n },\n ],\n },\n ],\n },\n ],\n },\n {\n name: "Vegetables",\n children: [{ name: "Beets" }],\n },\n ],\n};\n\nconst data = flattenTree(folder);\n\nfunction SingleSelectCheckbox() {\n return (\n
\n
\n {\n return (\n \n {isBranch && }\n {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n {element.name}\n
\n );\n }}\n />\n
\n \n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return ;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return ;\n case "none":\n return ;\n case "some":\n return ;\n default:\n return null;\n }\n};\n\nexport default SingleSelectCheckbox;\n',f=".checkbox {\n font-size: 16px;\n user-select: none;\n min-height: 320px;\n padding: 20px;\n box-sizing: content-box;\n}\n\n.checkbox .tree,\n.checkbox .tree-node,\n.checkbox .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.checkbox .tree-branch-wrapper,\n.checkbox .tree-node__leaf {\n outline: none;\n}\n\n.checkbox .tree-node {\n cursor: pointer;\n}\n\n.checkbox .tree-node .name:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n\n.checkbox .tree-node--focused .name {\n background: rgba(0, 0, 0, 0.2);\n}\n\n.checkbox .tree-node {\n display: inline-block;\n}\n\n.checkbox .checkbox-icon {\n margin: 0 5px;\n vertical-align: middle;\n}\n\n.checkbox button {\n border: none;\n background: transparent;\n cursor: pointer;\n}\n\n.checkbox .arrow {\n margin-left: 5px;\n vertical-align: middle;\n}\n\n.checkbox .arrow--open {\n transform: rotate(90deg);\n}\n",S=["components"],v={title:"Checkbox (single selection)"},C=void 0,w={unversionedId:"examples-SingleSelectCheckbox",id:"examples-SingleSelectCheckbox",title:"Checkbox (single selection)",description:"This example demonstrates how to create single select checkbox tree",source:"@site/docs/examples-SingleSelectCheckbox.mdx",sourceDirName:".",slug:"/examples-SingleSelectCheckbox",permalink:"/react-accessible-treeview/docs/examples-SingleSelectCheckbox",draft:!1,tags:[],version:"current",frontMatter:{title:"Checkbox (single selection)"},sidebar:"docs",previous:{title:"Directory tree (multiple selection)",permalink:"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree"}},E={},N=[],T={toc:N},B="wrapper";function y(e){var n=e.components,a=(0,r.Z)(e,S);return(0,o.kt)(B,(0,t.Z)({},T,a,{components:n,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"This example demonstrates how to create single select checkbox tree"),(0,o.kt)(s.Z,{component:x,js:g,css:f,mdxType:"CodeTabs"}))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.5e6b94ed.js b/assets/js/935f2afb.5e6b94ed.js new file mode 100644 index 00000000..ce3df6f5 --- /dev/null +++ b/assets/js/935f2afb.5e6b94ed.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docs":[{"type":"category","label":"Documentation","items":[{"type":"link","label":"API Reference","href":"/react-accessible-treeview/docs/api","docId":"api"}],"collapsed":true,"collapsible":true},{"type":"category","label":"Examples","items":[{"type":"link","label":"Basic","href":"/react-accessible-treeview/docs/examples-Basic","docId":"examples-Basic"},{"type":"link","label":"Basic with controlled expandable node","href":"/react-accessible-treeview/docs/examples-ControlledExpandedNode","docId":"examples-ControlledExpandedNode"},{"type":"link","label":"Data types","href":"/react-accessible-treeview/docs/examples-DataTypes","docId":"examples-DataTypes"},{"type":"link","label":"Directory tree (single selection)","href":"/react-accessible-treeview/docs/examples-DirectoryTree","docId":"examples-DirectoryTree"},{"type":"link","label":"Filtering","href":"/react-accessible-treeview/docs/examples-Filtering","docId":"examples-Filtering"},{"type":"link","label":"Checkbox","href":"/react-accessible-treeview/docs/examples-MultiSelectCheckbox","docId":"examples-MultiSelectCheckbox"},{"type":"link","label":"Asynchronous loading","href":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync","docId":"examples-MultiSelectCheckboxAsync"},{"type":"link","label":"Asynchronous loading with Controlled selection","href":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled","docId":"examples-MultiSelectCheckboxAsyncControlled"},{"type":"link","label":"Checkbox with controlled selectedIds","href":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled","docId":"examples-MultiSelectCheckboxControlled"},{"type":"link","label":"Checkbox with disabled nodes","href":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled","docId":"examples-MultiSelectCheckboxDisabled"},{"type":"link","label":"Directory tree (multiple selection)","href":"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree","docId":"examples-MultiSelectDirectoryTree"},{"type":"link","label":"Checkbox (single selection)","href":"/react-accessible-treeview/docs/examples-SingleSelectCheckbox","docId":"examples-SingleSelectCheckbox"}],"collapsed":true,"collapsible":true}]},"docs":{"api":{"id":"api","title":"API Reference","description":"Prop Types","sidebar":"docs"},"examples-Basic":{"id":"examples-Basic","title":"Basic","description":"The simplest instance of the component, a good base on which a custom component can be built.","sidebar":"docs"},"examples-ControlledExpandedNode":{"id":"examples-ControlledExpandedNode","title":"Basic with controlled expandable node","description":"This example demonstrates how to create a simple tree with controlled expandable node","sidebar":"docs"},"examples-DataTypes":{"id":"examples-DataTypes","title":"Data types","description":"This example demonstrates different ways of defining ids in data","sidebar":"docs"},"examples-DirectoryTree":{"id":"examples-DirectoryTree","title":"Directory tree (single selection)","description":"An example of how to customize the styling of the component","sidebar":"docs"},"examples-Filtering":{"id":"examples-Filtering","title":"Filtering","description":"The example how to implement filtering within a tree.","sidebar":"docs"},"examples-MultiSelectCheckbox":{"id":"examples-MultiSelectCheckbox","title":"Checkbox","description":"This example demonstrates how to create a checkbox tree","sidebar":"docs"},"examples-MultiSelectCheckboxAsync":{"id":"examples-MultiSelectCheckboxAsync","title":"Asynchronous loading","description":"This example demonstrates how to create a checkbox tree with asynchronous loading","sidebar":"docs"},"examples-MultiSelectCheckboxAsyncControlled":{"id":"examples-MultiSelectCheckboxAsyncControlled","title":"Asynchronous loading with Controlled selection","description":"This example demonstrates how to create a checkbox tree with asynchronous loading and controlled selection","sidebar":"docs"},"examples-MultiSelectCheckboxControlled":{"id":"examples-MultiSelectCheckboxControlled","title":"Checkbox with controlled selectedIds","description":"This example demonstrates how to create a checkbox tree","sidebar":"docs"},"examples-MultiSelectCheckboxDisabled":{"id":"examples-MultiSelectCheckboxDisabled","title":"Checkbox with disabled nodes","description":"This example demonstrates the use of disabled nodes","sidebar":"docs"},"examples-MultiSelectDirectoryTree":{"id":"examples-MultiSelectDirectoryTree","title":"Directory tree (multiple selection)","description":"This example combines multiselect and an exclusive select onClick. It supports multiselect using various commands, such as Ctrl+click Shift+Click, Enter/Space and Shift + Up/Down.","sidebar":"docs"},"examples-SingleSelectCheckbox":{"id":"examples-SingleSelectCheckbox","title":"Checkbox (single selection)","description":"This example demonstrates how to create single select checkbox tree","sidebar":"docs"}}}')}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.ef62f291.js b/assets/js/935f2afb.ef62f291.js deleted file mode 100644 index 865e4c6f..00000000 --- a/assets/js/935f2afb.ef62f291.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[53],{1109:function(e){e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docs":[{"type":"category","label":"Documentation","items":[{"type":"link","label":"API Reference","href":"/react-accessible-treeview/docs/api","docId":"api"}],"collapsed":true,"collapsible":true},{"type":"category","label":"Examples","items":[{"type":"link","label":"Basic","href":"/react-accessible-treeview/docs/examples-Basic","docId":"examples-Basic"},{"type":"link","label":"Basic with controlled expandable node","href":"/react-accessible-treeview/docs/examples-ControlledExpandedNode","docId":"examples-ControlledExpandedNode"},{"type":"link","label":"Data types","href":"/react-accessible-treeview/docs/examples-DataTypes","docId":"examples-DataTypes"},{"type":"link","label":"Directory tree (single selection)","href":"/react-accessible-treeview/docs/examples-DirectoryTree","docId":"examples-DirectoryTree"},{"type":"link","label":"Filtering","href":"/react-accessible-treeview/docs/examples-Filtering","docId":"examples-Filtering"},{"type":"link","label":"Checkbox","href":"/react-accessible-treeview/docs/examples-MultiSelectCheckbox","docId":"examples-MultiSelectCheckbox"},{"type":"link","label":"Asynchronous loading","href":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync","docId":"examples-MultiSelectCheckboxAsync"},{"type":"link","label":"Asynchronous loading with Controlled selection","href":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled","docId":"examples-MultiSelectCheckboxAsyncControlled"},{"type":"link","label":"Checkbox with controlled selectedIds","href":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled","docId":"examples-MultiSelectCheckboxControlled"},{"type":"link","label":"Checkbox with disabled nodes","href":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled","docId":"examples-MultiSelectCheckboxDisabled"},{"type":"link","label":"Directory tree (multiple selection)","href":"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree","docId":"examples-MultiSelectDirectoryTree"},{"type":"link","label":"Checkbox (single selection)","href":"/react-accessible-treeview/docs/examples-SingleSelectCheckbox","docId":"examples-SingleSelectCheckbox"}],"collapsed":true,"collapsible":true}]},"docs":{"api":{"id":"api","title":"API Reference","description":"Prop Types","sidebar":"docs"},"examples-Basic":{"id":"examples-Basic","title":"Basic","description":"The simplest instance of the component, a good base on which a custom component can be built.","sidebar":"docs"},"examples-ControlledExpandedNode":{"id":"examples-ControlledExpandedNode","title":"Basic with controlled expandable node","description":"This example demonstrates how to create a simple tree with controlled expandable node","sidebar":"docs"},"examples-DataTypes":{"id":"examples-DataTypes","title":"Data types","description":"This example demonstrates different ways of defining ids in data","sidebar":"docs"},"examples-DirectoryTree":{"id":"examples-DirectoryTree","title":"Directory tree (single selection)","description":"An example of how to customize the styling of the component","sidebar":"docs"},"examples-Filtering":{"id":"examples-Filtering","title":"Filtering","description":"The example how to implement filtering within a tree.","sidebar":"docs"},"examples-MultiSelectCheckbox":{"id":"examples-MultiSelectCheckbox","title":"Checkbox","description":"This example demonstrates how to create a checkbox tree","sidebar":"docs"},"examples-MultiSelectCheckboxAsync":{"id":"examples-MultiSelectCheckboxAsync","title":"Asynchronous loading","description":"This example demonstrates how to create a checkbox tree with asynchronous loading","sidebar":"docs"},"examples-MultiSelectCheckboxAsyncControlled":{"id":"examples-MultiSelectCheckboxAsyncControlled","title":"Asynchronous loading with Controlled selection","description":"This example demonstrates how to create a checkbox tree with asynchronous loading and controlled selection","sidebar":"docs"},"examples-MultiSelectCheckboxControlled":{"id":"examples-MultiSelectCheckboxControlled","title":"Checkbox with controlled selectedIds","description":"This example demonstrates how to create a checkbox tree","sidebar":"docs"},"examples-MultiSelectCheckboxDisabled":{"id":"examples-MultiSelectCheckboxDisabled","title":"Checkbox with disabled nodes","description":"This example demonstrates the use of disabled nodes","sidebar":"docs"},"examples-MultiSelectDirectoryTree":{"id":"examples-MultiSelectDirectoryTree","title":"Directory tree (multiple selection)","description":"This example combines multiselect and an exclusive select onClick. It supports multiselect using various commands, such as Ctrl+click Shift+Click, Enter/Space and Shift + Up/Down.","sidebar":"docs"},"examples-SingleSelectCheckbox":{"id":"examples-SingleSelectCheckbox","title":"Checkbox (single selection)","description":"This example demonstrates how to create single select checkbox tree","sidebar":"docs"}}}')}}]); \ No newline at end of file diff --git a/assets/js/972.3ccd22ab.js b/assets/js/972.3ccd22ab.js deleted file mode 100644 index b5196772..00000000 --- a/assets/js/972.3ccd22ab.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[972],{4972:function(e,t,n){n.r(t),n.d(t,{default:function(){return i}});var a=n(7294),l=n(5999),o=n(1944),r=n(7961);function i(){return a.createElement(a.Fragment,null,a.createElement(o.d,{title:(0,l.I)({id:"theme.NotFound.title",message:"Page Not Found"})}),a.createElement(r.Z,null,a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(l.Z,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}}}]); \ No newline at end of file diff --git a/assets/js/972.b43202c5.js b/assets/js/972.b43202c5.js new file mode 100644 index 00000000..ca81c538 --- /dev/null +++ b/assets/js/972.b43202c5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[972],{4972:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var a=n(7294),l=n(5999),o=n(1944),r=n(7961);function i(){return a.createElement(a.Fragment,null,a.createElement(o.d,{title:(0,l.I)({id:"theme.NotFound.title",message:"Page Not Found"})}),a.createElement(r.Z,null,a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(l.Z,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}}}]); \ No newline at end of file diff --git a/assets/js/c4f5d8e4.063e8d03.js b/assets/js/c4f5d8e4.063e8d03.js new file mode 100644 index 00000000..68cf11a4 --- /dev/null +++ b/assets/js/c4f5d8e4.063e8d03.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[195],{9013:(e,t,n)=>{n.d(t,{Z:()=>d});var a=n(7462),l=n(7294),r=n(859),c=n(9583),s=n(148);const m=(0,s.fK)({name:"",children:[{name:"src",children:[{name:"index.js"},{name:"styles.css"}]},{name:"node_modules",children:[{name:"react-accessible-treeview",children:[{name:"index.js"}]},{name:"react",children:[{name:"index.js"}]}]},{name:".npmignore"},{name:"package.json"},{name:"webpack.config.js"}]});const i=e=>{let{isOpen:t}=e;return t?l.createElement(c.zuo,{color:"e8a87c",className:"icon"}):l.createElement(c.IEK,{color:"e8a87c",className:"icon"})},o=e=>{let{filename:t}=e;switch(t.slice(t.lastIndexOf(".")+1)){case"js":return l.createElement(r.Fi5,{color:"yellow",className:"icon"});case"css":return l.createElement(r.BA4,{color:"turquoise",className:"icon"});case"json":return l.createElement(c.AeW,{color:"yellow",className:"icon"});case"npmignore":return l.createElement(r.I_N,{color:"red",className:"icon"});default:return null}},d=function(){return l.createElement("div",null,l.createElement("div",{className:"directory"},l.createElement(s.ZP,{data:m,"aria-label":"directory tree",nodeRenderer:e=>{let{element:t,isBranch:n,isExpanded:r,getNodeProps:c,level:s}=e;return l.createElement("div",(0,a.Z)({},c(),{style:{paddingLeft:20*(s-1)}}),n?l.createElement(i,{isOpen:r}):l.createElement(o,{filename:t.name}),t.name)}})))}},842:(e,t,n)=>{n.d(t,{Z:()=>E});var a=n(7462),l=n(7294),r=n(9583),c=n(1649),s=n(148),m=n(4184),i=n.n(m);const o=(0,s.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Apple Juice"},{name:"Chocolate"},{name:"Coffee"},{name:"Tea",children:[{name:"Black Tea"},{name:"Green Tea"},{name:"Red Tea"},{name:"Matcha"}]}]},{name:"Vegetables",children:[{name:"Beets"},{name:"Carrots"},{name:"Celery"},{name:"Lettuce"},{name:"Onions"}]}]});const d=e=>{let{isOpen:t,className:n}=e;const a="arrow",r=i()(a,{[a+"--closed"]:!t},{[a+"--open"]:t},n);return l.createElement(c.am,{className:r})},u=e=>{let{variant:t,...n}=e;switch(t){case"all":return l.createElement(r.xik,n);case"none":return l.createElement(r.u9M,n);case"some":return l.createElement(r.kty,n);default:return null}},E=function(){return l.createElement("div",null,l.createElement("div",{className:"checkbox"},l.createElement(s.ZP,{data:o,"aria-label":"Checkbox tree",multiSelect:!0,propagateSelect:!0,propagateSelectUpwards:!0,togglableSelect:!0,nodeRenderer:e=>{let{element:t,isBranch:n,isExpanded:r,isSelected:c,isHalfSelected:s,getNodeProps:m,level:i,handleSelect:o,handleExpand:E}=e;return l.createElement("div",(0,a.Z)({},m({onClick:E}),{style:{marginLeft:40*(i-1)}}),n&&l.createElement(d,{isOpen:r}),l.createElement(u,{className:"checkbox-icon",onClick:e=>{o(e),e.stopPropagation()},variant:s?"some":c?"all":"none"}),l.createElement("span",{className:"name"},t.name))}})))}},5239:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var a=n(7294),l=n(4184),r=n.n(l),c=n(7961),s=n(9960),m=n(2263),i=n(4996);const o={heroBanner:"heroBanner_UJJx",buttons:"buttons_pzbO",features:"features_keug",featureImage:"featureImage_yA8i"};var d=n(842),u=n(9013);const E=[{title:a.createElement(a.Fragment,null,"Features"),component:a.createElement(u.Z,null),description:a.createElement(a.Fragment,null,a.createElement("ul",null,a.createElement("li",null,"Single and multiple selection"),a.createElement("li",null,"Disabled nodes"),a.createElement("li",null,"Extensive key bindings")))},{title:a.createElement(a.Fragment,null,"Flexible"),component:a.createElement(d.Z,null),description:a.createElement(a.Fragment,null,"Highly customizable through the use of the render prop and prop getter patterns.")}];const p=function(){const e=(0,m.Z)(),{siteConfig:t={}}=e,n=(0,i.Z)("docs/api");return a.createElement(c.Z,{title:"react-accessible-treeview",description:"A React component react component that implements the treeview pattern as described by the WAI-ARIA Authoring Practices."},a.createElement("header",{className:r()("hero hero--primary",o.heroBanner)},a.createElement("div",{className:"container"},a.createElement("h1",{className:"hero__title"},t.title),a.createElement("p",{className:"hero__subtitle"},t.tagline),a.createElement("div",{className:o.buttons},a.createElement(s.Z,{className:r()("button button--outline button--secondary button--lg",o.getStarted),to:n},"Get Started")))),a.createElement("main",null,E&&E.length&&a.createElement("section",{className:o.features},a.createElement("div",{className:"container"},a.createElement("div",{className:"row",style:{flexWrap:"nowrap"}},E.map(((e,t)=>{let{component:n,title:l,description:c}=e;return a.createElement("div",{key:t,className:r()("col col--6",o.feature)},a.createElement("h3",null,l),a.createElement("div",null," ",c),n&&a.createElement("div",null,n))})))))))}}}]); \ No newline at end of file diff --git a/assets/js/c4f5d8e4.86f346cc.js b/assets/js/c4f5d8e4.86f346cc.js deleted file mode 100644 index 816f6115..00000000 --- a/assets/js/c4f5d8e4.86f346cc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[195],{9013:function(e,n,t){var a=t(7462),r=t(7294),l=t(859),c=t(9583),s=t(148),i=(0,s.fK)({name:"",children:[{name:"src",children:[{name:"index.js"},{name:"styles.css"}]},{name:"node_modules",children:[{name:"react-accessible-treeview",children:[{name:"index.js"}]},{name:"react",children:[{name:"index.js"}]}]},{name:".npmignore"},{name:"package.json"},{name:"webpack.config.js"}]});var m=function(e){return e.isOpen?r.createElement(c.zuo,{color:"e8a87c",className:"icon"}):r.createElement(c.IEK,{color:"e8a87c",className:"icon"})},o=function(e){var n=e.filename;switch(n.slice(n.lastIndexOf(".")+1)){case"js":return r.createElement(l.Fi5,{color:"yellow",className:"icon"});case"css":return r.createElement(l.BA4,{color:"turquoise",className:"icon"});case"json":return r.createElement(c.AeW,{color:"yellow",className:"icon"});case"npmignore":return r.createElement(l.I_N,{color:"red",className:"icon"});default:return null}};n.Z=function(){return r.createElement("div",null,r.createElement("div",{className:"directory"},r.createElement(s.ZP,{data:i,"aria-label":"directory tree",nodeRenderer:function(e){var n=e.element,t=e.isBranch,l=e.isExpanded,c=e.getNodeProps,s=e.level;return r.createElement("div",(0,a.Z)({},c(),{style:{paddingLeft:20*(s-1)}}),t?r.createElement(m,{isOpen:l}):r.createElement(o,{filename:n.name}),n.name)}})))}},842:function(e,n,t){var a=t(3366),r=t(7462),l=t(7294),c=t(9583),s=t(1649),i=t(148),m=t(4184),o=t.n(m),u=["variant"],d=(0,i.fK)({name:"",children:[{name:"Fruits",children:[{name:"Avocados"},{name:"Bananas"},{name:"Berries"},{name:"Oranges"},{name:"Pears"}]},{name:"Drinks",children:[{name:"Apple Juice"},{name:"Chocolate"},{name:"Coffee"},{name:"Tea",children:[{name:"Black Tea"},{name:"Green Tea"},{name:"Red Tea"},{name:"Matcha"}]}]},{name:"Vegetables",children:[{name:"Beets"},{name:"Carrots"},{name:"Celery"},{name:"Lettuce"},{name:"Onions"}]}]});var E=function(e){var n,t,a=e.isOpen,r=e.className,c="arrow",i=o()(c,((n={})[c+"--closed"]=!a,n),((t={})[c+"--open"]=a,t),r);return l.createElement(s.am,{className:i})},p=function(e){var n=e.variant,t=(0,a.Z)(e,u);switch(n){case"all":return l.createElement(c.xik,t);case"none":return l.createElement(c.u9M,t);case"some":return l.createElement(c.kty,t);default:return null}};n.Z=function(){return l.createElement("div",null,l.createElement("div",{className:"checkbox"},l.createElement(i.ZP,{data:d,"aria-label":"Checkbox tree",multiSelect:!0,propagateSelect:!0,propagateSelectUpwards:!0,togglableSelect:!0,nodeRenderer:function(e){var n=e.element,t=e.isBranch,a=e.isExpanded,c=e.isSelected,s=e.isHalfSelected,i=e.getNodeProps,m=e.level,o=e.handleSelect,u=e.handleExpand;return l.createElement("div",(0,r.Z)({},i({onClick:u}),{style:{marginLeft:40*(m-1)}}),t&&l.createElement(E,{isOpen:a}),l.createElement(p,{className:"checkbox-icon",onClick:function(e){o(e),e.stopPropagation()},variant:s?"some":c?"all":"none"}),l.createElement("span",{className:"name"},n.name))}})))}},5239:function(e,n,t){t.r(n),t.d(n,{default:function(){return p}});var a=t(7294),r=t(4184),l=t.n(r),c=t(7961),s=t(9960),i=t(2263),m=t(4996),o={heroBanner:"heroBanner_UJJx",buttons:"buttons_pzbO",features:"features_keug",featureImage:"featureImage_yA8i"},u=t(842),d=t(9013),E=[{title:a.createElement(a.Fragment,null,"Features"),component:a.createElement(d.Z,null),description:a.createElement(a.Fragment,null,a.createElement("ul",null,a.createElement("li",null,"Single and multiple selection"),a.createElement("li",null,"Disabled nodes"),a.createElement("li",null,"Extensive key bindings")))},{title:a.createElement(a.Fragment,null,"Flexible"),component:a.createElement(u.Z,null),description:a.createElement(a.Fragment,null,"Highly customizable through the use of the render prop and prop getter patterns.")}];var p=function(){var e=(0,i.Z)().siteConfig,n=void 0===e?{}:e,t=(0,m.Z)("docs/api");return a.createElement(c.Z,{title:"react-accessible-treeview",description:"A React component react component that implements the treeview pattern as described by the WAI-ARIA Authoring Practices."},a.createElement("header",{className:l()("hero hero--primary",o.heroBanner)},a.createElement("div",{className:"container"},a.createElement("h1",{className:"hero__title"},n.title),a.createElement("p",{className:"hero__subtitle"},n.tagline),a.createElement("div",{className:o.buttons},a.createElement(s.Z,{className:l()("button button--outline button--secondary button--lg",o.getStarted),to:t},"Get Started")))),a.createElement("main",null,E&&E.length&&a.createElement("section",{className:o.features},a.createElement("div",{className:"container"},a.createElement("div",{className:"row",style:{flexWrap:"nowrap"}},E.map((function(e,n){var t=e.component,r=e.title,c=e.description;return a.createElement("div",{key:n,className:l()("col col--6",o.feature)},a.createElement("h3",null,r),a.createElement("div",null," ",c),t&&a.createElement("div",null,t))})))))))}}}]); \ No newline at end of file diff --git a/assets/js/common.3ea66e67.js b/assets/js/common.3ea66e67.js new file mode 100644 index 00000000..bcf30dd0 --- /dev/null +++ b/assets/js/common.3ea66e67.js @@ -0,0 +1,2 @@ +/*! For license information please see common.3ea66e67.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[592],{3905:(e,t,n)=>{"use strict";n.d(t,{Zo:()=>d,kt:()=>h});var r=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var s=r.createContext({}),c=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},d=function(e){var t=c(e.components);return r.createElement(s.Provider,{value:t},e.children)},u="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},p=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,s=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),u=c(n),p=a,h=u["".concat(s,".").concat(p)]||u[p]||f[p]||l;return n?r.createElement(h,o(o({ref:t},d),{},{components:n})):r.createElement(h,o({ref:t},d))}));function h(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,o=new Array(l);o[0]=p;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[u]="string"==typeof e?e:a,o[1]=i;for(var c=2;c{"use strict";n.d(t,{Z:()=>d});var r=n(7462),a=n(7294),l=n(6010),o=n(5999),i=n(6668),s=n(9960);const c={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};function d(e){let{as:t,id:n,...d}=e;const{navbar:{hideOnScroll:u}}=(0,i.L)();if("h1"===t||!n)return a.createElement(t,(0,r.Z)({},d,{id:void 0}));const f=(0,o.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof d.children?d.children:n});return a.createElement(t,(0,r.Z)({},d,{className:(0,l.Z)("anchor",u?c.anchorWithHideOnScrollNavbar:c.anchorWithStickyNavbar,d.className),id:n}),d.children,a.createElement(s.Z,{className:"hash-link",to:"#"+n,"aria-label":f,title:f},"\u200b"))}},9297:(e,t,n)=>{"use strict";n.d(t,{Z:()=>me});var r=n(7462),a=n(7294),l=n(5742);var o=n(2389),i=n(6010),s=n(2949),c=n(6668);function d(){const{prism:e}=(0,c.L)(),{colorMode:t}=(0,s.I)(),n=e.theme,r=e.darkTheme||n;return"dark"===t?r:n}var u=n(5281),f=n(7594),p=n.n(f);const h=/title=(?["'])(?.*?)\1/,m=/\{(?<range>[\d,-]+)\}/,v={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}};function b(e,t){const n=e.map((e=>{const{start:n,end:r}=v[e];return"(?:"+n+"\\s*("+t.flatMap((e=>{var t,n;return[e.line,null==(t=e.block)?void 0:t.start,null==(n=e.block)?void 0:n.end].filter(Boolean)})).join("|")+")\\s*"+r+")"})).join("|");return new RegExp("^\\s*(?:"+n+")\\s*$")}function g(e,t){let n=e.replace(/\n$/,"");const{language:r,magicComments:a,metastring:l}=t;if(l&&m.test(l)){const e=l.match(m).groups.range;if(0===a.length)throw new Error("A highlight range has been given in code block's metastring (``` "+l+"), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.");const t=a[0].className,r=p()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(r),code:n}}if(void 0===r)return{lineClassNames:{},code:n};const o=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return b(["js","jsBlock"],t);case"jsx":case"tsx":return b(["js","jsBlock","jsx"],t);case"html":return b(["js","jsBlock","html"],t);case"python":case"py":case"bash":return b(["bash"],t);case"markdown":case"md":return b(["html","jsx","bash"],t);default:return b(Object.keys(v),t)}}(r,a),i=n.split("\n"),s=Object.fromEntries(a.map((e=>[e.className,{start:0,range:""}]))),c=Object.fromEntries(a.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),d=Object.fromEntries(a.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),u=Object.fromEntries(a.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let p=0;p<i.length;){const e=i[p].match(o);if(!e){p+=1;continue}const t=e.slice(1).find((e=>void 0!==e));c[t]?s[c[t]].range+=p+",":d[t]?s[d[t]].start=p:u[t]&&(s[u[t]].range+=s[u[t]].start+"-"+(p-1)+","),i.splice(p,1)}n=i.join("\n");const f={};return Object.entries(s).forEach((e=>{let[t,{range:n}]=e;p()(n).forEach((e=>{null!=f[e]||(f[e]=[]),f[e].push(t)}))})),{lineClassNames:f,code:n}}const y={codeBlockContainer:"codeBlockContainer_Ckt0"};function S(e){let{as:t,...n}=e;const l=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[r,a]=e;const l=t[r];l&&"string"==typeof a&&(n[l]=a)})),n}(d());return a.createElement(t,(0,r.Z)({},n,{style:l,className:(0,i.Z)(n.className,y.codeBlockContainer,u.k.common.codeBlock)}))}const E={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function w(e){let{children:t,className:n}=e;return a.createElement(S,{as:"pre",tabIndex:0,className:(0,i.Z)(E.codeBlockStandalone,"thin-scrollbar",n)},a.createElement("code",{className:E.codeBlockLines},t))}var I=n(902);const k={attributes:!0,characterData:!0,childList:!0,subtree:!0};function O(e,t){const[n,r]=(0,a.useState)(),l=(0,a.useCallback)((()=>{var t;r(null==(t=e.current)?void 0:t.closest("[role=tabpanel][hidden]"))}),[e,r]);(0,a.useEffect)((()=>{l()}),[l]),function(e,t,n){void 0===n&&(n=k);const r=(0,I.zX)(t),l=(0,I.Ql)(n);(0,a.useEffect)((()=>{const t=new MutationObserver(r);return e&&t.observe(e,l),()=>t.disconnect()}),[e,r,l])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),l())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}const x={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]};var N={Prism:n(7410).Z,theme:x};function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j.apply(this,arguments)}var T=/\r\n|\r|\n/,_=function(e){0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},A=function(e,t){var n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)};function L(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var B=function(e){function t(){for(var t=this,n=[],r=arguments.length;r--;)n[r]=arguments[r];e.apply(this,n),C(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?function(e,t){var n=e.plain,r=Object.create(null),a=e.styles.reduce((function(e,n){var r=n.languages,a=n.style;return r&&!r.includes(t)||n.types.forEach((function(t){var n=j({},e[t],a);e[t]=n})),e}),r);return a.root=n,a.plain=j({},n,{backgroundColor:null}),a}(e.theme,e.language):void 0;return t.themeDict=n})),C(this,"getLineProps",(function(e){var n=e.key,r=e.className,a=e.style,l=j({},L(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),o=t.getThemeDict(t.props);return void 0!==o&&(l.style=o.plain),void 0!==a&&(l.style=void 0!==l.style?j({},l.style,a):a),void 0!==n&&(l.key=n),r&&(l.className+=" "+r),l})),C(this,"getStyleForToken",(function(e){var n=e.types,r=e.empty,a=n.length,l=t.getThemeDict(t.props);if(void 0!==l){if(1===a&&"plain"===n[0])return r?{display:"inline-block"}:void 0;if(1===a&&!r)return l[n[0]];var o=r?{display:"inline-block"}:{},i=n.map((function(e){return l[e]}));return Object.assign.apply(Object,[o].concat(i))}})),C(this,"getTokenProps",(function(e){var n=e.key,r=e.className,a=e.style,l=e.token,o=j({},L(e,["key","className","style","token"]),{className:"token "+l.types.join(" "),children:l.content,style:t.getStyleForToken(l),key:void 0});return void 0!==a&&(o.style=void 0!==o.style?j({},o.style,a):a),void 0!==n&&(o.key=n),r&&(o.className+=" "+r),o})),C(this,"tokenize",(function(e,t,n,r){var a={code:t,grammar:n,language:r,tokens:[]};e.hooks.run("before-tokenize",a);var l=a.tokens=e.tokenize(a.code,a.grammar,a.language);return e.hooks.run("after-tokenize",a),l}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,r=e.code,a=e.children,l=this.getThemeDict(this.props),o=t.languages[n];return a({tokens:function(e){for(var t=[[]],n=[e],r=[0],a=[e.length],l=0,o=0,i=[],s=[i];o>-1;){for(;(l=r[o]++)<a[o];){var c=void 0,d=t[o],u=n[o][l];if("string"==typeof u?(d=o>0?d:["plain"],c=u):(d=A(d,u.type),u.alias&&(d=A(d,u.alias)),c=u.content),"string"==typeof c){var f=c.split(T),p=f.length;i.push({types:d,content:f[0]});for(var h=1;h<p;h++)_(i),s.push(i=[]),i.push({types:d,content:f[h]})}else o++,t.push(d),n.push(c),r.push(0),a.push(c.length)}o--,t.pop(),n.pop(),r.pop(),a.pop()}return _(i),s}(void 0!==o?this.tokenize(t,r,o,n):[r]),className:"prism-code language-"+n,style:void 0!==l?l.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},t}(a.Component);const W=B,M={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function R(e){let{line:t,classNames:n,showLineNumbers:l,getLineProps:o,getTokenProps:s}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const c=o({line:t,className:(0,i.Z)(n,l&&M.codeLine)}),d=t.map(((e,t)=>a.createElement("span",(0,r.Z)({key:t},s({token:e,key:t})))));return a.createElement("span",c,l?a.createElement(a.Fragment,null,a.createElement("span",{className:M.codeLineNumber}),a.createElement("span",{className:M.codeLineContent},d)):d,a.createElement("br",null))}var D=n(5999);function P(e){return a.createElement("svg",(0,r.Z)({viewBox:"0 0 24 24"},e),a.createElement("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"}))}function U(e){return a.createElement("svg",(0,r.Z)({viewBox:"0 0 24 24"},e),a.createElement("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}const z={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function H(e){let{code:t,className:n}=e;const[r,l]=(0,a.useState)(!1),o=(0,a.useRef)(void 0),s=(0,a.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError("Expected parameter `text` to be a `string`, got `"+typeof e+"`.");const r=document.createElement("textarea"),a=document.activeElement;r.value=e,r.setAttribute("readonly",""),r.style.contain="strict",r.style.position="absolute",r.style.left="-9999px",r.style.fontSize="12pt";const l=document.getSelection(),o=l.rangeCount>0&&l.getRangeAt(0);n.append(r),r.select(),r.selectionStart=0,r.selectionEnd=e.length;let i=!1;try{i=document.execCommand("copy")}catch{}r.remove(),o&&(l.removeAllRanges(),l.addRange(o)),a&&a.focus()}(t),l(!0),o.current=window.setTimeout((()=>{l(!1)}),1e3)}),[t]);return(0,a.useEffect)((()=>()=>window.clearTimeout(o.current)),[]),a.createElement("button",{type:"button","aria-label":r?(0,D.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,D.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,D.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.Z)("clean-btn",n,z.copyButton,r&&z.copyButtonCopied),onClick:s},a.createElement("span",{className:z.copyButtonIcons,"aria-hidden":"true"},a.createElement(P,{className:z.copyButtonIcon}),a.createElement(U,{className:z.copyButtonSuccessIcon})))}function Z(e){return a.createElement("svg",(0,r.Z)({viewBox:"0 0 24 24"},e),a.createElement("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}))}const V={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function F(e){let{className:t,onClick:n,isEnabled:r}=e;const l=(0,D.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return a.createElement("button",{type:"button",onClick:n,className:(0,i.Z)("clean-btn",t,r&&V.wordWrapButtonEnabled),"aria-label":l,title:l},a.createElement(Z,{className:V.wordWrapButtonIcon,"aria-hidden":"true"}))}function K(e){var t;let{children:n,className:l="",metastring:o,title:s,showLineNumbers:u,language:f}=e;const{prism:{defaultLanguage:p,magicComments:m}}=(0,c.L)(),v=null!=(t=null!=f?f:function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return null==t?void 0:t.replace(/language-/,"")}(l))?t:p,b=d(),y=function(){const[e,t]=(0,a.useState)(!1),[n,r]=(0,a.useState)(!1),l=(0,a.useRef)(null),o=(0,a.useCallback)((()=>{const n=l.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[l,e]),i=(0,a.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=l.current,n=e>t||l.current.querySelector("code").hasAttribute("style");r(n)}),[l]);return O(l,i),(0,a.useEffect)((()=>{i()}),[e,i]),(0,a.useEffect)((()=>(window.addEventListener("resize",i,{passive:!0}),()=>{window.removeEventListener("resize",i)})),[i]),{codeBlockRef:l,isEnabled:e,isCodeScrollable:n,toggle:o}}(),w=function(e){var t,n;return null!=(t=null==e||null==(n=e.match(h))?void 0:n.groups.title)?t:""}(o)||s,{lineClassNames:I,code:k}=g(n,{metastring:o,language:v,magicComments:m}),x=null!=u?u:function(e){return Boolean(null==e?void 0:e.includes("showLineNumbers"))}(o);return a.createElement(S,{as:"div",className:(0,i.Z)(l,v&&!l.includes("language-"+v)&&"language-"+v)},w&&a.createElement("div",{className:E.codeBlockTitle},w),a.createElement("div",{className:E.codeBlockContent},a.createElement(W,(0,r.Z)({},N,{theme:b,code:k,language:null!=v?v:"text"}),(e=>{let{className:t,tokens:n,getLineProps:r,getTokenProps:l}=e;return a.createElement("pre",{tabIndex:0,ref:y.codeBlockRef,className:(0,i.Z)(t,E.codeBlock,"thin-scrollbar")},a.createElement("code",{className:(0,i.Z)(E.codeBlockLines,x&&E.codeBlockLinesWithNumbering)},n.map(((e,t)=>a.createElement(R,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:I[t],showLineNumbers:x})))))})),a.createElement("div",{className:E.buttonGroup},(y.isEnabled||y.isCodeScrollable)&&a.createElement(F,{className:E.codeButton,onClick:()=>y.toggle(),isEnabled:y.isEnabled}),a.createElement(H,{className:E.codeButton,code:k}))))}function Y(e){let{children:t,...n}=e;const l=(0,o.Z)(),i=function(e){return a.Children.toArray(e).some((e=>(0,a.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),s="string"==typeof i?K:w;return a.createElement(s,(0,r.Z)({key:String(l)},n),i)}var G=n(9960);var q=n(6043);const X={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function $(e){return!!e&&("SUMMARY"===e.tagName||$(e.parentElement))}function Q(e,t){return!!e&&(e===t||Q(e.parentElement,t))}function J(e){let{summary:t,children:n,...l}=e;const s=(0,o.Z)(),c=(0,a.useRef)(null),{collapsed:d,setCollapsed:u}=(0,q.u)({initialState:!l.open}),[f,p]=(0,a.useState)(l.open),h=a.isValidElement(t)?t:a.createElement("summary",null,null!=t?t:"Details");return a.createElement("details",(0,r.Z)({},l,{ref:c,open:f,"data-collapsed":d,className:(0,i.Z)(X.details,s&&X.isBrowser,l.className),onMouseDown:e=>{$(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;$(t)&&Q(t,c.current)&&(e.preventDefault(),d?(u(!1),p(!0)):u(!0))}}),h,a.createElement(q.z,{lazy:!1,collapsed:d,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{u(e),p(!e)}},a.createElement("div",{className:X.collapsibleContent},n)))}const ee={details:"details_b_Ee"},te="alert alert--info";function ne(e){let{...t}=e;return a.createElement(J,(0,r.Z)({},t,{className:(0,i.Z)(te,ee.details,t.className)}))}var re=n(2503);function ae(e){return a.createElement(re.Z,e)}const le={containsTaskList:"containsTaskList_mC6p"};function oe(e){if(void 0!==e)return(0,i.Z)(e,(null==e?void 0:e.includes("contains-task-list"))&&le.containsTaskList)}const ie={img:"img_ev3q"};const se="admonition_LlT9",ce="admonitionHeading_tbUL",de="admonitionIcon_kALy",ue="admonitionContent_S0QG";const fe={note:{infimaClassName:"secondary",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 14 16"},a.createElement("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"}))},label:a.createElement(D.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)"},"note")},tip:{infimaClassName:"success",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 12 16"},a.createElement("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"}))},label:a.createElement(D.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)"},"tip")},danger:{infimaClassName:"danger",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 12 16"},a.createElement("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))},label:a.createElement(D.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)"},"danger")},info:{infimaClassName:"info",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 14 16"},a.createElement("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))},label:a.createElement(D.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)"},"info")},caution:{infimaClassName:"warning",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 16 16"},a.createElement("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))},label:a.createElement(D.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)"},"caution")}},pe={secondary:"note",important:"info",success:"tip",warning:"danger"};function he(e){var t;const{mdxAdmonitionTitle:n,rest:r}=function(e){const t=a.Children.toArray(e),n=t.find((e=>{var t;return a.isValidElement(e)&&"mdxAdmonitionTitle"===(null==(t=e.props)?void 0:t.mdxType)})),r=a.createElement(a.Fragment,null,t.filter((e=>e!==n)));return{mdxAdmonitionTitle:n,rest:r}}(e.children);return{...e,title:null!=(t=e.title)?t:n,children:r}}const me={head:function(e){const t=a.Children.map(e.children,(e=>a.isValidElement(e)?function(e){var t;if(null!=(t=e.props)&&t.mdxType&&e.props.originalType){const{mdxType:t,originalType:n,...r}=e.props;return a.createElement(e.props.originalType,r)}return e}(e):e));return a.createElement(l.Z,e,t)},code:function(e){const t=["a","abbr","b","br","button","cite","code","del","dfn","em","i","img","input","ins","kbd","label","object","output","q","ruby","s","small","span","strong","sub","sup","time","u","var","wbr"];return a.Children.toArray(e.children).every((e=>{var n;return"string"==typeof e&&!e.includes("\n")||(0,a.isValidElement)(e)&&t.includes(null==(n=e.props)?void 0:n.mdxType)}))?a.createElement("code",e):a.createElement(Y,e)},a:function(e){return a.createElement(G.Z,e)},pre:function(e){var t;return a.createElement(Y,(0,a.isValidElement)(e.children)&&"code"===(null==(t=e.children.props)?void 0:t.originalType)?e.children.props:{...e})},details:function(e){const t=a.Children.toArray(e.children),n=t.find((e=>{var t;return a.isValidElement(e)&&"summary"===(null==(t=e.props)?void 0:t.mdxType)})),l=a.createElement(a.Fragment,null,t.filter((e=>e!==n)));return a.createElement(ne,(0,r.Z)({},e,{summary:n}),l)},ul:function(e){return a.createElement("ul",(0,r.Z)({},e,{className:oe(e.className)}))},img:function(e){return a.createElement("img",(0,r.Z)({loading:"lazy"},e,{className:(t=e.className,(0,i.Z)(t,ie.img))}));var t},h1:e=>a.createElement(ae,(0,r.Z)({as:"h1"},e)),h2:e=>a.createElement(ae,(0,r.Z)({as:"h2"},e)),h3:e=>a.createElement(ae,(0,r.Z)({as:"h3"},e)),h4:e=>a.createElement(ae,(0,r.Z)({as:"h4"},e)),h5:e=>a.createElement(ae,(0,r.Z)({as:"h5"},e)),h6:e=>a.createElement(ae,(0,r.Z)({as:"h6"},e)),admonition:function(e){const{children:t,type:n,title:r,icon:l}=he(e),o=function(e){var t;const n=null!=(t=pe[e])?t:e,r=fe[n];return r||(console.warn('No admonition config found for admonition type "'+n+'". Using Info as fallback.'),fe.info)}(n),s=null!=r?r:o.label,{iconComponent:c}=o,d=null!=l?l:a.createElement(c,null);return a.createElement("div",{className:(0,i.Z)(u.k.common.admonition,u.k.common.admonitionType(e.type),"alert","alert--"+o.infimaClassName,se)},a.createElement("div",{className:ce},a.createElement("span",{className:de},d),s),a.createElement("div",{className:ue},t))},mermaid:n(1875).Z}},2805:(e,t,n)=>{"use strict";n.d(t,{Z:()=>me});var r=n(7294),a=n(9297);const l=e=>{let{className:t,children:n}=e;return r.createElement(a.Z.pre,null,r.createElement(a.Z.code,{className:t},n))};n(2473);var o=function(){};var i=function(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}},s=0,c=function(){return++s},d=function(){var e=(0,r.useState)(null),t=e[0],n=e[1];return(0,r.useEffect)((function(){return n(c())}),[]),t},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function f(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var p=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,o=e.onChange,i=e.index,s=void 0===i?void 0:i,c=e.readOnly,p=void 0!==c&&c,h=e.defaultIndex,m=f(e,["children","as","onChange","index","readOnly","defaultIndex"]),v=(0,r.useRef)(null!=s).current,b=d(),g=(0,r.useRef)(!1),y=(0,r.useRef)(null),S=(0,r.useState)(h||0),E=S[0],w=S[1],I=r.Children.map(n,(function(e){return"string"==typeof e.type?e:(0,r.cloneElement)(e,{selectedIndex:v?s:E,_id:b,_userInteractedRef:g,_selectedPanelRef:y,_onFocusPanel:function(){return y.current&&y.current.focus()},_onSelectTab:p?function(){}:function(e){g.current=!0,o&&o(e),v||w(e)}})}));return r.createElement(l,u({"data-reach-tabs":"",ref:t},m,{children:I}))})),h=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,o=e.onKeyDown,s=f(e,["children","as","onKeyDown"]),c=s.selectedIndex,d=s._onSelectTab,p=s._userInteractedRef,h=s._onFocusPanel,m=(s._selectedPanelRef,s._id),v=f(s,["selectedIndex","_onSelectTab","_userInteractedRef","_onFocusPanel","_selectedPanelRef","_id"]),b=r.Children.map(n,(function(e,t){return(0,r.cloneElement)(e,{isSelected:t===c,_id:g(m,t),_userInteractedRef:p,_onSelect:function(){return d(t)}})})),y=i(o,(function(e){var t=r.Children.map(n,(function(e,t){return!0===e.props.disabled?null:t})).filter((function(e){return null!=e})),a=t.indexOf(c);switch(e.key){case"ArrowRight":var l=t[(a+1)%t.length];d(l);break;case"ArrowLeft":var o=t.length,i=t[(a-1+o)%o];d(i);break;case"ArrowDown":e.preventDefault(),h();break;case"Home":d(0);break;case"End":d(r.Children.count(n)-1)}}));return r.createElement(l,u({"data-reach-tab-list":"",ref:t,role:"tablist",onKeyDown:y,children:b},v))})),m=(0,r.forwardRef)((function(e,t){var n,a,l,o=e.children,i=e.as,s=void 0===i?"button":i,c=f(e,["children","as"]),d=c.isSelected,p=c._userInteractedRef,h=c._onSelect,m=c._id,v=f(c,["isSelected","_userInteractedRef","_onSelect","_id"]),b=(0,r.useRef)(null),g=t||b;return n=function(){d&&g.current&&p.current&&(p.current=!1,g.current.focus())},a=[d],l=(0,r.useRef)(!1),(0,r.useEffect)((function(){l.current?n():l.current=!0}),a),r.createElement(s,u({"data-reach-tab":"",ref:g,role:"tab",id:"tab:"+m,tabIndex:d?0:-1,"aria-selected":d,"aria-controls":"panel:"+m,"data-selected":d?"":void 0,onClick:h,children:o},v))})),v=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,o=f(e,["children","as"]),i=o.selectedIndex,s=o._selectedPanelRef,c=(o._userInteractedRef,o._onFocusPanel,o._onSelectTab,o._id),d=f(o,["selectedIndex","_selectedPanelRef","_userInteractedRef","_onFocusPanel","_onSelectTab","_id"]),p=r.Children.map(n,(function(e,t){return(0,r.cloneElement)(e,{isSelected:t===i,_selectedPanelRef:s,_id:g(c,t)})}));return r.createElement(l,u({"data-reach-tab-panels":"",ref:t},d,{children:p}))})),b=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,o=f(e,["children","as"]),i=o.isSelected,s=o._selectedPanelRef,c=o._id,d=f(o,["isSelected","_selectedPanelRef","_id"]);return r.createElement(l,u({"data-reach-tab-panel":"",ref:i?s:void 0,role:"tabpanel",tabIndex:-1,"aria-labelledby":"tab:"+c,hidden:!i,id:"panel:"+c,children:n},d))}));var g=function(e,t){return e+":"+t},y=n(7462),S=n(3935);function E(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var w=function(e){e.initialState,e.getInitialState,e.refs,e.getRefs,e.didMount,e.didUpdate,e.willUnmount,e.getSnapshotBeforeUpdate,e.shouldUpdate,e.render;return function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["initialState","getInitialState","refs","getRefs","didMount","didUpdate","willUnmount","getSnapshotBeforeUpdate","shouldUpdate","render"])},I=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,l=Array(a),o=0;o<a;o++)l[o]=arguments[o];return n=r=E(this,e.call.apply(e,[this].concat(l))),k.call(r),E(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getArgs=function(){var e=this.state,t=this.props,n=this._setState,r=this._forceUpdate,a=this._refs;return{state:e,props:w(t),refs:a,setState:n,forceUpdate:r}},t.prototype.componentDidMount=function(){this.props.didMount&&this.props.didMount(this.getArgs())},t.prototype.shouldComponentUpdate=function(e,t){return!this.props.shouldUpdate||this.props.shouldUpdate({props:this.props,state:this.state,nextProps:w(e),nextState:t})},t.prototype.componentWillUnmount=function(){this.props.willUnmount&&this.props.willUnmount({state:this.state,props:w(this.props),refs:this._refs})},t.prototype.componentDidUpdate=function(e,t,n){this.props.didUpdate&&this.props.didUpdate(Object.assign(this.getArgs(),{prevProps:w(e),prevState:t}),n)},t.prototype.getSnapshotBeforeUpdate=function(e,t){return this.props.getSnapshotBeforeUpdate?this.props.getSnapshotBeforeUpdate(Object.assign(this.getArgs(),{prevProps:w(e),prevState:t})):null},t.prototype.render=function(){var e=this.props,t=e.children,n=e.render;return n?n(this.getArgs()):"function"==typeof t?t(this.getArgs()):t||null},t}(r.Component);I.defaultProps={getInitialState:function(){},getRefs:function(){return{}}};var k=function(){var e=this;this.state=this.props.initialState||this.props.getInitialState(this.props),this._refs=this.props.refs||this.props.getRefs(this.getArgs()),this._setState=function(){return e.setState.apply(e,arguments)},this._forceUpdate=function(){return e.forceUpdate.apply(e,arguments)}};const O=I;const x=function(e){var t=e.children,n=e.type,a=void 0===n?"reach-portal":n;return r.createElement(O,{getRefs:function(){return{mountNode:null,portalNode:null}},didMount:function(e){var t=e.refs,n=e.forceUpdate,r=t.mountNode.ownerDocument;t.portalNode=r.createElement(a),r.body.appendChild(t.portalNode),n()},willUnmount:function(e){var t=e.refs.portalNode;t.ownerDocument.body.removeChild(t)},render:function(e){var n=e.refs,a=n.portalNode;return a?(0,S.createPortal)(t,a):r.createElement("div",{ref:function(e){return n.mountNode=e}})}})};var N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",padding:0,overflow:"hidden",position:"absolute"};const j=function(e){return r.createElement("div",N({style:C},e))};var T,_=["bottom","height","left","right","top","width"],A=new Map,L=function e(){var t=[];A.forEach((function(e,n){var r,a,l=n.getBoundingClientRect();r=l,a=e.rect,void 0===r&&(r={}),void 0===a&&(a={}),_.some((function(e){return r[e]!==a[e]}))&&(e.rect=l,t.push(e))})),t.forEach((function(e){e.callbacks.forEach((function(t){return t(e.rect)}))})),T=window.requestAnimationFrame(e)};const B=function(e,t){return{observe:function(){var n=0===A.size;A.has(e)?A.get(e).callbacks.push(t):A.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),n&&L()},unobserve:function(){var n=A.get(e);if(n){var r=n.callbacks.indexOf(t);r>=0&&n.callbacks.splice(r,1),n.callbacks.length||A.delete(e),A.size||cancelAnimationFrame(T)}}}};var W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},M=function(e){var t=e.refs;return(0,e.props.children)({ref:function(e){return t.node=e},rect:e.state.rect})},R=function(e){var t=e.setState,n=e.refs,r=e.props;n.node?(n.observer=B(n.node,(function(e){r.onChange&&r.onChange(e),t({rect:e})})),r.observe&&n.observer.observe()):console.warn("You need to place the ref")},D=function(e){var t=e.refs,n=e.props,r=e.prevProps;n.observe&&!r.observe?t.observer.observe():!n.observe&&r.observe&&t.observer.unobserve()},P=function(e){e.refs.observer.unobserve()},U=function(e){return r.createElement(O,W({},e,{refs:{node:void 0,observer:void 0},initialState:{rect:void 0},didMount:R,didUpdate:D,willUnmount:P,render:M}))};function z(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=(0,r.useState)(null),a=n[0],l=n[1],o=(0,r.useRef)(null);return(0,r.useLayoutEffect)((function(){return o.current||(o.current=B(e.current,l)),t&&o.current.observe(),function(){return o.current.unobserve()}}),[t]),a}U.defaultProps={observe:!0};var H,Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function V(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var F="idle",K="focused",Y="visible",G="leavingVisible",q="dismissed",X={initial:F,states:(H={},H[F]={enter:re,on:{mouseenter:K,focus:Y}},H[K]={enter:function(){clearTimeout(te),te=setTimeout((function(){return J("rest")}),100)},leave:function(){clearTimeout(te)},on:{mousemove:K,mouseleave:F,mousedown:q,blur:F,rest:Y}},H[Y]={on:{focus:K,mouseenter:K,mouseleave:G,blur:G,mousedown:q,selectWithKeyboard:q,globalMouseMove:G}},H[G]={enter:function(){clearTimeout(ne),ne=setTimeout((function(){return J("timecomplete")}),500)},leave:function(){clearTimeout(ne),re()},on:{mouseenter:Y,focus:Y,timecomplete:F}},H[q]={leave:function(){$.id=null},on:{mouseleave:F,blur:F}},H)},$={id:null},Q=X.initial;function J(e,t){var n=X.states[Q],r=n.on[e];if(!r)throw new Error('Unknown state for action "'+e+'" from state "'+Q+'"');n.leave&&n.leave(),t&&($=t);var a=X.states[r];a.enter&&a.enter(),Q=r,ee.forEach((function(e){return e(Q,$)}))}var ee=[];var te=void 0;var ne=void 0;function re(){$.id=null}function ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onMouseEnter,n=e.onMouseMove,a=e.onMouseLeave,l=e.onFocus,s=(e.onBlur,e.onKeyDown),c=e.onMouseDown,u=e.ref,f=e.DEBUG_STYLE,p="tooltip:"+d(),h=(0,r.useState)(!!f||$.id===p&&Q===Y),m=h[0],v=h[1],b=u||(0,r.useRef)(),g=z(b,m);(0,r.useEffect)((function(){return e=function(){$.id!==p||Q!==Y&&Q!==G?v(!1):v(!0)},ee.push(e),function(){ee.splice(ee.indexOf(e),1)};var e}),[p]),(0,r.useEffect)((function(){return o("tooltip")}));return[{"aria-describedby":p,"data-reach-tooltip-trigger":"",ref:b,onMouseEnter:i(t,(function(){switch(Q){case F:case Y:case G:J("mouseenter",{id:p})}})),onMouseMove:i(n,(function(){if(Q===K)J("mousemove",{id:p})})),onFocus:i(l,(function(e){if(!window.__REACH_DISABLE_TOOLTIPS)switch(Q){case F:case Y:case G:J("focus",{id:p})}})),onBlur:i(l,(function(){if($.id===p)switch(Q){case K:case Y:case q:J("blur")}})),onMouseLeave:i(a,(function(){switch(Q){case K:case Y:case q:J("mouseleave")}})),onKeyDown:i(s,(function(e){if(("Enter"===e.key||" "===e.key)&&Q===Y)J("selectWithKeyboard")})),onMouseDown:i(c,(function(){if($.id===p)switch(Q){case K:case Y:J("mousedown")}}))},{id:p,triggerRect:g,isVisible:m},m]}var le=(0,r.forwardRef)((function(e,t){var n=e.label,a=e.ariaLabel,l=e.position,o=e.isVisible,i=e.id,s=e.triggerRect,c=V(e,["label","ariaLabel","position","isVisible","id","triggerRect"]);return o?r.createElement(x,null,r.createElement(oe,Z({label:n,ariaLabel:a,position:l,isVisible:o,id:i,triggerRect:s,ref:t},c))):null})),oe=(0,r.forwardRef)((function(e,t){var n=e.label,a=e.ariaLabel,l=e.position,o=void 0===l?se:l,i=e.isVisible,s=e.id,c=e.triggerRect,d=e.style,u=V(e,["label","ariaLabel","position","isVisible","id","triggerRect","style"]),f=null!=a,p=(0,r.useRef)(),h=z(p,i);return r.createElement(r.Fragment,null,r.createElement("div",Z({"data-reach-tooltip":!0,role:f?void 0:"tooltip",id:f?void 0:s,children:n,style:Z({},d,ie(o,c,h)),ref:function(e){p.current=e,t&&t(e)}},u)),f&&r.createElement(j,{role:"tooltip",id:s},a))})),ie=function(e,t,n){return!n?{visibility:"hidden"}:e(t,n)},se=function(e,t){var n={left:e.left+window.pageXOffset+"px",top:e.top+e.height+window.pageYOffset+"px"},r={top:e.top-t.height<0,right:window.innerWidth<e.left+t.width,bottom:window.innerHeight<e.bottom+t.height+8,left:e.left-t.width<0},a=r.bottom&&!r.top;return Z({},n,{left:r.right&&!r.left?e.right-t.width+window.pageXOffset+"px":e.left+window.pageXOffset+"px",top:a?e.top-8-t.height+window.pageYOffset+"px":e.top+8+e.height+window.pageYOffset+"px"})};const ce=(e,t)=>{const n=e.left+e.width/2-t.width/2,r=window.innerWidth-t.width-2;return{left:Math.min(Math.max(2,n),r)+window.scrollX,top:e.bottom+8+window.scrollY}};const de=function(e){let{children:t,label:n,ariaLabel:a}=e;const[l,o]=ae(),{isVisible:i,triggerRect:s}=o;return r.createElement(r.Fragment,null,r.cloneElement(t,l),i&&r.createElement("div",{style:{position:"absolute",left:s&&s.left-10+s.width/2,top:s&&s.bottom+window.scrollY,width:0,height:0,borderLeft:"10px solid transparent",borderRight:"10px solid transparent",borderBottom:"10px solid black"}}),r.createElement(le,(0,y.Z)({},o,{label:n,ariaLabel:a,style:{background:"black",color:"white",border:"none",borderRadius:"3px",padding:"0.5em 1em"},position:ce})))};var ue=n(8357);function fe(e){return(0,ue.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"}}]})(e)}function pe(e){return(0,ue.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2zm0 14H5V8h14v10z"}}]})(e)}function he(e){return(0,ue.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M7 14c-1.66 0-3 1.34-3 3 0 1.31-1.16 2-2 2 .92 1.22 2.49 2 4 2 2.21 0 4-1.79 4-4 0-1.66-1.34-3-3-3zm13.71-9.37l-1.34-1.34c-.39-.39-1.02-.39-1.41 0L9 12.25 11.75 15l8.96-8.96c.39-.39.39-1.02 0-1.41z"}}]})(e)}const me=e=>{let{component:t,js:n,css:a}=e;return r.createElement(p,{className:"code-tabs"},r.createElement(h,null,r.createElement(m,null,r.createElement(de,{label:"Live Example"},r.createElement("div",null,r.createElement("span",{class:"visually-hidden"},"Live Example"),r.createElement(pe,{"aria-hidden":!0})))),r.createElement(m,null,r.createElement(de,{label:"Code"},r.createElement("div",null,r.createElement("span",{class:"visually-hidden"},"Code"),r.createElement(fe,{"aria-hidden":!0})))),r.createElement(m,null,r.createElement(de,{label:"Styles"},r.createElement("div",null,r.createElement("span",{class:"visually-hidden"},"Styles"),r.createElement(he,{"aria-hidden":!0}))))),r.createElement(v,null,r.createElement(b,{className:"code-tabs-tabpanel__component"},r.createElement(t,null)),r.createElement(b,null,r.createElement(l,{className:"language-js"},n)),r.createElement(b,null,r.createElement(l,{className:"language-css"},a))))}},4184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var o=a.apply(null,n);o&&e.push(o)}}else if("object"===l){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var i in n)r.call(n,i)&&n[i]&&e.push(i)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},7594:(e,t)=>{function n(e){let t,n=[];for(let r of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,a,l]=t;if(r&&l){r=parseInt(r),l=parseInt(l);const e=r<l?1:-1;"-"!==a&&".."!==a&&"\u2025"!==a||(l+=e);for(let t=r;t!==l;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},148:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>fe,fK:()=>$});var r=n(4184),a=n.n(r),l=n(5697),o=n.n(l),i=n(7294);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l=[],o=!0,i=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(l.push(r.value),!t||l.length!==t);o=!0);}catch(e){i=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(i)throw a}}return l}}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=f(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,o=!0,i=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){i=!0,l=e},f:function(){try{o||null==n.return||n.return()}finally{if(i)throw l}}}}function m(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}var v={root:"tree",node:"tree-node",branch:"tree-node__branch",branchWrapper:"tree-branch-wrapper",leafListItem:"tree-leaf-list-item",leaf:"tree-node__leaf",nodeGroup:"tree-node-group"},b={select:"SELECT",focus:"FOCUS",exclusiveSelect:"EXCLUSIVE_SELECT"},g=Object.freeze(Object.values(b)),y=Object.freeze(Object.values({check:"check",select:"select"})),S="COLLAPSE",E="COLLAPSE_MANY",w="EXPAND",I="EXPAND_MANY",k="HALF_SELECT",O="SELECT",x="DESELECT",N="TOGGLE",C="TOGGLE_SELECT",j="SELECT_MANY",T="EXCLUSIVE_CHANGE_SELECT_MANY",_="FOCUS",A="BLUR",L="CLEAR_MANUALLY_TOGGLED",B="CONTROLLED_SELECT_MANY",W="UPDATE_TREE_STATE_WHEN_DATA_CHANGED",M=function(){},R=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=0,r=t;n<r.length;n++){var a=r[n];if(a&&a(e),e.defaultPrevented)break}}},D=function(e,t){var n,r=new Set,a=h(e);try{for(a.s();!(n=a.n()).done;){var l=n.value;t.has(l)||r.add(l)}}catch(e){a.e(e)}finally{a.f()}return r},P=function(e,t){return new Set([].concat(u(D(e,t)),u(D(t,e))))},U=function(e){var t=(0,i.useRef)();return(0,i.useEffect)((function(){t.current=e}),[e]),t.current},z=function(e,t){var n;return!!(null===(n=ae(e,t).children)||void 0===n?void 0:n.length)},H=function(e,t){return ae(e,t).parent},Z=function(e,t,n){for(var r=t,a=[];;){var l=H(e,r);if(0===l||null==l||null!=l&&n.has(l))break;a.push(l),r=l}return a},V=function(e,t,n){var r=[];return function e(t,a){var l=ae(t,a);if(null!=l.children){var o,i=h(l.children.filter((function(e){return!n.has(e)})));try{for(i.s();!(o=i.n()).done;){var s=o.value;r.push(s),e(t,s)}}catch(e){i.e(e)}finally{i.f()}}}(e,t),r},F=function(e,t){var n=ae(e,t);return null==n.children?[]:n.children},K=function(e,t,n){var r=H(e,t);if(null!=r){var a=ae(e,r),l=a.children.indexOf(t)+n;if(a.children[l])return a.children[l]}return null},Y=function(e,t,n){var r=ae(e,t);for(re(e).id===t&&(r=ae(e,ae(e,t).children[ae(e,t).children.length-1]));n.has(r.id)&&z(e,r.id);)r=ae(e,r.children[r.children.length-1]);return r.id},G=function(e,t,n){if(t===re(e).children[0])return null;var r=K(e,t,-1);return null==r?H(e,t):Y(e,r,n)},q=function(e,t,n){var r=ae(e,t).id;if(z(e,r)&&n.has(r))return ae(e,r).children[0];for(;;){var a=K(e,r,1);if(null!=a)return a;if(null==(r=H(e,r)))return null}},X=function(e){var t=e.data,n=e.expandedIds,r=e.from,a=e.to,l=[],o=t.length,i=0,s=r;if(l.push(r),r<a)for(;i<o&&(null!=(s=q(t,s,n))&&l.push(s),null!=s&&s!==a);)i+=1;else if(r>a)for(;i<o&&(null!=(s=G(t,s,n))&&l.push(s),null!=s&&s!==a);)i+=1;return l},$=function(e){var t=0,n=[];return function e(r,a){var l,o=Object.assign(Object.assign({id:r.id||t,name:r.name,children:[]},r.isBranch&&{isBranch:r.isBranch}),{parent:a,metadata:r.metadata?Object.assign({},r.metadata):void 0});if(n.find((function(e){return e.id===o.id})))throw Error("Multiple TreeView nodes have the same ID (".concat(o.id,"). IDs must be unique."));if(n.push(o),t+=1,null===(l=r.children)||void 0===l?void 0:l.length){var i,s=h(r.children);try{for(s.s();!(i=s.n()).done;)e(i.value,o.id)}catch(e){s.e(e)}finally{s.f()}var c,d=h(n.values());try{for(d.s();!(c=d.n()).done;){var u=c.value;u.parent===o.id&&o.children.push(u.id)}}catch(e){d.e(e)}finally{d.f()}}}(e,null),n},Q=function(e){var t=e.isSelected,n=e.isDisabled,r=e.multiSelect;return n||r?t:!!t||void 0},J=function(e){var t=e.isSelected,n=e.isDisabled,r=e.isHalfSelected,a=e.multiSelect;return n?t:r?"mixed":a?t:!!t||void 0},ee=function(e,t,n){return t.concat.apply(t,u(t.filter((function(t){return z(e,t)})).map((function(t){return V(e,t,n)}))))},te=function(e,t,n){var r=F(e,t);return z(e,t)&&!n.has(t)&&1===r.length&&r.every((function(e){return n.has(e)}))},ne=function(e,t,n,r){var a=function(e,t,n){return z(e,t)&&n.has(t)&&V(e,t,new Set).some((function(e){return n.has(e)}))}(e,t,n),l=function(e,t,n){var r=F(e,t);return z(e,t)&&n.has(t)&&1===r.length&&r.every((function(e){return n.has(e)}))}(e,t,n);return function(e,t,n,r){var a=V(e,t,new Set);return z(e,t)&&n.has(t)&&a.every((function(e){return n.has(e)}))&&a.every((function(e){return!r.has(e)}))}(e,t,n,r)?C:a&&!l?k:C},re=function(e){var t=e.find((function(e){return null===e.parent}));if(!t)throw Error("TreeView data must contain parent node.");return t},ae=function(e,t){var n=e.find((function(e){return e.id===t}));if(null==n)throw Error("Node with id=".concat(t," doesn't exist in the tree."));return n},le=function(e){var t=Array.from(new Set(e));return e.length!==t.length},oe=function(e,t){switch(t.type){case S:var n=new Set(e.expandedIds);return n.delete(t.id),Object.assign(Object.assign({},e),{expandedIds:n,tabbableId:t.id,isFocused:!0,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case E:var r,a=new Set(e.expandedIds),l=h(t.ids);try{for(l.s();!(r=l.n()).done;){var o=r.value;a.delete(o)}}catch(e){l.e(e)}finally{l.f()}return Object.assign(Object.assign({},e),{expandedIds:a,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case w:var i=new Set(e.expandedIds);return i.add(t.id),Object.assign(Object.assign({},e),{expandedIds:i,tabbableId:t.id,isFocused:!0,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case I:var s=new Set([].concat(u(e.expandedIds),u(t.ids)));return Object.assign(Object.assign({},e),{expandedIds:s,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case N:var c=new Set(e.expandedIds);return e.expandedIds.has(t.id)?c.delete(t.id):c.add(t.id),Object.assign(Object.assign({},e),{expandedIds:c,tabbableId:t.id,isFocused:!0,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case k:if(e.disabledIds.has(t.id))return e;var d=new Set(e.halfSelectedIds),f=new Set(e.selectedIds);return d.add(t.id),f.delete(t.id),Object.assign(Object.assign({},e),{selectedIds:f,halfSelectedIds:d,tabbableId:t.keepFocus?e.tabbableId:t.id,lastAction:t.type,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled,lastUserSelect:t.NotUserAction?e.lastUserSelect:t.id});case O:if(!t.NotUserAction&&e.disabledIds.has(t.id))return e;var p;t.multiSelect?(p=new Set(e.selectedIds)).add(t.id):(p=new Set).add(t.id);var m=new Set(e.halfSelectedIds);return m.delete(t.id),Object.assign(Object.assign({},e),{selectedIds:p,halfSelectedIds:m,tabbableId:t.keepFocus?e.tabbableId:t.id,isFocused:!0!==t.NotUserAction,lastUserSelect:t.NotUserAction?e.lastUserSelect:t.id,lastAction:t.type,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled});case x:if(!t.NotUserAction&&e.disabledIds.has(t.id))return e;var v,b=new Set(e.selectedIds);return b.delete(t.id),t.multiSelect?(v=new Set(e.halfSelectedIds)).delete(t.id):v=new Set,Object.assign(Object.assign({},e),{selectedIds:b,halfSelectedIds:v,tabbableId:t.keepFocus?e.tabbableId:t.id,isFocused:!0,lastUserSelect:t.NotUserAction?e.lastUserSelect:t.id,lastAction:t.type,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled});case C:if(e.disabledIds.has(t.id))return e;var g,y=e.selectedIds.has(t.id);t.multiSelect?(g=new Set(e.selectedIds),y?g.delete(t.id):g.add(t.id)):(g=new Set,y||g.add(t.id));var M=new Set(e.halfSelectedIds);return M.delete(t.id),Object.assign(Object.assign({},e),{selectedIds:g,halfSelectedIds:M,tabbableId:t.id,isFocused:!0,lastUserSelect:t.NotUserAction?e.lastUserSelect:t.id,lastAction:t.type,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled});case j:var R,P=t.ids.filter((function(t){return!e.disabledIds.has(t)}));if(t.multiSelect){R=t.select?new Set([].concat(u(e.selectedIds),u(P))):D(e.selectedIds,new Set(P));var U=D(e.halfSelectedIds,R);return Object.assign(Object.assign({},e),{selectedIds:R,halfSelectedIds:U,lastAction:t.type,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled})}return e;case T:var z,H=t.ids.filter((function(t){return!e.disabledIds.has(t)}));if(t.multiSelect){z=t.select?new Set(H):D(e.selectedIds,new Set(H));var Z=D(e.halfSelectedIds,z);return Object.assign(Object.assign({},e),{selectedIds:z,halfSelectedIds:Z,lastAction:t.type,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled})}return e;case B:var V,F=e.lastInteractedWith,K=e.tabbableId;if(t.multiSelect)V=new Set(t.ids),t.ids.length&&(F=t.ids[t.ids.length-1],K=t.ids[t.ids.length-1]);else{V=new Set,t.ids.length>1&&console.warn("Tree in singleSelect mode, only the first item from selectedIds will be selected.");var Y=t.ids[0];Y&&V.add(Y),F=null!=Y?Y:F,K=null!=Y?Y:F}var G=new Set(e.halfSelectedIds);t.ids.every((function(e){return G.delete(e)}));var q=new Set(t.ids);return Object.assign(Object.assign({},e),{selectedIds:V,halfSelectedIds:G,controlledIds:q,isFocused:!0,lastAction:t.type,tabbableId:K,lastInteractedWith:F});case _:return Object.assign(Object.assign({},e),{tabbableId:t.id,isFocused:!0,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case A:return Object.assign(Object.assign({},e),{isFocused:!1});case"DISABLE":var X=new Set(e.disabledIds);return X.add(t.id),Object.assign(Object.assign({},e),{disabledIds:X});case"ENABLE":var $=new Set(e.disabledIds);return $.delete(t.id),Object.assign(Object.assign({},e),{disabledIds:$});case L:return Object.assign(Object.assign({},e),{lastManuallyToggled:null});case W:return Object.assign(Object.assign({},e),{tabbableId:t.tabbableId,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled,lastUserSelect:t.lastUserSelect});default:throw new Error("Invalid action passed to the reducer")}},ie=function(e){var t,n=e.element,r=e.dispatch,l=e.data,o=e.selectedIds,s=e.tabbableId,d=e.isFocused,f=e.expandedIds,p=e.disabledIds,h=e.halfSelectedIds,v=e.lastUserSelect,g=e.nodeRefs,y=e.leafRefs,S=e.baseClassNames,w=e.nodeRenderer,I=e.nodeAction,k=e.setsize,x=e.posinset,A=e.level,L=e.propagateCollapse,B=e.propagateSelect,W=e.multiSelect,D=e.togglableSelect,P=e.clickAction,U=e.state,H=function(e){if(!(e.ctrlKey||e.altKey||e.shiftKey))if(f.has(n.id)&&L){var t=[n.id].concat(u(V(l,n.id,new Set)));r({type:E,ids:t,lastInteractedWith:n.id})}else r({type:N,id:n.id,lastInteractedWith:n.id})},Z=function(){return r({type:_,id:n.id,lastInteractedWith:n.id})},F=function(e){if(e.shiftKey){var t=X({data:l,expandedIds:f,from:v,to:n.id}).filter((function(e){return!p.has(e)}));t=B?ee(l,t,p):t,r({type:T,select:!0,multiSelect:W,ids:t,lastInteractedWith:n.id,lastManuallyToggled:n.id})}else e.ctrlKey||P===b.select?(r({type:D?ne(l,n.id,o,p):O,id:n.id,multiSelect:W,lastInteractedWith:n.id,lastManuallyToggled:n.id}),B&&!p.has(n.id)&&r({type:j,ids:ee(l,[n.id],p),select:!D||!o.has(n.id),multiSelect:W,lastInteractedWith:n.id,lastManuallyToggled:n.id})):P===b.exclusiveSelect?r({type:D?C:O,id:n.id,multiSelect:!1,lastInteractedWith:n.id,lastManuallyToggled:n.id}):P===b.focus&&r({type:_,id:n.id,lastInteractedWith:n.id})},K=function(e){var t;return a()(e,(c(t={},"".concat(e,"--expanded"),f.has(n.id)),c(t,"".concat(e,"--selected"),o.has(n.id)),c(t,"".concat(e,"--focused"),s===n.id&&d),t))},Y="select"===I?{"aria-selected":Q({isSelected:o.has(n.id),isDisabled:p.has(n.id),multiSelect:W})}:{"aria-checked":J({isSelected:o.has(n.id),isDisabled:p.has(n.id),isHalfSelected:h.has(n.id),multiSelect:W})};return z(l,n.id)||n.isBranch?i.createElement("li",Object.assign({role:"treeitem","aria-expanded":f.has(n.id),"aria-setsize":k,"aria-posinset":x,"aria-level":A,"aria-disabled":p.has(n.id),tabIndex:s===n.id?0:-1,ref:function(e){null!=(null==g?void 0:g.current)&&null!=e&&(g.current[n.id]=e)},className:S.branchWrapper},Y),i.createElement(i.Fragment,null,w({element:n,isBranch:!0,isSelected:o.has(n.id),isHalfSelected:h.has(n.id),isExpanded:f.has(n.id),isDisabled:p.has(n.id),dispatch:r,getNodeProps:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onClick;return{onClick:null==e?R(F,H,Z):R(e,Z),className:a()(K(S.node),S.branch),ref:function(e){null!=(null==y?void 0:y.current)&&(y.current[n.id]=e)}}},setsize:k,posinset:x,level:A,handleSelect:F,handleExpand:H,treeState:U}),i.createElement(se,Object.assign({getClasses:K},((t=e).setsize,t.posinset,m(t,["setsize","posinset"])))))):i.createElement("li",{role:"none",className:K(S.leafListItem)},w({element:n,isBranch:!1,isSelected:o.has(n.id),isHalfSelected:!1,isExpanded:!1,isDisabled:p.has(n.id),dispatch:r,getNodeProps:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onClick;return Object.assign({role:"treeitem",tabIndex:s===n.id?0:-1,onClick:R(null==e?F:e,Z),ref:function(e){null!=(null==g?void 0:g.current)&&null!=(null==y?void 0:y.current)&&(g.current[n.id]=e,y.current[n.id]=e)},className:a()(K(S.node),S.leaf),"aria-setsize":k,"aria-posinset":x,"aria-level":A,disabled:p.has(n.id),"aria-disabled":p.has(n.id)},Y)},setsize:k,posinset:x,level:A,handleSelect:F,handleExpand:M,treeState:U}))},se=function(e){var t=e.data,n=e.element,r=e.expandedIds,a=e.getClasses,l=e.baseClassNames,o=e.level,c=m(e,["data","element","expandedIds","getClasses","baseClassNames","level"]);return i.createElement("ul",{role:"group",className:a(l.nodeGroup)},r.has(n.id)&&n.children.length>0&&n.children.map((function(e,a){return i.createElement(ie,Object.assign({data:t,expandedIds:r,baseClassNames:l,key:"".concat(e,"-").concat(s(e)),element:ae(t,e),setsize:n.children.length,posinset:a+1,level:o+1},c))})))},ce=function(e){var t=e.data,n=e.controlledSelectedIds,r=e.controlledExpandedIds,a=e.defaultExpandedIds,l=e.defaultSelectedIds,o=e.defaultDisabledIds,s=e.nodeRefs,c=e.leafRefs,f=e.onSelect,p=e.onNodeSelect,m=e.onExpand,v=e.onLoadData,b=e.togglableSelect,g=e.multiSelect,y=e.propagateSelect,C=e.propagateSelectUpwards,T=re(t),A=d((0,i.useReducer)(oe,{selectedIds:new Set(n||l),controlledIds:new Set(n),tabbableId:T.children[0],isFocused:!1,expandedIds:new Set(r||a),halfSelectedIds:new Set,lastUserSelect:T.children[0],lastInteractedWith:null,lastManuallyToggled:null,disabledIds:new Set(o)}),2),R=A[0],F=A[1],K=R.selectedIds,Y=R.expandedIds,G=R.disabledIds,q=R.tabbableId,X=R.halfSelectedIds,$=R.lastAction,Q=R.lastInteractedWith,J=R.lastManuallyToggled,ne=U(K)||new Set,le=P(K,ne);(0,i.useEffect)((function(){var e;if(null!=f&&f!==M){var n,r=h(le);try{for(r.s();!(n=r.n()).done;){var a=n.value,l=z(t,a)||!!(null===(e=ae(t,q))||void 0===e?void 0:e.isBranch);f({element:ae(t,a),isBranch:l,isExpanded:!!l&&Y.has(a),isSelected:K.has(a),isDisabled:G.has(a),isHalfSelected:!!l&&X.has(a),treeState:R})}}catch(e){r.e(e)}finally{r.f()}}}),[t,K,Y,G,X,le,f,R]),(0,i.useEffect)((function(){null!=p&&p!==M&&null!=J&&le.size&&(p({element:ae(t,J),isSelected:K.has(J),isBranch:z(t,J),treeState:R}),F({type:L}))}),[J,K,le]);var ie=U(Y)||new Set;(0,i.useEffect)((function(){var e=P(Y,ie);if(null!=m&&m!==M){var n,r=h(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;m({element:ae(t,a),isExpanded:Y.has(a),isSelected:K.has(a),isDisabled:G.has(a),isHalfSelected:X.has(a),treeState:R})}}catch(e){r.e(e)}finally{r.f()}}}),[t,K,Y,G,X,ie,m,R]);var se,ce,de=(se=t,ce=(0,i.useRef)(),(0,i.useEffect)((function(){ce.current=se})),ce.current||new Map);(0,i.useEffect)((function(){var e=P(Y,ie);if(v){var n,r=h(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;v({element:ae(t,a),isExpanded:Y.has(a),isSelected:K.has(a),isDisabled:G.has(a),isHalfSelected:X.has(a),treeState:R})}}catch(e){r.e(e)}finally{r.f()}if(de!==t&&b&&y){var l,o=h(Y);try{for(o.s();!(l=o.n()).done;){var i=l.value;K.has(i)&&F({type:j,ids:ee(t,[i],G),select:!0,multiSelect:g,lastInteractedWith:i})}}catch(e){o.e(e)}finally{o.f()}}}}),[t,K,Y,G,X,ie,v,R]),(0,i.useEffect)((function(){if(de!==t){var e=re(t);e.children.length&&F({type:W,tabbableId:t.find((function(e){return e.id===R.tabbableId}))?R.tabbableId:e.children[0],lastInteractedWith:t.find((function(e){return e.id===R.lastInteractedWith}))?R.lastInteractedWith:null,lastManuallyToggled:t.find((function(e){return e.id===R.lastManuallyToggled}))?R.lastManuallyToggled:null,lastUserSelect:t.find((function(e){return e.id===R.lastUserSelect}))?R.lastUserSelect:e.children[0]})}}),[t]);var ue=P(new Set(n),K);return(0,i.useEffect)((function(){if(n){ue.size&&F({type:B,ids:n,multiSelect:g});var e,r=h(n);try{for(r.s();!(e=r.n()).done;){var a=e.value;y&&!G.has(a)&&F({type:j,ids:ee(t,[a],G),select:!0,multiSelect:g,lastInteractedWith:a})}}catch(e){r.e(e)}finally{r.f()}}}),[n]),(0,i.useEffect)((function(){var e=new Set(r),n=D(e,ie),a=D(ie,e);if(a.size){var l,o=h(a);try{for(o.s();!(l=o.n()).done;){var i=l.value;if(z(t,i)||ae(t,i).isBranch){var s=[i].concat(u(V(t,i,new Set)));F({type:E,ids:s,lastInteractedWith:i})}}}catch(e){o.e(e)}finally{o.f()}}if(n.size){var c,d=h(n);try{for(d.s();!(c=d.n()).done;){var f=c.value;if(z(t,f)||ae(t,f).isBranch){var p=H(t,f);F(p?{type:I,ids:[f,p],lastInteractedWith:f}:{type:w,id:f,lastInteractedWith:f})}}}catch(e){d.e(e)}finally{d.f()}}}),[r]),(0,i.useEffect)((function(){if(C){var e=new Set(u(le));Q&&$!==_&&$!==S&&$!==w&&$!==N&&e.add(Q);var n=[];e.forEach((function(e){t.find((function(t){return t.id===e}))||n.push(e)})),n.forEach((function(t){return e.delete(t)}));var r,a=function(e,t,n,r,a,l){var o,i={every:new Set,some:new Set,none:new Set},s=h(t);try{for(s.s();!(o=s.n()).done;)for(var c=o.value;;){var d=H(e,c);if(0===d||null==d||null!=d&&r.has(d))break;var u=ae(e,d).children.filter((function(e){return!r.has(e)}));if(0===u.length)break;if(u.some((function(e){return n.has(e)||i.some.has(e)&&!i.none.has(e)||a.has(e)&&!i.none.has(e)})))u.every((function(e){return n.has(e)}))?i.every.add(d):i.some.add(d);else{var f=Z(e,c,r).find((function(e){return n.has(e)}));if(!l&&f){V(e,f,r).forEach((function(e){a.has(e)&&i.none.add(e)}));break}i.none.add(d)}c=d}}catch(e){s.e(e)}finally{s.f()}return i}(t,e,K,G,X,g),l=a.every,o=a.some,i=a.none,s=h(l);try{for(s.s();!(r=s.n()).done;){var c=r.value;K.has(c)||F({type:O,id:c,multiSelect:g||te(t,c,K),keepFocus:!0,NotUserAction:!0,lastInteractedWith:Q})}}catch(e){s.e(e)}finally{s.f()}var d,f=h(o);try{for(f.s();!(d=f.n()).done;){var p=d.value;X.has(p)||F({type:k,id:p,lastInteractedWith:Q,keepFocus:!0,NotUserAction:!0})}}catch(e){f.e(e)}finally{f.f()}var m,v=h(i);try{for(v.s();!(m=v.n()).done;){var b=m.value;(K.has(b)||X.has(b))&&F({type:x,id:b,multiSelect:g,keepFocus:!0,NotUserAction:!0,lastInteractedWith:Q,lastManuallyToggled:J})}}catch(e){v.e(e)}finally{v.f()}}}),[t,g,C,K,Y,G,X,$,ne,le,Q,ue]),(0,i.useEffect)((function(){if(null!=Q&&null!=q&&null!=(null==s?void 0:s.current)&&null!=(null==c?void 0:c.current)){var e=s.current[q];!function(e){null!=e&&e.scrollIntoView&&e.scrollIntoView({block:"nearest"})}(c.current[Q]),function(e){null!=e&&e.focus&&e.focus({preventScroll:!0})}(e)}}),[q,s,c,Q]),[R,F]},de=i.forwardRef((function(e,t){var n=e.data,r=e.selectedIds,l=e.nodeRenderer,o=e.onSelect,c=void 0===o?M:o,u=e.onNodeSelect,f=void 0===u?M:u,p=e.onExpand,h=void 0===p?M:p,g=e.onLoadData,y=e.className,S=void 0===y?"":y,E=e.multiSelect,w=void 0!==E&&E,I=e.propagateSelect,k=void 0!==I&&I,O=e.propagateSelectUpwards,x=void 0!==O&&O,N=e.propagateCollapse,C=void 0!==N&&N,j=e.expandOnKeyboardSelect,T=void 0!==j&&j,_=e.togglableSelect,L=void 0!==_&&_,B=e.defaultExpandedIds,W=void 0===B?[]:B,R=e.defaultSelectedIds,D=void 0===R?[]:R,P=e.defaultDisabledIds,U=void 0===P?[]:P,z=e.clickAction,H=void 0===z?b.select:z,Z=e.nodeAction,V=void 0===Z?"select":Z,F=e.expandedIds,K=e.onBlur,Y=m(e,["data","selectedIds","nodeRenderer","onSelect","onNodeSelect","onExpand","onLoadData","className","multiSelect","propagateSelect","propagateSelectUpwards","propagateCollapse","expandOnKeyboardSelect","togglableSelect","defaultExpandedIds","defaultSelectedIds","defaultDisabledIds","clickAction","nodeAction","expandedIds","onBlur"]);!function(e){if(le(e.map((function(e){return e.id}))))throw Error("Multiple TreeView nodes have the same ID. IDs must be unique.");if(e.forEach((function(e){if(e.id===e.parent)throw Error("Node with id=".concat(e.id," has parent reference to itself."));if(le(e.children))throw Error("Node with id=".concat(e.id," contains duplicate ids in its children."))})),0===e.filter((function(e){return null===e.parent})).length)throw Error("TreeView must have one root node.");if(e.filter((function(e){return null===e.parent})).length>1)throw Error("TreeView can have only one root node.");re(e).children.length||console.warn("TreeView have no nodes to display.")}(n);var G=(0,i.useRef)({}),q=(0,i.useRef)({}),X=d(ce({data:n,controlledSelectedIds:r,controlledExpandedIds:F,defaultExpandedIds:W,defaultSelectedIds:D,defaultDisabledIds:U,nodeRefs:G,leafRefs:q,onSelect:c,onNodeSelect:f,onExpand:h,onLoadData:g,togglableSelect:L,multiSelect:w,propagateSelect:k,propagateSelectUpwards:x}),2),$=X[0],Q=X[1];k=k&&w;var J=(0,i.useRef)(null);return null!=t&&(J=t),i.createElement("ul",Object.assign({className:a()(v.root,S),role:"tree","aria-multiselectable":"select"===V?w:void 0,ref:J,onBlur:function(e){!function(e,t,n){null!=t?window.navigator.userAgent.match(/Trident/)?setTimeout((function(){return!t.contains(document.activeElement)&&n()}),0):!t.contains(e.nativeEvent.relatedTarget)&&n():console.warn("ref not set on <ul>")}(e,J.current,(function(){K&&K({treeState:$,dispatch:Q}),Q({type:A})}))},onKeyDown:ue({data:n,tabbableId:$.tabbableId,expandedIds:$.expandedIds,selectedIds:$.selectedIds,disabledIds:$.disabledIds,halfSelectedIds:$.halfSelectedIds,clickAction:H,dispatch:Q,propagateCollapse:C,propagateSelect:k,multiSelect:w,expandOnKeyboardSelect:T,togglableSelect:L})},Y),re(n).children.map((function(e,t){return i.createElement(ie,Object.assign({key:"".concat(e,"-").concat(s(e)),data:n,element:ae(n,e),setsize:re(n).children.length,posinset:t+1,level:1},$,{state:$,dispatch:Q,nodeRefs:G,leafRefs:q,baseClassNames:v,nodeRenderer:l,propagateCollapse:C,propagateSelect:k,propagateSelectUpwards:x,multiSelect:w,togglableSelect:L,clickAction:H,nodeAction:V}))})))})),ue=function(e){var t=e.data,n=e.expandedIds,r=e.selectedIds,a=e.disabledIds,l=e.tabbableId,o=e.dispatch,i=e.propagateCollapse,s=e.propagateSelect,c=e.multiSelect,d=e.expandOnKeyboardSelect,f=e.togglableSelect,p=e.clickAction;return function(e){var h=ae(t,l),m=h.id;if(e.ctrlKey){if("a"===e.key){e.preventDefault();var v=t.filter((function(e){return null!==e.parent})).map((function(e){return e.id})).filter((function(e){return!a.has(e)}));o({type:j,multiSelect:c,select:Array.from(r).filter((function(e){return!a.has(e)})).length!==v.length,ids:v,lastInteractedWith:h.id})}else if(e.shiftKey&&("Home"===e.key||"End"===e.key)){var g="Home"===e.key?re(t).children[0]:Y(t,m,n),y=X({data:t,expandedIds:n,from:m,to:g}).filter((function(e){return!a.has(e)}));o({type:j,multiSelect:c,select:!0,ids:s?ee(t,y,a):y}),o({type:_,id:g,lastInteractedWith:g})}}else{if(e.shiftKey)switch(e.key){case"ArrowUp":e.preventDefault();var k=G(t,m,n);return void(null==k||a.has(k)||(o({type:j,ids:s?ee(t,[k],a):[k],select:!0,multiSelect:c,lastInteractedWith:k,lastManuallyToggled:k}),o({type:_,id:k,lastInteractedWith:k})));case"ArrowDown":e.preventDefault();var x=q(t,m,n);return void(null==x||a.has(x)||(o({type:j,ids:s?ee(t,[x],a):[x],multiSelect:c,select:!0,lastInteractedWith:x,lastManuallyToggled:x}),o({type:_,id:x,lastInteractedWith:x})))}switch(e.key){case"ArrowDown":e.preventDefault();var C=q(t,m,n);return void(null!=C&&o({type:_,id:C,lastInteractedWith:C}));case"ArrowUp":e.preventDefault();var T=G(t,m,n);return void(null!=T&&o({type:_,id:T,lastInteractedWith:T}));case"ArrowLeft":if(e.preventDefault(),(z(t,m)||h.isBranch)&&n.has(l))if(i){var A=[m].concat(u(V(t,m,new Set)));o({type:E,ids:A,lastInteractedWith:h.id})}else o({type:S,id:m,lastInteractedWith:m});else if(!re(t).children.includes(m)){var L=H(t,m);if(null==L)throw new Error("parentId of root element is null");o({type:_,id:L,lastInteractedWith:L})}return;case"ArrowRight":return e.preventDefault(),void((z(t,m)||h.isBranch)&&(n.has(l)?o({type:_,id:h.children[0],lastInteractedWith:h.children[0]}):o({type:w,id:m,lastInteractedWith:m})));case"Home":e.preventDefault(),o({type:_,id:re(t).children[0],lastInteractedWith:re(t).children[0]});break;case"End":e.preventDefault();var B=Y(t,re(t).id,n);return void o({type:_,id:B,lastInteractedWith:B});case"*":e.preventDefault();var W=H(t,m);if(null==W)throw new Error("parentId of element is null");var M=ae(t,W).children.filter((function(e){return z(t,e)||ae(t,e).isBranch}));return void o({type:I,ids:M,lastInteractedWith:m});case"Enter":case" ":case"Spacebar":if(e.preventDefault(),p===b.focus)return;return o({type:f?ne(t,m,r,a):O,id:m,multiSelect:c,lastInteractedWith:m,lastManuallyToggled:m}),s&&!a.has(h.id)&&o({type:j,ids:ee(t,[m],a),select:!f||!r.has(m),multiSelect:c,lastInteractedWith:m,lastManuallyToggled:m}),void(d&&o({type:N,id:m,lastInteractedWith:m}));default:if(1===e.key.length)for(var R=q(t,m,n);R!==m;)if(null!=R){if(ae(t,R).name[0].toLowerCase()===e.key.toLowerCase())return void o({type:_,id:R,lastInteractedWith:m});R=q(t,R,n)}else R=re(t).children[0];return}}}};de.propTypes={data:o().array.isRequired,onSelect:o().func,onNodeSelect:o().func,onExpand:o().func,className:o().string,nodeRenderer:o().func.isRequired,defaultExpandedIds:o().array,defaultSelectedIds:o().array,expandedIds:o().array,selectedIds:o().array,defaultDisabledIds:o().array,propagateCollapse:o().bool,propagateSelect:o().bool,propagateSelectUpwards:o().bool,multiSelect:o().bool,expandOnKeyboardSelect:o().bool,togglableSelect:o().bool,nodeAction:o().oneOf(y),clickAction:o().oneOf(g),onBlur:o().func,onLoadData:o().func};const fe=de},9583:(e,t,n)=>{"use strict";n.d(t,{AeW:()=>l,IEK:()=>c,kty:()=>o,u9M:()=>i,xik:()=>a,zuo:()=>s});var r=n(8357);function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z"}}]})(e)}function l(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"}}]})(e)}function o(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM92 296c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h264c6.6 0 12 5.4 12 12v56c0 6.6-5.4 12-12 12H92z"}}]})(e)}function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48z"}}]})(e)}function s(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M527.9 224H480v-48c0-26.5-21.5-48-48-48H272l-64-64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h400c16.5 0 31.9-8.5 40.7-22.6l79.9-128c20-31.9-3-73.4-40.7-73.4zM48 118c0-3.3 2.7-6 6-6h134.1l64 64H426c3.3 0 6 2.7 6 6v42H152c-16.8 0-32.4 8.8-41.1 23.2L48 351.4zm400 282H72l77.2-128H528z"}}]})(e)}function c(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 128H272l-54.63-54.63c-6-6-14.14-9.37-22.63-9.37H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm0 272H48V112h140.12l54.63 54.63c6 6 14.14 9.37 22.63 9.37H464v224z"}}]})(e)}},1649:(e,t,n)=>{"use strict";n.d(t,{am:()=>a});var r=n(8357);function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M192 128l128 128-128 128z"}}]})(e)}},8357:(e,t,n)=>{"use strict";n.d(t,{w_:()=>c});var r=n(7294),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l=r.createContext&&r.createContext(a),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},o.apply(this,arguments)},i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&(n[r[a]]=e[r[a]])}return n};function s(e){return e&&e.map((function(e,t){return r.createElement(e.tag,o({key:t},e.attr),s(e.child))}))}function c(e){return function(t){return r.createElement(d,o({attr:o({},e.attr)},t),s(e.child))}}function d(e){var t=function(t){var n,a=e.size||t.size||"1em";t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className);var l=e.attr,s=e.title,c=i(e,["attr","title"]);return r.createElement("svg",o({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,l,c,{className:n,style:o({color:e.color||t.color},t.style,e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),s&&r.createElement("title",null,s),e.children)};return void 0!==l?r.createElement(l.Consumer,null,(function(e){return t(e)})):t(a)}},2473:e=>{"use strict";var t=function(){};e.exports=t}}]); \ No newline at end of file diff --git a/assets/js/common.d7b5a18d.js.LICENSE.txt b/assets/js/common.3ea66e67.js.LICENSE.txt similarity index 100% rename from assets/js/common.d7b5a18d.js.LICENSE.txt rename to assets/js/common.3ea66e67.js.LICENSE.txt diff --git a/assets/js/common.d7b5a18d.js b/assets/js/common.d7b5a18d.js deleted file mode 100644 index 33d44c24..00000000 --- a/assets/js/common.d7b5a18d.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see common.d7b5a18d.js.LICENSE.txt */ -(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[592],{3905:function(e,t,n){"use strict";n.d(t,{Zo:function(){return d},kt:function(){return h}});var r=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=r.createContext({}),s=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=s(e.components);return r.createElement(c.Provider,{value:t},e.children)},u="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},p=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,c=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),u=s(n),p=a,h=u["".concat(c,".").concat(p)]||u[p]||f[p]||l;return n?r.createElement(h,i(i({ref:t},d),{},{components:n})):r.createElement(h,i({ref:t},d))}));function h(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,i=new Array(l);i[0]=p;var o={};for(var c in t)hasOwnProperty.call(t,c)&&(o[c]=t[c]);o.originalType=e,o[u]="string"==typeof e?e:a,i[1]=o;for(var s=2;s<l;s++)i[s]=n[s];return r.createElement.apply(null,i)}return r.createElement.apply(null,n)}p.displayName="MDXCreateElement"},2503:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(7462),a=n(3366),l=n(7294),i=n(6010),o=n(5999),c=n(6668),s=n(9960),d={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"},u=["as","id"];function f(e){var t=e.as,n=e.id,f=(0,a.Z)(e,u),p=(0,c.L)().navbar.hideOnScroll;if("h1"===t||!n)return l.createElement(t,(0,r.Z)({},f,{id:void 0}));var h=(0,o.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof f.children?f.children:n});return l.createElement(t,(0,r.Z)({},f,{className:(0,i.Z)("anchor",p?d.anchorWithHideOnScrollNavbar:d.anchorWithStickyNavbar,f.className),id:n}),f.children,l.createElement(s.Z,{className:"hash-link",to:"#"+n,"aria-label":h,title:h},"\u200b"))}},3511:function(e,t,n){"use strict";n.d(t,{Z:function(){return we}});var r=n(7462),a=n(7294),l=n(3366),i=n(5742),o=["mdxType","originalType"];var c=n(2389),s=n(6010),d=n(2949),u=n(6668);function f(){var e=(0,u.L)().prism,t=(0,d.I)().colorMode,n=e.theme,r=e.darkTheme||n;return"dark"===t?r:n}var p=n(5281),h=n(7099),v=n(7594),m=n.n(v),b=(0,h.Z)(/title=(["'])(.*?)\1/,{quote:1,title:2}),g=(0,h.Z)(/\{([\d,-]+)\}/,{range:1}),y={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}};function S(e,t){var n=e.map((function(e){var n=y[e],r=n.start,a=n.end;return"(?:"+r+"\\s*("+t.flatMap((function(e){var t,n;return[e.line,null==(t=e.block)?void 0:t.start,null==(n=e.block)?void 0:n.end].filter(Boolean)})).join("|")+")\\s*"+a+")"})).join("|");return new RegExp("^\\s*(?:"+n+")\\s*$")}function w(e,t){var n=e.replace(/\n$/,""),r=t.language,a=t.magicComments,l=t.metastring;if(l&&g.test(l)){var i=l.match(g).groups.range;if(0===a.length)throw new Error("A highlight range has been given in code block's metastring (``` "+l+"), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.");var o=a[0].className,c=m()(i).filter((function(e){return e>0})).map((function(e){return[e-1,[o]]}));return{lineClassNames:Object.fromEntries(c),code:n}}if(void 0===r)return{lineClassNames:{},code:n};for(var s=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return S(["js","jsBlock"],t);case"jsx":case"tsx":return S(["js","jsBlock","jsx"],t);case"html":return S(["js","jsBlock","html"],t);case"python":case"py":case"bash":return S(["bash"],t);case"markdown":case"md":return S(["html","jsx","bash"],t);default:return S(Object.keys(y),t)}}(r,a),d=n.split("\n"),u=Object.fromEntries(a.map((function(e){return[e.className,{start:0,range:""}]}))),f=Object.fromEntries(a.filter((function(e){return e.line})).map((function(e){var t=e.className;return[e.line,t]}))),p=Object.fromEntries(a.filter((function(e){return e.block})).map((function(e){var t=e.className;return[e.block.start,t]}))),h=Object.fromEntries(a.filter((function(e){return e.block})).map((function(e){var t=e.className;return[e.block.end,t]}))),v=0;v<d.length;){var b=d[v].match(s);if(b){var w=b.slice(1).find((function(e){return void 0!==e}));f[w]?u[f[w]].range+=v+",":p[w]?u[p[w]].start=v:h[w]&&(u[h[w]].range+=u[h[w]].start+"-"+(v-1)+","),d.splice(v,1)}else v+=1}n=d.join("\n");var E={};return Object.entries(u).forEach((function(e){var t=e[0],n=e[1].range;m()(n).forEach((function(e){null!=E[e]||(E[e]=[]),E[e].push(t)}))})),{lineClassNames:E,code:n}}var E={codeBlockContainer:"codeBlockContainer_Ckt0"},I=["as"];function O(e){var t=e.as,n=(0,l.Z)(e,I),i=function(e){var t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((function(e){var r=e[0],a=e[1],l=t[r];l&&"string"==typeof a&&(n[l]=a)})),n}(f());return a.createElement(t,(0,r.Z)({},n,{style:i,className:(0,s.Z)(n.className,E.codeBlockContainer,p.k.common.codeBlock)}))}var k={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function x(e){var t=e.children,n=e.className;return a.createElement(O,{as:"pre",tabIndex:0,className:(0,s.Z)(k.codeBlockStandalone,"thin-scrollbar",n)},a.createElement("code",{className:k.codeBlockLines},t))}var N=n(9688),C={attributes:!0,characterData:!0,childList:!0,subtree:!0};function j(e,t){var n=(0,a.useState)(),r=n[0],l=n[1],i=(0,a.useCallback)((function(){var t;l(null==(t=e.current)?void 0:t.closest("[role=tabpanel][hidden]"))}),[e,l]);(0,a.useEffect)((function(){i()}),[i]),function(e,t,n){void 0===n&&(n=C);var r=(0,N.zX)(t),l=(0,N.Ql)(n);(0,a.useEffect)((function(){var t=new MutationObserver(r);return e&&t.observe(e,l),function(){return t.disconnect()}}),[e,r,l])}(r,(function(e){e.forEach((function(e){"attributes"===e.type&&"hidden"===e.attributeName&&(t(),i())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var T={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},_={Prism:n(7410).Z,theme:T};function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(){return L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L.apply(this,arguments)}var B=/\r\n|\r|\n/,W=function(e){0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},M=function(e,t){var n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)};function R(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var D=function(e){function t(){for(var t=this,n=[],r=arguments.length;r--;)n[r]=arguments[r];e.apply(this,n),A(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?function(e,t){var n=e.plain,r=Object.create(null),a=e.styles.reduce((function(e,n){var r=n.languages,a=n.style;return r&&!r.includes(t)||n.types.forEach((function(t){var n=L({},e[t],a);e[t]=n})),e}),r);return a.root=n,a.plain=L({},n,{backgroundColor:null}),a}(e.theme,e.language):void 0;return t.themeDict=n})),A(this,"getLineProps",(function(e){var n=e.key,r=e.className,a=e.style,l=L({},R(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),i=t.getThemeDict(t.props);return void 0!==i&&(l.style=i.plain),void 0!==a&&(l.style=void 0!==l.style?L({},l.style,a):a),void 0!==n&&(l.key=n),r&&(l.className+=" "+r),l})),A(this,"getStyleForToken",(function(e){var n=e.types,r=e.empty,a=n.length,l=t.getThemeDict(t.props);if(void 0!==l){if(1===a&&"plain"===n[0])return r?{display:"inline-block"}:void 0;if(1===a&&!r)return l[n[0]];var i=r?{display:"inline-block"}:{},o=n.map((function(e){return l[e]}));return Object.assign.apply(Object,[i].concat(o))}})),A(this,"getTokenProps",(function(e){var n=e.key,r=e.className,a=e.style,l=e.token,i=L({},R(e,["key","className","style","token"]),{className:"token "+l.types.join(" "),children:l.content,style:t.getStyleForToken(l),key:void 0});return void 0!==a&&(i.style=void 0!==i.style?L({},i.style,a):a),void 0!==n&&(i.key=n),r&&(i.className+=" "+r),i})),A(this,"tokenize",(function(e,t,n,r){var a={code:t,grammar:n,language:r,tokens:[]};e.hooks.run("before-tokenize",a);var l=a.tokens=e.tokenize(a.code,a.grammar,a.language);return e.hooks.run("after-tokenize",a),l}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,r=e.code,a=e.children,l=this.getThemeDict(this.props),i=t.languages[n];return a({tokens:function(e){for(var t=[[]],n=[e],r=[0],a=[e.length],l=0,i=0,o=[],c=[o];i>-1;){for(;(l=r[i]++)<a[i];){var s=void 0,d=t[i],u=n[i][l];if("string"==typeof u?(d=i>0?d:["plain"],s=u):(d=M(d,u.type),u.alias&&(d=M(d,u.alias)),s=u.content),"string"==typeof s){var f=s.split(B),p=f.length;o.push({types:d,content:f[0]});for(var h=1;h<p;h++)W(o),c.push(o=[]),o.push({types:d,content:f[h]})}else i++,t.push(d),n.push(s),r.push(0),a.push(s.length)}i--,t.pop(),n.pop(),r.pop(),a.pop()}return W(o),c}(void 0!==i?this.tokenize(t,r,i,n):[r]),className:"prism-code language-"+n,style:void 0!==l?l.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},t}(a.Component),P=D,U={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function z(e){var t=e.line,n=e.classNames,l=e.showLineNumbers,i=e.getLineProps,o=e.getTokenProps;1===t.length&&"\n"===t[0].content&&(t[0].content="");var c=i({line:t,className:(0,s.Z)(n,l&&U.codeLine)}),d=t.map((function(e,t){return a.createElement("span",(0,r.Z)({key:t},o({token:e,key:t})))}));return a.createElement("span",c,l?a.createElement(a.Fragment,null,a.createElement("span",{className:U.codeLineNumber}),a.createElement("span",{className:U.codeLineContent},d)):d,a.createElement("br",null))}var Z=n(5999);function H(e){return a.createElement("svg",(0,r.Z)({viewBox:"0 0 24 24"},e),a.createElement("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"}))}function V(e){return a.createElement("svg",(0,r.Z)({viewBox:"0 0 24 24"},e),a.createElement("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}var F={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function K(e){var t=e.code,n=e.className,r=(0,a.useState)(!1),l=r[0],i=r[1],o=(0,a.useRef)(void 0),c=(0,a.useCallback)((function(){!function(e,t){var n=(void 0===t?{}:t).target,r=void 0===n?document.body:n;if("string"!=typeof e)throw new TypeError("Expected parameter `text` to be a `string`, got `"+typeof e+"`.");var a=document.createElement("textarea"),l=document.activeElement;a.value=e,a.setAttribute("readonly",""),a.style.contain="strict",a.style.position="absolute",a.style.left="-9999px",a.style.fontSize="12pt";var i=document.getSelection(),o=i.rangeCount>0&&i.getRangeAt(0);r.append(a),a.select(),a.selectionStart=0,a.selectionEnd=e.length;var c=!1;try{c=document.execCommand("copy")}catch(s){}a.remove(),o&&(i.removeAllRanges(),i.addRange(o)),l&&l.focus()}(t),i(!0),o.current=window.setTimeout((function(){i(!1)}),1e3)}),[t]);return(0,a.useEffect)((function(){return function(){return window.clearTimeout(o.current)}}),[]),a.createElement("button",{type:"button","aria-label":l?(0,Z.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,Z.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,Z.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,s.Z)("clean-btn",n,F.copyButton,l&&F.copyButtonCopied),onClick:c},a.createElement("span",{className:F.copyButtonIcons,"aria-hidden":"true"},a.createElement(H,{className:F.copyButtonIcon}),a.createElement(V,{className:F.copyButtonSuccessIcon})))}function Y(e){return a.createElement("svg",(0,r.Z)({viewBox:"0 0 24 24"},e),a.createElement("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}))}var G={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function q(e){var t=e.className,n=e.onClick,r=e.isEnabled,l=(0,Z.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return a.createElement("button",{type:"button",onClick:n,className:(0,s.Z)("clean-btn",t,r&&G.wordWrapButtonEnabled),"aria-label":l,title:l},a.createElement(Y,{className:G.wordWrapButtonIcon,"aria-hidden":"true"}))}function X(e){var t,n,l,i,o,c,d,p,h,v,m,g=e.children,y=e.className,S=void 0===y?"":y,E=e.metastring,I=e.title,x=e.showLineNumbers,N=e.language,C=(0,u.L)().prism,T=C.defaultLanguage,A=C.magicComments,L=null!=(t=null!=N?N:null==(n=S.split(" ").find((function(e){return e.startsWith("language-")})))?void 0:n.replace(/language-/,""))?t:T,B=f(),W=(l=(0,a.useState)(!1),i=l[0],o=l[1],c=(0,a.useState)(!1),d=c[0],p=c[1],h=(0,a.useRef)(null),v=(0,a.useCallback)((function(){var e=h.current.querySelector("code");i?e.removeAttribute("style"):(e.style.whiteSpace="pre-wrap",e.style.overflowWrap="anywhere"),o((function(e){return!e}))}),[h,i]),m=(0,a.useCallback)((function(){var e=h.current,t=e.scrollWidth>e.clientWidth||h.current.querySelector("code").hasAttribute("style");p(t)}),[h]),j(h,m),(0,a.useEffect)((function(){m()}),[i,m]),(0,a.useEffect)((function(){return window.addEventListener("resize",m,{passive:!0}),function(){window.removeEventListener("resize",m)}}),[m]),{codeBlockRef:h,isEnabled:i,isCodeScrollable:d,toggle:v}),M=function(e){var t,n;return null!=(t=null==e||null==(n=e.match(b))?void 0:n.groups.title)?t:""}(E)||I,R=w(g,{metastring:E,language:L,magicComments:A}),D=R.lineClassNames,U=R.code,Z=null!=x?x:function(e){return Boolean(null==e?void 0:e.includes("showLineNumbers"))}(E);return a.createElement(O,{as:"div",className:(0,s.Z)(S,L&&!S.includes("language-"+L)&&"language-"+L)},M&&a.createElement("div",{className:k.codeBlockTitle},M),a.createElement("div",{className:k.codeBlockContent},a.createElement(P,(0,r.Z)({},_,{theme:B,code:U,language:null!=L?L:"text"}),(function(e){var t=e.className,n=e.tokens,r=e.getLineProps,l=e.getTokenProps;return a.createElement("pre",{tabIndex:0,ref:W.codeBlockRef,className:(0,s.Z)(t,k.codeBlock,"thin-scrollbar")},a.createElement("code",{className:(0,s.Z)(k.codeBlockLines,Z&&k.codeBlockLinesWithNumbering)},n.map((function(e,t){return a.createElement(z,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:D[t],showLineNumbers:Z})}))))})),a.createElement("div",{className:k.buttonGroup},(W.isEnabled||W.isCodeScrollable)&&a.createElement(q,{className:k.codeButton,onClick:function(){return W.toggle()},isEnabled:W.isEnabled}),a.createElement(K,{className:k.codeButton,code:U}))))}var $=["children"];function Q(e){var t=e.children,n=(0,l.Z)(e,$),i=(0,c.Z)(),o=function(e){return a.Children.toArray(e).some((function(e){return(0,a.isValidElement)(e)}))?e:Array.isArray(e)?e.join(""):e}(t),s="string"==typeof o?X:x;return a.createElement(s,(0,r.Z)({key:String(i)},n),o)}var J=n(9960);var ee=n(6043),te={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"},ne=["summary","children"];function re(e){return!!e&&("SUMMARY"===e.tagName||re(e.parentElement))}function ae(e,t){return!!e&&(e===t||ae(e.parentElement,t))}function le(e){var t=e.summary,n=e.children,i=(0,l.Z)(e,ne),o=(0,c.Z)(),d=(0,a.useRef)(null),u=(0,ee.u)({initialState:!i.open}),f=u.collapsed,p=u.setCollapsed,h=(0,a.useState)(i.open),v=h[0],m=h[1],b=a.isValidElement(t)?t:a.createElement("summary",null,null!=t?t:"Details");return a.createElement("details",(0,r.Z)({},i,{ref:d,open:v,"data-collapsed":f,className:(0,s.Z)(te.details,o&&te.isBrowser,i.className),onMouseDown:function(e){re(e.target)&&e.detail>1&&e.preventDefault()},onClick:function(e){e.stopPropagation();var t=e.target;re(t)&&ae(t,d.current)&&(e.preventDefault(),f?(p(!1),m(!0)):p(!0))}}),b,a.createElement(ee.z,{lazy:!1,collapsed:f,disableSSRStyle:!0,onCollapseTransitionEnd:function(e){p(e),m(!e)}},a.createElement("div",{className:te.collapsibleContent},n)))}var ie={details:"details_b_Ee"},oe="alert alert--info";function ce(e){var t=Object.assign({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e),e));return a.createElement(le,(0,r.Z)({},t,{className:(0,s.Z)(oe,ie.details,t.className)}))}var se=n(2503);function de(e){return a.createElement(se.Z,e)}var ue={containsTaskList:"containsTaskList_mC6p"};function fe(e){if(void 0!==e)return(0,s.Z)(e,(null==e?void 0:e.includes("contains-task-list"))&&ue.containsTaskList)}var pe={img:"img_ev3q"};var he="admonition_LlT9",ve="admonitionHeading_tbUL",me="admonitionIcon_kALy",be="admonitionContent_S0QG";var ge={note:{infimaClassName:"secondary",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 14 16"},a.createElement("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)"},"note")},tip:{infimaClassName:"success",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 12 16"},a.createElement("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)"},"tip")},danger:{infimaClassName:"danger",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 12 16"},a.createElement("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)"},"danger")},info:{infimaClassName:"info",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 14 16"},a.createElement("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)"},"info")},caution:{infimaClassName:"warning",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 16 16"},a.createElement("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))},label:a.createElement(Z.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)"},"caution")}},ye={secondary:"note",important:"info",success:"tip",warning:"danger"};function Se(e){var t,n=function(e){var t=a.Children.toArray(e),n=t.find((function(e){var t;return a.isValidElement(e)&&"mdxAdmonitionTitle"===(null==(t=e.props)?void 0:t.mdxType)})),r=a.createElement(a.Fragment,null,t.filter((function(e){return e!==n})));return{mdxAdmonitionTitle:n,rest:r}}(e.children),r=n.mdxAdmonitionTitle,l=n.rest;return Object.assign({},e,{title:null!=(t=e.title)?t:r,children:l})}var we={head:function(e){var t=a.Children.map(e.children,(function(e){return a.isValidElement(e)?function(e){var t;if(null!=(t=e.props)&&t.mdxType&&e.props.originalType){var n=e.props,r=(n.mdxType,n.originalType,(0,l.Z)(n,o));return a.createElement(e.props.originalType,r)}return e}(e):e}));return a.createElement(i.Z,e,t)},code:function(e){var t=["a","abbr","b","br","button","cite","code","del","dfn","em","i","img","input","ins","kbd","label","object","output","q","ruby","s","small","span","strong","sub","sup","time","u","var","wbr"];return a.Children.toArray(e.children).every((function(e){var n;return"string"==typeof e&&!e.includes("\n")||(0,a.isValidElement)(e)&&t.includes(null==(n=e.props)?void 0:n.mdxType)}))?a.createElement("code",e):a.createElement(Q,e)},a:function(e){return a.createElement(J.Z,e)},pre:function(e){var t;return a.createElement(Q,(0,a.isValidElement)(e.children)&&"code"===(null==(t=e.children.props)?void 0:t.originalType)?e.children.props:Object.assign({},e))},details:function(e){var t=a.Children.toArray(e.children),n=t.find((function(e){var t;return a.isValidElement(e)&&"summary"===(null==(t=e.props)?void 0:t.mdxType)})),l=a.createElement(a.Fragment,null,t.filter((function(e){return e!==n})));return a.createElement(ce,(0,r.Z)({},e,{summary:n}),l)},ul:function(e){return a.createElement("ul",(0,r.Z)({},e,{className:fe(e.className)}))},img:function(e){return a.createElement("img",(0,r.Z)({loading:"lazy"},e,{className:(t=e.className,(0,s.Z)(t,pe.img))}));var t},h1:function(e){return a.createElement(de,(0,r.Z)({as:"h1"},e))},h2:function(e){return a.createElement(de,(0,r.Z)({as:"h2"},e))},h3:function(e){return a.createElement(de,(0,r.Z)({as:"h3"},e))},h4:function(e){return a.createElement(de,(0,r.Z)({as:"h4"},e))},h5:function(e){return a.createElement(de,(0,r.Z)({as:"h5"},e))},h6:function(e){return a.createElement(de,(0,r.Z)({as:"h6"},e))},admonition:function(e){var t=Se(e),n=t.children,r=t.type,l=t.title,i=t.icon,o=function(e){var t,n=null!=(t=ye[e])?t:e,r=ge[n];return r||(console.warn('No admonition config found for admonition type "'+n+'". Using Info as fallback.'),ge.info)}(r),c=null!=l?l:o.label,d=o.iconComponent,u=null!=i?i:a.createElement(d,null);return a.createElement("div",{className:(0,s.Z)(p.k.common.admonition,p.k.common.admonitionType(e.type),"alert","alert--"+o.infimaClassName,he)},a.createElement("div",{className:ve},a.createElement("span",{className:me},u),c),a.createElement("div",{className:be},n))},mermaid:n(1875).Z}},2805:function(e,t,n){"use strict";n.d(t,{Z:function(){return ve}});var r=n(7294),a=n(3511),l=function(e){var t=e.className,n=e.children;return r.createElement(a.Z.pre,null,r.createElement(a.Z.code,{className:t},n))},i=(n(2473),function(){});var o=function(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}},c=0,s=function(){return++c},d=function(){var e=(0,r.useState)(null),t=e[0],n=e[1];return(0,r.useEffect)((function(){return n(s())}),[]),t},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function f(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var p=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,i=e.onChange,o=e.index,c=void 0===o?void 0:o,s=e.readOnly,p=void 0!==s&&s,h=e.defaultIndex,v=f(e,["children","as","onChange","index","readOnly","defaultIndex"]),m=(0,r.useRef)(null!=c).current,b=d(),g=(0,r.useRef)(!1),y=(0,r.useRef)(null),S=(0,r.useState)(h||0),w=S[0],E=S[1],I=r.Children.map(n,(function(e){return"string"==typeof e.type?e:(0,r.cloneElement)(e,{selectedIndex:m?c:w,_id:b,_userInteractedRef:g,_selectedPanelRef:y,_onFocusPanel:function(){return y.current&&y.current.focus()},_onSelectTab:p?function(){}:function(e){g.current=!0,i&&i(e),m||E(e)}})}));return r.createElement(l,u({"data-reach-tabs":"",ref:t},v,{children:I}))})),h=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,i=e.onKeyDown,c=f(e,["children","as","onKeyDown"]),s=c.selectedIndex,d=c._onSelectTab,p=c._userInteractedRef,h=c._onFocusPanel,v=(c._selectedPanelRef,c._id),m=f(c,["selectedIndex","_onSelectTab","_userInteractedRef","_onFocusPanel","_selectedPanelRef","_id"]),b=r.Children.map(n,(function(e,t){return(0,r.cloneElement)(e,{isSelected:t===s,_id:g(v,t),_userInteractedRef:p,_onSelect:function(){return d(t)}})})),y=o(i,(function(e){var t=r.Children.map(n,(function(e,t){return!0===e.props.disabled?null:t})).filter((function(e){return null!=e})),a=t.indexOf(s);switch(e.key){case"ArrowRight":var l=t[(a+1)%t.length];d(l);break;case"ArrowLeft":var i=t.length,o=t[(a-1+i)%i];d(o);break;case"ArrowDown":e.preventDefault(),h();break;case"Home":d(0);break;case"End":d(r.Children.count(n)-1)}}));return r.createElement(l,u({"data-reach-tab-list":"",ref:t,role:"tablist",onKeyDown:y,children:b},m))})),v=(0,r.forwardRef)((function(e,t){var n,a,l,i=e.children,o=e.as,c=void 0===o?"button":o,s=f(e,["children","as"]),d=s.isSelected,p=s._userInteractedRef,h=s._onSelect,v=s._id,m=f(s,["isSelected","_userInteractedRef","_onSelect","_id"]),b=(0,r.useRef)(null),g=t||b;return n=function(){d&&g.current&&p.current&&(p.current=!1,g.current.focus())},a=[d],l=(0,r.useRef)(!1),(0,r.useEffect)((function(){l.current?n():l.current=!0}),a),r.createElement(c,u({"data-reach-tab":"",ref:g,role:"tab",id:"tab:"+v,tabIndex:d?0:-1,"aria-selected":d,"aria-controls":"panel:"+v,"data-selected":d?"":void 0,onClick:h,children:i},m))})),m=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,i=f(e,["children","as"]),o=i.selectedIndex,c=i._selectedPanelRef,s=(i._userInteractedRef,i._onFocusPanel,i._onSelectTab,i._id),d=f(i,["selectedIndex","_selectedPanelRef","_userInteractedRef","_onFocusPanel","_onSelectTab","_id"]),p=r.Children.map(n,(function(e,t){return(0,r.cloneElement)(e,{isSelected:t===o,_selectedPanelRef:c,_id:g(s,t)})}));return r.createElement(l,u({"data-reach-tab-panels":"",ref:t},d,{children:p}))})),b=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.as,l=void 0===a?"div":a,i=f(e,["children","as"]),o=i.isSelected,c=i._selectedPanelRef,s=i._id,d=f(i,["isSelected","_selectedPanelRef","_id"]);return r.createElement(l,u({"data-reach-tab-panel":"",ref:o?c:void 0,role:"tabpanel",tabIndex:-1,"aria-labelledby":"tab:"+s,hidden:!o,id:"panel:"+s,children:n},d))}));var g=function(e,t){return e+":"+t},y=n(7462),S=n(3935);function w(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var E=function(e){e.initialState,e.getInitialState,e.refs,e.getRefs,e.didMount,e.didUpdate,e.willUnmount,e.getSnapshotBeforeUpdate,e.shouldUpdate,e.render;return function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["initialState","getInitialState","refs","getRefs","didMount","didUpdate","willUnmount","getSnapshotBeforeUpdate","shouldUpdate","render"])},I=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,l=Array(a),i=0;i<a;i++)l[i]=arguments[i];return n=r=w(this,e.call.apply(e,[this].concat(l))),k.call(r),w(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getArgs=function(){var e=this.state,t=this.props,n=this._setState,r=this._forceUpdate,a=this._refs;return{state:e,props:E(t),refs:a,setState:n,forceUpdate:r}},t.prototype.componentDidMount=function(){this.props.didMount&&this.props.didMount(this.getArgs())},t.prototype.shouldComponentUpdate=function(e,t){return!this.props.shouldUpdate||this.props.shouldUpdate({props:this.props,state:this.state,nextProps:E(e),nextState:t})},t.prototype.componentWillUnmount=function(){this.props.willUnmount&&this.props.willUnmount({state:this.state,props:E(this.props),refs:this._refs})},t.prototype.componentDidUpdate=function(e,t,n){this.props.didUpdate&&this.props.didUpdate(Object.assign(this.getArgs(),{prevProps:E(e),prevState:t}),n)},t.prototype.getSnapshotBeforeUpdate=function(e,t){return this.props.getSnapshotBeforeUpdate?this.props.getSnapshotBeforeUpdate(Object.assign(this.getArgs(),{prevProps:E(e),prevState:t})):null},t.prototype.render=function(){var e=this.props,t=e.children,n=e.render;return n?n(this.getArgs()):"function"==typeof t?t(this.getArgs()):t||null},t}(r.Component);I.defaultProps={getInitialState:function(){},getRefs:function(){return{}}};var O,k=function(){var e=this;this.state=this.props.initialState||this.props.getInitialState(this.props),this._refs=this.props.refs||this.props.getRefs(this.getArgs()),this._setState=function(){return e.setState.apply(e,arguments)},this._forceUpdate=function(){return e.forceUpdate.apply(e,arguments)}},x=I,N=function(e){var t=e.children,n=e.type,a=void 0===n?"reach-portal":n;return r.createElement(x,{getRefs:function(){return{mountNode:null,portalNode:null}},didMount:function(e){var t=e.refs,n=e.forceUpdate,r=t.mountNode.ownerDocument;t.portalNode=r.createElement(a),r.body.appendChild(t.portalNode),n()},willUnmount:function(e){var t=e.refs.portalNode;t.ownerDocument.body.removeChild(t)},render:function(e){var n=e.refs,a=n.portalNode;return a?(0,S.createPortal)(t,a):r.createElement("div",{ref:function(e){return n.mountNode=e}})}})},C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",padding:0,overflow:"hidden",position:"absolute"},T=function(e){return r.createElement("div",C({style:j},e))},_=["bottom","height","left","right","top","width"],A=new Map,L=function e(){var t=[];A.forEach((function(e,n){var r,a,l=n.getBoundingClientRect();r=l,a=e.rect,void 0===r&&(r={}),void 0===a&&(a={}),_.some((function(e){return r[e]!==a[e]}))&&(e.rect=l,t.push(e))})),t.forEach((function(e){e.callbacks.forEach((function(t){return t(e.rect)}))})),O=window.requestAnimationFrame(e)};var B=function(e,t){return{observe:function(){var n=0===A.size;A.has(e)?A.get(e).callbacks.push(t):A.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),n&&L()},unobserve:function(){var n=A.get(e);if(n){var r=n.callbacks.indexOf(t);r>=0&&n.callbacks.splice(r,1),n.callbacks.length||A.delete(e),A.size||cancelAnimationFrame(O)}}}},W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},M=function(e){var t=e.refs;return(0,e.props.children)({ref:function(e){return t.node=e},rect:e.state.rect})},R=function(e){var t=e.setState,n=e.refs,r=e.props;n.node?(n.observer=B(n.node,(function(e){r.onChange&&r.onChange(e),t({rect:e})})),r.observe&&n.observer.observe()):console.warn("You need to place the ref")},D=function(e){var t=e.refs,n=e.props,r=e.prevProps;n.observe&&!r.observe?t.observer.observe():!n.observe&&r.observe&&t.observer.unobserve()},P=function(e){e.refs.observer.unobserve()},U=function(e){return r.createElement(x,W({},e,{refs:{node:void 0,observer:void 0},initialState:{rect:void 0},didMount:R,didUpdate:D,willUnmount:P,render:M}))};function z(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=(0,r.useState)(null),a=n[0],l=n[1],i=(0,r.useRef)(null);return(0,r.useLayoutEffect)((function(){return i.current||(i.current=B(e.current,l)),t&&i.current.observe(),function(){return i.current.unobserve()}}),[t]),a}U.defaultProps={observe:!0};var Z,H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function V(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var F="idle",K="focused",Y="visible",G="leavingVisible",q="dismissed",X={initial:F,states:(Z={},Z[F]={enter:re,on:{mouseenter:K,focus:Y}},Z[K]={enter:function(){clearTimeout(te),te=setTimeout((function(){return J("rest")}),100)},leave:function(){clearTimeout(te)},on:{mousemove:K,mouseleave:F,mousedown:q,blur:F,rest:Y}},Z[Y]={on:{focus:K,mouseenter:K,mouseleave:G,blur:G,mousedown:q,selectWithKeyboard:q,globalMouseMove:G}},Z[G]={enter:function(){clearTimeout(ne),ne=setTimeout((function(){return J("timecomplete")}),500)},leave:function(){clearTimeout(ne),re()},on:{mouseenter:Y,focus:Y,timecomplete:F}},Z[q]={leave:function(){$.id=null},on:{mouseleave:F,blur:F}},Z)},$={id:null},Q=X.initial;function J(e,t){var n=X.states[Q],r=n.on[e];if(!r)throw new Error('Unknown state for action "'+e+'" from state "'+Q+'"');n.leave&&n.leave(),t&&($=t);var a=X.states[r];a.enter&&a.enter(),Q=r,ee.forEach((function(e){return e(Q,$)}))}var ee=[];var te=void 0;var ne=void 0;function re(){$.id=null}function ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onMouseEnter,n=e.onMouseMove,a=e.onMouseLeave,l=e.onFocus,c=(e.onBlur,e.onKeyDown),s=e.onMouseDown,u=e.ref,f=e.DEBUG_STYLE,p="tooltip:"+d(),h=(0,r.useState)(!!f||$.id===p&&Q===Y),v=h[0],m=h[1],b=u||(0,r.useRef)(),g=z(b,v);(0,r.useEffect)((function(){return e=function(){$.id!==p||Q!==Y&&Q!==G?m(!1):m(!0)},ee.push(e),function(){ee.splice(ee.indexOf(e),1)};var e}),[p]),(0,r.useEffect)((function(){return i("tooltip")}));return[{"aria-describedby":p,"data-reach-tooltip-trigger":"",ref:b,onMouseEnter:o(t,(function(){switch(Q){case F:case Y:case G:J("mouseenter",{id:p})}})),onMouseMove:o(n,(function(){if(Q===K)J("mousemove",{id:p})})),onFocus:o(l,(function(e){if(!window.__REACH_DISABLE_TOOLTIPS)switch(Q){case F:case Y:case G:J("focus",{id:p})}})),onBlur:o(l,(function(){if($.id===p)switch(Q){case K:case Y:case q:J("blur")}})),onMouseLeave:o(a,(function(){switch(Q){case K:case Y:case q:J("mouseleave")}})),onKeyDown:o(c,(function(e){if(("Enter"===e.key||" "===e.key)&&Q===Y)J("selectWithKeyboard")})),onMouseDown:o(s,(function(){if($.id===p)switch(Q){case K:case Y:J("mousedown")}}))},{id:p,triggerRect:g,isVisible:v},v]}var le=(0,r.forwardRef)((function(e,t){var n=e.label,a=e.ariaLabel,l=e.position,i=e.isVisible,o=e.id,c=e.triggerRect,s=V(e,["label","ariaLabel","position","isVisible","id","triggerRect"]);return i?r.createElement(N,null,r.createElement(ie,H({label:n,ariaLabel:a,position:l,isVisible:i,id:o,triggerRect:c,ref:t},s))):null})),ie=(0,r.forwardRef)((function(e,t){var n=e.label,a=e.ariaLabel,l=e.position,i=void 0===l?ce:l,o=e.isVisible,c=e.id,s=e.triggerRect,d=e.style,u=V(e,["label","ariaLabel","position","isVisible","id","triggerRect","style"]),f=null!=a,p=(0,r.useRef)(),h=z(p,o);return r.createElement(r.Fragment,null,r.createElement("div",H({"data-reach-tooltip":!0,role:f?void 0:"tooltip",id:f?void 0:c,children:n,style:H({},d,oe(i,s,h)),ref:function(e){p.current=e,t&&t(e)}},u)),f&&r.createElement(T,{role:"tooltip",id:c},a))})),oe=function(e,t,n){return!n?{visibility:"hidden"}:e(t,n)},ce=function(e,t){var n={left:e.left+window.pageXOffset+"px",top:e.top+e.height+window.pageYOffset+"px"},r={top:e.top-t.height<0,right:window.innerWidth<e.left+t.width,bottom:window.innerHeight<e.bottom+t.height+8,left:e.left-t.width<0},a=r.bottom&&!r.top;return H({},n,{left:r.right&&!r.left?e.right-t.width+window.pageXOffset+"px":e.left+window.pageXOffset+"px",top:a?e.top-8-t.height+window.pageYOffset+"px":e.top+8+e.height+window.pageYOffset+"px"})},se=function(e,t){var n=e.left+e.width/2-t.width/2,r=window.innerWidth-t.width-2;return{left:Math.min(Math.max(2,n),r)+window.scrollX,top:e.bottom+8+window.scrollY}};var de=function(e){var t=e.children,n=e.label,a=e.ariaLabel,l=ae(),i=l[0],o=l[1],c=o.isVisible,s=o.triggerRect;return r.createElement(r.Fragment,null,r.cloneElement(t,i),c&&r.createElement("div",{style:{position:"absolute",left:s&&s.left-10+s.width/2,top:s&&s.bottom+window.scrollY,width:0,height:0,borderLeft:"10px solid transparent",borderRight:"10px solid transparent",borderBottom:"10px solid black"}}),r.createElement(le,(0,y.Z)({},o,{label:n,ariaLabel:a,style:{background:"black",color:"white",border:"none",borderRadius:"3px",padding:"0.5em 1em"},position:se})))},ue=n(8357);function fe(e){return(0,ue.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"}}]})(e)}function pe(e){return(0,ue.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2zm0 14H5V8h14v10z"}}]})(e)}function he(e){return(0,ue.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M7 14c-1.66 0-3 1.34-3 3 0 1.31-1.16 2-2 2 .92 1.22 2.49 2 4 2 2.21 0 4-1.79 4-4 0-1.66-1.34-3-3-3zm13.71-9.37l-1.34-1.34c-.39-.39-1.02-.39-1.41 0L9 12.25 11.75 15l8.96-8.96c.39-.39.39-1.02 0-1.41z"}}]})(e)}var ve=function(e){var t=e.component,n=e.js,a=e.css;return r.createElement(p,{className:"code-tabs"},r.createElement(h,null,r.createElement(v,null,r.createElement(de,{label:"Live Example"},r.createElement("div",null,r.createElement("span",{class:"visually-hidden"},"Live Example"),r.createElement(pe,{"aria-hidden":!0})))),r.createElement(v,null,r.createElement(de,{label:"Code"},r.createElement("div",null,r.createElement("span",{class:"visually-hidden"},"Code"),r.createElement(fe,{"aria-hidden":!0})))),r.createElement(v,null,r.createElement(de,{label:"Styles"},r.createElement("div",null,r.createElement("span",{class:"visually-hidden"},"Styles"),r.createElement(he,{"aria-hidden":!0}))))),r.createElement(m,null,r.createElement(b,{className:"code-tabs-tabpanel__component"},r.createElement(t,null)),r.createElement(b,null,r.createElement(l,{className:"language-js"},n)),r.createElement(b,null,r.createElement(l,{className:"language-css"},a))))}},4184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===l){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var o in n)r.call(n,o)&&n[o]&&e.push(o)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},7594:function(e,t){function n(e){let t,n=[];for(let r of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,a,l]=t;if(r&&l){r=parseInt(r),l=parseInt(l);const e=r<l?1:-1;"-"!==a&&".."!==a&&"\u2025"!==a||(l+=e);for(let t=r;t!==l;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},148:function(e,t,n){"use strict";n.d(t,{fK:function(){return $}});var r=n(4184),a=n.n(r),l=n(5697),i=n.n(l),o=n(7294);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l=[],i=!0,o=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(l.push(r.value),!t||l.length!==t);i=!0);}catch(e){o=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(o)throw a}}return l}}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=f(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,i=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){o=!0,l=e},f:function(){try{i||null==n.return||n.return()}finally{if(o)throw l}}}}function v(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}var m={root:"tree",node:"tree-node",branch:"tree-node__branch",branchWrapper:"tree-branch-wrapper",leafListItem:"tree-leaf-list-item",leaf:"tree-node__leaf",nodeGroup:"tree-node-group"},b={select:"SELECT",focus:"FOCUS",exclusiveSelect:"EXCLUSIVE_SELECT"},g=Object.freeze(Object.values(b)),y=Object.freeze(Object.values({check:"check",select:"select"})),S="COLLAPSE",w="COLLAPSE_MANY",E="EXPAND",I="EXPAND_MANY",O="HALF_SELECT",k="SELECT",x="DESELECT",N="TOGGLE",C="TOGGLE_SELECT",j="SELECT_MANY",T="EXCLUSIVE_CHANGE_SELECT_MANY",_="FOCUS",A="BLUR",L="CLEAR_MANUALLY_TOGGLED",B="CONTROLLED_SELECT_MANY",W="UPDATE_TREE_STATE_WHEN_DATA_CHANGED",M=function(){},R=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=0,r=t;n<r.length;n++){var a=r[n];if(a&&a(e),e.defaultPrevented)break}}},D=function(e,t){var n,r=new Set,a=h(e);try{for(a.s();!(n=a.n()).done;){var l=n.value;t.has(l)||r.add(l)}}catch(e){a.e(e)}finally{a.f()}return r},P=function(e,t){return new Set([].concat(u(D(e,t)),u(D(t,e))))},U=function(e){var t=(0,o.useRef)();return(0,o.useEffect)((function(){t.current=e}),[e]),t.current},z=function(e,t){var n;return!!(null===(n=ae(e,t).children)||void 0===n?void 0:n.length)},Z=function(e,t){return ae(e,t).parent},H=function(e,t,n){for(var r=t,a=[];;){var l=Z(e,r);if(0===l||null==l||null!=l&&n.has(l))break;a.push(l),r=l}return a},V=function(e,t,n){var r=[];return function e(t,a){var l=ae(t,a);if(null!=l.children){var i,o=h(l.children.filter((function(e){return!n.has(e)})));try{for(o.s();!(i=o.n()).done;){var c=i.value;r.push(c),e(t,c)}}catch(e){o.e(e)}finally{o.f()}}}(e,t),r},F=function(e,t){var n=ae(e,t);return null==n.children?[]:n.children},K=function(e,t,n){var r=Z(e,t);if(null!=r){var a=ae(e,r),l=a.children.indexOf(t)+n;if(a.children[l])return a.children[l]}return null},Y=function(e,t,n){var r=ae(e,t);for(re(e).id===t&&(r=ae(e,ae(e,t).children[ae(e,t).children.length-1]));n.has(r.id)&&z(e,r.id);)r=ae(e,r.children[r.children.length-1]);return r.id},G=function(e,t,n){if(t===re(e).children[0])return null;var r=K(e,t,-1);return null==r?Z(e,t):Y(e,r,n)},q=function(e,t,n){var r=ae(e,t).id;if(z(e,r)&&n.has(r))return ae(e,r).children[0];for(;;){var a=K(e,r,1);if(null!=a)return a;if(null==(r=Z(e,r)))return null}},X=function(e){var t=e.data,n=e.expandedIds,r=e.from,a=e.to,l=[],i=t.length,o=0,c=r;if(l.push(r),r<a)for(;o<i&&(null!=(c=q(t,c,n))&&l.push(c),null!=c&&c!==a);)o+=1;else if(r>a)for(;o<i&&(null!=(c=G(t,c,n))&&l.push(c),null!=c&&c!==a);)o+=1;return l},$=function(e){var t=0,n=[];return function e(r,a){var l,i=Object.assign(Object.assign({id:r.id||t,name:r.name,children:[]},r.isBranch&&{isBranch:r.isBranch}),{parent:a,metadata:r.metadata?Object.assign({},r.metadata):void 0});if(n.find((function(e){return e.id===i.id})))throw Error("Multiple TreeView nodes have the same ID (".concat(i.id,"). IDs must be unique."));if(n.push(i),t+=1,null===(l=r.children)||void 0===l?void 0:l.length){var o,c=h(r.children);try{for(c.s();!(o=c.n()).done;)e(o.value,i.id)}catch(e){c.e(e)}finally{c.f()}var s,d=h(n.values());try{for(d.s();!(s=d.n()).done;){var u=s.value;u.parent===i.id&&i.children.push(u.id)}}catch(e){d.e(e)}finally{d.f()}}}(e,null),n},Q=function(e){var t=e.isSelected,n=e.isDisabled,r=e.multiSelect;return n||r?t:!!t||void 0},J=function(e){var t=e.isSelected,n=e.isDisabled,r=e.isHalfSelected,a=e.multiSelect;return n?t:r?"mixed":a?t:!!t||void 0},ee=function(e,t,n){return t.concat.apply(t,u(t.filter((function(t){return z(e,t)})).map((function(t){return V(e,t,n)}))))},te=function(e,t,n){var r=F(e,t);return z(e,t)&&!n.has(t)&&1===r.length&&r.every((function(e){return n.has(e)}))},ne=function(e,t,n,r){var a=function(e,t,n){return z(e,t)&&n.has(t)&&V(e,t,new Set).some((function(e){return n.has(e)}))}(e,t,n),l=function(e,t,n){var r=F(e,t);return z(e,t)&&n.has(t)&&1===r.length&&r.every((function(e){return n.has(e)}))}(e,t,n);return function(e,t,n,r){var a=V(e,t,new Set);return z(e,t)&&n.has(t)&&a.every((function(e){return n.has(e)}))&&a.every((function(e){return!r.has(e)}))}(e,t,n,r)?C:a&&!l?O:C},re=function(e){var t=e.find((function(e){return null===e.parent}));if(!t)throw Error("TreeView data must contain parent node.");return t},ae=function(e,t){var n=e.find((function(e){return e.id===t}));if(null==n)throw Error("Node with id=".concat(t," doesn't exist in the tree."));return n},le=function(e){var t=Array.from(new Set(e));return e.length!==t.length},ie=function(e,t){switch(t.type){case S:var n=new Set(e.expandedIds);return n.delete(t.id),Object.assign(Object.assign({},e),{expandedIds:n,tabbableId:t.id,isFocused:!0,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case w:var r,a=new Set(e.expandedIds),l=h(t.ids);try{for(l.s();!(r=l.n()).done;){var i=r.value;a.delete(i)}}catch(e){l.e(e)}finally{l.f()}return Object.assign(Object.assign({},e),{expandedIds:a,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case E:var o=new Set(e.expandedIds);return o.add(t.id),Object.assign(Object.assign({},e),{expandedIds:o,tabbableId:t.id,isFocused:!0,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case I:var c=new Set([].concat(u(e.expandedIds),u(t.ids)));return Object.assign(Object.assign({},e),{expandedIds:c,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case N:var s=new Set(e.expandedIds);return e.expandedIds.has(t.id)?s.delete(t.id):s.add(t.id),Object.assign(Object.assign({},e),{expandedIds:s,tabbableId:t.id,isFocused:!0,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case O:if(e.disabledIds.has(t.id))return e;var d=new Set(e.halfSelectedIds),f=new Set(e.selectedIds);return d.add(t.id),f.delete(t.id),Object.assign(Object.assign({},e),{selectedIds:f,halfSelectedIds:d,tabbableId:t.keepFocus?e.tabbableId:t.id,lastAction:t.type,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled,lastUserSelect:t.NotUserAction?e.lastUserSelect:t.id});case k:if(!t.NotUserAction&&e.disabledIds.has(t.id))return e;var p;t.multiSelect?(p=new Set(e.selectedIds)).add(t.id):(p=new Set).add(t.id);var v=new Set(e.halfSelectedIds);return v.delete(t.id),Object.assign(Object.assign({},e),{selectedIds:p,halfSelectedIds:v,tabbableId:t.keepFocus?e.tabbableId:t.id,isFocused:!0!==t.NotUserAction,lastUserSelect:t.NotUserAction?e.lastUserSelect:t.id,lastAction:t.type,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled});case x:if(!t.NotUserAction&&e.disabledIds.has(t.id))return e;var m,b=new Set(e.selectedIds);return b.delete(t.id),t.multiSelect?(m=new Set(e.halfSelectedIds)).delete(t.id):m=new Set,Object.assign(Object.assign({},e),{selectedIds:b,halfSelectedIds:m,tabbableId:t.keepFocus?e.tabbableId:t.id,isFocused:!0,lastUserSelect:t.NotUserAction?e.lastUserSelect:t.id,lastAction:t.type,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled});case C:if(e.disabledIds.has(t.id))return e;var g,y=e.selectedIds.has(t.id);t.multiSelect?(g=new Set(e.selectedIds),y?g.delete(t.id):g.add(t.id)):(g=new Set,y||g.add(t.id));var M=new Set(e.halfSelectedIds);return M.delete(t.id),Object.assign(Object.assign({},e),{selectedIds:g,halfSelectedIds:M,tabbableId:t.id,isFocused:!0,lastUserSelect:t.NotUserAction?e.lastUserSelect:t.id,lastAction:t.type,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled});case j:var R,P=t.ids.filter((function(t){return!e.disabledIds.has(t)}));if(t.multiSelect){R=t.select?new Set([].concat(u(e.selectedIds),u(P))):D(e.selectedIds,new Set(P));var U=D(e.halfSelectedIds,R);return Object.assign(Object.assign({},e),{selectedIds:R,halfSelectedIds:U,lastAction:t.type,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled})}return e;case T:var z,Z=t.ids.filter((function(t){return!e.disabledIds.has(t)}));if(t.multiSelect){z=t.select?new Set(Z):D(e.selectedIds,new Set(Z));var H=D(e.halfSelectedIds,z);return Object.assign(Object.assign({},e),{selectedIds:z,halfSelectedIds:H,lastAction:t.type,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled})}return e;case B:var V,F=e.lastInteractedWith,K=e.tabbableId;if(t.multiSelect)V=new Set(t.ids),t.ids.length&&(F=t.ids[t.ids.length-1],K=t.ids[t.ids.length-1]);else{V=new Set,t.ids.length>1&&console.warn("Tree in singleSelect mode, only the first item from selectedIds will be selected.");var Y=t.ids[0];Y&&V.add(Y),F=null!=Y?Y:F,K=null!=Y?Y:F}var G=new Set(e.halfSelectedIds);t.ids.every((function(e){return G.delete(e)}));var q=new Set(t.ids);return Object.assign(Object.assign({},e),{selectedIds:V,halfSelectedIds:G,controlledIds:q,isFocused:!0,lastAction:t.type,tabbableId:K,lastInteractedWith:F});case _:return Object.assign(Object.assign({},e),{tabbableId:t.id,isFocused:!0,lastAction:t.type,lastInteractedWith:t.lastInteractedWith});case A:return Object.assign(Object.assign({},e),{isFocused:!1});case"DISABLE":var X=new Set(e.disabledIds);return X.add(t.id),Object.assign(Object.assign({},e),{disabledIds:X});case"ENABLE":var $=new Set(e.disabledIds);return $.delete(t.id),Object.assign(Object.assign({},e),{disabledIds:$});case L:return Object.assign(Object.assign({},e),{lastManuallyToggled:null});case W:return Object.assign(Object.assign({},e),{tabbableId:t.tabbableId,lastInteractedWith:t.lastInteractedWith,lastManuallyToggled:t.lastManuallyToggled,lastUserSelect:t.lastUserSelect});default:throw new Error("Invalid action passed to the reducer")}},oe=function(e){var t,n=e.element,r=e.dispatch,l=e.data,i=e.selectedIds,c=e.tabbableId,d=e.isFocused,f=e.expandedIds,p=e.disabledIds,h=e.halfSelectedIds,m=e.lastUserSelect,g=e.nodeRefs,y=e.leafRefs,S=e.baseClassNames,E=e.nodeRenderer,I=e.nodeAction,O=e.setsize,x=e.posinset,A=e.level,L=e.propagateCollapse,B=e.propagateSelect,W=e.multiSelect,D=e.togglableSelect,P=e.clickAction,U=e.state,Z=function(e){if(!(e.ctrlKey||e.altKey||e.shiftKey))if(f.has(n.id)&&L){var t=[n.id].concat(u(V(l,n.id,new Set)));r({type:w,ids:t,lastInteractedWith:n.id})}else r({type:N,id:n.id,lastInteractedWith:n.id})},H=function(){return r({type:_,id:n.id,lastInteractedWith:n.id})},F=function(e){if(e.shiftKey){var t=X({data:l,expandedIds:f,from:m,to:n.id}).filter((function(e){return!p.has(e)}));t=B?ee(l,t,p):t,r({type:T,select:!0,multiSelect:W,ids:t,lastInteractedWith:n.id,lastManuallyToggled:n.id})}else e.ctrlKey||P===b.select?(r({type:D?ne(l,n.id,i,p):k,id:n.id,multiSelect:W,lastInteractedWith:n.id,lastManuallyToggled:n.id}),B&&!p.has(n.id)&&r({type:j,ids:ee(l,[n.id],p),select:!D||!i.has(n.id),multiSelect:W,lastInteractedWith:n.id,lastManuallyToggled:n.id})):P===b.exclusiveSelect?r({type:D?C:k,id:n.id,multiSelect:!1,lastInteractedWith:n.id,lastManuallyToggled:n.id}):P===b.focus&&r({type:_,id:n.id,lastInteractedWith:n.id})},K=function(e){var t;return a()(e,(s(t={},"".concat(e,"--expanded"),f.has(n.id)),s(t,"".concat(e,"--selected"),i.has(n.id)),s(t,"".concat(e,"--focused"),c===n.id&&d),t))},Y="select"===I?{"aria-selected":Q({isSelected:i.has(n.id),isDisabled:p.has(n.id),multiSelect:W})}:{"aria-checked":J({isSelected:i.has(n.id),isDisabled:p.has(n.id),isHalfSelected:h.has(n.id),multiSelect:W})};return z(l,n.id)||n.isBranch?o.createElement("li",Object.assign({role:"treeitem","aria-expanded":f.has(n.id),"aria-setsize":O,"aria-posinset":x,"aria-level":A,"aria-disabled":p.has(n.id),tabIndex:c===n.id?0:-1,ref:function(e){null!=(null==g?void 0:g.current)&&null!=e&&(g.current[n.id]=e)},className:S.branchWrapper},Y),o.createElement(o.Fragment,null,E({element:n,isBranch:!0,isSelected:i.has(n.id),isHalfSelected:h.has(n.id),isExpanded:f.has(n.id),isDisabled:p.has(n.id),dispatch:r,getNodeProps:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onClick;return{onClick:null==e?R(F,Z,H):R(e,H),className:a()(K(S.node),S.branch),ref:function(e){null!=(null==y?void 0:y.current)&&(y.current[n.id]=e)}}},setsize:O,posinset:x,level:A,handleSelect:F,handleExpand:Z,treeState:U}),o.createElement(ce,Object.assign({getClasses:K},((t=e).setsize,t.posinset,v(t,["setsize","posinset"])))))):o.createElement("li",{role:"none",className:K(S.leafListItem)},E({element:n,isBranch:!1,isSelected:i.has(n.id),isHalfSelected:!1,isExpanded:!1,isDisabled:p.has(n.id),dispatch:r,getNodeProps:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onClick;return Object.assign({role:"treeitem",tabIndex:c===n.id?0:-1,onClick:R(null==e?F:e,H),ref:function(e){null!=(null==g?void 0:g.current)&&null!=(null==y?void 0:y.current)&&(g.current[n.id]=e,y.current[n.id]=e)},className:a()(K(S.node),S.leaf),"aria-setsize":O,"aria-posinset":x,"aria-level":A,disabled:p.has(n.id),"aria-disabled":p.has(n.id)},Y)},setsize:O,posinset:x,level:A,handleSelect:F,handleExpand:M,treeState:U}))},ce=function(e){var t=e.data,n=e.element,r=e.expandedIds,a=e.getClasses,l=e.baseClassNames,i=e.level,s=v(e,["data","element","expandedIds","getClasses","baseClassNames","level"]);return o.createElement("ul",{role:"group",className:a(l.nodeGroup)},r.has(n.id)&&n.children.length>0&&n.children.map((function(e,a){return o.createElement(oe,Object.assign({data:t,expandedIds:r,baseClassNames:l,key:"".concat(e,"-").concat(c(e)),element:ae(t,e),setsize:n.children.length,posinset:a+1,level:i+1},s))})))},se=function(e){var t=e.data,n=e.controlledSelectedIds,r=e.controlledExpandedIds,a=e.defaultExpandedIds,l=e.defaultSelectedIds,i=e.defaultDisabledIds,c=e.nodeRefs,s=e.leafRefs,f=e.onSelect,p=e.onNodeSelect,v=e.onExpand,m=e.onLoadData,b=e.togglableSelect,g=e.multiSelect,y=e.propagateSelect,C=e.propagateSelectUpwards,T=re(t),A=d((0,o.useReducer)(ie,{selectedIds:new Set(n||l),controlledIds:new Set(n),tabbableId:T.children[0],isFocused:!1,expandedIds:new Set(r||a),halfSelectedIds:new Set,lastUserSelect:T.children[0],lastInteractedWith:null,lastManuallyToggled:null,disabledIds:new Set(i)}),2),R=A[0],F=A[1],K=R.selectedIds,Y=R.expandedIds,G=R.disabledIds,q=R.tabbableId,X=R.halfSelectedIds,$=R.lastAction,Q=R.lastInteractedWith,J=R.lastManuallyToggled,ne=U(K)||new Set,le=P(K,ne);(0,o.useEffect)((function(){var e;if(null!=f&&f!==M){var n,r=h(le);try{for(r.s();!(n=r.n()).done;){var a=n.value,l=z(t,a)||!!(null===(e=ae(t,q))||void 0===e?void 0:e.isBranch);f({element:ae(t,a),isBranch:l,isExpanded:!!l&&Y.has(a),isSelected:K.has(a),isDisabled:G.has(a),isHalfSelected:!!l&&X.has(a),treeState:R})}}catch(e){r.e(e)}finally{r.f()}}}),[t,K,Y,G,X,le,f,R]),(0,o.useEffect)((function(){null!=p&&p!==M&&null!=J&&le.size&&(p({element:ae(t,J),isSelected:K.has(J),isBranch:z(t,J),treeState:R}),F({type:L}))}),[J,K,le]);var oe=U(Y)||new Set;(0,o.useEffect)((function(){var e=P(Y,oe);if(null!=v&&v!==M){var n,r=h(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;v({element:ae(t,a),isExpanded:Y.has(a),isSelected:K.has(a),isDisabled:G.has(a),isHalfSelected:X.has(a),treeState:R})}}catch(e){r.e(e)}finally{r.f()}}}),[t,K,Y,G,X,oe,v,R]);var ce,se,de=(ce=t,se=(0,o.useRef)(),(0,o.useEffect)((function(){se.current=ce})),se.current||new Map);(0,o.useEffect)((function(){var e=P(Y,oe);if(m){var n,r=h(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;m({element:ae(t,a),isExpanded:Y.has(a),isSelected:K.has(a),isDisabled:G.has(a),isHalfSelected:X.has(a),treeState:R})}}catch(e){r.e(e)}finally{r.f()}if(de!==t&&b&&y){var l,i=h(Y);try{for(i.s();!(l=i.n()).done;){var o=l.value;K.has(o)&&F({type:j,ids:ee(t,[o],G),select:!0,multiSelect:g,lastInteractedWith:o})}}catch(e){i.e(e)}finally{i.f()}}}}),[t,K,Y,G,X,oe,m,R]),(0,o.useEffect)((function(){if(de!==t){var e=re(t);e.children.length&&F({type:W,tabbableId:t.find((function(e){return e.id===R.tabbableId}))?R.tabbableId:e.children[0],lastInteractedWith:t.find((function(e){return e.id===R.lastInteractedWith}))?R.lastInteractedWith:null,lastManuallyToggled:t.find((function(e){return e.id===R.lastManuallyToggled}))?R.lastManuallyToggled:null,lastUserSelect:t.find((function(e){return e.id===R.lastUserSelect}))?R.lastUserSelect:e.children[0]})}}),[t]);var ue=P(new Set(n),K);return(0,o.useEffect)((function(){if(n){ue.size&&F({type:B,ids:n,multiSelect:g});var e,r=h(n);try{for(r.s();!(e=r.n()).done;){var a=e.value;y&&!G.has(a)&&F({type:j,ids:ee(t,[a],G),select:!0,multiSelect:g,lastInteractedWith:a})}}catch(e){r.e(e)}finally{r.f()}}}),[n]),(0,o.useEffect)((function(){var e=new Set(r),n=D(e,oe),a=D(oe,e);if(a.size){var l,i=h(a);try{for(i.s();!(l=i.n()).done;){var o=l.value;if(z(t,o)||ae(t,o).isBranch){var c=[o].concat(u(V(t,o,new Set)));F({type:w,ids:c,lastInteractedWith:o})}}}catch(e){i.e(e)}finally{i.f()}}if(n.size){var s,d=h(n);try{for(d.s();!(s=d.n()).done;){var f=s.value;if(z(t,f)||ae(t,f).isBranch){var p=Z(t,f);F(p?{type:I,ids:[f,p],lastInteractedWith:f}:{type:E,id:f,lastInteractedWith:f})}}}catch(e){d.e(e)}finally{d.f()}}}),[r]),(0,o.useEffect)((function(){if(C){var e=new Set(u(le));Q&&$!==_&&$!==S&&$!==E&&$!==N&&e.add(Q);var n=[];e.forEach((function(e){t.find((function(t){return t.id===e}))||n.push(e)})),n.forEach((function(t){return e.delete(t)}));var r,a=function(e,t,n,r,a,l){var i,o={every:new Set,some:new Set,none:new Set},c=h(t);try{for(c.s();!(i=c.n()).done;)for(var s=i.value;;){var d=Z(e,s);if(0===d||null==d||null!=d&&r.has(d))break;var u=ae(e,d).children.filter((function(e){return!r.has(e)}));if(0===u.length)break;if(u.some((function(e){return n.has(e)||o.some.has(e)&&!o.none.has(e)||a.has(e)&&!o.none.has(e)})))u.every((function(e){return n.has(e)}))?o.every.add(d):o.some.add(d);else{var f=H(e,s,r).find((function(e){return n.has(e)}));if(!l&&f){V(e,f,r).forEach((function(e){a.has(e)&&o.none.add(e)}));break}o.none.add(d)}s=d}}catch(e){c.e(e)}finally{c.f()}return o}(t,e,K,G,X,g),l=a.every,i=a.some,o=a.none,c=h(l);try{for(c.s();!(r=c.n()).done;){var s=r.value;K.has(s)||F({type:k,id:s,multiSelect:g||te(t,s,K),keepFocus:!0,NotUserAction:!0,lastInteractedWith:Q})}}catch(e){c.e(e)}finally{c.f()}var d,f=h(i);try{for(f.s();!(d=f.n()).done;){var p=d.value;X.has(p)||F({type:O,id:p,lastInteractedWith:Q,keepFocus:!0,NotUserAction:!0})}}catch(e){f.e(e)}finally{f.f()}var v,m=h(o);try{for(m.s();!(v=m.n()).done;){var b=v.value;(K.has(b)||X.has(b))&&F({type:x,id:b,multiSelect:g,keepFocus:!0,NotUserAction:!0,lastInteractedWith:Q,lastManuallyToggled:J})}}catch(e){m.e(e)}finally{m.f()}}}),[t,g,C,K,Y,G,X,$,ne,le,Q,ue]),(0,o.useEffect)((function(){if(null!=Q&&null!=q&&null!=(null==c?void 0:c.current)&&null!=(null==s?void 0:s.current)){var e=c.current[q];!function(e){null!=e&&e.scrollIntoView&&e.scrollIntoView({block:"nearest"})}(s.current[Q]),function(e){null!=e&&e.focus&&e.focus({preventScroll:!0})}(e)}}),[q,c,s,Q]),[R,F]},de=o.forwardRef((function(e,t){var n=e.data,r=e.selectedIds,l=e.nodeRenderer,i=e.onSelect,s=void 0===i?M:i,u=e.onNodeSelect,f=void 0===u?M:u,p=e.onExpand,h=void 0===p?M:p,g=e.onLoadData,y=e.className,S=void 0===y?"":y,w=e.multiSelect,E=void 0!==w&&w,I=e.propagateSelect,O=void 0!==I&&I,k=e.propagateSelectUpwards,x=void 0!==k&&k,N=e.propagateCollapse,C=void 0!==N&&N,j=e.expandOnKeyboardSelect,T=void 0!==j&&j,_=e.togglableSelect,L=void 0!==_&&_,B=e.defaultExpandedIds,W=void 0===B?[]:B,R=e.defaultSelectedIds,D=void 0===R?[]:R,P=e.defaultDisabledIds,U=void 0===P?[]:P,z=e.clickAction,Z=void 0===z?b.select:z,H=e.nodeAction,V=void 0===H?"select":H,F=e.expandedIds,K=e.onBlur,Y=v(e,["data","selectedIds","nodeRenderer","onSelect","onNodeSelect","onExpand","onLoadData","className","multiSelect","propagateSelect","propagateSelectUpwards","propagateCollapse","expandOnKeyboardSelect","togglableSelect","defaultExpandedIds","defaultSelectedIds","defaultDisabledIds","clickAction","nodeAction","expandedIds","onBlur"]);!function(e){if(le(e.map((function(e){return e.id}))))throw Error("Multiple TreeView nodes have the same ID. IDs must be unique.");if(e.forEach((function(e){if(e.id===e.parent)throw Error("Node with id=".concat(e.id," has parent reference to itself."));if(le(e.children))throw Error("Node with id=".concat(e.id," contains duplicate ids in its children."))})),0===e.filter((function(e){return null===e.parent})).length)throw Error("TreeView must have one root node.");if(e.filter((function(e){return null===e.parent})).length>1)throw Error("TreeView can have only one root node.");re(e).children.length||console.warn("TreeView have no nodes to display.")}(n);var G=(0,o.useRef)({}),q=(0,o.useRef)({}),X=d(se({data:n,controlledSelectedIds:r,controlledExpandedIds:F,defaultExpandedIds:W,defaultSelectedIds:D,defaultDisabledIds:U,nodeRefs:G,leafRefs:q,onSelect:s,onNodeSelect:f,onExpand:h,onLoadData:g,togglableSelect:L,multiSelect:E,propagateSelect:O,propagateSelectUpwards:x}),2),$=X[0],Q=X[1];O=O&&E;var J=(0,o.useRef)(null);return null!=t&&(J=t),o.createElement("ul",Object.assign({className:a()(m.root,S),role:"tree","aria-multiselectable":"select"===V?E:void 0,ref:J,onBlur:function(e){!function(e,t,n){null!=t?window.navigator.userAgent.match(/Trident/)?setTimeout((function(){return!t.contains(document.activeElement)&&n()}),0):!t.contains(e.nativeEvent.relatedTarget)&&n():console.warn("ref not set on <ul>")}(e,J.current,(function(){K&&K({treeState:$,dispatch:Q}),Q({type:A})}))},onKeyDown:ue({data:n,tabbableId:$.tabbableId,expandedIds:$.expandedIds,selectedIds:$.selectedIds,disabledIds:$.disabledIds,halfSelectedIds:$.halfSelectedIds,clickAction:Z,dispatch:Q,propagateCollapse:C,propagateSelect:O,multiSelect:E,expandOnKeyboardSelect:T,togglableSelect:L})},Y),re(n).children.map((function(e,t){return o.createElement(oe,Object.assign({key:"".concat(e,"-").concat(c(e)),data:n,element:ae(n,e),setsize:re(n).children.length,posinset:t+1,level:1},$,{state:$,dispatch:Q,nodeRefs:G,leafRefs:q,baseClassNames:m,nodeRenderer:l,propagateCollapse:C,propagateSelect:O,propagateSelectUpwards:x,multiSelect:E,togglableSelect:L,clickAction:Z,nodeAction:V}))})))})),ue=function(e){var t=e.data,n=e.expandedIds,r=e.selectedIds,a=e.disabledIds,l=e.tabbableId,i=e.dispatch,o=e.propagateCollapse,c=e.propagateSelect,s=e.multiSelect,d=e.expandOnKeyboardSelect,f=e.togglableSelect,p=e.clickAction;return function(e){var h=ae(t,l),v=h.id;if(e.ctrlKey){if("a"===e.key){e.preventDefault();var m=t.filter((function(e){return null!==e.parent})).map((function(e){return e.id})).filter((function(e){return!a.has(e)}));i({type:j,multiSelect:s,select:Array.from(r).filter((function(e){return!a.has(e)})).length!==m.length,ids:m,lastInteractedWith:h.id})}else if(e.shiftKey&&("Home"===e.key||"End"===e.key)){var g="Home"===e.key?re(t).children[0]:Y(t,v,n),y=X({data:t,expandedIds:n,from:v,to:g}).filter((function(e){return!a.has(e)}));i({type:j,multiSelect:s,select:!0,ids:c?ee(t,y,a):y}),i({type:_,id:g,lastInteractedWith:g})}}else{if(e.shiftKey)switch(e.key){case"ArrowUp":e.preventDefault();var O=G(t,v,n);return void(null==O||a.has(O)||(i({type:j,ids:c?ee(t,[O],a):[O],select:!0,multiSelect:s,lastInteractedWith:O,lastManuallyToggled:O}),i({type:_,id:O,lastInteractedWith:O})));case"ArrowDown":e.preventDefault();var x=q(t,v,n);return void(null==x||a.has(x)||(i({type:j,ids:c?ee(t,[x],a):[x],multiSelect:s,select:!0,lastInteractedWith:x,lastManuallyToggled:x}),i({type:_,id:x,lastInteractedWith:x})))}switch(e.key){case"ArrowDown":e.preventDefault();var C=q(t,v,n);return void(null!=C&&i({type:_,id:C,lastInteractedWith:C}));case"ArrowUp":e.preventDefault();var T=G(t,v,n);return void(null!=T&&i({type:_,id:T,lastInteractedWith:T}));case"ArrowLeft":if(e.preventDefault(),(z(t,v)||h.isBranch)&&n.has(l))if(o){var A=[v].concat(u(V(t,v,new Set)));i({type:w,ids:A,lastInteractedWith:h.id})}else i({type:S,id:v,lastInteractedWith:v});else if(!re(t).children.includes(v)){var L=Z(t,v);if(null==L)throw new Error("parentId of root element is null");i({type:_,id:L,lastInteractedWith:L})}return;case"ArrowRight":return e.preventDefault(),void((z(t,v)||h.isBranch)&&(n.has(l)?i({type:_,id:h.children[0],lastInteractedWith:h.children[0]}):i({type:E,id:v,lastInteractedWith:v})));case"Home":e.preventDefault(),i({type:_,id:re(t).children[0],lastInteractedWith:re(t).children[0]});break;case"End":e.preventDefault();var B=Y(t,re(t).id,n);return void i({type:_,id:B,lastInteractedWith:B});case"*":e.preventDefault();var W=Z(t,v);if(null==W)throw new Error("parentId of element is null");var M=ae(t,W).children.filter((function(e){return z(t,e)||ae(t,e).isBranch}));return void i({type:I,ids:M,lastInteractedWith:v});case"Enter":case" ":case"Spacebar":if(e.preventDefault(),p===b.focus)return;return i({type:f?ne(t,v,r,a):k,id:v,multiSelect:s,lastInteractedWith:v,lastManuallyToggled:v}),c&&!a.has(h.id)&&i({type:j,ids:ee(t,[v],a),select:!f||!r.has(v),multiSelect:s,lastInteractedWith:v,lastManuallyToggled:v}),void(d&&i({type:N,id:v,lastInteractedWith:v}));default:if(1===e.key.length)for(var R=q(t,v,n);R!==v;)if(null!=R){if(ae(t,R).name[0].toLowerCase()===e.key.toLowerCase())return void i({type:_,id:R,lastInteractedWith:v});R=q(t,R,n)}else R=re(t).children[0];return}}}};de.propTypes={data:i().array.isRequired,onSelect:i().func,onNodeSelect:i().func,onExpand:i().func,className:i().string,nodeRenderer:i().func.isRequired,defaultExpandedIds:i().array,defaultSelectedIds:i().array,expandedIds:i().array,selectedIds:i().array,defaultDisabledIds:i().array,propagateCollapse:i().bool,propagateSelect:i().bool,propagateSelectUpwards:i().bool,multiSelect:i().bool,expandOnKeyboardSelect:i().bool,togglableSelect:i().bool,nodeAction:i().oneOf(y),clickAction:i().oneOf(g),onBlur:i().func,onLoadData:i().func},t.ZP=de},9583:function(e,t,n){"use strict";n.d(t,{AeW:function(){return l},IEK:function(){return s},kty:function(){return i},u9M:function(){return o},xik:function(){return a},zuo:function(){return c}});var r=n(8357);function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z"}}]})(e)}function l(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"}}]})(e)}function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM92 296c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h264c6.6 0 12 5.4 12 12v56c0 6.6-5.4 12-12 12H92z"}}]})(e)}function o(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48z"}}]})(e)}function c(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M527.9 224H480v-48c0-26.5-21.5-48-48-48H272l-64-64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h400c16.5 0 31.9-8.5 40.7-22.6l79.9-128c20-31.9-3-73.4-40.7-73.4zM48 118c0-3.3 2.7-6 6-6h134.1l64 64H426c3.3 0 6 2.7 6 6v42H152c-16.8 0-32.4 8.8-41.1 23.2L48 351.4zm400 282H72l77.2-128H528z"}}]})(e)}function s(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 128H272l-54.63-54.63c-6-6-14.14-9.37-22.63-9.37H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm0 272H48V112h140.12l54.63 54.63c6 6 14.14 9.37 22.63 9.37H464v224z"}}]})(e)}},1649:function(e,t,n){"use strict";n.d(t,{am:function(){return a}});var r=n(8357);function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M192 128l128 128-128 128z"}}]})(e)}},8357:function(e,t,n){"use strict";n.d(t,{w_:function(){return s}});var r=n(7294),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l=r.createContext&&r.createContext(a),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},i.apply(this,arguments)},o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&(n[r[a]]=e[r[a]])}return n};function c(e){return e&&e.map((function(e,t){return r.createElement(e.tag,i({key:t},e.attr),c(e.child))}))}function s(e){return function(t){return r.createElement(d,i({attr:i({},e.attr)},t),c(e.child))}}function d(e){var t=function(t){var n,a=e.size||t.size||"1em";t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className);var l=e.attr,c=e.title,s=o(e,["attr","title"]);return r.createElement("svg",i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,l,s,{className:n,style:i({color:e.color||t.color},t.style,e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),c&&r.createElement("title",null,c),e.children)};return void 0!==l?r.createElement(l.Consumer,null,(function(e){return t(e)})):t(a)}},2473:function(e){"use strict";var t=function(){};e.exports=t}}]); \ No newline at end of file diff --git a/assets/js/e56b3d68.6c84bca0.js b/assets/js/e56b3d68.6c84bca0.js deleted file mode 100644 index ed1b83df..00000000 --- a/assets/js/e56b3d68.6c84bca0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[73],{142:function(n,e,r){r.r(e),r.d(e,{assets:function(){return l},contentTitle:function(){return T},default:function(){return G},frontMatter:function(){return D},metadata:function(){return i},toc:function(){return B}});var c=r(7462),A=r(3366),N=r(7294),a=r(3905),m=r(9583),u=r(1649),y=r(148),C=r(4184),I=r.n(C),E=["variant"],R=(0,y.fK)({name:"",children:[{name:"AFGHANISTAN",currencyCode:"971",currencyName:"AFGHANI"},{name:"ALAND ISLANDS",currencyCode:"978",currencyName:"EURO"},{name:"ALBANIA",currencyCode:"008",currencyName:"LEK"},{name:"ALGERIA",currencyCode:"012",currencyName:"ALGERIAN DINAR"},{name:"AMERICAN SAMOA",currencyCode:"840",currencyName:"US DOLLAR"},{name:"ANDORRA",currencyCode:"978",currencyName:"EURO"},{name:"ANGOLA",currencyCode:"973",currencyName:"ANGOLAN KWANZA"},{name:"ANGUILLA",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"ANTARCTICA",currencyCode:"578",currencyName:"NORWEGIAN KRONE"},{name:"ANTIGUA AND BARBUDA",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"ARGENTINA",currencyCode:"032",currencyName:"ARGENTINE PESO"},{name:"ARMENIA",currencyCode:"051",currencyName:"ARMENIAN DRAM"},{name:"ARUBA",currencyCode:"533",currencyName:"ARUBAN GUILDER"},{name:"AUSTRALIA",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"AUSTRIA",currencyCode:"978",currencyName:"EURO"},{name:"AZERBAIJAN",currencyCode:"944",currencyName:"AZERBAIJANIAN MANAT"},{name:"BAHAMAS",currencyCode:"044",currencyName:"BAHAMIAN DOLLAR"},{name:"BAHRAIN",currencyCode:"048",currencyName:"BAHRAINI DINAR"},{name:"BANGLADESH",currencyCode:"050",currencyName:"TAKA"},{name:"BARBADOS",currencyCode:"052",currencyName:"BARBADOS DOLLAR"},{name:"BELARUS",currencyCode:"933",currencyName:"BELARUSIAN RUBLE"},{name:"BELGIUM",currencyCode:"978",currencyName:"EURO"},{name:"BELIZE",currencyCode:"084",currencyName:"BELIZE DOLLAR"},{name:"BENIN",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"BERMUDA",currencyCode:"060",currencyName:"BERMUDIAN DOLLAR"},{name:"BHUTAN",currencyCode:"064",currencyName:"BHUTANESE NGULTRUM"},{name:"BHUTAN",currencyCode:"356",currencyName:"INDIAN RUPEE"},{name:"BOLIVIA",currencyCode:"068",currencyName:"BOLIVIANO"},{name:"BONAIRE, SINT EUSTATIUS AND SABA",currencyCode:"840",currencyName:"US DOLLAR"},{name:"BOSNIA and HERZEGOVINA",currencyCode:"977",currencyName:"CONVERTIBLE MARK"},{name:"BOTSWANA",currencyCode:"072",currencyName:"PULA"},{name:"BOUVET ISLAND",currencyCode:"578",currencyName:"NORWEGIAN KRONE"},{name:"BRAZIL",currencyCode:"986",currencyName:"BRAZILIAN REAL"},{name:"BRAZIL",currencyCode:"996",currencyName:"SPANISH PESETA"},{name:"BRITISH INDIAN OCEAN TERRITORY",currencyCode:"840",currencyName:"US DOLLAR"},{name:"BRUNEI DARUSSALAM",currencyCode:"096",currencyName:"BRUNEI DOLLAR"},{name:"BULGARIA",currencyCode:"975",currencyName:"BULGARIAN LEV"},{name:"BURKINA FASO",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"BURUNDI",currencyCode:"108",currencyName:"BURUNDI FRANC"},{name:"CAMBODIA",currencyCode:"116",currencyName:"RIEL"},{name:"CAMEROON",currencyCode:"950",currencyName:"CFA FRANC BEAC"},{name:"CANADA",currencyCode:"124",currencyName:"CANADIAN DOLLAR"},{name:"CAPE VERDE",currencyCode:"132",currencyName:"CAPE VERDE ESCUDO"},{name:"CAYMAN ISLANDS",currencyCode:"136",currencyName:"CAYMAN ISLANDS DOLLAR"},{name:"CENTRAL AFRICAN REPUBLIC",currencyCode:"950",currencyName:"CFA FRANC BEAC"},{name:"CHAD",currencyCode:"950",currencyName:"CFA FRANC BEAC"},{name:"CHILE",currencyCode:"152",currencyName:"CHILEAN PESO"},{name:"CHINA",currencyCode:"156",currencyName:"CHINESE YUAN RENMINBI"},{name:"CHINA",currencyCode:"158",currencyName:"CHINESE PEOPLE'S BANK"},{name:"CHRISTMAS ISLAND",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"COCOS (KEELING) ISLANDS",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"COLOMBIA",currencyCode:"170",currencyName:"COLOMBIAN PESO"},{name:"COMOROS",currencyCode:"174",currencyName:"COMORO FRANC"},{name:"CONGO",currencyCode:"950",currencyName:"CFA FRANC BEAC"},{name:"COOK ISLANDS",currencyCode:"554",currencyName:"NEW ZEALAND DOLLAR"},{name:"COSTA RICA",currencyCode:"188",currencyName:"COSTA RICAN COLON"},{name:"COTE D\u2019IVOIRE (IVORY COAST)",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"CROATIA",currencyCode:"191",currencyName:"CROATIAN KUNA"},{name:"CURACAO",currencyCode:"532",currencyName:"NETHERLANDS ANTILLEAN"},{name:"CYPRUS",currencyCode:"978",currencyName:"EURO"},{name:"CZECH REPUBLIC",currencyCode:"203",currencyName:"CZECH KORUNA"},{name:"DEMOCRATIC REPUBLIC OF THE CONGO",currencyCode:"976",currencyName:"CONGOLESE"},{name:"DENMARK",currencyCode:"208",currencyName:"DANISH KRONE"},{name:"DJIBOUTI",currencyCode:"262",currencyName:"DJIBOUTI FRANC"},{name:"DOMINICA",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"DOMINICAN REPUBLIC",currencyCode:"214",currencyName:"DOMINICAN PESO"},{name:"EGYPT",currencyCode:"818",currencyName:"EGYPTIAN POUND"},{name:"EL SALVADOR",currencyCode:"222",currencyName:"EL SALVADOR COLON"},{name:"ECUADOR",currencyCode:"840",currencyName:"US DOLLAR"},{name:"EQUATORIAL GUINEA",currencyCode:"950",currencyName:"CFA FRANC BEAC"},{name:"ERITREA",currencyCode:"230",currencyName:"ETHIOPIAN BIRR"},{name:"ERITREA",currencyCode:"232",currencyName:"ERITREAN NAKFA"},{name:"ESTONIA",currencyCode:"978",currencyName:"EURO"},{name:"ETHIOPIA",currencyCode:"230",currencyName:"ETHIOPIAN BIRR"},{name:"FALKLAND ISLANDS (MALVINAS)",currencyCode:"238",currencyName:"FALKLAND ISLANDS POUND"},{name:"FEDERATED STATES OF MICRONESIA",currencyCode:"840",currencyName:"US"},{name:"FIJI",currencyCode:"242",currencyName:"FIJI DOLLAR"},{name:"FINLAND",currencyCode:"978",currencyName:"EURO"},{name:"FRANCE",currencyCode:"978",currencyName:"EURO"},{name:"FRANCE, METROPOLITAN",currencyCode:"978",currencyName:"EURO"},{name:"FRENCH GUIANA",currencyCode:"978",currencyName:"EURO"},{name:"FRENCH POLYNESIA",currencyCode:"953",currencyName:"CFP FRANC"},{name:"GABON",currencyCode:"950",currencyName:"CFA FRANC BEAC"},{name:"GAMBIA",currencyCode:"270",currencyName:"DALASI"},{name:"GEORGIA",currencyCode:"981",currencyName:"LARI"},{name:"GERMANY",currencyCode:"978",currencyName:"EURO"},{name:"GHANA",currencyCode:"936",currencyName:"CEDI"},{name:"GIBRALTAR",currencyCode:"292",currencyName:"GIBRALTAR POUND"},{name:"GREECE",currencyCode:"978",currencyName:"EURO"},{name:"GREENLAND",currencyCode:"208",currencyName:"DANISH KRONE"},{name:"GRENADA",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"GUADELOUPE",currencyCode:"978",currencyName:"EURO"},{name:"GUAM",currencyCode:"840",currencyName:"US DOLLAR"},{name:"GUATEMALA",currencyCode:"320",currencyName:"QUETZAL"},{name:"GUINEA-BISSAU",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"GUINEA",currencyCode:"324",currencyName:"GUINEA FRANC"},{name:"GUYANA",currencyCode:"328",currencyName:"GUYANA DOLLAR"},{name:"HAITI",currencyCode:"332",currencyName:"GOURDE"},{name:"HEARD and MCDONALD ISLANDS",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"HOLY SEE (VATICAN CITY STATE)",currencyCode:"",currencyName:"978"},{name:"HONDURUS",currencyCode:"340",currencyName:"LEMPIRA"},{name:"HONG KONG",currencyCode:"344",currencyName:"HONG KONG DOLLAR"},{name:"HUNGARY",currencyCode:"348",currencyName:"FORINT"},{name:"ICELAND",currencyCode:"352",currencyName:"ICELANDIC KRONA"},{name:"INDIA",currencyCode:"356",currencyName:"INDIAN RUPEE"},{name:"INDONESIA",currencyCode:"360",currencyName:"RUPIAH"},{name:"IRAQ",currencyCode:"368",currencyName:"IRAQI DINAR"},{name:"ISRAEL",currencyCode:"376",currencyName:"NEW ISRAELI SHEKEL"},{name:"IRELAND",currencyCode:"978",currencyName:"EURO"},{name:"ISLE OF MAN",currencyCode:"826",currencyName:"POUND STERLING"},{name:"ITALY",currencyCode:"978",currencyName:"EURO"},{name:"JAMAICA",currencyCode:"388",currencyName:"JAMAICAN DOLLAR"},{name:"JAPAN",currencyCode:"392",currencyName:"YEN"},{name:"JERSEY",currencyCode:"826",currencyName:"POUND STERLING"},{name:"JORDAN",currencyCode:"400",currencyName:"JORDANIAN DINAR"},{name:"KAZAKHSTAN",currencyCode:"398",currencyName:"TENGE"},{name:"KENYA",currencyCode:"404",currencyName:"KENYAN SHILLING"},{name:"KIRIBATI",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"KOREA, REPUBLIC OF",currencyCode:"410",currencyName:"WON"},{name:"KUWAIT",currencyCode:"414",currencyName:"KUWAITI DINAR"},{name:"KYRGYZSTAN",currencyCode:"417",currencyName:"SOM"},{name:"LAO PEOPLE'S DEMOCRATIC REPUBLIC",currencyCode:"418",currencyName:"KIP"},{name:"LATVIA",currencyCode:"978",currencyName:"EURO"},{name:"LEBANON",currencyCode:"422",currencyName:"LEBANESE POUND"},{name:"LESOTHO",currencyCode:"426",currencyName:"LOTI"},{name:"LESOTHO",currencyCode:"710",currencyName:"RAND"},{name:"LIBERIA",currencyCode:"430",currencyName:"LIBERIAN DOLLAR"},{name:"LIBYAN ARAB JAMAHIRIYA",currencyCode:"434",currencyName:"LIBYAN DINAR"},{name:"LIECHTENSTEIN",currencyCode:"756",currencyName:"SWISS FRANC"},{name:"LITHUANIA",currencyCode:"978",currencyName:"EURO"},{name:"LUXEMBOURG",currencyCode:"978",currencyName:"EURO"},{name:"MACAO",currencyCode:"446",currencyName:"PATACA"},{name:"MACEDONIA",currencyCode:"807",currencyName:"DENAR"},{name:"MADAGASCAR",currencyCode:"969",currencyName:"MALAGASY ARIARY"},{name:"MALAWI",currencyCode:"454",currencyName:"MALAWI KWACHA"},{name:"MALAYSIA",currencyCode:"458",currencyName:"MALAYSIAN RINGGIT"},{name:"MALDIVES",currencyCode:"462",currencyName:"RUFIYAA"},{name:"MALI",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"MALTA",currencyCode:"978",currencyName:"EURO"},{name:"MARSHALL ISLANDS",currencyCode:"840",currencyName:"US DOLLAR"},{name:"MARTINIQUE",currencyCode:"978",currencyName:"EURO"},{name:"MAURITANIA",currencyCode:"929",currencyName:"OUGUIYA"},{name:"MAURITIUS",currencyCode:"480",currencyName:"MAURITIUS RUPEE"},{name:"MAYOTTE",currencyCode:"978",currencyName:"EURO"},{name:"MEXICO",currencyCode:"484",currencyName:"MEXICAN PESO"},{name:"MOLDOVA, REPUBLIC OF",currencyCode:"498",currencyName:"MOLDOVAN LEU"},{name:"MONACO",currencyCode:"978",currencyName:"EURO"},{name:"MONGOLIA",currencyCode:"496",currencyName:"TUGRIK"},{name:"MONTENEGRO, REPUBLIC OF",currencyCode:"978",currencyName:"EURO"},{name:"MONTSERRAT",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"MOROCCO",currencyCode:"002",currencyName:"MOROCCAN DIRHAM"},{name:"MOZAMBIQUE",currencyCode:"943",currencyName:"MOZAMBIQUE METICAL"},{name:"MYANMAR",currencyCode:"104",currencyName:"MYANMAR KYAT"},{name:"NAMIBIA",currencyCode:"516",currencyName:"NAMIBIAN DOLLAR"},{name:"NAURU",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"NEPAL",currencyCode:"524",currencyName:"NEPALESE RUPEE"},{name:"NETHERLANDS",currencyCode:"978",currencyName:"EURO"},{name:"NETHERLANDS ANTILLES",currencyCode:"532",currencyName:"NETHLANDES ANTILLIAN"},{name:"NEW CALEDONIA",currencyCode:"953",currencyName:"CFP FRANC"},{name:"NEW ZEALAND",currencyCode:"554",currencyName:"NEW ZEALAND DOLLAR"},{name:"NICARAGUA",currencyCode:"558",currencyName:"CORDOBA ORO"},{name:"NIGER",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"NIGERIA",currencyCode:"566",currencyName:"NAIRA"},{name:"NIUE",currencyCode:"554",currencyName:"NEW ZEALAND DOLLAR"},{name:"NORFOLK ISLAND",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"NORTHERN MARIANA ISLANDS",currencyCode:"840",currencyName:"US DOLLAR"},{name:"NORWAY",currencyCode:"578",currencyName:"NORWEGIAN KRONE"},{name:"OMAN",currencyCode:"512",currencyName:"RIAL OMANI"},{name:"PAKISTAN",currencyCode:"586",currencyName:"PAKISTAN RUPEE"},{name:"PALAU",currencyCode:"840",currencyName:"US DOLLAR"},{name:"PANAMA",currencyCode:"590",currencyName:"BALBOA"},{name:"PAPUA NEW GUINEA",currencyCode:"598",currencyName:"KINA"},{name:"PARAGUAY",currencyCode:"600",currencyName:"GUARANI"},{name:"PERU",currencyCode:"604",currencyName:"NUEVO SOL"},{name:"PHILIPPINES",currencyCode:"608",currencyName:"PHILIPPINE PESO"},{name:"PITCAIRN",currencyCode:"554",currencyName:"NEW ZEALAND DOLLAR"},{name:"POLAND",currencyCode:"985",currencyName:"ZLOTY"},{name:"PORTUGAL",currencyCode:"978",currencyName:"EURO"},{name:"PUERTO RICO",currencyCode:"840",currencyName:"US DOLLAR"},{name:"QATAR",currencyCode:"634",currencyName:"QATARI RIAL"},{name:"REUNION",currencyCode:"978",currencyName:"EURO"},{name:"ROMANIA",currencyCode:"946",currencyName:"ROMANIAN LEU"},{name:"RUSSIAN FEDERATION",currencyCode:"643",currencyName:"RUSSIAN RUBLE"},{name:"RWANDA",currencyCode:"646",currencyName:"RWANDA FRANC"},{name:"SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA",currencyCode:"654",currencyName:"ST. HELENA"},{name:"SAMOA",currencyCode:"882",currencyName:"TALA"},{name:"SAN MARINO",currencyCode:"978",currencyName:"EURO"},{name:"SAO TOME AND PRINCIPE",currencyCode:"930",currencyName:"DOBRA"},{name:"SAUDI ARABIA",currencyCode:"682",currencyName:"SAUDI RIYAL"},{name:"SENEGAL",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"SERBIA",currencyCode:"941",currencyName:"SERBIAN DINAR"},{name:"SEYCHELLES",currencyCode:"690",currencyName:"SEYCHELLES RUPEE"},{name:"SIERRA LEONE",currencyCode:"694",currencyName:"LEONE"},{name:"SINGAPORE",currencyCode:"702",currencyName:"SINGAPORE DOLLAR"},{name:"SINT MAARTEN (DUTCH PART)",currencyCode:"532",currencyName:"NETHERLANDS ANTILLES"},{name:"SLOVAKIA",currencyCode:"978",currencyName:"EURO"},{name:"SLOVENIA",currencyCode:"978",currencyName:"EURO"},{name:"SOLOMON ISLANDS",currencyCode:"090",currencyName:"SOLOMON ISLANDS DOLLAR"},{name:"SOMALIA",currencyCode:"706",currencyName:"SOMALI SHILLING"},{name:"SOUTH AFRICA",currencyCode:"710",currencyName:"RAND"},{name:"SOUTH SUDAN",currencyCode:"728",currencyName:"SOUTH SUDANESE POUND"},{name:"SPAIN",currencyCode:"978",currencyName:"EURO"},{name:"SRI LANKA",currencyCode:"144",currencyName:"SRI LANKA RUPEE"},{name:"ST. KITTS-NEVIS",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"ST. LUCIA",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"ST. PIERRE AND MIQUELON",currencyCode:"978",currencyName:"EURO"},{name:"ST. VINCENT AND THE GRENADINES",currencyCode:"951",currencyName:"EAST CARRIBEAN"},{name:"SURINAME",currencyCode:"968",currencyName:"SURINAME DOLLAR"},{name:"SVALBARD AND JAN MAYEN",currencyCode:"578",currencyName:"NORWEGIAN KRONE"},{name:"SWITZERLAND",currencyCode:"756",currencyName:"SWISS FRANC"},{name:"SWAZILAND",currencyCode:"748",currencyName:"LILANGENI"},{name:"SWEDEN",currencyCode:"752",currencyName:"SWEDISH KRONA"},{name:"TAIWAN",currencyCode:"901",currencyName:"NEW TAIWAN DOLLAR"},{name:"TAJIKISTAN",currencyCode:"972",currencyName:"SOMONI"},{name:"TANZANIA, UNITED REPUBLIC OF",currencyCode:"834",currencyName:"TANZANIAN"},{name:"THAILAND",currencyCode:"764",currencyName:"BAHT"},{name:"TIMOR-LESTE",currencyCode:"840",currencyName:"US DOLLAR"},{name:"TOGO",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"TOKELAU",currencyCode:"554",currencyName:"NEW ZEALAND DOLLAR"},{name:"TONGA",currencyCode:"776",currencyName:"PA'ANGA"},{name:"TRINIDAD AND TOBAGO",currencyCode:"780",currencyName:"TRINIDAD AND TOBAGO"},{name:"TUNISIA",currencyCode:"788",currencyName:"TUNISIAN DINAR"},{name:"TURKEY",currencyCode:"949",currencyName:"TURKISH LIRA"},{name:"TURKMENISTAN",currencyCode:"934",currencyName:"MANAT"},{name:"TURKS and CAICOS ISLANDS",currencyCode:"840",currencyName:"US DOLLAR"},{name:"TUVALU",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"UGANDA",currencyCode:"800",currencyName:"UGANDAN SHILLING"},{name:"UKRAINE",currencyCode:"980",currencyName:"UKRAINIAN HRYVNIA"},{name:"UNITED ARAB EMIRATES",currencyCode:"784",currencyName:"U.A.E. DIRHAM"},{name:"UNITED KINGDOM",currencyCode:"826",currencyName:"POUND STERLING"},{name:"UNITED STATES",currencyCode:"840",currencyName:"US DOLLAR"},{name:"URUGUAY",currencyCode:"858",currencyName:"PESO URUGUAYO"},{name:"UZBEKISTAN",currencyCode:"860",currencyName:"UZBEKISTAN SUM"},{name:"VANUATU",currencyCode:"548",currencyName:"VATU"},{name:"VENEZUELA",currencyCode:"928",currencyName:"BOLIVAR SOBERANO"},{name:"VIETNAM",currencyCode:"704",currencyName:"DONG"},{name:"BRITISH VIRGIN ISLANDS",currencyCode:"840",currencyName:"US DOLLAR"},{name:"U.S. VIRGIN ISLANDS",currencyCode:"840",currencyName:"US DOLLAR"},{name:"WALLIS AND FUTUNA ISLANDS",currencyCode:"953",currencyName:"CFP FRANC"},{name:"WESTERN SAHARA",currencyCode:"504",currencyName:"MOROCCAN DIRHAM"},{name:"YEMEN",currencyCode:"886",currencyName:"YEMENI RIAL"},{name:"ZAMBIA",currencyCode:"967",currencyName:"ZAMBIAN KWACHA"},{name:"ZIMBABWE",currencyCode:"716",currencyName:"ZIMBABWE DOLLAR"},{name:"CUBA",currencyCode:"192",currencyName:"CUBAN PESO"},{name:"ECUADOR",currencyCode:"218",currencyName:"SUCRE"},{name:"IRAN",currencyCode:"364",currencyName:"IRANIAN RIAL"},{name:"LATVIA",currencyCode:"428",currencyName:"LATVIAN LATS"},{name:"LITHUANIA",currencyCode:"440",currencyName:"LITHUANIAN LITAS"},{name:"GUINEA-BISSAU",currencyCode:"624",currencyName:"GUINEA-BISSAU PESO"},{name:"SYRIA",currencyCode:"760",currencyName:"SYRIAN POUND"},{name:"TONGA",currencyCode:"776",currencyName:"PA\u2019ANGA"}]});var o=function(n){var e,r,c=n.isOpen,A=n.className,a="arrow",m=I()(a,((e={})[a+"--closed"]=!c,e),((r={})[a+"--open"]=c,r),A);return N.createElement(u.am,{className:m})},d=function(n){var e=n.variant,r=(0,A.Z)(n,E);switch(e){case"all":return N.createElement(m.xik,r);case"none":return N.createElement(m.u9M,r);case"some":return N.createElement(m.kty,r);default:return null}},L=function(){var n=(0,N.useState)(R),e=n[0],r=n[1],A=function(n){var e=[],c=function n(r){R.forEach((function(c){c.parent===r&&(e.find((function(n){return n.id===c.id}))||e.push(c),c.children.length&&n(c.id))}))};R.forEach((function(r){"ROOT"!==r.id&&r.name.includes(n.toUpperCase())&&(e.find((function(n){return n.id===r.id}))||e.push(r),r.children.length&&c(r.id))})),e.unshift(Object.assign(Object.assign({},R[0],{children:R[0].children.filter((function(n){return e.find((function(e){return e.id===n}))}))}))),r(e)},a=function(){var n=document.querySelector("#txtToFilter").value.trim();n?A(n):r(R)};return N.createElement("div",null,N.createElement("div",null,N.createElement("label",{htmlFor:"txtToFilter"},"Text to filter: "),N.createElement("input",{id:"txtToFilter",type:"text",onKeyDown:function(n){"Enter"===n.key&&a()}}),N.createElement("button",{onClick:function(){return a()}},"Apply")),1===e.length?N.createElement("div",null,"No nodes match filter"):N.createElement("div",{className:"filtered"},N.createElement(y.ZP,{data:e,"aria-label":"Filtered tree",multiSelect:!0,propagateSelect:!0,propagateSelectUpwards:!0,togglableSelect:!0,nodeRenderer:function(n){var e=n.element,r=n.isBranch,A=n.isExpanded,a=n.isSelected,m=n.isHalfSelected,u=n.getNodeProps,y=n.level,C=n.handleSelect,I=n.handleExpand;return N.createElement("div",(0,c.Z)({},u({onClick:I}),{style:{marginLeft:40*(y-1)}}),N.createElement("div",{style:{marginLeft:r?"0":"21px"}},r&&N.createElement(o,{isOpen:A}),N.createElement(d,{className:"checkbox-icon",onClick:function(n){C(n),n.stopPropagation()},variant:m?"some":a?"all":"none"}),N.createElement("span",{className:"name"},e.name)))}})))},O='import React, { useState } from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst countries = {\n name: "",\n children: [\n {\n name: "AFGHANISTAN",\n currencyCode: "971",\n currencyName: "AFGHANI",\n },\n {\n name: "ALAND ISLANDS",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "ALBANIA",\n currencyCode: "008",\n currencyName: "LEK",\n },\n {\n name: "ALGERIA",\n currencyCode: "012",\n currencyName: "ALGERIAN DINAR",\n },\n {\n name: "AMERICAN SAMOA",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "ANDORRA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "ANGOLA",\n currencyCode: "973",\n currencyName: "ANGOLAN KWANZA",\n },\n {\n name: "ANGUILLA",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "ANTARCTICA",\n currencyCode: "578",\n currencyName: "NORWEGIAN KRONE",\n },\n {\n name: "ANTIGUA AND BARBUDA",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "ARGENTINA",\n currencyCode: "032",\n currencyName: "ARGENTINE PESO",\n },\n {\n name: "ARMENIA",\n currencyCode: "051",\n currencyName: "ARMENIAN DRAM",\n },\n {\n name: "ARUBA",\n currencyCode: "533",\n currencyName: "ARUBAN GUILDER",\n },\n {\n name: "AUSTRALIA",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "AUSTRIA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "AZERBAIJAN",\n currencyCode: "944",\n currencyName: "AZERBAIJANIAN MANAT",\n },\n {\n name: "BAHAMAS",\n currencyCode: "044",\n currencyName: "BAHAMIAN DOLLAR",\n },\n {\n name: "BAHRAIN",\n currencyCode: "048",\n currencyName: "BAHRAINI DINAR",\n },\n {\n name: "BANGLADESH",\n currencyCode: "050",\n currencyName: "TAKA",\n },\n {\n name: "BARBADOS",\n currencyCode: "052",\n currencyName: "BARBADOS DOLLAR",\n },\n {\n name: "BELARUS",\n currencyCode: "933",\n currencyName: "BELARUSIAN RUBLE",\n },\n {\n name: "BELGIUM",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "BELIZE",\n currencyCode: "084",\n currencyName: "BELIZE DOLLAR",\n },\n {\n name: "BENIN",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "BERMUDA",\n currencyCode: "060",\n currencyName: "BERMUDIAN DOLLAR",\n },\n {\n name: "BHUTAN",\n currencyCode: "064",\n currencyName: "BHUTANESE NGULTRUM",\n },\n {\n name: "BHUTAN",\n currencyCode: "356",\n currencyName: "INDIAN RUPEE",\n },\n {\n name: "BOLIVIA",\n currencyCode: "068",\n currencyName: "BOLIVIANO",\n },\n {\n name: "BONAIRE, SINT EUSTATIUS AND SABA",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "BOSNIA and HERZEGOVINA",\n currencyCode: "977",\n currencyName: "CONVERTIBLE MARK",\n },\n {\n name: "BOTSWANA",\n currencyCode: "072",\n currencyName: "PULA",\n },\n {\n name: "BOUVET ISLAND",\n currencyCode: "578",\n currencyName: "NORWEGIAN KRONE",\n },\n {\n name: "BRAZIL",\n currencyCode: "986",\n currencyName: "BRAZILIAN REAL",\n },\n {\n name: "BRAZIL",\n currencyCode: "996",\n currencyName: "SPANISH PESETA",\n },\n {\n name: "BRITISH INDIAN OCEAN TERRITORY",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "BRUNEI DARUSSALAM",\n currencyCode: "096",\n currencyName: "BRUNEI DOLLAR",\n },\n {\n name: "BULGARIA",\n currencyCode: "975",\n currencyName: "BULGARIAN LEV",\n },\n {\n name: "BURKINA FASO",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "BURUNDI",\n currencyCode: "108",\n currencyName: "BURUNDI FRANC",\n },\n {\n name: "CAMBODIA",\n currencyCode: "116",\n currencyName: "RIEL",\n },\n {\n name: "CAMEROON",\n currencyCode: "950",\n currencyName: "CFA FRANC BEAC",\n },\n {\n name: "CANADA",\n currencyCode: "124",\n currencyName: "CANADIAN DOLLAR",\n },\n {\n name: "CAPE VERDE",\n currencyCode: "132",\n currencyName: "CAPE VERDE ESCUDO",\n },\n {\n name: "CAYMAN ISLANDS",\n currencyCode: "136",\n currencyName: "CAYMAN ISLANDS DOLLAR",\n },\n {\n name: "CENTRAL AFRICAN REPUBLIC",\n currencyCode: "950",\n currencyName: "CFA FRANC BEAC",\n },\n {\n name: "CHAD",\n currencyCode: "950",\n currencyName: "CFA FRANC BEAC",\n },\n {\n name: "CHILE",\n currencyCode: "152",\n currencyName: "CHILEAN PESO",\n },\n {\n name: "CHINA",\n currencyCode: "156",\n currencyName: "CHINESE YUAN RENMINBI",\n },\n {\n name: "CHINA",\n currencyCode: "158",\n currencyName: "CHINESE PEOPLE\'S BANK",\n },\n {\n name: "CHRISTMAS ISLAND",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "COCOS (KEELING) ISLANDS",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "COLOMBIA",\n currencyCode: "170",\n currencyName: "COLOMBIAN PESO",\n },\n {\n name: "COMOROS",\n currencyCode: "174",\n currencyName: "COMORO FRANC",\n },\n {\n name: "CONGO",\n currencyCode: "950",\n currencyName: "CFA FRANC BEAC",\n },\n {\n name: "COOK ISLANDS",\n currencyCode: "554",\n currencyName: "NEW ZEALAND DOLLAR",\n },\n {\n name: "COSTA RICA",\n currencyCode: "188",\n currencyName: "COSTA RICAN COLON",\n },\n {\n name: "COTE D\u2019IVOIRE (IVORY COAST)",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "CROATIA",\n currencyCode: "191",\n currencyName: "CROATIAN KUNA",\n },\n {\n name: "CURACAO",\n currencyCode: "532",\n currencyName: "NETHERLANDS ANTILLEAN",\n },\n {\n name: "CYPRUS",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "CZECH REPUBLIC",\n currencyCode: "203",\n currencyName: "CZECH KORUNA",\n },\n {\n name: "DEMOCRATIC REPUBLIC OF THE CONGO",\n currencyCode: "976",\n currencyName: "CONGOLESE",\n },\n {\n name: "DENMARK",\n currencyCode: "208",\n currencyName: "DANISH KRONE",\n },\n {\n name: "DJIBOUTI",\n currencyCode: "262",\n currencyName: "DJIBOUTI FRANC",\n },\n {\n name: "DOMINICA",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "DOMINICAN REPUBLIC",\n currencyCode: "214",\n currencyName: "DOMINICAN PESO",\n },\n {\n name: "EGYPT",\n currencyCode: "818",\n currencyName: "EGYPTIAN POUND",\n },\n {\n name: "EL SALVADOR",\n currencyCode: "222",\n currencyName: "EL SALVADOR COLON",\n },\n {\n name: "ECUADOR",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "EQUATORIAL GUINEA",\n currencyCode: "950",\n currencyName: "CFA FRANC BEAC",\n },\n {\n name: "ERITREA",\n currencyCode: "230",\n currencyName: "ETHIOPIAN BIRR",\n },\n {\n name: "ERITREA",\n currencyCode: "232",\n currencyName: "ERITREAN NAKFA",\n },\n {\n name: "ESTONIA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "ETHIOPIA",\n currencyCode: "230",\n currencyName: "ETHIOPIAN BIRR",\n },\n {\n name: "FALKLAND ISLANDS (MALVINAS)",\n currencyCode: "238",\n currencyName: "FALKLAND ISLANDS POUND",\n },\n {\n name: "FEDERATED STATES OF MICRONESIA",\n currencyCode: "840",\n currencyName: "US",\n },\n {\n name: "FIJI",\n currencyCode: "242",\n currencyName: "FIJI DOLLAR",\n },\n {\n name: "FINLAND",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "FRANCE",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "FRANCE, METROPOLITAN",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "FRENCH GUIANA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "FRENCH POLYNESIA",\n currencyCode: "953",\n currencyName: "CFP FRANC",\n },\n {\n name: "GABON",\n currencyCode: "950",\n currencyName: "CFA FRANC BEAC",\n },\n {\n name: "GAMBIA",\n currencyCode: "270",\n currencyName: "DALASI",\n },\n {\n name: "GEORGIA",\n currencyCode: "981",\n currencyName: "LARI",\n },\n {\n name: "GERMANY",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "GHANA",\n currencyCode: "936",\n currencyName: "CEDI",\n },\n {\n name: "GIBRALTAR",\n currencyCode: "292",\n currencyName: "GIBRALTAR POUND",\n },\n {\n name: "GREECE",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "GREENLAND",\n currencyCode: "208",\n currencyName: "DANISH KRONE",\n },\n {\n name: "GRENADA",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "GUADELOUPE",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "GUAM",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "GUATEMALA",\n currencyCode: "320",\n currencyName: "QUETZAL",\n },\n {\n name: "GUINEA-BISSAU",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "GUINEA",\n currencyCode: "324",\n currencyName: "GUINEA FRANC",\n },\n {\n name: "GUYANA",\n currencyCode: "328",\n currencyName: "GUYANA DOLLAR",\n },\n {\n name: "HAITI",\n currencyCode: "332",\n currencyName: "GOURDE",\n },\n {\n name: "HEARD and MCDONALD ISLANDS",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "HOLY SEE (VATICAN CITY STATE)",\n currencyCode: "",\n currencyName: "978",\n },\n {\n name: "HONDURUS",\n currencyCode: "340",\n currencyName: "LEMPIRA",\n },\n {\n name: "HONG KONG",\n currencyCode: "344",\n currencyName: "HONG KONG DOLLAR",\n },\n {\n name: "HUNGARY",\n currencyCode: "348",\n currencyName: "FORINT",\n },\n {\n name: "ICELAND",\n currencyCode: "352",\n currencyName: "ICELANDIC KRONA",\n },\n {\n name: "INDIA",\n currencyCode: "356",\n currencyName: "INDIAN RUPEE",\n },\n {\n name: "INDONESIA",\n currencyCode: "360",\n currencyName: "RUPIAH",\n },\n {\n name: "IRAQ",\n currencyCode: "368",\n currencyName: "IRAQI DINAR",\n },\n {\n name: "ISRAEL",\n currencyCode: "376",\n currencyName: "NEW ISRAELI SHEKEL",\n },\n {\n name: "IRELAND",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "ISLE OF MAN",\n currencyCode: "826",\n currencyName: "POUND STERLING",\n },\n {\n name: "ITALY",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "JAMAICA",\n currencyCode: "388",\n currencyName: "JAMAICAN DOLLAR",\n },\n {\n name: "JAPAN",\n currencyCode: "392",\n currencyName: "YEN",\n },\n {\n name: "JERSEY",\n currencyCode: "826",\n currencyName: "POUND STERLING",\n },\n {\n name: "JORDAN",\n currencyCode: "400",\n currencyName: "JORDANIAN DINAR",\n },\n {\n name: "KAZAKHSTAN",\n currencyCode: "398",\n currencyName: "TENGE",\n },\n {\n name: "KENYA",\n currencyCode: "404",\n currencyName: "KENYAN SHILLING",\n },\n {\n name: "KIRIBATI",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "KOREA, REPUBLIC OF",\n currencyCode: "410",\n currencyName: "WON",\n },\n {\n name: "KUWAIT",\n currencyCode: "414",\n currencyName: "KUWAITI DINAR",\n },\n {\n name: "KYRGYZSTAN",\n currencyCode: "417",\n currencyName: "SOM",\n },\n {\n name: "LAO PEOPLE\'S DEMOCRATIC REPUBLIC",\n currencyCode: "418",\n currencyName: "KIP",\n },\n {\n name: "LATVIA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "LEBANON",\n currencyCode: "422",\n currencyName: "LEBANESE POUND",\n },\n {\n name: "LESOTHO",\n currencyCode: "426",\n currencyName: "LOTI",\n },\n {\n name: "LESOTHO",\n currencyCode: "710",\n currencyName: "RAND",\n },\n {\n name: "LIBERIA",\n currencyCode: "430",\n currencyName: "LIBERIAN DOLLAR",\n },\n {\n name: "LIBYAN ARAB JAMAHIRIYA",\n currencyCode: "434",\n currencyName: "LIBYAN DINAR",\n },\n {\n name: "LIECHTENSTEIN",\n currencyCode: "756",\n currencyName: "SWISS FRANC",\n },\n {\n name: "LITHUANIA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "LUXEMBOURG",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "MACAO",\n currencyCode: "446",\n currencyName: "PATACA",\n },\n {\n name: "MACEDONIA",\n currencyCode: "807",\n currencyName: "DENAR",\n },\n {\n name: "MADAGASCAR",\n currencyCode: "969",\n currencyName: "MALAGASY ARIARY",\n },\n {\n name: "MALAWI",\n currencyCode: "454",\n currencyName: "MALAWI KWACHA",\n },\n {\n name: "MALAYSIA",\n currencyCode: "458",\n currencyName: "MALAYSIAN RINGGIT",\n },\n {\n name: "MALDIVES",\n currencyCode: "462",\n currencyName: "RUFIYAA",\n },\n {\n name: "MALI",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "MALTA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "MARSHALL ISLANDS",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "MARTINIQUE",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "MAURITANIA",\n currencyCode: "929",\n currencyName: "OUGUIYA",\n },\n {\n name: "MAURITIUS",\n currencyCode: "480",\n currencyName: "MAURITIUS RUPEE",\n },\n {\n name: "MAYOTTE",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "MEXICO",\n currencyCode: "484",\n currencyName: "MEXICAN PESO",\n },\n {\n name: "MOLDOVA, REPUBLIC OF",\n currencyCode: "498",\n currencyName: "MOLDOVAN LEU",\n },\n {\n name: "MONACO",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "MONGOLIA",\n currencyCode: "496",\n currencyName: "TUGRIK",\n },\n {\n name: "MONTENEGRO, REPUBLIC OF",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "MONTSERRAT",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "MOROCCO",\n currencyCode: "002",\n currencyName: "MOROCCAN DIRHAM",\n },\n {\n name: "MOZAMBIQUE",\n currencyCode: "943",\n currencyName: "MOZAMBIQUE METICAL",\n },\n {\n name: "MYANMAR",\n currencyCode: "104",\n currencyName: "MYANMAR KYAT",\n },\n {\n name: "NAMIBIA",\n currencyCode: "516",\n currencyName: "NAMIBIAN DOLLAR",\n },\n {\n name: "NAURU",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "NEPAL",\n currencyCode: "524",\n currencyName: "NEPALESE RUPEE",\n },\n {\n name: "NETHERLANDS",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "NETHERLANDS ANTILLES",\n currencyCode: "532",\n currencyName: "NETHLANDES ANTILLIAN",\n },\n {\n name: "NEW CALEDONIA",\n currencyCode: "953",\n currencyName: "CFP FRANC",\n },\n {\n name: "NEW ZEALAND",\n currencyCode: "554",\n currencyName: "NEW ZEALAND DOLLAR",\n },\n {\n name: "NICARAGUA",\n currencyCode: "558",\n currencyName: "CORDOBA ORO",\n },\n {\n name: "NIGER",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "NIGERIA",\n currencyCode: "566",\n currencyName: "NAIRA",\n },\n {\n name: "NIUE",\n currencyCode: "554",\n currencyName: "NEW ZEALAND DOLLAR",\n },\n {\n name: "NORFOLK ISLAND",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "NORTHERN MARIANA ISLANDS",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "NORWAY",\n currencyCode: "578",\n currencyName: "NORWEGIAN KRONE",\n },\n {\n name: "OMAN",\n currencyCode: "512",\n currencyName: "RIAL OMANI",\n },\n {\n name: "PAKISTAN",\n currencyCode: "586",\n currencyName: "PAKISTAN RUPEE",\n },\n {\n name: "PALAU",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "PANAMA",\n currencyCode: "590",\n currencyName: "BALBOA",\n },\n {\n name: "PAPUA NEW GUINEA",\n currencyCode: "598",\n currencyName: "KINA",\n },\n {\n name: "PARAGUAY",\n currencyCode: "600",\n currencyName: "GUARANI",\n },\n {\n name: "PERU",\n currencyCode: "604",\n currencyName: "NUEVO SOL",\n },\n {\n name: "PHILIPPINES",\n currencyCode: "608",\n currencyName: "PHILIPPINE PESO",\n },\n {\n name: "PITCAIRN",\n currencyCode: "554",\n currencyName: "NEW ZEALAND DOLLAR",\n },\n {\n name: "POLAND",\n currencyCode: "985",\n currencyName: "ZLOTY",\n },\n {\n name: "PORTUGAL",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "PUERTO RICO",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "QATAR",\n currencyCode: "634",\n currencyName: "QATARI RIAL",\n },\n {\n name: "REUNION",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "ROMANIA",\n currencyCode: "946",\n currencyName: "ROMANIAN LEU",\n },\n {\n name: "RUSSIAN FEDERATION",\n currencyCode: "643",\n currencyName: "RUSSIAN RUBLE",\n },\n {\n name: "RWANDA",\n currencyCode: "646",\n currencyName: "RWANDA FRANC",\n },\n {\n name: "SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA",\n currencyCode: "654",\n currencyName: "ST. HELENA",\n },\n {\n name: "SAMOA",\n currencyCode: "882",\n currencyName: "TALA",\n },\n {\n name: "SAN MARINO",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "SAO TOME AND PRINCIPE",\n currencyCode: "930",\n currencyName: "DOBRA",\n },\n {\n name: "SAUDI ARABIA",\n currencyCode: "682",\n currencyName: "SAUDI RIYAL",\n },\n {\n name: "SENEGAL",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "SERBIA",\n currencyCode: "941",\n currencyName: "SERBIAN DINAR",\n },\n {\n name: "SEYCHELLES",\n currencyCode: "690",\n currencyName: "SEYCHELLES RUPEE",\n },\n {\n name: "SIERRA LEONE",\n currencyCode: "694",\n currencyName: "LEONE",\n },\n {\n name: "SINGAPORE",\n currencyCode: "702",\n currencyName: "SINGAPORE DOLLAR",\n },\n {\n name: "SINT MAARTEN (DUTCH PART)",\n currencyCode: "532",\n currencyName: "NETHERLANDS ANTILLES",\n },\n {\n name: "SLOVAKIA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "SLOVENIA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "SOLOMON ISLANDS",\n currencyCode: "090",\n currencyName: "SOLOMON ISLANDS DOLLAR",\n },\n {\n name: "SOMALIA",\n currencyCode: "706",\n currencyName: "SOMALI SHILLING",\n },\n {\n name: "SOUTH AFRICA",\n currencyCode: "710",\n currencyName: "RAND",\n },\n {\n name: "SOUTH SUDAN",\n currencyCode: "728",\n currencyName: "SOUTH SUDANESE POUND",\n },\n {\n name: "SPAIN",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "SRI LANKA",\n currencyCode: "144",\n currencyName: "SRI LANKA RUPEE",\n },\n {\n name: "ST. KITTS-NEVIS",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "ST. LUCIA",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "ST. PIERRE AND MIQUELON",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "ST. VINCENT AND THE GRENADINES",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN",\n },\n {\n name: "SURINAME",\n currencyCode: "968",\n currencyName: "SURINAME DOLLAR",\n },\n {\n name: "SVALBARD AND JAN MAYEN",\n currencyCode: "578",\n currencyName: "NORWEGIAN KRONE",\n },\n {\n name: "SWITZERLAND",\n currencyCode: "756",\n currencyName: "SWISS FRANC",\n },\n {\n name: "SWAZILAND",\n currencyCode: "748",\n currencyName: "LILANGENI",\n },\n {\n name: "SWEDEN",\n currencyCode: "752",\n currencyName: "SWEDISH KRONA",\n },\n {\n name: "TAIWAN",\n currencyCode: "901",\n currencyName: "NEW TAIWAN DOLLAR",\n },\n {\n name: "TAJIKISTAN",\n currencyCode: "972",\n currencyName: "SOMONI",\n },\n {\n name: "TANZANIA, UNITED REPUBLIC OF",\n currencyCode: "834",\n currencyName: "TANZANIAN",\n },\n {\n name: "THAILAND",\n currencyCode: "764",\n currencyName: "BAHT",\n },\n {\n name: "TIMOR-LESTE",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "TOGO",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "TOKELAU",\n currencyCode: "554",\n currencyName: "NEW ZEALAND DOLLAR",\n },\n {\n name: "TONGA",\n currencyCode: "776",\n currencyName: "PA\'ANGA",\n },\n {\n name: "TRINIDAD AND TOBAGO",\n currencyCode: "780",\n currencyName: "TRINIDAD AND TOBAGO",\n },\n {\n name: "TUNISIA",\n currencyCode: "788",\n currencyName: "TUNISIAN DINAR",\n },\n {\n name: "TURKEY",\n currencyCode: "949",\n currencyName: "TURKISH LIRA",\n },\n {\n name: "TURKMENISTAN",\n currencyCode: "934",\n currencyName: "MANAT",\n },\n {\n name: "TURKS and CAICOS ISLANDS",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "TUVALU",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "UGANDA",\n currencyCode: "800",\n currencyName: "UGANDAN SHILLING",\n },\n {\n name: "UKRAINE",\n currencyCode: "980",\n currencyName: "UKRAINIAN HRYVNIA",\n },\n {\n name: "UNITED ARAB EMIRATES",\n currencyCode: "784",\n currencyName: "U.A.E. DIRHAM",\n },\n {\n name: "UNITED KINGDOM",\n currencyCode: "826",\n currencyName: "POUND STERLING",\n },\n {\n name: "UNITED STATES",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "URUGUAY",\n currencyCode: "858",\n currencyName: "PESO URUGUAYO",\n },\n {\n name: "UZBEKISTAN",\n currencyCode: "860",\n currencyName: "UZBEKISTAN SUM",\n },\n {\n name: "VANUATU",\n currencyCode: "548",\n currencyName: "VATU",\n },\n {\n name: "VENEZUELA",\n currencyCode: "928",\n currencyName: "BOLIVAR SOBERANO",\n },\n {\n name: "VIETNAM",\n currencyCode: "704",\n currencyName: "DONG",\n },\n {\n name: "BRITISH VIRGIN ISLANDS",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "U.S. VIRGIN ISLANDS",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "WALLIS AND FUTUNA ISLANDS",\n currencyCode: "953",\n currencyName: "CFP FRANC",\n },\n {\n name: "WESTERN SAHARA",\n currencyCode: "504",\n currencyName: "MOROCCAN DIRHAM",\n },\n {\n name: "YEMEN",\n currencyCode: "886",\n currencyName: "YEMENI RIAL",\n },\n {\n name: "ZAMBIA",\n currencyCode: "967",\n currencyName: "ZAMBIAN KWACHA",\n },\n {\n name: "ZIMBABWE",\n currencyCode: "716",\n currencyName: "ZIMBABWE DOLLAR",\n },\n {\n name: "CUBA",\n currencyCode: "192",\n currencyName: "CUBAN PESO",\n },\n {\n name: "ECUADOR",\n currencyCode: "218",\n currencyName: "SUCRE",\n },\n {\n name: "IRAN",\n currencyCode: "364",\n currencyName: "IRANIAN RIAL",\n },\n {\n name: "LATVIA",\n currencyCode: "428",\n currencyName: "LATVIAN LATS",\n },\n {\n name: "LITHUANIA",\n currencyCode: "440",\n currencyName: "LITHUANIAN LITAS",\n },\n {\n name: "GUINEA-BISSAU",\n currencyCode: "624",\n currencyName: "GUINEA-BISSAU PESO",\n },\n {\n name: "SYRIA",\n currencyCode: "760",\n currencyName: "SYRIAN POUND",\n },\n {\n name: "TONGA",\n currencyCode: "776",\n currencyName: "PA\u2019ANGA",\n },\n ],\n};\n\nconst data = flattenTree(countries);\n\nfunction Filtering() {\n const [treeData, setTreeData] = useState(data);\n\n const filter = (value) => {\n const filtered = [];\n const includeChildren = (id) => {\n data.forEach((item) => {\n if (item.parent === id) {\n if (!filtered.find((x) => x.id === item.id)) {\n filtered.push(item);\n }\n if (item.children.length) {\n includeChildren(item.id);\n }\n }\n });\n };\n data.forEach((item) => {\n if (item.id === "ROOT") {\n return;\n }\n if (item.name.includes(value.toUpperCase())) {\n if (!filtered.find((x) => x.id === item.id)) {\n filtered.push(item);\n }\n\n if (item.children.length) {\n includeChildren(item.id);\n }\n }\n });\n filtered.unshift(\n Object.assign({\n ...data[0],\n children: data[0].children.filter((id) =>\n filtered.find((fitem) => fitem.id === id)\n ),\n })\n );\n setTreeData(filtered);\n };\n\n const filterNodesByText = () => {\n const valueToFilter = document.querySelector("#txtToFilter").value.trim();\n if (!!valueToFilter) {\n filter(valueToFilter);\n } else {\n setTreeData(data);\n }\n };\n\n const onKeyDown = (e) => {\n if (e.key === "Enter") {\n filterNodesByText();\n }\n };\n\n return (\n <div>\n <div>\n <label htmlFor="txtToFilter">Text to filter: </label>\n <input id="txtToFilter" type="text" onKeyDown={onKeyDown} />\n <button onClick={() => filterNodesByText()}>Apply</button>\n </div>\n {treeData.length === 1 ? (\n <div>No nodes match filter</div>\n ) : (\n <div className="filtered">\n <TreeView\n data={treeData}\n aria-label="Filtered tree"\n multiSelect\n propagateSelect\n propagateSelectUpwards\n togglableSelect\n nodeRenderer={({\n element,\n isBranch,\n isExpanded,\n isSelected,\n isHalfSelected,\n getNodeProps,\n level,\n handleSelect,\n handleExpand,\n }) => {\n return (\n <div\n {...getNodeProps({ onClick: handleExpand })}\n style={{ marginLeft: 40 * (level - 1) }}\n >\n <div style={{ marginLeft: isBranch ? "0" : "21px" }}>\n {isBranch && <ArrowIcon isOpen={isExpanded} />}\n <CheckBoxIcon\n className="checkbox-icon"\n onClick={(e) => {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n <span className="name">{element.name}</span>\n </div>\n </div>\n );\n }}\n />\n </div>\n )}\n </div>\n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return <IoMdArrowDropright className={classes} />;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return <FaCheckSquare {...rest} />;\n case "none":\n return <FaSquare {...rest} />;\n case "some":\n return <FaMinusSquare {...rest} />;\n default:\n return null;\n }\n};\n\nexport default Filtering;\n',S='.filtered {\n font-size: 16px;\n user-select: none;\n min-height: 320px;\n padding: 20px;\n box-sizing: content-box;\n}\n\n.filtered .tree,\n.filtered .tree-node,\n.filtered .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.filtered .tree-branch-wrapper {\n outline: none;\n}\n\n.filtered .tree-node {\n cursor: pointer;\n}\n\n.filtered .tree-node .name:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n\n.filtered .tree-node--focused .name {\n background: rgba(0, 0, 0, 0.2);\n}\n\n.filtered .tree-node {\n display: inline-block;\n}\n\n.filtered .checkbox-icon {\n margin: 0 5px;\n vertical-align: middle;\n}\n\n.filtered button {\n border: none;\n background: transparent;\n cursor: pointer;\n}\n\n.filtered .arrow {\n margin-left: 5px;\n vertical-align: middle;\n}\n\n.filtered .arrow--open {\n transform: rotate(90deg);\n}\n\n.filtered [role="treeitem"] {\n display: inline-flex;\n flex-direction: column;\n margin-left: px-to-rem(2);\n}\n\n.filtered [role="treeitem"]:focus-visible {\n outline: 0.125rem solid #0064d6 !important;\n}\n\n.filtered\n [role="treeitem"]:focus-visible\n label:not(.ant-checkbox-wrapper-disabled):hover\n > span:nth-of-type(2) {\n padding-right: px-to-rem(7);\n margin-right: px-to-rem(1);\n line-height: px-to-rem(16);\n}\n\n.filtered [role="treeitem"].tree-node--focused {\n outline: 0.125rem solid #0064d6 !important;\n}\n\n.filtered .tree-node-group,\n.filtered .tree {\n display: flex;\n flex-direction: column;\n}\n',t=r(2805),U=["components"],D={title:"Filtering"},T=void 0,i={unversionedId:"examples-Filtering",id:"examples-Filtering",title:"Filtering",description:"The example how to implement filtering within a tree.",source:"@site/docs/examples-Filtering.mdx",sourceDirName:".",slug:"/examples-Filtering",permalink:"/react-accessible-treeview/docs/examples-Filtering",draft:!1,tags:[],version:"current",frontMatter:{title:"Filtering"},sidebar:"docs",previous:{title:"Directory tree (single selection)",permalink:"/react-accessible-treeview/docs/examples-DirectoryTree"},next:{title:"Checkbox",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckbox"}},l={},B=[],M={toc:B},s="wrapper";function G(n){var e=n.components,r=(0,A.Z)(n,U);return(0,a.kt)(s,(0,c.Z)({},M,r,{components:e,mdxType:"MDXLayout"}),(0,a.kt)("p",null,"The example how to implement filtering within a tree."),(0,a.kt)(t.Z,{component:L,js:O,css:S,mdxType:"CodeTabs"}))}G.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e56b3d68.81114682.js b/assets/js/e56b3d68.81114682.js new file mode 100644 index 00000000..25b6f25d --- /dev/null +++ b/assets/js/e56b3d68.81114682.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[73],{142:(n,e,r)=>{r.r(e),r.d(e,{assets:()=>D,contentTitle:()=>U,default:()=>B,frontMatter:()=>S,metadata:()=>t,toc:()=>T});var c=r(7462),A=r(7294),N=r(3905),a=r(9583),m=r(1649),u=r(148),y=r(4184),C=r.n(y);const I=(0,u.fK)({name:"",children:[{name:"AFGHANISTAN",currencyCode:"971",currencyName:"AFGHANI"},{name:"ALAND ISLANDS",currencyCode:"978",currencyName:"EURO"},{name:"ALBANIA",currencyCode:"008",currencyName:"LEK"},{name:"ALGERIA",currencyCode:"012",currencyName:"ALGERIAN DINAR"},{name:"AMERICAN SAMOA",currencyCode:"840",currencyName:"US DOLLAR"},{name:"ANDORRA",currencyCode:"978",currencyName:"EURO"},{name:"ANGOLA",currencyCode:"973",currencyName:"ANGOLAN KWANZA"},{name:"ANGUILLA",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"ANTARCTICA",currencyCode:"578",currencyName:"NORWEGIAN KRONE"},{name:"ANTIGUA AND BARBUDA",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"ARGENTINA",currencyCode:"032",currencyName:"ARGENTINE PESO"},{name:"ARMENIA",currencyCode:"051",currencyName:"ARMENIAN DRAM"},{name:"ARUBA",currencyCode:"533",currencyName:"ARUBAN GUILDER"},{name:"AUSTRALIA",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"AUSTRIA",currencyCode:"978",currencyName:"EURO"},{name:"AZERBAIJAN",currencyCode:"944",currencyName:"AZERBAIJANIAN MANAT"},{name:"BAHAMAS",currencyCode:"044",currencyName:"BAHAMIAN DOLLAR"},{name:"BAHRAIN",currencyCode:"048",currencyName:"BAHRAINI DINAR"},{name:"BANGLADESH",currencyCode:"050",currencyName:"TAKA"},{name:"BARBADOS",currencyCode:"052",currencyName:"BARBADOS DOLLAR"},{name:"BELARUS",currencyCode:"933",currencyName:"BELARUSIAN RUBLE"},{name:"BELGIUM",currencyCode:"978",currencyName:"EURO"},{name:"BELIZE",currencyCode:"084",currencyName:"BELIZE DOLLAR"},{name:"BENIN",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"BERMUDA",currencyCode:"060",currencyName:"BERMUDIAN DOLLAR"},{name:"BHUTAN",currencyCode:"064",currencyName:"BHUTANESE NGULTRUM"},{name:"BHUTAN",currencyCode:"356",currencyName:"INDIAN RUPEE"},{name:"BOLIVIA",currencyCode:"068",currencyName:"BOLIVIANO"},{name:"BONAIRE, SINT EUSTATIUS AND SABA",currencyCode:"840",currencyName:"US DOLLAR"},{name:"BOSNIA and HERZEGOVINA",currencyCode:"977",currencyName:"CONVERTIBLE MARK"},{name:"BOTSWANA",currencyCode:"072",currencyName:"PULA"},{name:"BOUVET ISLAND",currencyCode:"578",currencyName:"NORWEGIAN KRONE"},{name:"BRAZIL",currencyCode:"986",currencyName:"BRAZILIAN REAL"},{name:"BRAZIL",currencyCode:"996",currencyName:"SPANISH PESETA"},{name:"BRITISH INDIAN OCEAN TERRITORY",currencyCode:"840",currencyName:"US DOLLAR"},{name:"BRUNEI DARUSSALAM",currencyCode:"096",currencyName:"BRUNEI DOLLAR"},{name:"BULGARIA",currencyCode:"975",currencyName:"BULGARIAN LEV"},{name:"BURKINA FASO",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"BURUNDI",currencyCode:"108",currencyName:"BURUNDI FRANC"},{name:"CAMBODIA",currencyCode:"116",currencyName:"RIEL"},{name:"CAMEROON",currencyCode:"950",currencyName:"CFA FRANC BEAC"},{name:"CANADA",currencyCode:"124",currencyName:"CANADIAN DOLLAR"},{name:"CAPE VERDE",currencyCode:"132",currencyName:"CAPE VERDE ESCUDO"},{name:"CAYMAN ISLANDS",currencyCode:"136",currencyName:"CAYMAN ISLANDS DOLLAR"},{name:"CENTRAL AFRICAN REPUBLIC",currencyCode:"950",currencyName:"CFA FRANC BEAC"},{name:"CHAD",currencyCode:"950",currencyName:"CFA FRANC BEAC"},{name:"CHILE",currencyCode:"152",currencyName:"CHILEAN PESO"},{name:"CHINA",currencyCode:"156",currencyName:"CHINESE YUAN RENMINBI"},{name:"CHINA",currencyCode:"158",currencyName:"CHINESE PEOPLE'S BANK"},{name:"CHRISTMAS ISLAND",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"COCOS (KEELING) ISLANDS",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"COLOMBIA",currencyCode:"170",currencyName:"COLOMBIAN PESO"},{name:"COMOROS",currencyCode:"174",currencyName:"COMORO FRANC"},{name:"CONGO",currencyCode:"950",currencyName:"CFA FRANC BEAC"},{name:"COOK ISLANDS",currencyCode:"554",currencyName:"NEW ZEALAND DOLLAR"},{name:"COSTA RICA",currencyCode:"188",currencyName:"COSTA RICAN COLON"},{name:"COTE D\u2019IVOIRE (IVORY COAST)",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"CROATIA",currencyCode:"191",currencyName:"CROATIAN KUNA"},{name:"CURACAO",currencyCode:"532",currencyName:"NETHERLANDS ANTILLEAN"},{name:"CYPRUS",currencyCode:"978",currencyName:"EURO"},{name:"CZECH REPUBLIC",currencyCode:"203",currencyName:"CZECH KORUNA"},{name:"DEMOCRATIC REPUBLIC OF THE CONGO",currencyCode:"976",currencyName:"CONGOLESE"},{name:"DENMARK",currencyCode:"208",currencyName:"DANISH KRONE"},{name:"DJIBOUTI",currencyCode:"262",currencyName:"DJIBOUTI FRANC"},{name:"DOMINICA",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"DOMINICAN REPUBLIC",currencyCode:"214",currencyName:"DOMINICAN PESO"},{name:"EGYPT",currencyCode:"818",currencyName:"EGYPTIAN POUND"},{name:"EL SALVADOR",currencyCode:"222",currencyName:"EL SALVADOR COLON"},{name:"ECUADOR",currencyCode:"840",currencyName:"US DOLLAR"},{name:"EQUATORIAL GUINEA",currencyCode:"950",currencyName:"CFA FRANC BEAC"},{name:"ERITREA",currencyCode:"230",currencyName:"ETHIOPIAN BIRR"},{name:"ERITREA",currencyCode:"232",currencyName:"ERITREAN NAKFA"},{name:"ESTONIA",currencyCode:"978",currencyName:"EURO"},{name:"ETHIOPIA",currencyCode:"230",currencyName:"ETHIOPIAN BIRR"},{name:"FALKLAND ISLANDS (MALVINAS)",currencyCode:"238",currencyName:"FALKLAND ISLANDS POUND"},{name:"FEDERATED STATES OF MICRONESIA",currencyCode:"840",currencyName:"US"},{name:"FIJI",currencyCode:"242",currencyName:"FIJI DOLLAR"},{name:"FINLAND",currencyCode:"978",currencyName:"EURO"},{name:"FRANCE",currencyCode:"978",currencyName:"EURO"},{name:"FRANCE, METROPOLITAN",currencyCode:"978",currencyName:"EURO"},{name:"FRENCH GUIANA",currencyCode:"978",currencyName:"EURO"},{name:"FRENCH POLYNESIA",currencyCode:"953",currencyName:"CFP FRANC"},{name:"GABON",currencyCode:"950",currencyName:"CFA FRANC BEAC"},{name:"GAMBIA",currencyCode:"270",currencyName:"DALASI"},{name:"GEORGIA",currencyCode:"981",currencyName:"LARI"},{name:"GERMANY",currencyCode:"978",currencyName:"EURO"},{name:"GHANA",currencyCode:"936",currencyName:"CEDI"},{name:"GIBRALTAR",currencyCode:"292",currencyName:"GIBRALTAR POUND"},{name:"GREECE",currencyCode:"978",currencyName:"EURO"},{name:"GREENLAND",currencyCode:"208",currencyName:"DANISH KRONE"},{name:"GRENADA",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"GUADELOUPE",currencyCode:"978",currencyName:"EURO"},{name:"GUAM",currencyCode:"840",currencyName:"US DOLLAR"},{name:"GUATEMALA",currencyCode:"320",currencyName:"QUETZAL"},{name:"GUINEA-BISSAU",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"GUINEA",currencyCode:"324",currencyName:"GUINEA FRANC"},{name:"GUYANA",currencyCode:"328",currencyName:"GUYANA DOLLAR"},{name:"HAITI",currencyCode:"332",currencyName:"GOURDE"},{name:"HEARD and MCDONALD ISLANDS",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"HOLY SEE (VATICAN CITY STATE)",currencyCode:"",currencyName:"978"},{name:"HONDURUS",currencyCode:"340",currencyName:"LEMPIRA"},{name:"HONG KONG",currencyCode:"344",currencyName:"HONG KONG DOLLAR"},{name:"HUNGARY",currencyCode:"348",currencyName:"FORINT"},{name:"ICELAND",currencyCode:"352",currencyName:"ICELANDIC KRONA"},{name:"INDIA",currencyCode:"356",currencyName:"INDIAN RUPEE"},{name:"INDONESIA",currencyCode:"360",currencyName:"RUPIAH"},{name:"IRAQ",currencyCode:"368",currencyName:"IRAQI DINAR"},{name:"ISRAEL",currencyCode:"376",currencyName:"NEW ISRAELI SHEKEL"},{name:"IRELAND",currencyCode:"978",currencyName:"EURO"},{name:"ISLE OF MAN",currencyCode:"826",currencyName:"POUND STERLING"},{name:"ITALY",currencyCode:"978",currencyName:"EURO"},{name:"JAMAICA",currencyCode:"388",currencyName:"JAMAICAN DOLLAR"},{name:"JAPAN",currencyCode:"392",currencyName:"YEN"},{name:"JERSEY",currencyCode:"826",currencyName:"POUND STERLING"},{name:"JORDAN",currencyCode:"400",currencyName:"JORDANIAN DINAR"},{name:"KAZAKHSTAN",currencyCode:"398",currencyName:"TENGE"},{name:"KENYA",currencyCode:"404",currencyName:"KENYAN SHILLING"},{name:"KIRIBATI",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"KOREA, REPUBLIC OF",currencyCode:"410",currencyName:"WON"},{name:"KUWAIT",currencyCode:"414",currencyName:"KUWAITI DINAR"},{name:"KYRGYZSTAN",currencyCode:"417",currencyName:"SOM"},{name:"LAO PEOPLE'S DEMOCRATIC REPUBLIC",currencyCode:"418",currencyName:"KIP"},{name:"LATVIA",currencyCode:"978",currencyName:"EURO"},{name:"LEBANON",currencyCode:"422",currencyName:"LEBANESE POUND"},{name:"LESOTHO",currencyCode:"426",currencyName:"LOTI"},{name:"LESOTHO",currencyCode:"710",currencyName:"RAND"},{name:"LIBERIA",currencyCode:"430",currencyName:"LIBERIAN DOLLAR"},{name:"LIBYAN ARAB JAMAHIRIYA",currencyCode:"434",currencyName:"LIBYAN DINAR"},{name:"LIECHTENSTEIN",currencyCode:"756",currencyName:"SWISS FRANC"},{name:"LITHUANIA",currencyCode:"978",currencyName:"EURO"},{name:"LUXEMBOURG",currencyCode:"978",currencyName:"EURO"},{name:"MACAO",currencyCode:"446",currencyName:"PATACA"},{name:"MACEDONIA",currencyCode:"807",currencyName:"DENAR"},{name:"MADAGASCAR",currencyCode:"969",currencyName:"MALAGASY ARIARY"},{name:"MALAWI",currencyCode:"454",currencyName:"MALAWI KWACHA"},{name:"MALAYSIA",currencyCode:"458",currencyName:"MALAYSIAN RINGGIT"},{name:"MALDIVES",currencyCode:"462",currencyName:"RUFIYAA"},{name:"MALI",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"MALTA",currencyCode:"978",currencyName:"EURO"},{name:"MARSHALL ISLANDS",currencyCode:"840",currencyName:"US DOLLAR"},{name:"MARTINIQUE",currencyCode:"978",currencyName:"EURO"},{name:"MAURITANIA",currencyCode:"929",currencyName:"OUGUIYA"},{name:"MAURITIUS",currencyCode:"480",currencyName:"MAURITIUS RUPEE"},{name:"MAYOTTE",currencyCode:"978",currencyName:"EURO"},{name:"MEXICO",currencyCode:"484",currencyName:"MEXICAN PESO"},{name:"MOLDOVA, REPUBLIC OF",currencyCode:"498",currencyName:"MOLDOVAN LEU"},{name:"MONACO",currencyCode:"978",currencyName:"EURO"},{name:"MONGOLIA",currencyCode:"496",currencyName:"TUGRIK"},{name:"MONTENEGRO, REPUBLIC OF",currencyCode:"978",currencyName:"EURO"},{name:"MONTSERRAT",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"MOROCCO",currencyCode:"002",currencyName:"MOROCCAN DIRHAM"},{name:"MOZAMBIQUE",currencyCode:"943",currencyName:"MOZAMBIQUE METICAL"},{name:"MYANMAR",currencyCode:"104",currencyName:"MYANMAR KYAT"},{name:"NAMIBIA",currencyCode:"516",currencyName:"NAMIBIAN DOLLAR"},{name:"NAURU",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"NEPAL",currencyCode:"524",currencyName:"NEPALESE RUPEE"},{name:"NETHERLANDS",currencyCode:"978",currencyName:"EURO"},{name:"NETHERLANDS ANTILLES",currencyCode:"532",currencyName:"NETHLANDES ANTILLIAN"},{name:"NEW CALEDONIA",currencyCode:"953",currencyName:"CFP FRANC"},{name:"NEW ZEALAND",currencyCode:"554",currencyName:"NEW ZEALAND DOLLAR"},{name:"NICARAGUA",currencyCode:"558",currencyName:"CORDOBA ORO"},{name:"NIGER",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"NIGERIA",currencyCode:"566",currencyName:"NAIRA"},{name:"NIUE",currencyCode:"554",currencyName:"NEW ZEALAND DOLLAR"},{name:"NORFOLK ISLAND",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"NORTHERN MARIANA ISLANDS",currencyCode:"840",currencyName:"US DOLLAR"},{name:"NORWAY",currencyCode:"578",currencyName:"NORWEGIAN KRONE"},{name:"OMAN",currencyCode:"512",currencyName:"RIAL OMANI"},{name:"PAKISTAN",currencyCode:"586",currencyName:"PAKISTAN RUPEE"},{name:"PALAU",currencyCode:"840",currencyName:"US DOLLAR"},{name:"PANAMA",currencyCode:"590",currencyName:"BALBOA"},{name:"PAPUA NEW GUINEA",currencyCode:"598",currencyName:"KINA"},{name:"PARAGUAY",currencyCode:"600",currencyName:"GUARANI"},{name:"PERU",currencyCode:"604",currencyName:"NUEVO SOL"},{name:"PHILIPPINES",currencyCode:"608",currencyName:"PHILIPPINE PESO"},{name:"PITCAIRN",currencyCode:"554",currencyName:"NEW ZEALAND DOLLAR"},{name:"POLAND",currencyCode:"985",currencyName:"ZLOTY"},{name:"PORTUGAL",currencyCode:"978",currencyName:"EURO"},{name:"PUERTO RICO",currencyCode:"840",currencyName:"US DOLLAR"},{name:"QATAR",currencyCode:"634",currencyName:"QATARI RIAL"},{name:"REUNION",currencyCode:"978",currencyName:"EURO"},{name:"ROMANIA",currencyCode:"946",currencyName:"ROMANIAN LEU"},{name:"RUSSIAN FEDERATION",currencyCode:"643",currencyName:"RUSSIAN RUBLE"},{name:"RWANDA",currencyCode:"646",currencyName:"RWANDA FRANC"},{name:"SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA",currencyCode:"654",currencyName:"ST. HELENA"},{name:"SAMOA",currencyCode:"882",currencyName:"TALA"},{name:"SAN MARINO",currencyCode:"978",currencyName:"EURO"},{name:"SAO TOME AND PRINCIPE",currencyCode:"930",currencyName:"DOBRA"},{name:"SAUDI ARABIA",currencyCode:"682",currencyName:"SAUDI RIYAL"},{name:"SENEGAL",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"SERBIA",currencyCode:"941",currencyName:"SERBIAN DINAR"},{name:"SEYCHELLES",currencyCode:"690",currencyName:"SEYCHELLES RUPEE"},{name:"SIERRA LEONE",currencyCode:"694",currencyName:"LEONE"},{name:"SINGAPORE",currencyCode:"702",currencyName:"SINGAPORE DOLLAR"},{name:"SINT MAARTEN (DUTCH PART)",currencyCode:"532",currencyName:"NETHERLANDS ANTILLES"},{name:"SLOVAKIA",currencyCode:"978",currencyName:"EURO"},{name:"SLOVENIA",currencyCode:"978",currencyName:"EURO"},{name:"SOLOMON ISLANDS",currencyCode:"090",currencyName:"SOLOMON ISLANDS DOLLAR"},{name:"SOMALIA",currencyCode:"706",currencyName:"SOMALI SHILLING"},{name:"SOUTH AFRICA",currencyCode:"710",currencyName:"RAND"},{name:"SOUTH SUDAN",currencyCode:"728",currencyName:"SOUTH SUDANESE POUND"},{name:"SPAIN",currencyCode:"978",currencyName:"EURO"},{name:"SRI LANKA",currencyCode:"144",currencyName:"SRI LANKA RUPEE"},{name:"ST. KITTS-NEVIS",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"ST. LUCIA",currencyCode:"951",currencyName:"EAST CARRIBEAN DOLLAR"},{name:"ST. PIERRE AND MIQUELON",currencyCode:"978",currencyName:"EURO"},{name:"ST. VINCENT AND THE GRENADINES",currencyCode:"951",currencyName:"EAST CARRIBEAN"},{name:"SURINAME",currencyCode:"968",currencyName:"SURINAME DOLLAR"},{name:"SVALBARD AND JAN MAYEN",currencyCode:"578",currencyName:"NORWEGIAN KRONE"},{name:"SWITZERLAND",currencyCode:"756",currencyName:"SWISS FRANC"},{name:"SWAZILAND",currencyCode:"748",currencyName:"LILANGENI"},{name:"SWEDEN",currencyCode:"752",currencyName:"SWEDISH KRONA"},{name:"TAIWAN",currencyCode:"901",currencyName:"NEW TAIWAN DOLLAR"},{name:"TAJIKISTAN",currencyCode:"972",currencyName:"SOMONI"},{name:"TANZANIA, UNITED REPUBLIC OF",currencyCode:"834",currencyName:"TANZANIAN"},{name:"THAILAND",currencyCode:"764",currencyName:"BAHT"},{name:"TIMOR-LESTE",currencyCode:"840",currencyName:"US DOLLAR"},{name:"TOGO",currencyCode:"952",currencyName:"CFA FRANC BCEAO"},{name:"TOKELAU",currencyCode:"554",currencyName:"NEW ZEALAND DOLLAR"},{name:"TONGA",currencyCode:"776",currencyName:"PA'ANGA"},{name:"TRINIDAD AND TOBAGO",currencyCode:"780",currencyName:"TRINIDAD AND TOBAGO"},{name:"TUNISIA",currencyCode:"788",currencyName:"TUNISIAN DINAR"},{name:"TURKEY",currencyCode:"949",currencyName:"TURKISH LIRA"},{name:"TURKMENISTAN",currencyCode:"934",currencyName:"MANAT"},{name:"TURKS and CAICOS ISLANDS",currencyCode:"840",currencyName:"US DOLLAR"},{name:"TUVALU",currencyCode:"036",currencyName:"AUSTRALIAN DOLLAR"},{name:"UGANDA",currencyCode:"800",currencyName:"UGANDAN SHILLING"},{name:"UKRAINE",currencyCode:"980",currencyName:"UKRAINIAN HRYVNIA"},{name:"UNITED ARAB EMIRATES",currencyCode:"784",currencyName:"U.A.E. DIRHAM"},{name:"UNITED KINGDOM",currencyCode:"826",currencyName:"POUND STERLING"},{name:"UNITED STATES",currencyCode:"840",currencyName:"US DOLLAR"},{name:"URUGUAY",currencyCode:"858",currencyName:"PESO URUGUAYO"},{name:"UZBEKISTAN",currencyCode:"860",currencyName:"UZBEKISTAN SUM"},{name:"VANUATU",currencyCode:"548",currencyName:"VATU"},{name:"VENEZUELA",currencyCode:"928",currencyName:"BOLIVAR SOBERANO"},{name:"VIETNAM",currencyCode:"704",currencyName:"DONG"},{name:"BRITISH VIRGIN ISLANDS",currencyCode:"840",currencyName:"US DOLLAR"},{name:"U.S. VIRGIN ISLANDS",currencyCode:"840",currencyName:"US DOLLAR"},{name:"WALLIS AND FUTUNA ISLANDS",currencyCode:"953",currencyName:"CFP FRANC"},{name:"WESTERN SAHARA",currencyCode:"504",currencyName:"MOROCCAN DIRHAM"},{name:"YEMEN",currencyCode:"886",currencyName:"YEMENI RIAL"},{name:"ZAMBIA",currencyCode:"967",currencyName:"ZAMBIAN KWACHA"},{name:"ZIMBABWE",currencyCode:"716",currencyName:"ZIMBABWE DOLLAR"},{name:"CUBA",currencyCode:"192",currencyName:"CUBAN PESO"},{name:"ECUADOR",currencyCode:"218",currencyName:"SUCRE"},{name:"IRAN",currencyCode:"364",currencyName:"IRANIAN RIAL"},{name:"LATVIA",currencyCode:"428",currencyName:"LATVIAN LATS"},{name:"LITHUANIA",currencyCode:"440",currencyName:"LITHUANIAN LITAS"},{name:"GUINEA-BISSAU",currencyCode:"624",currencyName:"GUINEA-BISSAU PESO"},{name:"SYRIA",currencyCode:"760",currencyName:"SYRIAN POUND"},{name:"TONGA",currencyCode:"776",currencyName:"PA\u2019ANGA"}]});const E=n=>{let{isOpen:e,className:r}=n;const c="arrow",N=C()(c,{[c+"--closed"]:!e},{[c+"--open"]:e},r);return A.createElement(m.am,{className:N})},R=n=>{let{variant:e,...r}=n;switch(e){case"all":return A.createElement(a.xik,r);case"none":return A.createElement(a.u9M,r);case"some":return A.createElement(a.kty,r);default:return null}},o=function(){const[n,e]=(0,A.useState)(I),r=()=>{const n=document.querySelector("#txtToFilter").value.trim();n?(n=>{const r=[],c=n=>{I.forEach((e=>{e.parent===n&&(r.find((n=>n.id===e.id))||r.push(e),e.children.length&&c(e.id))}))};I.forEach((e=>{"ROOT"!==e.id&&e.name.includes(n.toUpperCase())&&(r.find((n=>n.id===e.id))||r.push(e),e.children.length&&c(e.id))})),r.unshift(Object.assign({...I[0],children:I[0].children.filter((n=>r.find((e=>e.id===n))))})),e(r)})(n):e(I)};return A.createElement("div",null,A.createElement("div",null,A.createElement("label",{htmlFor:"txtToFilter"},"Text to filter: "),A.createElement("input",{id:"txtToFilter",type:"text",onKeyDown:n=>{"Enter"===n.key&&r()}}),A.createElement("button",{onClick:()=>r()},"Apply")),1===n.length?A.createElement("div",null,"No nodes match filter"):A.createElement("div",{className:"filtered"},A.createElement(u.ZP,{data:n,"aria-label":"Filtered tree",multiSelect:!0,propagateSelect:!0,propagateSelectUpwards:!0,togglableSelect:!0,nodeRenderer:n=>{let{element:e,isBranch:r,isExpanded:N,isSelected:a,isHalfSelected:m,getNodeProps:u,level:y,handleSelect:C,handleExpand:I}=n;return A.createElement("div",(0,c.Z)({},u({onClick:I}),{style:{marginLeft:40*(y-1)}}),A.createElement("div",{style:{marginLeft:r?"0":"21px"}},r&&A.createElement(E,{isOpen:N}),A.createElement(R,{className:"checkbox-icon",onClick:n=>{C(n),n.stopPropagation()},variant:m?"some":a?"all":"none"}),A.createElement("span",{className:"name"},e.name)))}})))},d='import React, { useState } from "react";\nimport { FaSquare, FaCheckSquare, FaMinusSquare } from "react-icons/fa";\nimport { IoMdArrowDropright } from "react-icons/io";\nimport TreeView, { flattenTree } from "react-accessible-treeview";\nimport cx from "classnames";\nimport "./styles.css";\n\nconst countries = {\n name: "",\n children: [\n {\n name: "AFGHANISTAN",\n currencyCode: "971",\n currencyName: "AFGHANI",\n },\n {\n name: "ALAND ISLANDS",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "ALBANIA",\n currencyCode: "008",\n currencyName: "LEK",\n },\n {\n name: "ALGERIA",\n currencyCode: "012",\n currencyName: "ALGERIAN DINAR",\n },\n {\n name: "AMERICAN SAMOA",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "ANDORRA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "ANGOLA",\n currencyCode: "973",\n currencyName: "ANGOLAN KWANZA",\n },\n {\n name: "ANGUILLA",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "ANTARCTICA",\n currencyCode: "578",\n currencyName: "NORWEGIAN KRONE",\n },\n {\n name: "ANTIGUA AND BARBUDA",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "ARGENTINA",\n currencyCode: "032",\n currencyName: "ARGENTINE PESO",\n },\n {\n name: "ARMENIA",\n currencyCode: "051",\n currencyName: "ARMENIAN DRAM",\n },\n {\n name: "ARUBA",\n currencyCode: "533",\n currencyName: "ARUBAN GUILDER",\n },\n {\n name: "AUSTRALIA",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "AUSTRIA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "AZERBAIJAN",\n currencyCode: "944",\n currencyName: "AZERBAIJANIAN MANAT",\n },\n {\n name: "BAHAMAS",\n currencyCode: "044",\n currencyName: "BAHAMIAN DOLLAR",\n },\n {\n name: "BAHRAIN",\n currencyCode: "048",\n currencyName: "BAHRAINI DINAR",\n },\n {\n name: "BANGLADESH",\n currencyCode: "050",\n currencyName: "TAKA",\n },\n {\n name: "BARBADOS",\n currencyCode: "052",\n currencyName: "BARBADOS DOLLAR",\n },\n {\n name: "BELARUS",\n currencyCode: "933",\n currencyName: "BELARUSIAN RUBLE",\n },\n {\n name: "BELGIUM",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "BELIZE",\n currencyCode: "084",\n currencyName: "BELIZE DOLLAR",\n },\n {\n name: "BENIN",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "BERMUDA",\n currencyCode: "060",\n currencyName: "BERMUDIAN DOLLAR",\n },\n {\n name: "BHUTAN",\n currencyCode: "064",\n currencyName: "BHUTANESE NGULTRUM",\n },\n {\n name: "BHUTAN",\n currencyCode: "356",\n currencyName: "INDIAN RUPEE",\n },\n {\n name: "BOLIVIA",\n currencyCode: "068",\n currencyName: "BOLIVIANO",\n },\n {\n name: "BONAIRE, SINT EUSTATIUS AND SABA",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "BOSNIA and HERZEGOVINA",\n currencyCode: "977",\n currencyName: "CONVERTIBLE MARK",\n },\n {\n name: "BOTSWANA",\n currencyCode: "072",\n currencyName: "PULA",\n },\n {\n name: "BOUVET ISLAND",\n currencyCode: "578",\n currencyName: "NORWEGIAN KRONE",\n },\n {\n name: "BRAZIL",\n currencyCode: "986",\n currencyName: "BRAZILIAN REAL",\n },\n {\n name: "BRAZIL",\n currencyCode: "996",\n currencyName: "SPANISH PESETA",\n },\n {\n name: "BRITISH INDIAN OCEAN TERRITORY",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "BRUNEI DARUSSALAM",\n currencyCode: "096",\n currencyName: "BRUNEI DOLLAR",\n },\n {\n name: "BULGARIA",\n currencyCode: "975",\n currencyName: "BULGARIAN LEV",\n },\n {\n name: "BURKINA FASO",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "BURUNDI",\n currencyCode: "108",\n currencyName: "BURUNDI FRANC",\n },\n {\n name: "CAMBODIA",\n currencyCode: "116",\n currencyName: "RIEL",\n },\n {\n name: "CAMEROON",\n currencyCode: "950",\n currencyName: "CFA FRANC BEAC",\n },\n {\n name: "CANADA",\n currencyCode: "124",\n currencyName: "CANADIAN DOLLAR",\n },\n {\n name: "CAPE VERDE",\n currencyCode: "132",\n currencyName: "CAPE VERDE ESCUDO",\n },\n {\n name: "CAYMAN ISLANDS",\n currencyCode: "136",\n currencyName: "CAYMAN ISLANDS DOLLAR",\n },\n {\n name: "CENTRAL AFRICAN REPUBLIC",\n currencyCode: "950",\n currencyName: "CFA FRANC BEAC",\n },\n {\n name: "CHAD",\n currencyCode: "950",\n currencyName: "CFA FRANC BEAC",\n },\n {\n name: "CHILE",\n currencyCode: "152",\n currencyName: "CHILEAN PESO",\n },\n {\n name: "CHINA",\n currencyCode: "156",\n currencyName: "CHINESE YUAN RENMINBI",\n },\n {\n name: "CHINA",\n currencyCode: "158",\n currencyName: "CHINESE PEOPLE\'S BANK",\n },\n {\n name: "CHRISTMAS ISLAND",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "COCOS (KEELING) ISLANDS",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "COLOMBIA",\n currencyCode: "170",\n currencyName: "COLOMBIAN PESO",\n },\n {\n name: "COMOROS",\n currencyCode: "174",\n currencyName: "COMORO FRANC",\n },\n {\n name: "CONGO",\n currencyCode: "950",\n currencyName: "CFA FRANC BEAC",\n },\n {\n name: "COOK ISLANDS",\n currencyCode: "554",\n currencyName: "NEW ZEALAND DOLLAR",\n },\n {\n name: "COSTA RICA",\n currencyCode: "188",\n currencyName: "COSTA RICAN COLON",\n },\n {\n name: "COTE D\u2019IVOIRE (IVORY COAST)",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "CROATIA",\n currencyCode: "191",\n currencyName: "CROATIAN KUNA",\n },\n {\n name: "CURACAO",\n currencyCode: "532",\n currencyName: "NETHERLANDS ANTILLEAN",\n },\n {\n name: "CYPRUS",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "CZECH REPUBLIC",\n currencyCode: "203",\n currencyName: "CZECH KORUNA",\n },\n {\n name: "DEMOCRATIC REPUBLIC OF THE CONGO",\n currencyCode: "976",\n currencyName: "CONGOLESE",\n },\n {\n name: "DENMARK",\n currencyCode: "208",\n currencyName: "DANISH KRONE",\n },\n {\n name: "DJIBOUTI",\n currencyCode: "262",\n currencyName: "DJIBOUTI FRANC",\n },\n {\n name: "DOMINICA",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "DOMINICAN REPUBLIC",\n currencyCode: "214",\n currencyName: "DOMINICAN PESO",\n },\n {\n name: "EGYPT",\n currencyCode: "818",\n currencyName: "EGYPTIAN POUND",\n },\n {\n name: "EL SALVADOR",\n currencyCode: "222",\n currencyName: "EL SALVADOR COLON",\n },\n {\n name: "ECUADOR",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "EQUATORIAL GUINEA",\n currencyCode: "950",\n currencyName: "CFA FRANC BEAC",\n },\n {\n name: "ERITREA",\n currencyCode: "230",\n currencyName: "ETHIOPIAN BIRR",\n },\n {\n name: "ERITREA",\n currencyCode: "232",\n currencyName: "ERITREAN NAKFA",\n },\n {\n name: "ESTONIA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "ETHIOPIA",\n currencyCode: "230",\n currencyName: "ETHIOPIAN BIRR",\n },\n {\n name: "FALKLAND ISLANDS (MALVINAS)",\n currencyCode: "238",\n currencyName: "FALKLAND ISLANDS POUND",\n },\n {\n name: "FEDERATED STATES OF MICRONESIA",\n currencyCode: "840",\n currencyName: "US",\n },\n {\n name: "FIJI",\n currencyCode: "242",\n currencyName: "FIJI DOLLAR",\n },\n {\n name: "FINLAND",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "FRANCE",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "FRANCE, METROPOLITAN",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "FRENCH GUIANA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "FRENCH POLYNESIA",\n currencyCode: "953",\n currencyName: "CFP FRANC",\n },\n {\n name: "GABON",\n currencyCode: "950",\n currencyName: "CFA FRANC BEAC",\n },\n {\n name: "GAMBIA",\n currencyCode: "270",\n currencyName: "DALASI",\n },\n {\n name: "GEORGIA",\n currencyCode: "981",\n currencyName: "LARI",\n },\n {\n name: "GERMANY",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "GHANA",\n currencyCode: "936",\n currencyName: "CEDI",\n },\n {\n name: "GIBRALTAR",\n currencyCode: "292",\n currencyName: "GIBRALTAR POUND",\n },\n {\n name: "GREECE",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "GREENLAND",\n currencyCode: "208",\n currencyName: "DANISH KRONE",\n },\n {\n name: "GRENADA",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "GUADELOUPE",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "GUAM",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "GUATEMALA",\n currencyCode: "320",\n currencyName: "QUETZAL",\n },\n {\n name: "GUINEA-BISSAU",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "GUINEA",\n currencyCode: "324",\n currencyName: "GUINEA FRANC",\n },\n {\n name: "GUYANA",\n currencyCode: "328",\n currencyName: "GUYANA DOLLAR",\n },\n {\n name: "HAITI",\n currencyCode: "332",\n currencyName: "GOURDE",\n },\n {\n name: "HEARD and MCDONALD ISLANDS",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "HOLY SEE (VATICAN CITY STATE)",\n currencyCode: "",\n currencyName: "978",\n },\n {\n name: "HONDURUS",\n currencyCode: "340",\n currencyName: "LEMPIRA",\n },\n {\n name: "HONG KONG",\n currencyCode: "344",\n currencyName: "HONG KONG DOLLAR",\n },\n {\n name: "HUNGARY",\n currencyCode: "348",\n currencyName: "FORINT",\n },\n {\n name: "ICELAND",\n currencyCode: "352",\n currencyName: "ICELANDIC KRONA",\n },\n {\n name: "INDIA",\n currencyCode: "356",\n currencyName: "INDIAN RUPEE",\n },\n {\n name: "INDONESIA",\n currencyCode: "360",\n currencyName: "RUPIAH",\n },\n {\n name: "IRAQ",\n currencyCode: "368",\n currencyName: "IRAQI DINAR",\n },\n {\n name: "ISRAEL",\n currencyCode: "376",\n currencyName: "NEW ISRAELI SHEKEL",\n },\n {\n name: "IRELAND",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "ISLE OF MAN",\n currencyCode: "826",\n currencyName: "POUND STERLING",\n },\n {\n name: "ITALY",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "JAMAICA",\n currencyCode: "388",\n currencyName: "JAMAICAN DOLLAR",\n },\n {\n name: "JAPAN",\n currencyCode: "392",\n currencyName: "YEN",\n },\n {\n name: "JERSEY",\n currencyCode: "826",\n currencyName: "POUND STERLING",\n },\n {\n name: "JORDAN",\n currencyCode: "400",\n currencyName: "JORDANIAN DINAR",\n },\n {\n name: "KAZAKHSTAN",\n currencyCode: "398",\n currencyName: "TENGE",\n },\n {\n name: "KENYA",\n currencyCode: "404",\n currencyName: "KENYAN SHILLING",\n },\n {\n name: "KIRIBATI",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "KOREA, REPUBLIC OF",\n currencyCode: "410",\n currencyName: "WON",\n },\n {\n name: "KUWAIT",\n currencyCode: "414",\n currencyName: "KUWAITI DINAR",\n },\n {\n name: "KYRGYZSTAN",\n currencyCode: "417",\n currencyName: "SOM",\n },\n {\n name: "LAO PEOPLE\'S DEMOCRATIC REPUBLIC",\n currencyCode: "418",\n currencyName: "KIP",\n },\n {\n name: "LATVIA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "LEBANON",\n currencyCode: "422",\n currencyName: "LEBANESE POUND",\n },\n {\n name: "LESOTHO",\n currencyCode: "426",\n currencyName: "LOTI",\n },\n {\n name: "LESOTHO",\n currencyCode: "710",\n currencyName: "RAND",\n },\n {\n name: "LIBERIA",\n currencyCode: "430",\n currencyName: "LIBERIAN DOLLAR",\n },\n {\n name: "LIBYAN ARAB JAMAHIRIYA",\n currencyCode: "434",\n currencyName: "LIBYAN DINAR",\n },\n {\n name: "LIECHTENSTEIN",\n currencyCode: "756",\n currencyName: "SWISS FRANC",\n },\n {\n name: "LITHUANIA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "LUXEMBOURG",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "MACAO",\n currencyCode: "446",\n currencyName: "PATACA",\n },\n {\n name: "MACEDONIA",\n currencyCode: "807",\n currencyName: "DENAR",\n },\n {\n name: "MADAGASCAR",\n currencyCode: "969",\n currencyName: "MALAGASY ARIARY",\n },\n {\n name: "MALAWI",\n currencyCode: "454",\n currencyName: "MALAWI KWACHA",\n },\n {\n name: "MALAYSIA",\n currencyCode: "458",\n currencyName: "MALAYSIAN RINGGIT",\n },\n {\n name: "MALDIVES",\n currencyCode: "462",\n currencyName: "RUFIYAA",\n },\n {\n name: "MALI",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "MALTA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "MARSHALL ISLANDS",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "MARTINIQUE",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "MAURITANIA",\n currencyCode: "929",\n currencyName: "OUGUIYA",\n },\n {\n name: "MAURITIUS",\n currencyCode: "480",\n currencyName: "MAURITIUS RUPEE",\n },\n {\n name: "MAYOTTE",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "MEXICO",\n currencyCode: "484",\n currencyName: "MEXICAN PESO",\n },\n {\n name: "MOLDOVA, REPUBLIC OF",\n currencyCode: "498",\n currencyName: "MOLDOVAN LEU",\n },\n {\n name: "MONACO",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "MONGOLIA",\n currencyCode: "496",\n currencyName: "TUGRIK",\n },\n {\n name: "MONTENEGRO, REPUBLIC OF",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "MONTSERRAT",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "MOROCCO",\n currencyCode: "002",\n currencyName: "MOROCCAN DIRHAM",\n },\n {\n name: "MOZAMBIQUE",\n currencyCode: "943",\n currencyName: "MOZAMBIQUE METICAL",\n },\n {\n name: "MYANMAR",\n currencyCode: "104",\n currencyName: "MYANMAR KYAT",\n },\n {\n name: "NAMIBIA",\n currencyCode: "516",\n currencyName: "NAMIBIAN DOLLAR",\n },\n {\n name: "NAURU",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "NEPAL",\n currencyCode: "524",\n currencyName: "NEPALESE RUPEE",\n },\n {\n name: "NETHERLANDS",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "NETHERLANDS ANTILLES",\n currencyCode: "532",\n currencyName: "NETHLANDES ANTILLIAN",\n },\n {\n name: "NEW CALEDONIA",\n currencyCode: "953",\n currencyName: "CFP FRANC",\n },\n {\n name: "NEW ZEALAND",\n currencyCode: "554",\n currencyName: "NEW ZEALAND DOLLAR",\n },\n {\n name: "NICARAGUA",\n currencyCode: "558",\n currencyName: "CORDOBA ORO",\n },\n {\n name: "NIGER",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "NIGERIA",\n currencyCode: "566",\n currencyName: "NAIRA",\n },\n {\n name: "NIUE",\n currencyCode: "554",\n currencyName: "NEW ZEALAND DOLLAR",\n },\n {\n name: "NORFOLK ISLAND",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "NORTHERN MARIANA ISLANDS",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "NORWAY",\n currencyCode: "578",\n currencyName: "NORWEGIAN KRONE",\n },\n {\n name: "OMAN",\n currencyCode: "512",\n currencyName: "RIAL OMANI",\n },\n {\n name: "PAKISTAN",\n currencyCode: "586",\n currencyName: "PAKISTAN RUPEE",\n },\n {\n name: "PALAU",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "PANAMA",\n currencyCode: "590",\n currencyName: "BALBOA",\n },\n {\n name: "PAPUA NEW GUINEA",\n currencyCode: "598",\n currencyName: "KINA",\n },\n {\n name: "PARAGUAY",\n currencyCode: "600",\n currencyName: "GUARANI",\n },\n {\n name: "PERU",\n currencyCode: "604",\n currencyName: "NUEVO SOL",\n },\n {\n name: "PHILIPPINES",\n currencyCode: "608",\n currencyName: "PHILIPPINE PESO",\n },\n {\n name: "PITCAIRN",\n currencyCode: "554",\n currencyName: "NEW ZEALAND DOLLAR",\n },\n {\n name: "POLAND",\n currencyCode: "985",\n currencyName: "ZLOTY",\n },\n {\n name: "PORTUGAL",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "PUERTO RICO",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "QATAR",\n currencyCode: "634",\n currencyName: "QATARI RIAL",\n },\n {\n name: "REUNION",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "ROMANIA",\n currencyCode: "946",\n currencyName: "ROMANIAN LEU",\n },\n {\n name: "RUSSIAN FEDERATION",\n currencyCode: "643",\n currencyName: "RUSSIAN RUBLE",\n },\n {\n name: "RWANDA",\n currencyCode: "646",\n currencyName: "RWANDA FRANC",\n },\n {\n name: "SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA",\n currencyCode: "654",\n currencyName: "ST. HELENA",\n },\n {\n name: "SAMOA",\n currencyCode: "882",\n currencyName: "TALA",\n },\n {\n name: "SAN MARINO",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "SAO TOME AND PRINCIPE",\n currencyCode: "930",\n currencyName: "DOBRA",\n },\n {\n name: "SAUDI ARABIA",\n currencyCode: "682",\n currencyName: "SAUDI RIYAL",\n },\n {\n name: "SENEGAL",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "SERBIA",\n currencyCode: "941",\n currencyName: "SERBIAN DINAR",\n },\n {\n name: "SEYCHELLES",\n currencyCode: "690",\n currencyName: "SEYCHELLES RUPEE",\n },\n {\n name: "SIERRA LEONE",\n currencyCode: "694",\n currencyName: "LEONE",\n },\n {\n name: "SINGAPORE",\n currencyCode: "702",\n currencyName: "SINGAPORE DOLLAR",\n },\n {\n name: "SINT MAARTEN (DUTCH PART)",\n currencyCode: "532",\n currencyName: "NETHERLANDS ANTILLES",\n },\n {\n name: "SLOVAKIA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "SLOVENIA",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "SOLOMON ISLANDS",\n currencyCode: "090",\n currencyName: "SOLOMON ISLANDS DOLLAR",\n },\n {\n name: "SOMALIA",\n currencyCode: "706",\n currencyName: "SOMALI SHILLING",\n },\n {\n name: "SOUTH AFRICA",\n currencyCode: "710",\n currencyName: "RAND",\n },\n {\n name: "SOUTH SUDAN",\n currencyCode: "728",\n currencyName: "SOUTH SUDANESE POUND",\n },\n {\n name: "SPAIN",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "SRI LANKA",\n currencyCode: "144",\n currencyName: "SRI LANKA RUPEE",\n },\n {\n name: "ST. KITTS-NEVIS",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "ST. LUCIA",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN DOLLAR",\n },\n {\n name: "ST. PIERRE AND MIQUELON",\n currencyCode: "978",\n currencyName: "EURO",\n },\n {\n name: "ST. VINCENT AND THE GRENADINES",\n currencyCode: "951",\n currencyName: "EAST CARRIBEAN",\n },\n {\n name: "SURINAME",\n currencyCode: "968",\n currencyName: "SURINAME DOLLAR",\n },\n {\n name: "SVALBARD AND JAN MAYEN",\n currencyCode: "578",\n currencyName: "NORWEGIAN KRONE",\n },\n {\n name: "SWITZERLAND",\n currencyCode: "756",\n currencyName: "SWISS FRANC",\n },\n {\n name: "SWAZILAND",\n currencyCode: "748",\n currencyName: "LILANGENI",\n },\n {\n name: "SWEDEN",\n currencyCode: "752",\n currencyName: "SWEDISH KRONA",\n },\n {\n name: "TAIWAN",\n currencyCode: "901",\n currencyName: "NEW TAIWAN DOLLAR",\n },\n {\n name: "TAJIKISTAN",\n currencyCode: "972",\n currencyName: "SOMONI",\n },\n {\n name: "TANZANIA, UNITED REPUBLIC OF",\n currencyCode: "834",\n currencyName: "TANZANIAN",\n },\n {\n name: "THAILAND",\n currencyCode: "764",\n currencyName: "BAHT",\n },\n {\n name: "TIMOR-LESTE",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "TOGO",\n currencyCode: "952",\n currencyName: "CFA FRANC BCEAO",\n },\n {\n name: "TOKELAU",\n currencyCode: "554",\n currencyName: "NEW ZEALAND DOLLAR",\n },\n {\n name: "TONGA",\n currencyCode: "776",\n currencyName: "PA\'ANGA",\n },\n {\n name: "TRINIDAD AND TOBAGO",\n currencyCode: "780",\n currencyName: "TRINIDAD AND TOBAGO",\n },\n {\n name: "TUNISIA",\n currencyCode: "788",\n currencyName: "TUNISIAN DINAR",\n },\n {\n name: "TURKEY",\n currencyCode: "949",\n currencyName: "TURKISH LIRA",\n },\n {\n name: "TURKMENISTAN",\n currencyCode: "934",\n currencyName: "MANAT",\n },\n {\n name: "TURKS and CAICOS ISLANDS",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "TUVALU",\n currencyCode: "036",\n currencyName: "AUSTRALIAN DOLLAR",\n },\n {\n name: "UGANDA",\n currencyCode: "800",\n currencyName: "UGANDAN SHILLING",\n },\n {\n name: "UKRAINE",\n currencyCode: "980",\n currencyName: "UKRAINIAN HRYVNIA",\n },\n {\n name: "UNITED ARAB EMIRATES",\n currencyCode: "784",\n currencyName: "U.A.E. DIRHAM",\n },\n {\n name: "UNITED KINGDOM",\n currencyCode: "826",\n currencyName: "POUND STERLING",\n },\n {\n name: "UNITED STATES",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "URUGUAY",\n currencyCode: "858",\n currencyName: "PESO URUGUAYO",\n },\n {\n name: "UZBEKISTAN",\n currencyCode: "860",\n currencyName: "UZBEKISTAN SUM",\n },\n {\n name: "VANUATU",\n currencyCode: "548",\n currencyName: "VATU",\n },\n {\n name: "VENEZUELA",\n currencyCode: "928",\n currencyName: "BOLIVAR SOBERANO",\n },\n {\n name: "VIETNAM",\n currencyCode: "704",\n currencyName: "DONG",\n },\n {\n name: "BRITISH VIRGIN ISLANDS",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "U.S. VIRGIN ISLANDS",\n currencyCode: "840",\n currencyName: "US DOLLAR",\n },\n {\n name: "WALLIS AND FUTUNA ISLANDS",\n currencyCode: "953",\n currencyName: "CFP FRANC",\n },\n {\n name: "WESTERN SAHARA",\n currencyCode: "504",\n currencyName: "MOROCCAN DIRHAM",\n },\n {\n name: "YEMEN",\n currencyCode: "886",\n currencyName: "YEMENI RIAL",\n },\n {\n name: "ZAMBIA",\n currencyCode: "967",\n currencyName: "ZAMBIAN KWACHA",\n },\n {\n name: "ZIMBABWE",\n currencyCode: "716",\n currencyName: "ZIMBABWE DOLLAR",\n },\n {\n name: "CUBA",\n currencyCode: "192",\n currencyName: "CUBAN PESO",\n },\n {\n name: "ECUADOR",\n currencyCode: "218",\n currencyName: "SUCRE",\n },\n {\n name: "IRAN",\n currencyCode: "364",\n currencyName: "IRANIAN RIAL",\n },\n {\n name: "LATVIA",\n currencyCode: "428",\n currencyName: "LATVIAN LATS",\n },\n {\n name: "LITHUANIA",\n currencyCode: "440",\n currencyName: "LITHUANIAN LITAS",\n },\n {\n name: "GUINEA-BISSAU",\n currencyCode: "624",\n currencyName: "GUINEA-BISSAU PESO",\n },\n {\n name: "SYRIA",\n currencyCode: "760",\n currencyName: "SYRIAN POUND",\n },\n {\n name: "TONGA",\n currencyCode: "776",\n currencyName: "PA\u2019ANGA",\n },\n ],\n};\n\nconst data = flattenTree(countries);\n\nfunction Filtering() {\n const [treeData, setTreeData] = useState(data);\n\n const filter = (value) => {\n const filtered = [];\n const includeChildren = (id) => {\n data.forEach((item) => {\n if (item.parent === id) {\n if (!filtered.find((x) => x.id === item.id)) {\n filtered.push(item);\n }\n if (item.children.length) {\n includeChildren(item.id);\n }\n }\n });\n };\n data.forEach((item) => {\n if (item.id === "ROOT") {\n return;\n }\n if (item.name.includes(value.toUpperCase())) {\n if (!filtered.find((x) => x.id === item.id)) {\n filtered.push(item);\n }\n\n if (item.children.length) {\n includeChildren(item.id);\n }\n }\n });\n filtered.unshift(\n Object.assign({\n ...data[0],\n children: data[0].children.filter((id) =>\n filtered.find((fitem) => fitem.id === id)\n ),\n })\n );\n setTreeData(filtered);\n };\n\n const filterNodesByText = () => {\n const valueToFilter = document.querySelector("#txtToFilter").value.trim();\n if (!!valueToFilter) {\n filter(valueToFilter);\n } else {\n setTreeData(data);\n }\n };\n\n const onKeyDown = (e) => {\n if (e.key === "Enter") {\n filterNodesByText();\n }\n };\n\n return (\n <div>\n <div>\n <label htmlFor="txtToFilter">Text to filter: </label>\n <input id="txtToFilter" type="text" onKeyDown={onKeyDown} />\n <button onClick={() => filterNodesByText()}>Apply</button>\n </div>\n {treeData.length === 1 ? (\n <div>No nodes match filter</div>\n ) : (\n <div className="filtered">\n <TreeView\n data={treeData}\n aria-label="Filtered tree"\n multiSelect\n propagateSelect\n propagateSelectUpwards\n togglableSelect\n nodeRenderer={({\n element,\n isBranch,\n isExpanded,\n isSelected,\n isHalfSelected,\n getNodeProps,\n level,\n handleSelect,\n handleExpand,\n }) => {\n return (\n <div\n {...getNodeProps({ onClick: handleExpand })}\n style={{ marginLeft: 40 * (level - 1) }}\n >\n <div style={{ marginLeft: isBranch ? "0" : "21px" }}>\n {isBranch && <ArrowIcon isOpen={isExpanded} />}\n <CheckBoxIcon\n className="checkbox-icon"\n onClick={(e) => {\n handleSelect(e);\n e.stopPropagation();\n }}\n variant={\n isHalfSelected ? "some" : isSelected ? "all" : "none"\n }\n />\n <span className="name">{element.name}</span>\n </div>\n </div>\n );\n }}\n />\n </div>\n )}\n </div>\n );\n}\n\nconst ArrowIcon = ({ isOpen, className }) => {\n const baseClass = "arrow";\n const classes = cx(\n baseClass,\n { [`${baseClass}--closed`]: !isOpen },\n { [`${baseClass}--open`]: isOpen },\n className\n );\n return <IoMdArrowDropright className={classes} />;\n};\n\nconst CheckBoxIcon = ({ variant, ...rest }) => {\n switch (variant) {\n case "all":\n return <FaCheckSquare {...rest} />;\n case "none":\n return <FaSquare {...rest} />;\n case "some":\n return <FaMinusSquare {...rest} />;\n default:\n return null;\n }\n};\n\nexport default Filtering;\n',L='.filtered {\n font-size: 16px;\n user-select: none;\n min-height: 320px;\n padding: 20px;\n box-sizing: content-box;\n}\n\n.filtered .tree,\n.filtered .tree-node,\n.filtered .tree-node-group {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.filtered .tree-branch-wrapper {\n outline: none;\n}\n\n.filtered .tree-node {\n cursor: pointer;\n}\n\n.filtered .tree-node .name:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n\n.filtered .tree-node--focused .name {\n background: rgba(0, 0, 0, 0.2);\n}\n\n.filtered .tree-node {\n display: inline-block;\n}\n\n.filtered .checkbox-icon {\n margin: 0 5px;\n vertical-align: middle;\n}\n\n.filtered button {\n border: none;\n background: transparent;\n cursor: pointer;\n}\n\n.filtered .arrow {\n margin-left: 5px;\n vertical-align: middle;\n}\n\n.filtered .arrow--open {\n transform: rotate(90deg);\n}\n\n.filtered [role="treeitem"] {\n display: inline-flex;\n flex-direction: column;\n margin-left: px-to-rem(2);\n}\n\n.filtered [role="treeitem"]:focus-visible {\n outline: 0.125rem solid #0064d6 !important;\n}\n\n.filtered\n [role="treeitem"]:focus-visible\n label:not(.ant-checkbox-wrapper-disabled):hover\n > span:nth-of-type(2) {\n padding-right: px-to-rem(7);\n margin-right: px-to-rem(1);\n line-height: px-to-rem(16);\n}\n\n.filtered [role="treeitem"].tree-node--focused {\n outline: 0.125rem solid #0064d6 !important;\n}\n\n.filtered .tree-node-group,\n.filtered .tree {\n display: flex;\n flex-direction: column;\n}\n';var O=r(2805);const S={title:"Filtering"},U=void 0,t={unversionedId:"examples-Filtering",id:"examples-Filtering",title:"Filtering",description:"The example how to implement filtering within a tree.",source:"@site/docs/examples-Filtering.mdx",sourceDirName:".",slug:"/examples-Filtering",permalink:"/react-accessible-treeview/docs/examples-Filtering",draft:!1,tags:[],version:"current",frontMatter:{title:"Filtering"},sidebar:"docs",previous:{title:"Directory tree (single selection)",permalink:"/react-accessible-treeview/docs/examples-DirectoryTree"},next:{title:"Checkbox",permalink:"/react-accessible-treeview/docs/examples-MultiSelectCheckbox"}},D={},T=[],i={toc:T},l="wrapper";function B(n){let{components:e,...r}=n;return(0,N.kt)(l,(0,c.Z)({},i,r,{components:e,mdxType:"MDXLayout"}),(0,N.kt)("p",null,"The example how to implement filtering within a tree."),(0,N.kt)(O.Z,{component:o,js:d,css:L,mdxType:"CodeTabs"}))}B.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f7176354.82bb532b.js b/assets/js/f7176354.82bb532b.js deleted file mode 100644 index e51d588b..00000000 --- a/assets/js/f7176354.82bb532b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[535],{5745:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/f7176354.a32584ac.js b/assets/js/f7176354.a32584ac.js new file mode 100644 index 00000000..666e8570 --- /dev/null +++ b/assets/js/f7176354.a32584ac.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[535],{5745:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/main.4fb47343.js b/assets/js/main.4fb47343.js new file mode 100644 index 00000000..0e9295ce --- /dev/null +++ b/assets/js/main.4fb47343.js @@ -0,0 +1,2 @@ +/*! For license information please see main.4fb47343.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[179],{723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7294),a=n(7462),o=n(8356),i=n.n(o),l=n(6887);const s={"0f6bc27b":[()=>Promise.all([n.e(532),n.e(592),n.e(99)]).then(n.bind(n,4650)),"@site/docs/examples-ControlledExpandedNode.mdx",4650],"13c4e3bb":[()=>Promise.all([n.e(532),n.e(592),n.e(193),n.e(320)]).then(n.bind(n,5532)),"@site/docs/examples-MultiSelectCheckboxAsyncControlled.mdx",5532],17896441:[()=>Promise.all([n.e(532),n.e(592),n.e(918)]).then(n.bind(n,2839)),"@theme/DocItem",2839],"1be78505":[()=>Promise.all([n.e(532),n.e(514)]).then(n.bind(n,9963)),"@theme/DocPage",9963],"22f348d2":[()=>Promise.all([n.e(532),n.e(592),n.e(148)]).then(n.bind(n,5804)),"@site/docs/examples-Basic.mdx",5804],"28e78d68":[()=>Promise.all([n.e(532),n.e(592),n.e(507)]).then(n.bind(n,2986)),"@site/docs/examples-MultiSelectCheckbox.mdx",2986],"366a509e":[()=>Promise.all([n.e(532),n.e(592),n.e(859),n.e(891)]).then(n.bind(n,7745)),"@site/docs/examples-DirectoryTree.md",7745],"3a56c823":[()=>Promise.all([n.e(532),n.e(592),n.e(859),n.e(890)]).then(n.bind(n,8312)),"@site/docs/examples-MultiSelectDirectoryTree.md",8312],"3ec8ed95":[()=>Promise.all([n.e(532),n.e(592),n.e(147)]).then(n.bind(n,7207)),"@site/docs/examples-MultiSelectCheckboxControlled.mdx",7207],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"5fbc5cf1":[()=>Promise.all([n.e(592),n.e(207)]).then(n.bind(n,7480)),"@site/docs/api.md",7480],"64f7982e":[()=>Promise.all([n.e(532),n.e(592),n.e(193),n.e(442)]).then(n.bind(n,1869)),"@site/docs/examples-MultiSelectCheckboxAsync.mdx",1869],"6ebfbd9a":[()=>Promise.all([n.e(532),n.e(592),n.e(864)]).then(n.bind(n,6532)),"@site/docs/examples-MultiSelectCheckboxDisabled.md",6532],"80ab3120":[()=>n.e(648).then(n.t.bind(n,3769,19)),"/home/runner/work/react-accessible-treeview/react-accessible-treeview/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"878f79e1":[()=>Promise.all([n.e(532),n.e(592),n.e(627)]).then(n.bind(n,4892)),"@site/docs/examples-DataTypes.mdx",4892],"88d09b9b":[()=>Promise.all([n.e(532),n.e(592),n.e(982)]).then(n.bind(n,3112)),"@site/docs/examples-SingleSelectCheckbox.mdx",3112],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],c4f5d8e4:[()=>Promise.all([n.e(532),n.e(592),n.e(859),n.e(195)]).then(n.bind(n,5239)),"@site/src/pages/index.js",5239],e56b3d68:[()=>Promise.all([n.e(532),n.e(592),n.e(73)]).then(n.bind(n,142)),"@site/docs/examples-Filtering.mdx",142],f7176354:[()=>n.e(535).then(n.t.bind(n,5745,19)),"/home/runner/work/react-accessible-treeview/react-accessible-treeview/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745]};function u(e){let{error:t,retry:n,pastDelay:a}=e;return t?r.createElement("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},r.createElement("p",null,String(t)),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},"Retry"))):a?r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},r.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},r.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2"},r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"8"},r.createElement("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))):null}var c=n(9670),d=n(226);function f(e,t){if("*"===e)return i()({loading:u,loader:()=>n.e(972).then(n.bind(n,4972)),modules:["@theme/NotFound"],webpack:()=>[4972],render(e,t){const n=e.default;return r.createElement(d.z,{value:{plugin:{name:"native",id:"default"}}},r.createElement(n,t))}});const o=l[e+"-"+t],f={},p=[],m=[],h=(0,c.Z)(o);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=s[n];r&&(f[t]=r[0],p.push(r[1]),m.push(r[2]))})),i().Map({loading:u,loader:f,modules:p,webpack:()=>m,render(t,n){const i=JSON.parse(JSON.stringify(o));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error("The page component at "+e+" doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.");"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let o=i;const l=n.split(".");l.slice(0,-1).forEach((e=>{o=o[e]})),o[l[l.length-1]]=a}));const l=i.__comp;delete i.__comp;const s=i.__context;return delete i.__context,r.createElement(d.z,{value:s},r.createElement(l,(0,a.Z)({},i,n)))}})}const p=[{path:"/react-accessible-treeview/docs",component:f("/react-accessible-treeview/docs","c8e"),routes:[{path:"/react-accessible-treeview/docs/api",component:f("/react-accessible-treeview/docs/api","a55"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-Basic",component:f("/react-accessible-treeview/docs/examples-Basic","cdc"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-ControlledExpandedNode",component:f("/react-accessible-treeview/docs/examples-ControlledExpandedNode","38a"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-DataTypes",component:f("/react-accessible-treeview/docs/examples-DataTypes","cf2"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-DirectoryTree",component:f("/react-accessible-treeview/docs/examples-DirectoryTree","4cb"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-Filtering",component:f("/react-accessible-treeview/docs/examples-Filtering","ec9"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-MultiSelectCheckbox",component:f("/react-accessible-treeview/docs/examples-MultiSelectCheckbox","bb7"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync",component:f("/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync","d42"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled",component:f("/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled","e23"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled",component:f("/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled","caf"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled",component:f("/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled","db9"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree",component:f("/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree","340"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-SingleSelectCheckbox",component:f("/react-accessible-treeview/docs/examples-SingleSelectCheckbox","6d9"),exact:!0,sidebar:"docs"}]},{path:"/react-accessible-treeview/",component:f("/react-accessible-treeview/","922"),exact:!0},{path:"*",component:f("*")}]},8934:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,t:()=>o});var r=n(7294);const a=r.createContext(!1);function o(e){let{children:t}=e;const[n,o]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{o(!0)}),[]),r.createElement(a.Provider,{value:n},t)}},7221:(e,t,n)=>{"use strict";var r=n(7294),a=n(3935),o=n(3727),i=n(405),l=n(412);const s=[n(2497),n(3310),n(8320),n(2295)];var u=n(723),c=n(6550),d=n(8790);function f(e){let{children:t}=e;return r.createElement(r.Fragment,null,t)}var p=n(7462),m=n(5742),h=n(2263),g=n(4996),v=n(6668),b=n(1944),y=n(4711),w=n(9727),k=n(3320),E=n(8780),S=n(197);function x(){const{i18n:{defaultLocale:e,localeConfigs:t}}=(0,h.Z)(),n=(0,y.l)();return r.createElement(m.Z,null,Object.entries(t).map((e=>{let[t,{htmlLang:a}]=e;return r.createElement("link",{key:t,rel:"alternate",href:n.createUrl({locale:t,fullyQualified:!0}),hrefLang:a})})),r.createElement("link",{rel:"alternate",href:n.createUrl({locale:e,fullyQualified:!0}),hrefLang:"x-default"}))}function T(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,h.Z)(),a=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,h.Z)(),{pathname:r}=(0,c.TH)();return e+(0,E.applyTrailingSlash)((0,g.Z)(r),{trailingSlash:n,baseUrl:t})}(),o=t?""+n+t:a;return r.createElement(m.Z,null,r.createElement("meta",{property:"og:url",content:o}),r.createElement("link",{rel:"canonical",href:o}))}function C(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:t,image:n}=(0,v.L)();return r.createElement(r.Fragment,null,r.createElement(m.Z,null,r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("body",{className:w.h})),n&&r.createElement(b.d,{image:n}),r.createElement(T,null),r.createElement(x,null),r.createElement(S.Z,{tag:k.HX,locale:e}),r.createElement(m.Z,null,t.map(((e,t)=>r.createElement("meta",(0,p.Z)({key:t},e))))))}const _=new Map;function A(e){if(_.has(e.pathname))return{...e,pathname:_.get(e.pathname)};if((0,d.f)(u.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return _.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return _.set(e.pathname,t),{...e,pathname:t}}var P=n(8934),N=n(8940);function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a=s.map((t=>{var r,a;const o=null!=(r=null==(a=t.default)?void 0:a[e])?r:t[e];return null==o?void 0:o(...n)}));return()=>a.forEach((e=>null==e?void 0:e()))}const O=function(e){let{children:t,location:n,previousLocation:a}=e;return(0,r.useLayoutEffect)((()=>{a!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);null==t||t.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:a}),R("onRouteDidUpdate",{previousLocation:a,location:n}))}),[a,n]),t};function L(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(u.Z,e))).flat();return Promise.all(t.map((e=>null==e.route.component.preload?void 0:e.route.component.preload())))}class D extends r.Component{constructor(e){super(e),this.previousLocation=void 0,this.routeUpdateCleanupCb=void 0,this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?R("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=R("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),L(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return r.createElement(O,{previousLocation:this.previousLocation,location:t},r.createElement(c.AW,{location:t,render:()=>e}))}}const I=D,M="__docusaurus-base-url-issue-banner-container",F="__docusaurus-base-url-issue-banner",B="__docusaurus-base-url-issue-banner-suggestion-container",j="__DOCUSAURUS_INSERT_BASEURL_BANNER";function z(e){return"\nwindow['"+j+"'] = true;\n\ndocument.addEventListener('DOMContentLoaded', maybeInsertBanner);\n\nfunction maybeInsertBanner() {\n var shouldInsert = window['"+j+"'];\n shouldInsert && insertBanner();\n}\n\nfunction insertBanner() {\n var bannerContainer = document.getElementById('"+M+"');\n if (!bannerContainer) {\n return;\n }\n var bannerHtml = "+JSON.stringify(function(e){return'\n<div id="'+F+'" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">'+e+"</span> "+("/"===e?" (default value)":"")+'</p>\n <p>We suggest trying baseUrl = <span id="'+B+'" style="font-weight: bold; color: green;"></span></p>\n</div>\n'}(e)).replace(/</g,"\\<")+";\n bannerContainer.innerHTML = bannerHtml;\n var suggestionContainer = document.getElementById('"+B+"');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n"}function U(){const{siteConfig:{baseUrl:e}}=(0,h.Z)();return(0,r.useLayoutEffect)((()=>{window[j]=!1}),[]),r.createElement(r.Fragment,null,!l.Z.canUseDOM&&r.createElement(m.Z,null,r.createElement("script",null,z(e))),r.createElement("div",{id:M}))}function $(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,h.Z)(),{pathname:n}=(0,c.TH)();return t&&n===e?r.createElement(U,null):null}function q(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:a,localeConfigs:o}}=(0,h.Z)(),i=(0,g.Z)(e),{htmlLang:l,direction:s}=o[a];return r.createElement(m.Z,null,r.createElement("html",{lang:l,dir:s}),r.createElement("title",null,t),r.createElement("meta",{property:"og:title",content:t}),r.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&r.createElement("meta",{name:"robots",content:"noindex, nofollow"}),e&&r.createElement("link",{rel:"icon",href:i}))}var H=n(4763),G=n(2389);function Z(){const e=(0,G.Z)();return r.createElement(m.Z,null,r.createElement("html",{"data-has-hydrated":e}))}function V(){const e=(0,d.H)(u.Z),t=(0,c.TH)();return r.createElement(H.Z,null,r.createElement(N.M,null,r.createElement(P.t,null,r.createElement(f,null,r.createElement(q,null),r.createElement(C,null),r.createElement($,null),r.createElement(I,{location:A(t)},e)),r.createElement(Z,null))))}var W=n(6887);const K=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{var r,a;if("undefined"==typeof document)return void n();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),o.onload=()=>t(),o.onerror=()=>n();const i=null!=(r=document.getElementsByTagName("head")[0])?r:null==(a=document.getElementsByName("script")[0])?void 0:a.parentNode;null==i||i.appendChild(o)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var Y=n(9670);const Q=new Set,X=new Set,J=()=>{var e,t;return(null==(e=navigator.connection)?void 0:e.effectiveType.includes("2g"))||(null==(t=navigator.connection)?void 0:t.saveData)},ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!Q.has(e))(e))return!1;Q.add(e);const t=(0,d.f)(u.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(W).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,Y.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?K(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),L(e))},te=Object.freeze(ee);if(l.Z.canUseDOM){window.docusaurus=te;const e=a.hydrate;L(window.location.pathname).then((()=>{e(r.createElement(i.B6,null,r.createElement(o.VK,null,r.createElement(V,null))),document.getElementById("__docusaurus"))}))}},8940:(e,t,n)=>{"use strict";n.d(t,{_:()=>c,M:()=>d});var r=n(7294),a=n(6809);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/react-accessible-treeview/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/react-accessible-treeview/docs","mainDocId":"api","docs":[{"id":"api","path":"/react-accessible-treeview/docs/api","sidebar":"docs"},{"id":"examples-Basic","path":"/react-accessible-treeview/docs/examples-Basic","sidebar":"docs"},{"id":"examples-ControlledExpandedNode","path":"/react-accessible-treeview/docs/examples-ControlledExpandedNode","sidebar":"docs"},{"id":"examples-DataTypes","path":"/react-accessible-treeview/docs/examples-DataTypes","sidebar":"docs"},{"id":"examples-DirectoryTree","path":"/react-accessible-treeview/docs/examples-DirectoryTree","sidebar":"docs"},{"id":"examples-Filtering","path":"/react-accessible-treeview/docs/examples-Filtering","sidebar":"docs"},{"id":"examples-MultiSelectCheckbox","path":"/react-accessible-treeview/docs/examples-MultiSelectCheckbox","sidebar":"docs"},{"id":"examples-MultiSelectCheckboxAsync","path":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync","sidebar":"docs"},{"id":"examples-MultiSelectCheckboxAsyncControlled","path":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled","sidebar":"docs"},{"id":"examples-MultiSelectCheckboxControlled","path":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled","sidebar":"docs"},{"id":"examples-MultiSelectCheckboxDisabled","path":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled","sidebar":"docs"},{"id":"examples-MultiSelectDirectoryTree","path":"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree","sidebar":"docs"},{"id":"examples-SingleSelectCheckbox","path":"/react-accessible-treeview/docs/examples-SingleSelectCheckbox","sidebar":"docs"}],"draftIds":[],"sidebars":{"docs":{"link":{"path":"/react-accessible-treeview/docs/api","label":"api"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(7529);const s=JSON.parse('{"docusaurusVersion":"2.4.3","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"2.4.3"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"2.4.3"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.4.3"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.4.3"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.4.3"}}}'),u={siteConfig:a.default,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},c=r.createContext(u);function d(e){let{children:t}=e;return r.createElement(c.Provider,{value:u},t)}},4763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(7294),a=n(412),o=n(5742),i=n(8780),l=n(7961);function s(e){let{error:t,tryAgain:n}=e;return r.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"}},r.createElement("h1",{style:{fontSize:"3rem"}},"This page crashed"),r.createElement("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"}},"Try again"),r.createElement(u,{error:t}))}function u(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return r.createElement("p",{style:{whiteSpace:"pre-wrap"}},n)}function c(e){let{error:t,tryAgain:n}=e;return r.createElement(f,{fallback:()=>r.createElement(s,{error:t,tryAgain:n})},r.createElement(o.Z,null,r.createElement("title",null,"Page Error")),r.createElement(l.Z,null,r.createElement(s,{error:t,tryAgain:n})))}const d=e=>r.createElement(c,e);class f extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){var n;const e={error:t,tryAgain:()=>this.setState({error:null})};return(null!=(n=this.props.fallback)?n:d)(e)}return null!=e?e:null}}},412:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(405);function o(e){return r.createElement(a.ql,e)}},9960:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7462),a=n(7294),o=n(3727),i=n(8780),l=n(2263),s=n(3919),u=n(412);const c=a.createContext({collectLink:()=>{}});var d=n(4996);function f(e,t){var n,f;let{isNavLink:p,to:m,href:h,activeClassName:g,isActive:v,"data-noBrokenLinkCheck":b,autoAddBaseUrl:y=!0,...w}=e;const{siteConfig:{trailingSlash:k,baseUrl:E}}=(0,l.Z)(),{withBaseUrl:S}=(0,d.C)(),x=(0,a.useContext)(c),T=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,(()=>T.current));const C=m||h;const _=(0,s.Z)(C),A=null==C?void 0:C.replace("pathname://","");let P=void 0!==A?(N=A,y&&(e=>e.startsWith("/"))(N)?S(N):N):void 0;var N;P&&_&&(P=(0,i.applyTrailingSlash)(P,{trailingSlash:k,baseUrl:E}));const R=(0,a.useRef)(!1),O=p?o.OL:o.rU,L=u.Z.canUseIntersectionObserver,D=(0,a.useRef)(),I=()=>{R.current||null==P||(window.docusaurus.preload(P),R.current=!0)};(0,a.useEffect)((()=>(!L&&_&&null!=P&&window.docusaurus.prefetch(P),()=>{L&&D.current&&D.current.disconnect()})),[D,P,L,_]);const M=null!=(n=null==(f=P)?void 0:f.startsWith("#"))&&n,F=!P||!_||M;return F||b||x.collectLink(P),F?a.createElement("a",(0,r.Z)({ref:T,href:P},C&&!_&&{target:"_blank",rel:"noopener noreferrer"},w)):a.createElement(O,(0,r.Z)({},w,{onMouseEnter:I,onTouchStart:I,innerRef:e=>{T.current=e,L&&e&&_&&(D.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(D.current.unobserve(e),D.current.disconnect(),null!=P&&window.docusaurus.prefetch(P))}))})),D.current.observe(e))},to:P},p&&{isActive:v,activeClassName:g}))}const p=a.forwardRef(f)},1875:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=()=>null},5999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s,I:()=>l});var r=n(7294);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=null==t?void 0:t[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var o=n(7529);function i(e){var t,n;let{id:r,message:a}=e;if(void 0===r&&void 0===a)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return null!=(t=null!=(n=o[null!=r?r:a])?n:a)?t:r}function l(e,t){let{message:n,id:r}=e;return a(i({message:n,id:r}),t)}function s(e){let{children:t,id:n,values:o}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const l=i({message:t,id:n});return r.createElement(r.Fragment,null,a(l,o))}},9935:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},3919:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>a,b:()=>r})},4996:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,Z:()=>l});var r=n(7294),a=n(2263),o=n(3919);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,a.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:a=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,o.b)(n))return n;if(a)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+l:l}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},2263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8940);function o(){return(0,r.useContext)(a._)}},2389:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8934);function o(){return(0,r.useContext)(a._)}},9670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const l=a?a+"."+o:o;r(i)?e(i,l):t[l]=i}))}(e),t}},226:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,z:()=>o});var r=n(7294);const a=r.createContext(null);function o(e){let{children:t,value:n}=e;const o=r.useContext(a),i=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...null==n?void 0:n.data};return{plugin:t.plugin,data:r}}({parent:o,value:n})),[o,n]);return r.createElement(a.Provider,{value:i},t)}},143:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>h,gA:()=>f,_r:()=>c,Jo:()=>g,zh:()=>d,yW:()=>m,gB:()=>p});var r=n(6550),a=n(2263),o=n(9935);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.Z)();return e}()[e];if(!n&&t.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin.');return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=function(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),a=null==n?void 0:n.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const u={},c=()=>{var e;return null!=(e=i("docusaurus-plugin-content-docs"))?e:u},d=e=>function(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});const r=i(e),a=null==r?void 0:r[t];if(!a&&n.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin with id "'+t+'".');return a}("docusaurus-plugin-content-docs",e,{failfast:!0});function f(e){void 0===e&&(e={});const t=c(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error("Can't find active docs plugin for \""+t+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(e).map((e=>e.path)).join(", "));return o}(t,n,e)}function p(e){return d(e).versions}function m(e){const t=d(e);return l(t)}function h(e){const t=d(e),{pathname:n}=(0,r.TH)();return s(t,n)}function g(e){const t=d(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=l(e);return{latestDocSuggestion:s(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},8320:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(4865),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},3310:(e,t,n)=>{"use strict";n.r(t);var r=n(7410),a=n(6809);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{n(6726)("./prism-"+e)})),delete globalThis.Prism}(r.Z)},9471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294);const a={iconExternalLink:"iconExternalLink_nPIU"};function o(e){let{width:t=13.5,height:n=13.5}=e;return r.createElement("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:a.iconExternalLink},r.createElement("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"}))}},7961:(e,t,n)=>{"use strict";n.d(t,{Z:()=>dt});var r=n(7294),a=n(6010),o=n(4763),i=n(1944),l=n(7462),s=n(6550),u=n(5999),c=n(5936);const d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function p(){const e=(0,r.useRef)(null),{action:t}=(0,s.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=null!=(n=document.querySelector("main:first-of-type"))?n:document.getElementById(d);var n;t&&f(t)}),[]);return(0,c.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&f(e.current)})),{containerRef:e,onClick:n}}const m=(0,u.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function h(e){var t;const n=null!=(t=e.children)?t:m,{containerRef:a,onClick:o}=p();return r.createElement("div",{ref:a,role:"region","aria-label":m},r.createElement("a",(0,l.Z)({},e,{href:"#"+d,onClick:o}),n))}var g=n(5281),v=n(9727);const b={skipToContent:"skipToContent_fXgn"};function y(){return r.createElement(h,{className:b.skipToContent})}var w=n(6668),k=n(9689);function E(e){let{width:t=21,height:n=21,color:a="currentColor",strokeWidth:o=1.2,className:i,...s}=e;return r.createElement("svg",(0,l.Z)({viewBox:"0 0 15 15",width:t,height:n},s),r.createElement("g",{stroke:a,strokeWidth:o},r.createElement("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})))}const S={closeButton:"closeButton_CVFx"};function x(e){return r.createElement("button",(0,l.Z)({type:"button","aria-label":(0,u.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},e,{className:(0,a.Z)("clean-btn close",S.closeButton,e.className)}),r.createElement(E,{width:14,height:14,strokeWidth:3.1}))}const T={content:"content_knG7"};function C(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return r.createElement("div",(0,l.Z)({},e,{className:(0,a.Z)(T.content,e.className),dangerouslySetInnerHTML:{__html:n}}))}const _={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function A(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,k.nT)();if(!t)return null;const{backgroundColor:a,textColor:o,isCloseable:i}=e;return r.createElement("div",{className:_.announcementBar,style:{backgroundColor:a,color:o},role:"banner"},i&&r.createElement("div",{className:_.announcementBarPlaceholder}),r.createElement(C,{className:_.announcementBarContent}),i&&r.createElement(x,{onClick:n,className:_.announcementBarClose}))}var P=n(2961),N=n(2466);var R=n(902),O=n(3102);const L=r.createContext(null);function D(e){let{children:t}=e;const n=function(){const e=(0,P.e)(),t=(0,O.HY)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,R.D9)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return r.createElement(L.Provider,{value:n},t)}function I(e){if(e.component){const t=e.component;return r.createElement(t,e.props)}}function M(){const e=(0,r.useContext)(L);if(!e)throw new R.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,O.HY)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:I(o)})),[a,o,t])}function F(e){let{header:t,primaryMenu:n,secondaryMenu:o}=e;const{shown:i}=M();return r.createElement("div",{className:"navbar-sidebar"},t,r.createElement("div",{className:(0,a.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":i})},r.createElement("div",{className:"navbar-sidebar__item menu"},n),r.createElement("div",{className:"navbar-sidebar__item menu"},o)))}var B=n(2949),j=n(2389);function z(e){return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"}))}function U(e){return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"}))}const $={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function q(e){let{className:t,buttonClassName:n,value:o,onChange:i}=e;const l=(0,j.Z)(),s=(0,u.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===o?(0,u.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,u.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return r.createElement("div",{className:(0,a.Z)($.toggle,t)},r.createElement("button",{className:(0,a.Z)("clean-btn",$.toggleButton,!l&&$.toggleButtonDisabled,n),type:"button",onClick:()=>i("dark"===o?"light":"dark"),disabled:!l,title:s,"aria-label":s,"aria-live":"polite"},r.createElement(z,{className:(0,a.Z)($.toggleIcon,$.lightToggleIcon)}),r.createElement(U,{className:(0,a.Z)($.toggleIcon,$.darkToggleIcon)})))}const H=r.memo(q),G={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function Z(e){let{className:t}=e;const n=(0,w.L)().navbar.style,a=(0,w.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:i}=(0,B.I)();return a?null:r.createElement(H,{className:t,buttonClassName:"dark"===n?G.darkNavbarColorModeToggle:void 0,value:o,onChange:i})}var V=n(1327);function W(){return r.createElement(V.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function K(){const e=(0,P.e)();return r.createElement("button",{type:"button","aria-label":(0,u.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle()},r.createElement(E,{color:"var(--ifm-color-emphasis-600)"}))}function Y(){return r.createElement("div",{className:"navbar-sidebar__brand"},r.createElement(W,null),r.createElement(Z,{className:"margin-right--md"}),r.createElement(K,null))}var Q=n(9960),X=n(4996),J=n(3919);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(9471);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:a,href:o,label:i,html:s,isDropdownLink:u,prependBaseUrlToHref:c,...d}=e;const f=(0,X.Z)(a),p=(0,X.Z)(t),m=(0,X.Z)(o,{forcePrependBaseUrl:!0}),h=i&&o&&!(0,J.Z)(o),g=s?{dangerouslySetInnerHTML:{__html:s}}:{children:r.createElement(r.Fragment,null,i,h&&r.createElement(te.Z,u&&{width:12,height:12}))};return o?r.createElement(Q.Z,(0,l.Z)({href:c?m:o},d,g)):r.createElement(Q.Z,(0,l.Z)({to:f,isNavLink:!0},(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(p)},d,g))}function re(e){let{className:t,isDropdownItem:n=!1,...o}=e;const i=r.createElement(ne,(0,l.Z)({className:(0,a.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n},o));return n?r.createElement("li",null,i):i}function ae(e){let{className:t,isDropdownItem:n,...o}=e;return r.createElement("li",{className:"menu__list-item"},r.createElement(ne,(0,l.Z)({className:(0,a.Z)("menu__link",t)},o)))}function oe(e){var t;let{mobile:n=!1,position:a,...o}=e;const i=n?ae:re;return r.createElement(i,(0,l.Z)({},o,{activeClassName:null!=(t=o.activeClassName)?t:n?"menu__link--active":"navbar__link--active"}))}var ie=n(6043),le=n(8596),se=n(2263);function ue(e,t){return e.some((e=>function(e,t){return!!(0,le.Mg)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function ce(e){var t;let{items:n,position:o,className:i,onClick:s,...u}=e;const c=(0,r.useRef)(null),[d,f]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{c.current&&!c.current.contains(e.target)&&f(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[c]),r.createElement("div",{ref:c,className:(0,a.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===o,"dropdown--show":d})},r.createElement(ne,(0,l.Z)({"aria-haspopup":"true","aria-expanded":d,role:"button",href:u.to?void 0:"#",className:(0,a.Z)("navbar__link",i)},u,{onClick:u.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),f(!d))}}),null!=(t=u.children)?t:u.label),r.createElement("ul",{className:"dropdown__menu"},n.map(((e,t)=>r.createElement(xe,(0,l.Z)({isDropdownItem:!0,activeClassName:"dropdown__link--active"},e,{key:t}))))))}function de(e){var t;let{items:n,className:o,position:i,onClick:u,...c}=e;const d=function(){const{siteConfig:{baseUrl:e}}=(0,se.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}(),f=ue(n,d),{collapsed:p,toggleCollapsed:m,setCollapsed:h}=(0,ie.u)({initialState:()=>!f});return(0,r.useEffect)((()=>{f&&h(!f)}),[d,f,h]),r.createElement("li",{className:(0,a.Z)("menu__list-item",{"menu__list-item--collapsed":p})},r.createElement(ne,(0,l.Z)({role:"button",className:(0,a.Z)("menu__link menu__link--sublist menu__link--sublist-caret",o)},c,{onClick:e=>{e.preventDefault(),m()}}),null!=(t=c.children)?t:c.label),r.createElement(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p},n.map(((e,t)=>r.createElement(xe,(0,l.Z)({mobile:!0,isDropdownItem:!0,onClick:u,activeClassName:"menu__link--active"},e,{key:t}))))))}function fe(e){let{mobile:t=!1,...n}=e;const a=t?de:ce;return r.createElement(a,n)}var pe=n(4711);function me(e){let{width:t=20,height:n=20,...a}=e;return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0},a),r.createElement("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"}))}const he="iconLanguage_nlXk";var ge=n(1875);const ve={searchBox:"searchBox_ZlJk"};function be(e){let{children:t,className:n}=e;return r.createElement("div",{className:(0,a.Z)(n,ve.searchBox)},t)}var ye=n(143),we=n(2802);var ke=n(373);const Ee=e=>e.docs.find((t=>t.id===e.mainDocId));const Se={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:a,...o}=e;const{i18n:{currentLocale:i,locales:c,localeConfigs:d}}=(0,se.Z)(),f=(0,pe.l)(),{search:p,hash:m}=(0,s.TH)(),h=[...n,...c.map((e=>{const n=""+("pathname://"+f.createUrl({locale:e,fullyQualified:!1}))+p+m;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...a],g=t?(0,u.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return r.createElement(fe,(0,l.Z)({},o,{mobile:t,label:r.createElement(r.Fragment,null,r.createElement(me,{className:he}),g),items:h}))},search:function(e){let{mobile:t,className:n}=e;return t?null:r.createElement(be,{className:n},r.createElement(ge.Z,null))},dropdown:fe,html:function(e){let{value:t,className:n,mobile:o=!1,isDropdownItem:i=!1}=e;const l=i?"li":"div";return r.createElement(l,{className:(0,a.Z)({navbar__item:!o&&!i,"menu__list-item":o},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:a,...o}=e;const{activeDoc:i}=(0,ye.Iw)(a),s=(0,we.vY)(t,a);return null===s?null:r.createElement(oe,(0,l.Z)({exact:!0},o,{isActive:()=>(null==i?void 0:i.path)===s.path||!(null==i||!i.sidebar)&&i.sidebar===s.sidebar,label:null!=n?n:s.id,to:s.path}))},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:a,...o}=e;const{activeDoc:i}=(0,ye.Iw)(a),s=(0,we.oz)(t,a).link;if(!s)throw new Error('DocSidebarNavbarItem: Sidebar with ID "'+t+"\" doesn't have anything to be linked to.");return r.createElement(oe,(0,l.Z)({exact:!0},o,{isActive:()=>(null==i?void 0:i.sidebar)===t,label:null!=n?n:s.label,to:s.path}))},docsVersion:function(e){let{label:t,to:n,docsPluginId:a,...o}=e;const i=(0,we.lO)(a)[0],s=null!=t?t:i.label,u=null!=n?n:(e=>e.docs.find((t=>t.id===e.mainDocId)))(i).path;return r.createElement(oe,(0,l.Z)({},o,{label:s,to:u}))},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:a,dropdownItemsBefore:o,dropdownItemsAfter:i,...c}=e;const{search:d,hash:f}=(0,s.TH)(),p=(0,ye.Iw)(n),m=(0,ye.gB)(n),{savePreferredVersionName:h}=(0,ke.J)(n),g=[...o,...m.map((e=>{var t;const n=null!=(t=p.alternateDocVersions[e.name])?t:Ee(e);return{label:e.label,to:""+n.path+d+f,isActive:()=>e===p.activeVersion,onClick:()=>h(e.name)}})),...i],v=(0,we.lO)(n)[0],b=t&&g.length>1?(0,u.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):v.label,y=t&&g.length>1?void 0:Ee(v).path;return g.length<=1?r.createElement(oe,(0,l.Z)({},c,{mobile:t,label:b,to:y,isActive:a?()=>!1:void 0})):r.createElement(fe,(0,l.Z)({},c,{mobile:t,label:b,to:y,items:g,isActive:a?()=>!1:void 0}))}};function xe(e){let{type:t,...n}=e;const a=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=Se[a];if(!o)throw new Error('No NavbarItem component found for type "'+t+'".');return r.createElement(o,n)}function Te(){const e=(0,P.e)(),t=(0,w.L)().navbar.items;return r.createElement("ul",{className:"menu__list"},t.map(((t,n)=>r.createElement(xe,(0,l.Z)({mobile:!0},t,{onClick:()=>e.toggle(),key:n})))))}function Ce(e){return r.createElement("button",(0,l.Z)({},e,{type:"button",className:"clean-btn navbar-sidebar__back"}),r.createElement(u.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"},"\u2190 Back to main menu"))}function _e(){const e=0===(0,w.L)().navbar.items.length,t=M();return r.createElement(r.Fragment,null,!e&&r.createElement(Ce,{onClick:()=>t.hide()}),t.content)}function Ae(){const e=(0,P.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?r.createElement(F,{header:r.createElement(Y,null),primaryMenu:r.createElement(Te,null),secondaryMenu:r.createElement(_e,null)}):null}const Pe={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Ne(e){return r.createElement("div",(0,l.Z)({role:"presentation"},e,{className:(0,a.Z)("navbar-sidebar__backdrop",e.className)}))}function Re(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,w.L)(),i=(0,P.e)(),{navbarRef:l,isNavbarVisible:s}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,N.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current)return void n(!0);if(a.current)return void(a.current=!1);const l=null==r?void 0:r.scrollY,s=document.documentElement.scrollHeight-o.current,u=window.innerHeight;l&&i>=l?n(!1):i+u<s&&n(!0)})),(0,c.S)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return r.createElement("nav",{ref:l,"aria-label":(0,u.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.Z)("navbar","navbar--fixed-top",n&&[Pe.navbarHideable,!s&&Pe.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown})},t,r.createElement(Ne,{onClick:i.toggle}),r.createElement(Ae,null))}var Oe=n(8780);const Le={errorBoundaryError:"errorBoundaryError_a6uf"};function De(e){return r.createElement("button",(0,l.Z)({type:"button"},e),r.createElement(u.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error"},"Try again"))}function Ie(e){let{error:t}=e;const n=(0,Oe.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return r.createElement("p",{className:Le.errorBoundaryError},n)}class Me extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const Fe="right";function Be(e){let{width:t=30,height:n=30,className:a,...o}=e;return r.createElement("svg",(0,l.Z)({className:a,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true"},o),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}function je(){const{toggle:e,shown:t}=(0,P.e)();return r.createElement("button",{onClick:e,"aria-label":(0,u.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button"},r.createElement(Be,null))}const ze={colorModeToggle:"colorModeToggle_DEke"};function Ue(e){let{items:t}=e;return r.createElement(r.Fragment,null,t.map(((e,t)=>r.createElement(Me,{key:t,onError:t=>new Error("A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n"+JSON.stringify(e,null,2),{cause:t})},r.createElement(xe,e)))))}function $e(e){let{left:t,right:n}=e;return r.createElement("div",{className:"navbar__inner"},r.createElement("div",{className:"navbar__items"},t),r.createElement("div",{className:"navbar__items navbar__items--right"},n))}function qe(){const e=(0,P.e)(),t=(0,w.L)().navbar.items,[n,a]=function(e){function t(e){var t;return"left"===(null!=(t=e.position)?t:Fe)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return r.createElement($e,{left:r.createElement(r.Fragment,null,!e.disabled&&r.createElement(je,null),r.createElement(W,null),r.createElement(Ue,{items:n})),right:r.createElement(r.Fragment,null,r.createElement(Ue,{items:a}),r.createElement(Z,{className:ze.colorModeToggle}),!o&&r.createElement(be,null,r.createElement(ge.Z,null)))})}function He(){return r.createElement(Re,null,r.createElement(qe,null))}function Ge(e){let{item:t}=e;const{to:n,href:a,label:o,prependBaseUrlToHref:i,...s}=t,u=(0,X.Z)(n),c=(0,X.Z)(a,{forcePrependBaseUrl:!0});return r.createElement(Q.Z,(0,l.Z)({className:"footer__link-item"},a?{href:i?c:a}:{to:u},s),o,a&&!(0,J.Z)(a)&&r.createElement(te.Z,null))}function Ze(e){var t;let{item:n}=e;return n.html?r.createElement("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:n.html}}):r.createElement("li",{key:null!=(t=n.href)?t:n.to,className:"footer__item"},r.createElement(Ge,{item:n}))}function Ve(e){let{column:t}=e;return r.createElement("div",{className:"col footer__col"},r.createElement("div",{className:"footer__title"},t.title),r.createElement("ul",{className:"footer__items clean-list"},t.items.map(((e,t)=>r.createElement(Ze,{key:t,item:e})))))}function We(e){let{columns:t}=e;return r.createElement("div",{className:"row footer__links"},t.map(((e,t)=>r.createElement(Ve,{key:t,column:e}))))}function Ke(){return r.createElement("span",{className:"footer__link-separator"},"\xb7")}function Ye(e){let{item:t}=e;return t.html?r.createElement("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):r.createElement(Ge,{item:t})}function Qe(e){let{links:t}=e;return r.createElement("div",{className:"footer__links text--center"},r.createElement("div",{className:"footer__links"},t.map(((e,n)=>r.createElement(r.Fragment,{key:n},r.createElement(Ye,{item:e}),t.length!==n+1&&r.createElement(Ke,null))))))}function Xe(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?r.createElement(We,{columns:t}):r.createElement(Qe,{links:t})}var Je=n(941);const et={footerLogoLink:"footerLogoLink_BH7S"};function tt(e){var t;let{logo:n}=e;const{withBaseUrl:o}=(0,X.C)(),i={light:o(n.src),dark:o(null!=(t=n.srcDark)?t:n.src)};return r.createElement(Je.Z,{className:(0,a.Z)("footer__logo",n.className),alt:n.alt,sources:i,width:n.width,height:n.height,style:n.style})}function nt(e){let{logo:t}=e;return t.href?r.createElement(Q.Z,{href:t.href,className:et.footerLogoLink,target:t.target},r.createElement(tt,{logo:t})):r.createElement(tt,{logo:t})}function rt(e){let{copyright:t}=e;return r.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function at(e){let{style:t,links:n,logo:o,copyright:i}=e;return r.createElement("footer",{className:(0,a.Z)("footer",{"footer--dark":"dark"===t})},r.createElement("div",{className:"container container-fluid"},n,(o||i)&&r.createElement("div",{className:"footer__bottom text--center"},o&&r.createElement("div",{className:"margin-bottom--sm"},o),i)))}function ot(){const{footer:e}=(0,w.L)();if(!e)return null;const{copyright:t,links:n,logo:a,style:o}=e;return r.createElement(at,{style:o,links:n&&n.length>0&&r.createElement(Xe,{links:n}),logo:a&&r.createElement(nt,{logo:a}),copyright:t&&r.createElement(rt,{copyright:t})})}const it=r.memo(ot),lt=(0,R.Qc)([B.S,k.pl,N.OC,ke.L5,i.VC,function(e){let{children:t}=e;return r.createElement(O.n2,null,r.createElement(P.M,null,r.createElement(D,null,t)))}]);function st(e){let{children:t}=e;return r.createElement(lt,null,t)}function ut(e){let{error:t,tryAgain:n}=e;return r.createElement("main",{className:"container margin-vert--xl"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col col--6 col--offset-3"},r.createElement("h1",{className:"hero__title"},r.createElement(u.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed"},"This page crashed.")),r.createElement("div",{className:"margin-vert--lg"},r.createElement(De,{onClick:n,className:"button button--primary shadow--lw"})),r.createElement("hr",null),r.createElement("div",{className:"margin-vert--md"},r.createElement(Ie,{error:t})))))}const ct={mainWrapper:"mainWrapper_z2l0"};function dt(e){const{children:t,noFooter:n,wrapperClassName:l,title:s,description:u}=e;return(0,v.t)(),r.createElement(st,null,r.createElement(i.d,{title:s,description:u}),r.createElement(y,null),r.createElement(A,null),r.createElement(He,null),r.createElement("div",{id:d,className:(0,a.Z)(g.k.wrapper.main,ct.mainWrapper,l)},r.createElement(o.Z,{fallback:e=>r.createElement(ut,e)},t)),!n&&r.createElement(it,null))}},1327:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(7462),a=n(7294),o=n(9960),i=n(4996),l=n(2263),s=n(6668),u=n(941);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,i.Z)(t.src),dark:(0,i.Z)(t.srcDark||t.src)},l=a.createElement(u.Z,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?a.createElement("div",{className:r},l):l}function d(e){var t;const{siteConfig:{title:n}}=(0,l.Z)(),{navbar:{title:u,logo:d}}=(0,s.L)(),{imageClassName:f,titleClassName:p,...m}=e,h=(0,i.Z)((null==d?void 0:d.href)||"/"),g=u?"":n,v=null!=(t=null==d?void 0:d.alt)?t:g;return a.createElement(o.Z,(0,r.Z)({to:h},m,(null==d?void 0:d.target)&&{target:d.target}),d&&a.createElement(c,{logo:d,alt:v,imageClassName:f}),null!=u&&a.createElement("b",{className:p},u))}},197:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(5742);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return r.createElement(a.Z,null,t&&r.createElement("meta",{name:"docusaurus_locale",content:t}),n&&r.createElement("meta",{name:"docusaurus_version",content:n}),o&&r.createElement("meta",{name:"docusaurus_tag",content:o}),i&&r.createElement("meta",{name:"docsearch:language",content:i}),n&&r.createElement("meta",{name:"docsearch:version",content:n}),o&&r.createElement("meta",{name:"docsearch:docusaurus_tag",content:o}))}},941:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(7462),a=n(7294),o=n(6010),i=n(2389),l=n(2949);const s={themedImage:"themedImage_ToTc","themedImage--light":"themedImage--light_HNdA","themedImage--dark":"themedImage--dark_i4oU"};function u(e){const t=(0,i.Z)(),{colorMode:n}=(0,l.I)(),{sources:u,className:c,alt:d,...f}=e,p=t?"dark"===n?["dark"]:["light"]:["light","dark"];return a.createElement(a.Fragment,null,p.map((e=>a.createElement("img",(0,r.Z)({key:e,src:u[e],alt:d,className:(0,o.Z)(s.themedImage,s["themedImage--"+e],c)},f)))))}},6043:(e,t,n)=>{"use strict";n.d(t,{u:()=>s,z:()=>g});var r=n(7462),a=n(7294),o=n(412),i=n(1442);const l="ease-in-out";function s(e){let{initialState:t}=e;const[n,r]=(0,a.useState)(null!=t&&t),o=(0,a.useCallback)((()=>{r((e=>!e))}),[]);return{collapsed:n,setCollapsed:r,toggleCollapsed:o}}const u={display:"none",overflow:"hidden",height:"0px"},c={display:"block",overflow:"visible",height:"auto"};function d(e,t){const n=t?u:c;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:r}=e;const o=(0,a.useRef)(!1);(0,a.useEffect)((()=>{const e=t.current;function a(){var t,n;const a=e.scrollHeight,o=null!=(t=null==r?void 0:r.duration)?t:function(e){if((0,i.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(a);return{transition:"height "+o+"ms "+(null!=(n=null==r?void 0:r.easing)?n:l),height:a+"px"}}function s(){const t=a();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return d(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,r])}function p(e){if(!o.Z.canUseDOM)return e?u:c}function m(e){let{as:t="div",collapsed:n,children:r,animation:o,onCollapseTransitionEnd:i,className:l,disableSSRStyle:s}=e;const u=(0,a.useRef)(null);return f({collapsibleRef:u,collapsed:n,animation:o}),a.createElement(t,{ref:u,style:s?void 0:p(n),onTransitionEnd:e=>{"height"===e.propertyName&&(d(u.current,n),null==i||i(n))},className:l},r)}function h(e){let{collapsed:t,...n}=e;const[o,i]=(0,a.useState)(!t),[l,s]=(0,a.useState)(t);return(0,a.useLayoutEffect)((()=>{t||i(!0)}),[t]),(0,a.useLayoutEffect)((()=>{o&&s(t)}),[o,t]),o?a.createElement(m,(0,r.Z)({},n,{collapsed:l})):null}function g(e){let{lazy:t,...n}=e;const r=t?h:m;return a.createElement(r,n)}},9689:(e,t,n)=>{"use strict";n.d(t,{nT:()=>m,pl:()=>p});var r=n(7294),a=n(2389),o=n(12),i=n(902),l=n(6668);const s=(0,o.WA)("docusaurus.announcement.dismiss"),u=(0,o.WA)("docusaurus.announcement.id"),c=()=>"true"===s.get(),d=e=>s.set(String(e)),f=r.createContext(null);function p(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.L)(),t=(0,a.Z)(),[n,o]=(0,r.useState)((()=>!!t&&c()));(0,r.useEffect)((()=>{o(c())}),[]);const i=(0,r.useCallback)((()=>{d(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&d(!1),!r&&c()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return r.createElement(f.Provider,{value:n},t)}function m(){const e=(0,r.useContext)(f);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},2949:(e,t,n)=>{"use strict";n.d(t,{I:()=>g,S:()=>h});var r=n(7294),a=n(412),o=n(902),i=n(12),l=n(6668);const s=r.createContext(void 0),u="theme",c=(0,i.WA)(u),d={light:"light",dark:"dark"},f=e=>e===d.dark?d.dark:d.light,p=e=>a.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),m=e=>{c.set(f(e))};function h(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.L)(),[a,o]=(0,r.useState)(p(e));(0,r.useEffect)((()=>{t&&c.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&m(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?d.dark:d.light:e),c.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=c.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===d.dark},setLightTheme(){i(d.light)},setDarkTheme(){i(d.dark)}})),[a,i])}();return r.createElement(s.Provider,{value:n},t)}function g(){const e=(0,r.useContext)(s);if(null==e)throw new o.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},373:(e,t,n)=>{"use strict";n.d(t,{J:()=>b,L5:()=>g});var r=n(7294),a=n(143),o=n(9935),i=n(6668),l=n(2802),s=n(902),u=n(12);const c=e=>"docs-preferred-version-"+e,d={save:(e,t,n)=>{(0,u.WA)(c(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.WA)(c(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.WA)(c(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const p=r.createContext(null);function m(){const e=(0,a._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,l]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=d.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(d.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){d.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=m();return r.createElement(p.Provider,{value:n},t)}function g(e){let{children:t}=e;return l.cE?r.createElement(h,null,t):r.createElement(r.Fragment,null,t)}function v(){const e=(0,r.useContext)(p);if(!e)throw new s.i6("DocsPreferredVersionContextProvider");return e}function b(e){var t;void 0===e&&(e=o.m);const n=(0,a.zh)(e),[i,l]=v(),{preferredVersionName:s}=i[e];return{preferredVersion:null!=(t=n.versions.find((e=>e.name===s)))?t:null,savePreferredVersionName:(0,r.useCallback)((t=>{l.savePreferredVersion(e,t)}),[l,e])}}},1116:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,b:()=>l});var r=n(7294),a=n(902);const o=Symbol("EmptyContext"),i=r.createContext(o);function l(e){let{children:t,name:n,items:a}=e;const o=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return r.createElement(i.Provider,{value:o},t)}function s(){const e=(0,r.useContext)(i);if(e===o)throw new a.i6("DocsSidebarProvider");return e}},2961:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>p});var r=n(7294),a=n(3102),o=n(7524),i=n(6550),l=(n(1688),n(902));function s(e){!function(e){const t=(0,i.k6)(),n=(0,l.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var u=n(6668);const c=r.createContext(void 0);function d(){const e=function(){const e=(0,a.HY)(),{items:t}=(0,u.L)().navbar;return 0===t.length&&!e.component}(),t=(0,o.i)(),n=!e&&"mobile"===t,[i,l]=(0,r.useState)(!1);s((()=>{if(i)return l(!1),!1}));const c=(0,r.useCallback)((()=>{l((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&l(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:i})),[e,n,c,i])}function f(e){let{children:t}=e;const n=d();return r.createElement(c.Provider,{value:n},t)}function p(){const e=r.useContext(c);if(void 0===e)throw new l.i6("NavbarMobileSidebarProvider");return e}},3102:(e,t,n)=>{"use strict";n.d(t,{HY:()=>l,Zo:()=>s,n2:()=>i});var r=n(7294),a=n(902);const o=r.createContext(null);function i(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return r.createElement(o.Provider,{value:n},t)}function l(){const e=(0,r.useContext)(o);if(!e)throw new a.i6("NavbarSecondaryMenuContentProvider");return e[0]}function s(e){let{component:t,props:n}=e;const i=(0,r.useContext)(o);if(!i)throw new a.i6("NavbarSecondaryMenuContentProvider");const[,l]=i,s=(0,a.Ql)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},9727:(e,t,n)=>{"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n(7294);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},7524:(e,t,n)=>{"use strict";n.d(t,{i:()=>u});var r=n(7294),a=n(412);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(){return a.Z.canUseDOM?window.innerWidth>i?o.desktop:o.mobile:o.ssr}const s=!1;function u(){const[e,t]=(0,r.useState)((()=>s?"ssr":l()));return(0,r.useEffect)((()=>{function e(){t(l())}const n=s?window.setTimeout(e,1e3):void 0;return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),clearTimeout(n)}}),[]),e}},5281:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>"theme-admonition-"+e},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>"theme-doc-sidebar-item-category-level-"+e,docSidebarItemLinkLevel:e=>"theme-doc-sidebar-item-link-level-"+e},blog:{}}},1442:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:()=>r})},2802:(e,t,n)=>{"use strict";n.d(t,{Wl:()=>f,_F:()=>h,cE:()=>d,hI:()=>k,lO:()=>b,vY:()=>w,oz:()=>y,s1:()=>v});var r=n(7294),a=n(6550),o=n(8790),i=n(143),l=n(373),s=n(1116);function u(e){return Array.from(new Set(e))}var c=n(8596);const d=!!i._r;function f(e){if(e.href)return e.href;for(const t of e.items){if("link"===t.type)return t.href;if("category"===t.type){const e=f(t);if(e)return e}}}const p=(e,t)=>void 0!==e&&(0,c.Mg)(e,t),m=(e,t)=>e.some((e=>h(e,t)));function h(e,t){return"link"===e.type?p(e.href,t):"category"===e.type&&(p(e.href,t)||m(e.items,t))}function g(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,c.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,c.Mg)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function v(){var e;const t=(0,s.V)(),{pathname:n}=(0,a.TH)();return!1!==(null==(e=(0,i.gA)())?void 0:e.pluginData.breadcrumbs)&&t?g({sidebarItems:t.items,pathname:n}):null}function b(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,l.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)((()=>u([t,n,a].filter(Boolean))),[t,n,a])}function y(e,t){const n=b(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error("Can't find any sidebar with id \""+e+'" in version'+(n.length>1?"s":"")+" "+n.map((e=>e.name)).join(", ")+'".\nAvailable sidebar ids are:\n- '+t.map((e=>e[0])).join("\n- "));return r[1]}),[e,n])}function w(e,t){const n=b(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error("Couldn't find any doc with id \""+e+'" in version'+(n.length>1?"s":"")+' "'+n.map((e=>e.name)).join(", ")+'".\nAvailable doc ids are:\n- '+u(t.map((e=>e.id))).join("\n- "))}return r}),[e,n])}function k(e){let{route:t,versionMetadata:n}=e;const r=(0,a.TH)(),i=t.routes,l=i.find((e=>(0,a.LX)(r.pathname,e)));if(!l)return null;const s=l.sidebar,u=s?n.docsSidebars[s]:void 0;return{docElement:(0,o.H)(i),sidebarName:s,sidebarItems:u}}},1944:(e,t,n)=>{"use strict";n.d(t,{FG:()=>f,d:()=>c,VC:()=>p});var r=n(7294),a=n(6010),o=n(5742),i=n(226);function l(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(4996),u=n(2263);function c(e){let{title:t,description:n,keywords:a,image:i,children:l}=e;const c=function(e){const{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return null!=e&&e.trim().length?e.trim()+" "+r+" "+n:n}(t),{withBaseUrl:d}=(0,s.C)(),f=i?d(i,{absolute:!0}):void 0;return r.createElement(o.Z,null,t&&r.createElement("title",null,c),t&&r.createElement("meta",{property:"og:title",content:c}),n&&r.createElement("meta",{name:"description",content:n}),n&&r.createElement("meta",{property:"og:description",content:n}),a&&r.createElement("meta",{name:"keywords",content:Array.isArray(a)?a.join(","):a}),f&&r.createElement("meta",{property:"og:image",content:f}),f&&r.createElement("meta",{name:"twitter:image",content:f}),l)}const d=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(d),l=(0,a.Z)(i,t);return r.createElement(d.Provider,{value:l},r.createElement(o.Z,null,r.createElement("html",{className:l})),n)}function p(e){let{children:t}=e;const n=l(),o="plugin-"+n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"");const i="plugin-id-"+n.plugin.id;return r.createElement(f,{className:(0,a.Z)(o,i)},t)}},902:(e,t,n)=>{"use strict";n.d(t,{D9:()=>i,Qc:()=>u,Ql:()=>s,i6:()=>l,zX:()=>o});var r=n(7294);const a=n(412).Z.canUseDOM?r.useLayoutEffect:r.useEffect;function o(e){const t=(0,r.useRef)(e);return a((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function i(e){const t=(0,r.useRef)();return a((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){var n,r;super(),this.name="ReactContextError",this.message="Hook "+(null!=(n=null==(r=this.stack)||null==(r=r.split("\n")[1])||null==(r=r.match(/at (?:\w+\.)?(?<name>\w+)/))?void 0:r.groups.name)?n:"")+" is called outside the <"+e+">. "+(null!=t?t:"")}}function s(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return r.createElement(r.Fragment,null,e.reduceRight(((e,t)=>r.createElement(t,null,e)),n))}}},8596:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>i,Ns:()=>l});var r=n(7294),a=n(723),o=n(2263);function i(e,t){const n=e=>{var t;return null==(t=!e||e.endsWith("/")?e:e+"/")?void 0:t.toLowerCase()};return n(e)===n(t)}function l(){const{baseUrl:e}=(0,o.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>{var t;return null!=(t=e.routes)?t:[]})))}(n)}({routes:a.Z,baseUrl:e})),[e])}},2466:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>f,OC:()=>s,RF:()=>d});var r=n(7294),a=n(412),o=n(2389),i=n(902);const l=r.createContext(void 0);function s(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return r.createElement(l.Provider,{value:n},t)}function u(){const e=(0,r.useContext)(l);if(null==e)throw new i.i6("ScrollControllerProvider");return e}const c=()=>a.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function d(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=u(),a=(0,r.useRef)(c()),o=(0,i.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=c();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function f(){const e=(0,r.useRef)(null),t=(0,o.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>null==e.current?void 0:e.current()}}},3320:(e,t,n)=>{"use strict";n.d(t,{HX:()=>r,os:()=>a});n(2263);const r="default";function a(e,t){return"docs-"+e+"-"+t}},12:(e,t,n)=>{"use strict";n.d(t,{WA:()=>s});n(7294),n(1688);const r="localStorage";function a(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function o(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,i||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),i=!0),null}var t}let i=!1;const l={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function s(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error('Illegal storage API usage for storage key "'+e+'".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.')}return{get:t,set:t,del:t,listen:t}}(e);const n=o(null==t?void 0:t.persistence);return null===n?l:{get:()=>{try{return n.getItem(e)}catch(t){return console.error("Docusaurus storage error, can't get key="+e,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),a({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error("Docusaurus storage error, can't set "+e+"="+t,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),a({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error("Docusaurus storage error, can't delete key="+e,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error("Docusaurus storage error, can't listen for changes of key="+e,r),()=>{}}}}}},4711:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var r=n(2263),a=n(6550),o=n(8780);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,a.TH)(),u=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===i?e:e.replace("/"+l+"/","/"),d=u.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return""+(r?t:"")+function(e){return e===i?""+c:""+c+e+"/"}(n)+d}}}},5936:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(7294),a=n(6550),o=n(902);function i(e){const t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6668:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(2263);function a(){return(0,r.Z)().siteConfig.themeConfig}},8802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),o="/"===a||a===r?a:(i=a,n?function(e){return e.endsWith("/")?e:e+"/"}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(a,o)}},4143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}});var o=n(4143);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},6010:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n);else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}n.d(t,{Z:()=>a});const a=function(){for(var e,t,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},9318:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>C,ob:()=>p,PP:()=>A,Ep:()=>f});var r=n(7462);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),u=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(8776);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var h=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var v="popstate",b="hashchange";function y(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,E=void 0===k?g:k,S=i.keyLength,x=void 0===S?6:S,T=e.basename?d(s(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return T&&(o=c(o,T)),p(o,r,n)}function _(){return Math.random().toString(36).substr(2,x)}var A=m();function P(e){(0,r.Z)(U,e),U.length=n.length,A.notifyListeners(U.location,U.action)}function N(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||L(C(e.state))}function R(){L(C(y()))}var O=!1;function L(e){if(O)O=!1,P();else{A.confirmTransitionTo(e,"POP",E,(function(t){t?P({action:"POP",location:e}):function(e){var t=U.location,n=I.indexOf(t.key);-1===n&&(n=0);var r=I.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(O=!0,F(a))}(e)}))}}var D=C(y()),I=[D.key];function M(e){return T+f(e)}function F(e){n.go(e)}var B=0;function j(e){1===(B+=e)&&1===e?(window.addEventListener(v,N),o&&window.addEventListener(b,R)):0===B&&(window.removeEventListener(v,N),o&&window.removeEventListener(b,R))}var z=!1;var U={length:n.length,action:"POP",location:D,createHref:M,push:function(e,t){var r="PUSH",o=p(e,t,_(),U.location);A.confirmTransitionTo(o,r,E,(function(e){if(e){var t=M(o),i=o.key,l=o.state;if(a)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var s=I.indexOf(U.location.key),u=I.slice(0,s+1);u.push(o.key),I=u,P({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,_(),U.location);A.confirmTransitionTo(o,r,E,(function(e){if(e){var t=M(o),i=o.key,l=o.state;if(a)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var s=I.indexOf(U.location.key);-1!==s&&(I[s]=o.key),P({action:r,location:o})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=A.setPrompt(e);return z||(j(1),z=!0),function(){return z&&(z=!1,j(-1)),t()}},listen:function(e){var t=A.appendListener(e);return j(1),function(){j(-1),t()}}};return U}var k="hashchange",E={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function x(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function T(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?g:a,i=n.hashType,u=void 0===i?"slash":i,v=e.basename?d(s(e.basename)):"",b=E[u],y=b.encodePath,w=b.decodePath;function C(){var e=w(x());return v&&(e=c(e,v)),p(e)}var _=m();function A(e){(0,r.Z)(z,e),z.length=t.length,_.notifyListeners(z.location,z.action)}var P=!1,N=null;function R(){var e,t,n=x(),r=y(n);if(n!==r)T(r);else{var a=C(),i=z.location;if(!P&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(N===f(a))return;N=null,function(e){if(P)P=!1,A();else{var t="POP";_.confirmTransitionTo(e,t,o,(function(n){n?A({action:t,location:e}):function(e){var t=z.location,n=I.lastIndexOf(f(t));-1===n&&(n=0);var r=I.lastIndexOf(f(e));-1===r&&(r=0);var a=n-r;a&&(P=!0,M(a))}(e)}))}}(a)}}var O=x(),L=y(O);O!==L&&T(L);var D=C(),I=[f(D)];function M(e){t.go(e)}var F=0;function B(e){1===(F+=e)&&1===e?window.addEventListener(k,R):0===F&&window.removeEventListener(k,R)}var j=!1;var z={length:t.length,action:"POP",location:D,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+y(v+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);_.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=y(v+t);if(x()!==a){N=t,function(e){window.location.hash=e}(a);var o=I.lastIndexOf(f(z.location)),i=I.slice(0,o+1);i.push(t),I=i,A({action:n,location:r})}else A()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);_.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=y(v+t);x()!==a&&(N=t,T(a));var o=I.indexOf(f(z.location));-1!==o&&(I[o]=t),A({action:n,location:r})}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return j||(B(1),j=!0),function(){return j&&(j=!1,B(-1)),t()}},listen:function(e){var t=_.appendListener(e);return B(1),function(){B(-1),t()}}};return z}function _(e,t,n){return Math.min(Math.max(e,t),n)}function A(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=void 0===i?0:i,s=t.keyLength,u=void 0===s?6:s,c=m();function d(e){(0,r.Z)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function h(){return Math.random().toString(36).substr(2,u)}var g=_(l,0,o.length-1),v=o.map((function(e){return p(e,void 0,"string"==typeof e?h():e.key||h())})),b=f;function y(e){var t=_(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:v.length,action:"POP",location:v[g],index:g,entries:v,createHref:b,push:function(e,t){var r="PUSH",a=p(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},8679:(e,t,n)=>{"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g<i.length;++g){var v=i[g];if(!(o[v]||r&&r[v]||h&&h[v]||l&&l[v])){var b=f(n,v);try{u(t,v,b)}catch(y){}}}}return t}},1143:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2497:(e,t,n)=>{"use strict";n.r(t)},2295:(e,t,n)=>{"use strict";n.r(t)},4865:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},7418:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,a){for(var o,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){for(var u in o=Object(arguments[s]))n.call(o,u)&&(l[u]=o[u]);if(t){i=t(o);for(var c=0;c<i.length;c++)r.call(o,i[c])&&(l[i[c]]=o[i[c]])}}return l}},4779:(e,t,n)=>{var r=n(5826);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",c=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(l+=e.slice(i,p),i=p+d.length,f)l+=f[1];else{var m=e[i],h=n[2],g=n[3],v=n[4],b=n[5],y=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=h&&null!=m&&m!==h,E="+"===y||"*"===y,S="?"===y||"*"===y,x=n[2]||c,T=v||b;r.push({name:g||o++,prefix:h||"",delimiter:x,optional:S,repeat:E,partial:k,asterisk:!!w,pattern:T?u(T):w?".*":"[^"+s(x)+"]+?"})}}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c=e[u];if("string"!=typeof c){var d,f=l[c.name];if(null==f){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=s(f[p]),!n[u].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===p?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(f),!n[u].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');o+=c.prefix+d}}else o+=c}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",l=0;l<e.length;l++){var u=e[l];if("string"==typeof u)i+=s(u);else{var f=s(u.prefix),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+f+p+")*"),i+=p=u.optional?u.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var m=s(n.delimiter||"/"),h=i.slice(-m.length)===m;return a||(i=(h?i.slice(0,-m.length):i)+"(?:"+m+"(?=$))?"),i+=o?"$":a&&h?"":"(?="+m+"|$)",c(new RegExp("^"+i,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(p(e[a],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},7410:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=o[l])}var u=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var s=t[l],u=r.util.type(s);"Object"!==u||o[i(s)]?"Array"!==u||o[i(s)]||(o[i(s)]=!0,e(s,n,l,o)):(o[i(s)]=!0,e(s,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};return r.hooks.run("before-tokenize",o),o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new l;return s(a,a.head,e),i(e,a,t,a.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,l,c,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var m=0;m<p.length;++m){if(d&&d.cause==f+","+m)return;var h=p[m],g=h.inside,v=!!h.lookbehind,b=!!h.greedy,y=h.alias;if(b&&!h.pattern.global){var w=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,w+"g")}for(var k=h.pattern||h,E=l.next,S=c;E!==t.tail&&!(d&&S>=d.reach);S+=E.value.length,E=E.next){var x=E.value;if(t.length>e.length)return;if(!(x instanceof a)){var T,C=1;if(b){if(!(T=o(k,S,e,v))||T.index>=e.length)break;var _=T.index,A=T.index+T[0].length,P=S;for(P+=E.value.length;_>=P;)P+=(E=E.next).value.length;if(S=P-=E.value.length,E.value instanceof a)continue;for(var N=E;N!==t.tail&&(P<A||"string"==typeof N.value);N=N.next)C++,P+=N.value.length;C--,x=e.slice(S,P),T.index-=S}else if(!(T=o(k,0,x,v)))continue;_=T.index;var R=T[0],O=x.slice(0,_),L=x.slice(_+R.length),D=S+x.length;d&&D>d.reach&&(d.reach=D);var I=E.prev;if(O&&(I=s(t,I,O),S+=O.length),u(t,I,C),E=s(t,I,new a(f,g?r.tokenize(R,g):R,y,R)),L&&s(t,E,L),C>1){var M={cause:f+","+m,reach:D};i(e,t,n,E.prev,S,M),d&&M.reach>d.reach&&(d.reach=M.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},r}(),a=r;r.default=r,a.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\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:/<!\[CDATA\[[\s\S]*?\]\]>/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]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(e){var t="\\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",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),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("(\\{)"+t),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})/};e.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;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.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}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i<a.length;i++)o[a[i]]=e.languages.bash[a[i]];e.languages.shell=e.languages.bash}(a),a.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:/[{}[\];(),.:]/},a.languages.c=a.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),a.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),a.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},a.languages.c.string],char:a.languages.c.char,comment:a.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:a.languages.c}}}}),a.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete a.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(a),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.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\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(a),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(a),a.languages.javascript=a.languages.extend("clike",{"class-name":[a.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}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.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:a.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:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.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:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.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:a.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"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.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")),a.languages.js=a.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(a),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\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:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(a),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.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:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.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:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\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:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.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(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a=t[n];if("code"===a.type){var o=a.content[1],i=a.content[3];if(o&&i&&"code-language"===o.type&&"code-block"===i.type&&"string"==typeof o.content){var l=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(l=(/[a-z][\w-]*/i.exec(l)||[""])[0].toLowerCase());i.alias?"string"==typeof i.alias?i.alias=[i.alias,s]:i.alias.push(s):i.alias=[s]}}else e(a.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r],u=/language-(.+)/.exec(o);if(u){n=u[1];break}}var c,d=e.languages[n];if(d)t.content=e.highlight((c=t.content,c.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n);var r=l[t];return r||e}))),d,n);else if(n&&"none"!==n&&e.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=f,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(f);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(a),a.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:a.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+/},a.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===c(1).content){n+=2;var o=f(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=c(0);"variable"===i.type&&(p(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===c(0).content&&(n++,p(c(0),"property-mutation"),a.length>0)){var l=f(/^\{$/,/^\}$/);if(-1===l)continue;for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&a.indexOf(u.content)>=0&&p(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=c(n+t);if(!r||r.type!==e[n])return!1}return!0}function f(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],l=i.content;if("punctuation"===i.type&&"string"==typeof l)if(e.test(l))a++;else if(r.test(l)&&0===--a)return o}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),a.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function u(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,s(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function c(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,c={},d=s(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=l(i++,r)););return c[n]=a,n})).join(""),n,r),f=Object.keys(c);return i=0,function e(t){for(var n=0;n<t.length;n++){if(i>=f.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=f[i],o="string"==typeof r?r:r.content,l=o.indexOf(a);if(-1!==l){++i;var s=o.substring(0,l),d=u(c[a]),p=o.substring(l+a.length),m=[];if(s&&m.push(s),m.push(d),p){var h=[p];e(h),m.push.apply(m,h)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function f(e){return"string"==typeof e?e:Array.isArray(e)?e.map(f).join(""):f(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r<a;r++){var o=n[r];if("string"!=typeof o){var i=o.content;if(Array.isArray(i))if("template-string"===o.type){var l=i[1];if(3===i.length&&"string"!=typeof l&&"embedded-code"===l.type){var s=f(l),u=l.alias,d=Array.isArray(u)?u[0]:u,p=e.languages[d];if(!p)continue;i[1]=c(s,p,d)}}else t(i);else"string"!=typeof i&&t([i])}}}(t.tokens)}))}(a),function(e){e.languages.typescript=e.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/}),e.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 e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.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:t}}}}),e.languages.ts=e.languages.typescript}(a),function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.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"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.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"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.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 n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];"RegExp"===e.util.type(o)&&(o=e.languages.javascript[a]={pattern:o});var i=o.inside||{};o.inside=i,i["maybe-class-name"]=/^[A-Z][\s\S]*/}}(a),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},l=function(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;if("string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===i(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var s=i(a);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(s+=i(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=i(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}a.content&&"string"!=typeof a.content&&l(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(a),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(a),a.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},a.languages.go=a.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),a.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete a.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(a>=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),m=f.indexOf(p);if(m>-1){++a;var h=f.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),v=f.substring(m+p.length),b=[];h&&b.push.apply(b,i([h])),b.push(g),v&&b.push.apply(b,i([v])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(a),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(a),a.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"}},a.languages.webmanifest=a.languages.json,a.languages.less=a.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),a.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),a.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},a.languages.objectivec=a.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete a.languages.objectivec["class-name"],a.languages.objc=a.languages.objectivec,a.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},a.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},a.languages.python["string-interpolation"].inside.interpolation.inside.rest=a.languages.python,a.languages.py=a.languages.python,a.languages.reason=a.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),a.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete a.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(a),a.languages.scss=a.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),a.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),a.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),a.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),a.languages.scss.atrule.inside.rest=a.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(a),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(a),a.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};const o=a},9901:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2885:(e,t,n)=>{const r=n(9901),a=n(9642),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(6500).resolve(t)],delete Prism.languages[e],n(6500)(t),o.add(e)}))}i.silent=!1,e.exports=i},6726:(e,t,n)=>{var r={"./":2885};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=6726},6500:(e,t,n)=>{var r={"./":2885};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=6500},9642:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}function r(e){var n={},r=[];function a(r,o){if(!(r in n)){o.push(r);var i=o.indexOf(r);if(i<o.length-1)throw new Error("Circular dependency: "+o.slice(i).join(" -> "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in a(t,o),l[t]=!0,n[t])l[i]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(s);i=i.map(u),l=(l||[]).map(u);var c=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var f,p=r(s),m=c;a(m);){for(var h in f={},m){var g=s[h];t(g&&g.modify,(function(e){e in d&&(f[e]=!0)}))}for(var v in d)if(!(v in c))for(var b in p(v))if(b in c){f[v]=!0;break}for(var y in m=f)c[y]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var f=i(c.map((function(e){var t=u(e);return delete s[e],t})));o?a=o(f,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)u(c);var d=[];for(var f in s)d.push(l[f]);return i(d)}(p,c,t,n)}};return w}}();e.exports=t},2703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={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:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),a=n(7418),o=n(3840);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));function l(e,t,n,r,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var s=!1,u=null,c=!1,d=null,f={onError:function(e){s=!0,u=e}};function p(e,t,n,r,a,o,i,c,d){s=!1,u=null,l.apply(f,arguments)}var m=null,h=null,g=null;function v(e,t,n){var r=e.type||"unknown-event";e.currentTarget=g(n),function(e,t,n,r,a,o,l,f,m){if(p.apply(this,arguments),s){if(!s)throw Error(i(198));var h=u;s=!1,u=null,c||(c=!0,d=h)}}(r,t,void 0,e),e.currentTarget=null}var b=null,y={};function w(){if(b)for(var e in y){var t=y[e],n=b.indexOf(e);if(!(-1<n))throw Error(i(96,e));if(!E[n]){if(!t.extractEvents)throw Error(i(97,e));for(var r in E[n]=t,n=t.eventTypes){var a=void 0,o=n[r],l=t,s=r;if(S.hasOwnProperty(s))throw Error(i(99,s));S[s]=o;var u=o.phasedRegistrationNames;if(u){for(a in u)u.hasOwnProperty(a)&&k(u[a],l,s);a=!0}else o.registrationName?(k(o.registrationName,l,s),a=!0):a=!1;if(!a)throw Error(i(98,r,e))}}}}function k(e,t,n){if(x[e])throw Error(i(100,e));x[e]=t,T[e]=t.eventTypes[n].dependencies}var E=[],S={},x={},T={};function C(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!y.hasOwnProperty(t)||y[t]!==r){if(y[t])throw Error(i(102,t));y[t]=r,n=!0}}n&&w()}var _=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),A=null,P=null,N=null;function R(e){if(e=h(e)){if("function"!=typeof A)throw Error(i(280));var t=e.stateNode;t&&(t=m(t),A(e.stateNode,e.type,t))}}function O(e){P?N?N.push(e):N=[e]:P=e}function L(){if(P){var e=P,t=N;if(N=P=null,R(e),t)for(e=0;e<t.length;e++)R(t[e])}}function D(e,t){return e(t)}function I(e,t,n,r,a){return e(t,n,r,a)}function M(){}var F=D,B=!1,j=!1;function z(){null===P&&null===N||(M(),L())}function U(e,t,n){if(j)return e(t,n);j=!0;try{return F(e,t,n)}finally{j=!1,z()}}var $=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,q=Object.prototype.hasOwnProperty,H={},G={};function Z(e,t,n,r,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var V={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){V[e]=new Z(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];V[t]=new Z(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){V[e]=new Z(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){V[e]=new Z(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){V[e]=new Z(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){V[e]=new Z(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){V[e]=new Z(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){V[e]=new Z(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){V[e]=new Z(e,5,!1,e.toLowerCase(),null,!1)}));var W=/[\-:]([a-z])/g;function K(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(W,K);V[t]=new Z(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(W,K);V[t]=new Z(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(W,K);V[t]=new Z(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){V[e]=new Z(e,1,!1,e.toLowerCase(),null,!1)})),V.xlinkHref=new Z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){V[e]=new Z(e,1,!1,e.toLowerCase(),null,!0)}));var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Q(e,t,n,r){var a=V.hasOwnProperty(t)?V[t]:null;(null!==a?0===a.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!q.call(G,e)||!q.call(H,e)&&($.test(e)?G[e]=!0:(H[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}Y.hasOwnProperty("ReactCurrentDispatcher")||(Y.ReactCurrentDispatcher={current:null}),Y.hasOwnProperty("ReactCurrentBatchConfig")||(Y.ReactCurrentBatchConfig={suspense:null});var X=/^(.*)[\\\/]/,J="function"==typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,re=J?Symbol.for("react.strict_mode"):60108,ae=J?Symbol.for("react.profiler"):60114,oe=J?Symbol.for("react.provider"):60109,ie=J?Symbol.for("react.context"):60110,le=J?Symbol.for("react.concurrent_mode"):60111,se=J?Symbol.for("react.forward_ref"):60112,ue=J?Symbol.for("react.suspense"):60113,ce=J?Symbol.for("react.suspense_list"):60120,de=J?Symbol.for("react.memo"):60115,fe=J?Symbol.for("react.lazy"):60116,pe=J?Symbol.for("react.block"):60121,me="function"==typeof Symbol&&Symbol.iterator;function he(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=me&&e[me]||e["@@iterator"])?e:null}function ge(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case ae:return"Profiler";case re:return"StrictMode";case ue:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ie:return"Context.Consumer";case oe:return"Context.Provider";case se:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case de:return ge(e.type);case pe:return ge(e.render);case fe:if(e=1===e._status?e._result:null)return ge(e)}return null}function ve(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,a=e._debugSource,o=ge(e.type);n=null,r&&(n=ge(r.type)),r=o,o="",a?o=" (at "+a.fileName.replace(X,"")+":"+a.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}function be(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ye(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function we(e){e._valueTracker||(e._valueTracker=function(e){var t=ye(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ke(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ye(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ee(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Se(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=be(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function xe(e,t){null!=(t=t.checked)&&Q(e,"checked",t,!1)}function Te(e,t){xe(e,t);var n=be(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?_e(e,t.type,n):t.hasOwnProperty("defaultValue")&&_e(e,t.type,be(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ce(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function _e(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ae(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Pe(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+be(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function Ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Re(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:be(n)}}function Oe(e,t){var n=be(t.value),r=be(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var De="http://www.w3.org/1999/xhtml",Ie="http://www.w3.org/2000/svg";function Me(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Fe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Me(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Be,je,ze=(je=function(e,t){if(e.namespaceURI!==Ie||"innerHTML"in e)e.innerHTML=t;else{for((Be=Be||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Be.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return je(e,t)}))}:je);function Ue(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function $e(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var qe={animationend:$e("Animation","AnimationEnd"),animationiteration:$e("Animation","AnimationIteration"),animationstart:$e("Animation","AnimationStart"),transitionend:$e("Transition","TransitionEnd")},He={},Ge={};function Ze(e){if(He[e])return He[e];if(!qe[e])return e;var t,n=qe[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ge)return He[e]=n[t];return e}_&&(Ge=document.createElement("div").style,"AnimationEvent"in window||(delete qe.animationend.animation,delete qe.animationiteration.animation,delete qe.animationstart.animation),"TransitionEvent"in window||delete qe.transitionend.transition);var Ve=Ze("animationend"),We=Ze("animationiteration"),Ke=Ze("animationstart"),Ye=Ze("transitionend"),Qe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xe=new("function"==typeof WeakMap?WeakMap:Map);function Je(e){var t=Xe.get(e);return void 0===t&&(t=new Map,Xe.set(e,t)),t}function et(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function tt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function nt(e){if(et(e)!==e)throw Error(i(188))}function rt(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=et(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return nt(a),e;if(o===r)return nt(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,r=o;break}if(s===r){l=!0,r=a,n=o;break}s=s.sibling}if(!l){for(s=o.child;s;){if(s===n){l=!0,n=o,r=a;break}if(s===r){l=!0,r=o,n=a;break}s=s.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function at(e,t){if(null==t)throw Error(i(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function lt(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)v(e,t[r],n[r]);else t&&v(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(it=at(it,e)),e=it,it=null,e){if(ot(e,lt),it)throw Error(i(95));if(c)throw e=d,c=!1,d=null,e}}function ut(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!_)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var dt=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>dt.length&&dt.push(e)}function pt(e,t,n,r){if(dt.length){var a=dt.pop();return a.topLevelType=e,a.eventSystemFlags=r,a.nativeEvent=t,a.targetInst=n,a}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function mt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Ln(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var a=ut(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,i=e.eventSystemFlags;0===n&&(i|=64);for(var l=null,s=0;s<E.length;s++){var u=E[s];u&&(u=u.extractEvents(r,t,o,a,i))&&(l=at(l,u))}st(l)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Qe.indexOf(e)&&Wt(e,t)}n.set(e,null)}}var gt,vt,bt,yt=!1,wt=[],kt=null,Et=null,St=null,xt=new Map,Tt=new Map,Ct=[],_t="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),At="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Pt(e,t,n,r,a){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:a,container:r}}function Nt(e,t){switch(e){case"focus":case"blur":kt=null;break;case"dragenter":case"dragleave":Et=null;break;case"mouseover":case"mouseout":St=null;break;case"pointerover":case"pointerout":xt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(t.pointerId)}}function Rt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e=Pt(t,n,r,a,o),null!==t&&(null!==(t=Dn(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function Ot(e){var t=Ln(e.target);if(null!==t){var n=et(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=tt(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){bt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1;var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Dn(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function Dt(e,t,n){Lt(e)&&n.delete(t)}function It(){for(yt=!1;0<wt.length;){var e=wt[0];if(null!==e.blockedOn){null!==(e=Dn(e.blockedOn))&>(e);break}var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:wt.shift()}null!==kt&&Lt(kt)&&(kt=null),null!==Et&&Lt(Et)&&(Et=null),null!==St&&Lt(St)&&(St=null),xt.forEach(Dt),Tt.forEach(Dt)}function Mt(e,t){e.blockedOn===t&&(e.blockedOn=null,yt||(yt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,It)))}function Ft(e){function t(t){return Mt(t,e)}if(0<wt.length){Mt(wt[0],e);for(var n=1;n<wt.length;n++){var r=wt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==kt&&Mt(kt,e),null!==Et&&Mt(Et,e),null!==St&&Mt(St,e),xt.forEach(t),Tt.forEach(t),n=0;n<Ct.length;n++)(r=Ct[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ct.length&&null===(n=Ct[0]).blockedOn;)Ot(n),null===n.blockedOn&&Ct.shift()}var Bt={},jt=new Map,zt=new Map,Ut=["abort","abort",Ve,"animationEnd",We,"animationIteration",Ke,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ye,"transitionEnd","waiting","waiting"];function $t(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1],o="on"+(a[0].toUpperCase()+a.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},zt.set(r,t),jt.set(r,o),Bt[a]=o}}$t("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),$t("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),$t(Ut,2);for(var qt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ht=0;Ht<qt.length;Ht++)zt.set(qt[Ht],0);var Gt=o.unstable_UserBlockingPriority,Zt=o.unstable_runWithPriority,Vt=!0;function Wt(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=zt.get(t);switch(void 0===r?2:r){case 0:r=Yt.bind(null,t,1,e);break;case 1:r=Qt.bind(null,t,1,e);break;default:r=Xt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Yt(e,t,n,r){B||M();var a=Xt,o=B;B=!0;try{I(a,e,t,n,r)}finally{(B=o)||z()}}function Qt(e,t,n,r){Zt(Gt,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){if(Vt)if(0<wt.length&&-1<_t.indexOf(e))e=Pt(null,e,t,n,r),wt.push(e);else{var a=Jt(e,t,n,r);if(null===a)Nt(e,r);else if(-1<_t.indexOf(e))e=Pt(a,e,t,n,r),wt.push(e);else if(!function(e,t,n,r,a){switch(t){case"focus":return kt=Rt(kt,e,t,n,r,a),!0;case"dragenter":return Et=Rt(Et,e,t,n,r,a),!0;case"mouseover":return St=Rt(St,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return xt.set(o,Rt(xt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Tt.set(o,Rt(Tt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r)){Nt(e,r),e=pt(e,r,null,t);try{U(mt,e)}finally{ft(e)}}}}function Jt(e,t,n,r){if(null!==(n=Ln(n=ut(r)))){var a=et(n);if(null===a)n=null;else{var o=a.tag;if(13===o){if(null!==(n=tt(a)))return n;n=null}else if(3===o){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}e=pt(e,r,n,t);try{U(mt,e)}finally{ft(e)}return null}var en={animationIterationCount:!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},tn=["Webkit","ms","Moz","O"];function nn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||en.hasOwnProperty(e)&&en[e]?(""+t).trim():t+"px"}function rn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=nn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(en).forEach((function(e){tn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),en[t]=en[e]}))}));var an=a({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 on(e,t){if(t){if(an[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62,""))}}function ln(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;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 sn=De;function un(e,t){var n=Je(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=T[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function cn(){}function dn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function mn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?mn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hn(){for(var e=window,t=dn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=dn((e=t.contentWindow).document)}return t}function gn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var vn="$",bn="/$",yn="$?",wn="$!",kn=null,En=null;function Sn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function xn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Tn="function"==typeof setTimeout?setTimeout:void 0,Cn="function"==typeof clearTimeout?clearTimeout:void 0;function _n(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function An(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===vn||n===wn||n===yn){if(0===t)return e;t--}else n===bn&&t++}e=e.previousSibling}return null}var Pn=Math.random().toString(36).slice(2),Nn="__reactInternalInstance$"+Pn,Rn="__reactEventHandlers$"+Pn,On="__reactContainere$"+Pn;function Ln(e){var t=e[Nn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[On]||n[Nn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=An(e);null!==e;){if(n=e[Nn])return n;e=An(e)}return t}n=(e=n).parentNode}return null}function Dn(e){return!(e=e[Nn]||e[On])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function In(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Mn(e){return e[Rn]||null}function Fn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Bn(e,t){var n=e.stateNode;if(!n)return null;var r=m(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}function jn(e,t,n){(t=Bn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=at(n._dispatchListeners,t),n._dispatchInstances=at(n._dispatchInstances,e))}function zn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Fn(t);for(t=n.length;0<t--;)jn(n[t],"captured",e);for(t=0;t<n.length;t++)jn(n[t],"bubbled",e)}}function Un(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Bn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=at(n._dispatchListeners,t),n._dispatchInstances=at(n._dispatchInstances,e))}function $n(e){e&&e.dispatchConfig.registrationName&&Un(e._targetInst,null,e)}function qn(e){ot(e,zn)}var Hn=null,Gn=null,Zn=null;function Vn(){if(Zn)return Zn;var e,t,n=Gn,r=n.length,a="value"in Hn?Hn.value:Hn.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Zn=a.slice(e,1<t?1-t:void 0)}function Wn(){return!0}function Kn(){return!1}function Yn(e,t,n,r){for(var a in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(a)&&((t=e[a])?this[a]=t(n):"target"===a?this.target=r:this[a]=n[a]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Wn:Kn,this.isPropagationStopped=Kn,this}function Qn(e,t,n,r){if(this.eventPool.length){var a=this.eventPool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)}function Xn(e){if(!(e instanceof this))throw Error(i(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Jn(e){e.eventPool=[],e.getPooled=Qn,e.release=Xn}a(Yn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Wn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Wn)},persist:function(){this.isPersistent=Wn},isPersistent:Kn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Kn,this._dispatchInstances=this._dispatchListeners=null}}),Yn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Yn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return a(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=a({},r.Interface,e),n.extend=r.extend,Jn(n),n},Jn(Yn);var er=Yn.extend({data:null}),tr=Yn.extend({data:null}),nr=[9,13,27,32],rr=_&&"CompositionEvent"in window,ar=null;_&&"documentMode"in document&&(ar=document.documentMode);var or=_&&"TextEvent"in window&&!ar,ir=_&&(!rr||ar&&8<ar&&11>=ar),lr=String.fromCharCode(32),sr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},ur=!1;function cr(e,t){switch(e){case"keyup":return-1!==nr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function dr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var fr=!1;var pr={eventTypes:sr,extractEvents:function(e,t,n,r){var a;if(rr)e:{switch(e){case"compositionstart":var o=sr.compositionStart;break e;case"compositionend":o=sr.compositionEnd;break e;case"compositionupdate":o=sr.compositionUpdate;break e}o=void 0}else fr?cr(e,n)&&(o=sr.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=sr.compositionStart);return o?(ir&&"ko"!==n.locale&&(fr||o!==sr.compositionStart?o===sr.compositionEnd&&fr&&(a=Vn()):(Gn="value"in(Hn=r)?Hn.value:Hn.textContent,fr=!0)),o=er.getPooled(o,t,n,r),a?o.data=a:null!==(a=dr(n))&&(o.data=a),qn(o),a=o):a=null,(e=or?function(e,t){switch(e){case"compositionend":return dr(t);case"keypress":return 32!==t.which?null:(ur=!0,lr);case"textInput":return(e=t.data)===lr&&ur?null:e;default:return null}}(e,n):function(e,t){if(fr)return"compositionend"===e||!rr&&cr(e,t)?(e=Vn(),Zn=Gn=Hn=null,fr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ir&&"ko"!==t.locale?null:t.data}}(e,n))?((t=tr.getPooled(sr.beforeInput,t,n,r)).data=e,qn(t)):t=null,null===a?t:null===t?a:[a,t]}},mr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!mr[e.type]:"textarea"===t}var gr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function vr(e,t,n){return(e=Yn.getPooled(gr.change,e,t,n)).type="change",O(n),qn(e),e}var br=null,yr=null;function wr(e){st(e)}function kr(e){if(ke(In(e)))return e}function Er(e,t){if("change"===e)return t}var Sr=!1;function xr(){br&&(br.detachEvent("onpropertychange",Tr),yr=br=null)}function Tr(e){if("value"===e.propertyName&&kr(yr))if(e=vr(yr,e,ut(e)),B)st(e);else{B=!0;try{D(wr,e)}finally{B=!1,z()}}}function Cr(e,t,n){"focus"===e?(xr(),yr=n,(br=t).attachEvent("onpropertychange",Tr)):"blur"===e&&xr()}function _r(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return kr(yr)}function Ar(e,t){if("click"===e)return kr(t)}function Pr(e,t){if("input"===e||"change"===e)return kr(t)}_&&(Sr=ct("input")&&(!document.documentMode||9<document.documentMode));var Nr={eventTypes:gr,_isInputEventSupported:Sr,extractEvents:function(e,t,n,r){var a=t?In(t):window,o=a.nodeName&&a.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===a.type)var i=Er;else if(hr(a))if(Sr)i=Pr;else{i=_r;var l=Cr}else(o=a.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(i=Ar);if(i&&(i=i(e,t)))return vr(i,n,r);l&&l(e,a,t),"blur"===e&&(e=a._wrapperState)&&e.controlled&&"number"===a.type&&_e(a,"number",a.value)}},Rr=Yn.extend({view:null,detail:null}),Or={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Lr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Or[e])&&!!t[e]}function Dr(){return Lr}var Ir=0,Mr=0,Fr=!1,Br=!1,jr=Rr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Dr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Ir;return Ir=e.screenX,Fr?"mousemove"===e.type?e.screenX-t:0:(Fr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Mr;return Mr=e.screenY,Br?"mousemove"===e.type?e.screenY-t:0:(Br=!0,0)}}),zr=jr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Ur={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},$r={eventTypes:Ur,extractEvents:function(e,t,n,r,a){var o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(o&&0==(32&a)&&(n.relatedTarget||n.fromElement)||!i&&!o)return null;(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,i)?(i=t,null!==(t=(t=n.relatedTarget||n.toElement)?Ln(t):null)&&(t!==et(t)||5!==t.tag&&6!==t.tag)&&(t=null)):i=null;if(i===t)return null;if("mouseout"===e||"mouseover"===e)var l=jr,s=Ur.mouseLeave,u=Ur.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(l=zr,s=Ur.pointerLeave,u=Ur.pointerEnter,c="pointer");if(e=null==i?o:In(i),o=null==t?o:In(t),(s=l.getPooled(s,i,n,r)).type=c+"leave",s.target=e,s.relatedTarget=o,(n=l.getPooled(u,t,n,r)).type=c+"enter",n.target=o,n.relatedTarget=e,c=t,(r=i)&&c)e:{for(u=c,i=0,e=l=r;e;e=Fn(e))i++;for(e=0,t=u;t;t=Fn(t))e++;for(;0<i-e;)l=Fn(l),i--;for(;0<e-i;)u=Fn(u),e--;for(;i--;){if(l===u||l===u.alternate)break e;l=Fn(l),u=Fn(u)}l=null}else l=null;for(u=l,l=[];r&&r!==u&&(null===(i=r.alternate)||i!==u);)l.push(r),r=Fn(r);for(r=[];c&&c!==u&&(null===(i=c.alternate)||i!==u);)r.push(c),c=Fn(c);for(c=0;c<l.length;c++)Un(l[c],"bubbled",s);for(c=r.length;0<c--;)Un(r[c],"captured",n);return 0==(64&a)?[s]:[s,n]}};var qr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Hr=Object.prototype.hasOwnProperty;function Gr(e,t){if(qr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Hr.call(t,n[r])||!qr(e[n[r]],t[n[r]]))return!1;return!0}var Zr=_&&"documentMode"in document&&11>=document.documentMode,Vr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Wr=null,Kr=null,Yr=null,Qr=!1;function Xr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Qr||null==Wr||Wr!==dn(n)?null:("selectionStart"in(n=Wr)&&gn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Yr&&Gr(Yr,n)?null:(Yr=n,(e=Yn.getPooled(Vr.select,Kr,e,t)).type="select",e.target=Wr,qn(e),e))}var Jr={eventTypes:Vr,extractEvents:function(e,t,n,r,a,o){if(!(o=!(a=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{a=Je(a),o=T.onSelect;for(var i=0;i<o.length;i++)if(!a.has(o[i])){a=!1;break e}a=!0}o=!a}if(o)return null;switch(a=t?In(t):window,e){case"focus":(hr(a)||"true"===a.contentEditable)&&(Wr=a,Kr=t,Yr=null);break;case"blur":Yr=Kr=Wr=null;break;case"mousedown":Qr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Qr=!1,Xr(n,r);case"selectionchange":if(Zr)break;case"keydown":case"keyup":return Xr(n,r)}return null}},ea=Yn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),ta=Yn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),na=Rr.extend({relatedTarget:null});function ra(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var aa={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},oa={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ia=Rr.extend({key:function(e){if(e.key){var t=aa[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ra(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?oa[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Dr,charCode:function(e){return"keypress"===e.type?ra(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ra(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),la=jr.extend({dataTransfer:null}),sa=Rr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Dr}),ua=Yn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ca=jr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),da={eventTypes:Bt,extractEvents:function(e,t,n,r){var a=jt.get(e);if(!a)return null;switch(e){case"keypress":if(0===ra(n))return null;case"keydown":case"keyup":e=ia;break;case"blur":case"focus":e=na;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=jr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=la;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=sa;break;case Ve:case We:case Ke:e=ea;break;case Ye:e=ua;break;case"scroll":e=Rr;break;case"wheel":e=ca;break;case"copy":case"cut":case"paste":e=ta;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=zr;break;default:e=Yn}return qn(t=e.getPooled(a,t,n,r)),t}};if(b)throw Error(i(101));b=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),m=Mn,h=Dn,g=In,C({SimpleEventPlugin:da,EnterLeaveEventPlugin:$r,ChangeEventPlugin:Nr,SelectEventPlugin:Jr,BeforeInputEventPlugin:pr});var fa=[],pa=-1;function ma(e){0>pa||(e.current=fa[pa],fa[pa]=null,pa--)}function ha(e,t){pa++,fa[pa]=e.current,e.current=t}var ga={},va={current:ga},ba={current:!1},ya=ga;function wa(e,t){var n=e.type.contextTypes;if(!n)return ga;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ka(e){return null!=(e=e.childContextTypes)}function Ea(){ma(ba),ma(va)}function Sa(e,t,n){if(va.current!==ga)throw Error(i(168));ha(va,t),ha(ba,n)}function xa(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(i(108,ge(t)||"Unknown",o));return a({},n,{},r)}function Ta(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ga,ya=va.current,ha(va,e),ha(ba,ba.current),!0}function Ca(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=xa(e,t,ya),r.__reactInternalMemoizedMergedChildContext=e,ma(ba),ma(va),ha(va,e)):ma(ba),ha(ba,n)}var _a=o.unstable_runWithPriority,Aa=o.unstable_scheduleCallback,Pa=o.unstable_cancelCallback,Na=o.unstable_requestPaint,Ra=o.unstable_now,Oa=o.unstable_getCurrentPriorityLevel,La=o.unstable_ImmediatePriority,Da=o.unstable_UserBlockingPriority,Ia=o.unstable_NormalPriority,Ma=o.unstable_LowPriority,Fa=o.unstable_IdlePriority,Ba={},ja=o.unstable_shouldYield,za=void 0!==Na?Na:function(){},Ua=null,$a=null,qa=!1,Ha=Ra(),Ga=1e4>Ha?Ra:function(){return Ra()-Ha};function Za(){switch(Oa()){case La:return 99;case Da:return 98;case Ia:return 97;case Ma:return 96;case Fa:return 95;default:throw Error(i(332))}}function Va(e){switch(e){case 99:return La;case 98:return Da;case 97:return Ia;case 96:return Ma;case 95:return Fa;default:throw Error(i(332))}}function Wa(e,t){return e=Va(e),_a(e,t)}function Ka(e,t,n){return e=Va(e),Aa(e,t,n)}function Ya(e){return null===Ua?(Ua=[e],$a=Aa(La,Xa)):Ua.push(e),Ba}function Qa(){if(null!==$a){var e=$a;$a=null,Pa(e)}Xa()}function Xa(){if(!qa&&null!==Ua){qa=!0;var e=0;try{var t=Ua;Wa(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ua=null}catch(n){throw null!==Ua&&(Ua=Ua.slice(e+1)),Aa(La,Qa),n}finally{qa=!1}}}function Ja(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function eo(e,t){if(e&&e.defaultProps)for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var to={current:null},no=null,ro=null,ao=null;function oo(){ao=ro=no=null}function io(e){var t=to.current;ma(to),e.type._context._currentValue=t}function lo(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function so(e,t){no=e,ao=ro=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Mi=!0),e.firstContext=null)}function uo(e,t){if(ao!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ao=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ro){if(null===no)throw Error(i(308));ro=t,no.dependencies={expirationTime:0,firstContext:t,responders:null}}else ro=ro.next=t;return e._currentValue}var co=!1;function fo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function po(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function mo(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function ho(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function go(e,t){var n=e.alternate;null!==n&&po(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function vo(e,t,n,r){var o=e.updateQueue;co=!1;var i=o.baseQueue,l=o.shared.pending;if(null!==l){if(null!==i){var s=i.next;i.next=l.next,l.next=s}i=l,o.shared.pending=null,null!==(s=e.alternate)&&(null!==(s=s.updateQueue)&&(s.baseQueue=l))}if(null!==i){s=i.next;var u=o.baseState,c=0,d=null,f=null,p=null;if(null!==s)for(var m=s;;){if((l=m.expirationTime)<r){var h={expirationTime:m.expirationTime,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null};null===p?(f=p=h,d=u):p=p.next=h,l>c&&(c=l)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null}),Es(l,m.suspenseConfig);e:{var g=e,v=m;switch(l=t,h=n,v.tag){case 1:if("function"==typeof(g=v.payload)){u=g.call(h,u,l);break e}u=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null==(l="function"==typeof(g=v.payload)?g.call(h,u,l):g))break e;u=a({},u,l);break e;case 2:co=!0}}null!==m.callback&&(e.effectTag|=32,null===(l=o.effects)?o.effects=[m]:l.push(m))}if(null===(m=m.next)||m===s){if(null===(l=o.shared.pending))break;m=i.next=l.next,l.next=s,o.baseQueue=i=l,o.shared.pending=null}}null===p?d=u:p.next=f,o.baseState=d,o.baseQueue=p,Ss(c),e.expirationTime=c,e.memoizedState=u}}function bo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=a,a=n,"function"!=typeof r)throw Error(i(191,r));r.call(a)}}}var yo=Y.ReactCurrentBatchConfig,wo=(new r.Component).refs;function ko(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var Eo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&et(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=us(),a=yo.suspense;(a=mo(r=cs(r,e,a),a)).payload=t,null!=n&&(a.callback=n),ho(e,a),ds(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=us(),a=yo.suspense;(a=mo(r=cs(r,e,a),a)).tag=1,a.payload=t,null!=n&&(a.callback=n),ho(e,a),ds(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=us(),r=yo.suspense;(r=mo(n=cs(n,e,r),r)).tag=2,null!=t&&(r.callback=t),ho(e,r),ds(e,n)}};function So(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!Gr(n,r)||!Gr(a,o))}function xo(e,t,n){var r=!1,a=ga,o=t.contextType;return"object"==typeof o&&null!==o?o=uo(o):(a=ka(t)?ya:va.current,o=(r=null!=(r=t.contextTypes))?wa(e,a):ga),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Eo,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function To(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Eo.enqueueReplaceState(t,t.state,null)}function Co(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=wo,fo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=uo(o):(o=ka(t)?ya:va.current,a.context=wa(e,o)),vo(e,n,a,r),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(ko(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&Eo.enqueueReplaceState(a,a.state,null),vo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.effectTag|=4)}var _o=Array.isArray;function Ao(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=r.refs;t===wo&&(t=r.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Po(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function No(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=qs(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Zs(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=Ao(e,t,n),r.return=e,r):((r=Hs(n.type,n.key,n.props,null,e.mode,r)).ref=Ao(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vs(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Gs(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Zs(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Hs(t.type,t.key,t.props,null,e.mode,n)).ref=Ao(e,null,t),n.return=e,n;case te:return(t=Vs(t,e.mode,n)).return=e,t}if(_o(t)||he(t))return(t=Gs(t,e.mode,n,null)).return=e,t;Po(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===a?n.type===ne?d(e,t,n.props.children,r,a):u(e,t,n,r):null;case te:return n.key===a?c(e,t,n,r):null}if(_o(n)||he(n))return null!==a?null:d(e,t,n,r,null);Po(e,n)}return null}function m(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?d(t,e,r.props.children,a,r.key):u(t,e,r,a);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(_o(r)||he(r))return d(t,e=e.get(n)||null,r,a,null);Po(t,r)}return null}function h(a,i,l,s){for(var u=null,c=null,d=i,h=i=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var v=p(a,d,l[h],s);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(a,d),i=o(v,i,h),null===c?u=v:c.sibling=v,c=v,d=g}if(h===l.length)return n(a,d),u;if(null===d){for(;h<l.length;h++)null!==(d=f(a,l[h],s))&&(i=o(d,i,h),null===c?u=d:c.sibling=d,c=d);return u}for(d=r(a,d);h<l.length;h++)null!==(g=m(d,a,h,l[h],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),i=o(g,i,h),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(a,e)})),u}function g(a,l,s,u){var c=he(s);if("function"!=typeof c)throw Error(i(150));if(null==(s=c.call(s)))throw Error(i(151));for(var d=c=null,h=l,g=l=0,v=null,b=s.next();null!==h&&!b.done;g++,b=s.next()){h.index>g?(v=h,h=null):v=h.sibling;var y=p(a,h,b.value,u);if(null===y){null===h&&(h=v);break}e&&h&&null===y.alternate&&t(a,h),l=o(y,l,g),null===d?c=y:d.sibling=y,d=y,h=v}if(b.done)return n(a,h),c;if(null===h){for(;!b.done;g++,b=s.next())null!==(b=f(a,b.value,u))&&(l=o(b,l,g),null===d?c=b:d.sibling=b,d=b);return c}for(h=r(a,h);!b.done;g++,b=s.next())null!==(b=m(h,a,g,b.value,u))&&(e&&null!==b.alternate&&h.delete(null===b.key?g:b.key),l=o(b,l,g),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach((function(e){return t(a,e)})),c}return function(e,r,o,s){var u="object"==typeof o&&null!==o&&o.type===ne&&null===o.key;u&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case ee:e:{for(c=o.key,u=r;null!==u;){if(u.key===c){if(7===u.tag){if(o.type===ne){n(e,u.sibling),(r=a(u,o.props.children)).return=e,e=r;break e}}else if(u.elementType===o.type){n(e,u.sibling),(r=a(u,o.props)).ref=Ao(e,u,o),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}o.type===ne?((r=Gs(o.props.children,e.mode,s,o.key)).return=e,e=r):((s=Hs(o.type,o.key,o.props,null,e.mode,s)).ref=Ao(e,r,o),s.return=e,e=s)}return l(e);case te:e:{for(u=o.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Vs(o,e.mode,s)).return=e,e=r}return l(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,o)).return=e,e=r):(n(e,r),(r=Zs(o,e.mode,s)).return=e,e=r),l(e);if(_o(o))return h(e,r,o,s);if(he(o))return g(e,r,o,s);if(c&&Po(e,o),void 0===o&&!u)switch(e.tag){case 1:case 0:throw e=e.type,Error(i(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Ro=No(!0),Oo=No(!1),Lo={},Do={current:Lo},Io={current:Lo},Mo={current:Lo};function Fo(e){if(e===Lo)throw Error(i(174));return e}function Bo(e,t){switch(ha(Mo,t),ha(Io,e),ha(Do,Lo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Fe(null,"");break;default:t=Fe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ma(Do),ha(Do,t)}function jo(){ma(Do),ma(Io),ma(Mo)}function zo(e){Fo(Mo.current);var t=Fo(Do.current),n=Fe(t,e.type);t!==n&&(ha(Io,e),ha(Do,n))}function Uo(e){Io.current===e&&(ma(Do),ma(Io))}var $o={current:0};function qo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===yn||n.data===wn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ho(e,t){return{responder:e,props:t}}var Go=Y.ReactCurrentDispatcher,Zo=Y.ReactCurrentBatchConfig,Vo=0,Wo=null,Ko=null,Yo=null,Qo=!1;function Xo(){throw Error(i(321))}function Jo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!qr(e[n],t[n]))return!1;return!0}function ei(e,t,n,r,a,o){if(Vo=o,Wo=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Go.current=null===e||null===e.memoizedState?Si:xi,e=n(r,a),t.expirationTime===Vo){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(i(301));o+=1,Yo=Ko=null,t.updateQueue=null,Go.current=Ti,e=n(r,a)}while(t.expirationTime===Vo)}if(Go.current=Ei,t=null!==Ko&&null!==Ko.next,Vo=0,Yo=Ko=Wo=null,Qo=!1,t)throw Error(i(300));return e}function ti(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Yo?Wo.memoizedState=Yo=e:Yo=Yo.next=e,Yo}function ni(){if(null===Ko){var e=Wo.alternate;e=null!==e?e.memoizedState:null}else e=Ko.next;var t=null===Yo?Wo.memoizedState:Yo.next;if(null!==t)Yo=t,Ko=e;else{if(null===e)throw Error(i(310));e={memoizedState:(Ko=e).memoizedState,baseState:Ko.baseState,baseQueue:Ko.baseQueue,queue:Ko.queue,next:null},null===Yo?Wo.memoizedState=Yo=e:Yo=Yo.next=e}return Yo}function ri(e,t){return"function"==typeof t?t(e):t}function ai(e){var t=ni(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=Ko,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var l=a.next;a.next=o.next,o.next=l}r.baseQueue=a=o,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var s=l=o=null,u=a;do{var c=u.expirationTime;if(c<Vo){var d={expirationTime:u.expirationTime,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===s?(l=s=d,o=r):s=s.next=d,c>Wo.expirationTime&&(Wo.expirationTime=c,Ss(c))}else null!==s&&(s=s.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),Es(c,u.suspenseConfig),r=u.eagerReducer===e?u.eagerState:e(r,u.action);u=u.next}while(null!==u&&u!==a);null===s?o=r:s.next=l,qr(r,t.memoizedState)||(Mi=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function oi(e){var t=ni(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{o=e(o,l.action),l=l.next}while(l!==a);qr(o,t.memoizedState)||(Mi=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ii(e){var t=ti();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ri,lastRenderedState:e}).dispatch=ki.bind(null,Wo,e),[t.memoizedState,e]}function li(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Wo.updateQueue)?(t={lastEffect:null},Wo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function si(){return ni().memoizedState}function ui(e,t,n,r){var a=ti();Wo.effectTag|=e,a.memoizedState=li(1|t,n,void 0,void 0===r?null:r)}function ci(e,t,n,r){var a=ni();r=void 0===r?null:r;var o=void 0;if(null!==Ko){var i=Ko.memoizedState;if(o=i.destroy,null!==r&&Jo(r,i.deps))return void li(t,n,o,r)}Wo.effectTag|=e,a.memoizedState=li(1|t,n,o,r)}function di(e,t){return ui(516,4,e,t)}function fi(e,t){return ci(516,4,e,t)}function pi(e,t){return ci(4,2,e,t)}function mi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function hi(e,t,n){return n=null!=n?n.concat([e]):null,ci(4,2,mi.bind(null,t,e),n)}function gi(){}function vi(e,t){return ti().memoizedState=[e,void 0===t?null:t],e}function bi(e,t){var n=ni();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Jo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function yi(e,t){var n=ni();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Jo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function wi(e,t,n){var r=Za();Wa(98>r?98:r,(function(){e(!0)})),Wa(97<r?97:r,(function(){var r=Zo.suspense;Zo.suspense=void 0===t?null:t;try{e(!1),n()}finally{Zo.suspense=r}}))}function ki(e,t,n){var r=us(),a=yo.suspense;a={expirationTime:r=cs(r,e,a),suspenseConfig:a,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?a.next=a:(a.next=o.next,o.next=a),t.pending=a,o=e.alternate,e===Wo||null!==o&&o===Wo)Qo=!0,a.expirationTime=Vo,Wo.expirationTime=Vo;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.eagerReducer=o,a.eagerState=l,qr(l,i))return}catch(s){}ds(e,r)}}var Ei={readContext:uo,useCallback:Xo,useContext:Xo,useEffect:Xo,useImperativeHandle:Xo,useLayoutEffect:Xo,useMemo:Xo,useReducer:Xo,useRef:Xo,useState:Xo,useDebugValue:Xo,useResponder:Xo,useDeferredValue:Xo,useTransition:Xo},Si={readContext:uo,useCallback:vi,useContext:uo,useEffect:di,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ui(4,2,mi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ui(4,2,e,t)},useMemo:function(e,t){var n=ti();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ti();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ki.bind(null,Wo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ti().memoizedState=e},useState:ii,useDebugValue:gi,useResponder:Ho,useDeferredValue:function(e,t){var n=ii(e),r=n[0],a=n[1];return di((function(){var n=Zo.suspense;Zo.suspense=void 0===t?null:t;try{a(e)}finally{Zo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ii(!1),n=t[0];return t=t[1],[vi(wi.bind(null,t,e),[t,e]),n]}},xi={readContext:uo,useCallback:bi,useContext:uo,useEffect:fi,useImperativeHandle:hi,useLayoutEffect:pi,useMemo:yi,useReducer:ai,useRef:si,useState:function(){return ai(ri)},useDebugValue:gi,useResponder:Ho,useDeferredValue:function(e,t){var n=ai(ri),r=n[0],a=n[1];return fi((function(){var n=Zo.suspense;Zo.suspense=void 0===t?null:t;try{a(e)}finally{Zo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ai(ri),n=t[0];return t=t[1],[bi(wi.bind(null,t,e),[t,e]),n]}},Ti={readContext:uo,useCallback:bi,useContext:uo,useEffect:fi,useImperativeHandle:hi,useLayoutEffect:pi,useMemo:yi,useReducer:oi,useRef:si,useState:function(){return oi(ri)},useDebugValue:gi,useResponder:Ho,useDeferredValue:function(e,t){var n=oi(ri),r=n[0],a=n[1];return fi((function(){var n=Zo.suspense;Zo.suspense=void 0===t?null:t;try{a(e)}finally{Zo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=oi(ri),n=t[0];return t=t[1],[bi(wi.bind(null,t,e),[t,e]),n]}},Ci=null,_i=null,Ai=!1;function Pi(e,t){var n=Us(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ni(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Ri(e){if(Ai){var t=_i;if(t){var n=t;if(!Ni(e,t)){if(!(t=_n(n.nextSibling))||!Ni(e,t))return e.effectTag=-1025&e.effectTag|2,Ai=!1,void(Ci=e);Pi(Ci,n)}Ci=e,_i=_n(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Ai=!1,Ci=e}}function Oi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ci=e}function Li(e){if(e!==Ci)return!1;if(!Ai)return Oi(e),Ai=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!xn(t,e.memoizedProps))for(t=_i;t;)Pi(e,t),t=_n(t.nextSibling);if(Oi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(n===bn){if(0===t){_i=_n(e.nextSibling);break e}t--}else n!==vn&&n!==wn&&n!==yn||t++}e=e.nextSibling}_i=null}}else _i=Ci?_n(e.stateNode.nextSibling):null;return!0}function Di(){_i=Ci=null,Ai=!1}var Ii=Y.ReactCurrentOwner,Mi=!1;function Fi(e,t,n,r){t.child=null===e?Oo(t,null,n,r):Ro(t,e.child,n,r)}function Bi(e,t,n,r,a){n=n.render;var o=t.ref;return so(t,a),r=ei(e,t,n,r,o,a),null===e||Mi?(t.effectTag|=1,Fi(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),tl(e,t,a))}function ji(e,t,n,r,a,o){if(null===e){var i=n.type;return"function"!=typeof i||$s(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Hs(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,zi(e,t,i,r,a,o))}return i=e.child,a<o&&(a=i.memoizedProps,(n=null!==(n=n.compare)?n:Gr)(a,r)&&e.ref===t.ref)?tl(e,t,o):(t.effectTag|=1,(e=qs(i,r)).ref=t.ref,e.return=t,t.child=e)}function zi(e,t,n,r,a,o){return null!==e&&Gr(e.memoizedProps,r)&&e.ref===t.ref&&(Mi=!1,a<o)?(t.expirationTime=e.expirationTime,tl(e,t,o)):$i(e,t,n,r,o)}function Ui(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function $i(e,t,n,r,a){var o=ka(n)?ya:va.current;return o=wa(t,o),so(t,a),n=ei(e,t,n,r,o,a),null===e||Mi?(t.effectTag|=1,Fi(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),tl(e,t,a))}function qi(e,t,n,r,a){if(ka(n)){var o=!0;Ta(t)}else o=!1;if(so(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),xo(t,n,r),Co(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=uo(u):u=wa(t,u=ka(n)?ya:va.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&To(t,i,r,u),co=!1;var f=t.memoizedState;i.state=f,vo(t,r,i,a),s=t.memoizedState,l!==r||f!==s||ba.current||co?("function"==typeof c&&(ko(t,n,c,r),s=t.memoizedState),(l=co||So(t,n,l,r,f,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.effectTag|=4)):("function"==typeof i.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.effectTag|=4),r=!1)}else i=t.stateNode,po(e,t),l=t.memoizedProps,i.props=t.type===t.elementType?l:eo(t.type,l),s=i.context,"object"==typeof(u=n.contextType)&&null!==u?u=uo(u):u=wa(t,u=ka(n)?ya:va.current),(d="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&To(t,i,r,u),co=!1,s=t.memoizedState,i.state=s,vo(t,r,i,a),f=t.memoizedState,l!==r||s!==f||ba.current||co?("function"==typeof c&&(ko(t,n,c,r),f=t.memoizedState),(c=co||So(t,n,l,r,s,f,u))?(d||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,f,u),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,f,u)),"function"==typeof i.componentDidUpdate&&(t.effectTag|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),i.props=r,i.state=f,i.context=u,r=c):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),r=!1);return Hi(e,t,n,r,o,a)}function Hi(e,t,n,r,a,o){Ui(e,t);var i=0!=(64&t.effectTag);if(!r&&!i)return a&&Ca(t,n,!1),tl(e,t,o);r=t.stateNode,Ii.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&i?(t.child=Ro(t,e.child,null,o),t.child=Ro(t,null,l,o)):Fi(e,t,l,o),t.memoizedState=r.state,a&&Ca(t,n,!0),t.child}function Gi(e){var t=e.stateNode;t.pendingContext?Sa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Sa(0,t.context,!1),Bo(e,t.containerInfo)}var Zi,Vi,Wi,Ki,Yi={dehydrated:null,retryTime:0};function Qi(e,t,n){var r,a=t.mode,o=t.pendingProps,i=$o.current,l=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&i)&&(null===e||null!==e.memoizedState)),r?(l=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),ha($o,1&i),null===e){if(void 0!==o.fallback&&Ri(t),l){if(l=o.fallback,(o=Gs(null,a,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Gs(l,a,n,null)).return=t,o.sibling=n,t.memoizedState=Yi,t.child=o,n}return a=o.children,t.memoizedState=null,t.child=Oo(t,null,a,n)}if(null!==e.memoizedState){if(a=(e=e.child).sibling,l){if(o=o.fallback,(n=qs(e,e.pendingProps)).return=t,0==(2&t.mode)&&(l=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=l;null!==l;)l.return=n,l=l.sibling;return(a=qs(a,o)).return=t,n.sibling=a,n.childExpirationTime=0,t.memoizedState=Yi,t.child=n,a}return n=Ro(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,l){if(l=o.fallback,(o=Gs(null,a,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Gs(l,a,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=Yi,t.child=o,n}return t.memoizedState=null,t.child=Ro(t,e,o.children,n)}function Xi(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),lo(e.return,t)}function Ji(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:a,lastEffect:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailExpiration=0,i.tailMode=a,i.lastEffect=o)}function el(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(Fi(e,t,r.children,n),0!=(2&(r=$o.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Xi(e,n);else if(19===e.tag)Xi(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ha($o,r),0==(2&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===qo(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Ji(t,!1,a,n,o,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===qo(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Ji(t,!0,n,null,o,t.lastEffect);break;case"together":Ji(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function tl(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&Ss(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=qs(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=qs(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function nl(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function rl(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return ka(t.type)&&Ea(),null;case 3:return jo(),ma(ba),ma(va),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Li(t)||(t.effectTag|=4),Vi(t),null;case 5:Uo(t),n=Fo(Mo.current);var o=t.type;if(null!==e&&null!=t.stateNode)Wi(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Fo(Do.current),Li(t)){r=t.stateNode,o=t.type;var l=t.memoizedProps;switch(r[Nn]=t,r[Rn]=l,o){case"iframe":case"object":case"embed":Wt("load",r);break;case"video":case"audio":for(e=0;e<Qe.length;e++)Wt(Qe[e],r);break;case"source":Wt("error",r);break;case"img":case"image":case"link":Wt("error",r),Wt("load",r);break;case"form":Wt("reset",r),Wt("submit",r);break;case"details":Wt("toggle",r);break;case"input":Se(r,l),Wt("invalid",r),un(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Wt("invalid",r),un(n,"onChange");break;case"textarea":Re(r,l),Wt("invalid",r),un(n,"onChange")}for(var s in on(o,l),e=null,l)if(l.hasOwnProperty(s)){var u=l[s];"children"===s?"string"==typeof u?r.textContent!==u&&(e=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(e=["children",""+u]):x.hasOwnProperty(s)&&null!=u&&un(n,s)}switch(o){case"input":we(r),Ce(r,l,!0);break;case"textarea":we(r),Le(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(s=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=Me(o)),e===sn?"script"===o?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(o,{is:r.is}):(e=s.createElement(o),"select"===o&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,o),e[Nn]=t,e[Rn]=r,Zi(e,t,!1,!1),t.stateNode=e,s=ln(o,r),o){case"iframe":case"object":case"embed":Wt("load",e),u=r;break;case"video":case"audio":for(u=0;u<Qe.length;u++)Wt(Qe[u],e);u=r;break;case"source":Wt("error",e),u=r;break;case"img":case"image":case"link":Wt("error",e),Wt("load",e),u=r;break;case"form":Wt("reset",e),Wt("submit",e),u=r;break;case"details":Wt("toggle",e),u=r;break;case"input":Se(e,r),u=Ee(e,r),Wt("invalid",e),un(n,"onChange");break;case"option":u=Ae(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},u=a({},r,{value:void 0}),Wt("invalid",e),un(n,"onChange");break;case"textarea":Re(e,r),u=Ne(e,r),Wt("invalid",e),un(n,"onChange");break;default:u=r}on(o,u);var c=u;for(l in c)if(c.hasOwnProperty(l)){var d=c[l];"style"===l?rn(e,d):"dangerouslySetInnerHTML"===l?null!=(d=d?d.__html:void 0)&&ze(e,d):"children"===l?"string"==typeof d?("textarea"!==o||""!==d)&&Ue(e,d):"number"==typeof d&&Ue(e,""+d):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(x.hasOwnProperty(l)?null!=d&&un(n,l):null!=d&&Q(e,l,d,s))}switch(o){case"input":we(e),Ce(e,r,!1);break;case"textarea":we(e),Le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+be(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Pe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Pe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof u.onClick&&(e.onclick=cn)}Sn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ki(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));n=Fo(Mo.current),Fo(Do.current),Li(t)?(n=t.stateNode,r=t.memoizedProps,n[Nn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Nn]=t,t.stateNode=n)}return null;case 13:return ma($o),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Li(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(l=t.firstEffect)?(t.firstEffect=o,o.nextEffect=l):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&$o.current)?ql===Ll&&(ql=Ml):(ql!==Ll&&ql!==Ml||(ql=Fl),0!==Wl&&null!==zl&&(Ys(zl,$l),Qs(zl,Wl)))),(n||r)&&(t.effectTag|=4),null);case 4:return jo(),Vi(t),null;case 10:return io(t),null;case 19:if(ma($o),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(l=r.rendering)){if(o)nl(r,!1);else if(ql!==Ll||null!==e&&0!=(64&e.effectTag))for(l=t.child;null!==l;){if(null!==(e=qo(l))){for(t.effectTag|=64,nl(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)l=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=l,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,l=e.dependencies,o.dependencies=null===l?null:{expirationTime:l.expirationTime,firstContext:l.firstContext,responders:l.responders}),r=r.sibling;return ha($o,1&$o.current|2),t.child}l=l.sibling}}else{if(!o)if(null!==(e=qo(l))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),nl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!l.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ga()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,nl(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=r.last)?n.sibling=l:t.child=l,r.last=l)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Ga()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ga(),n.sibling=null,t=$o.current,ha($o,o?1&t|2:1&t),n):null}throw Error(i(156,t.tag))}function al(e){switch(e.tag){case 1:ka(e.type)&&Ea();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(jo(),ma(ba),ma(va),0!=(64&(t=e.effectTag)))throw Error(i(285));return e.effectTag=-4097&t|64,e;case 5:return Uo(e),null;case 13:return ma($o),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return ma($o),null;case 4:return jo(),null;case 10:return io(e),null;default:return null}}function ol(e,t){return{value:e,source:t,stack:ve(t)}}Zi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Vi=function(){},Wi=function(e,t,n,r,o){var i=e.memoizedProps;if(i!==r){var l,s,u=t.stateNode;switch(Fo(Do.current),e=null,n){case"input":i=Ee(u,i),r=Ee(u,r),e=[];break;case"option":i=Ae(u,i),r=Ae(u,r),e=[];break;case"select":i=a({},i,{value:void 0}),r=a({},r,{value:void 0}),e=[];break;case"textarea":i=Ne(u,i),r=Ne(u,r),e=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(u.onclick=cn)}for(l in on(n,r),n=null,i)if(!r.hasOwnProperty(l)&&i.hasOwnProperty(l)&&null!=i[l])if("style"===l)for(s in u=i[l])u.hasOwnProperty(s)&&(n||(n={}),n[s]="");else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(x.hasOwnProperty(l)?e||(e=[]):(e=e||[]).push(l,null));for(l in r){var c=r[l];if(u=null!=i?i[l]:void 0,r.hasOwnProperty(l)&&c!==u&&(null!=c||null!=u))if("style"===l)if(u){for(s in u)!u.hasOwnProperty(s)||c&&c.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in c)c.hasOwnProperty(s)&&u[s]!==c[s]&&(n||(n={}),n[s]=c[s])}else n||(e||(e=[]),e.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(e=e||[]).push(l,c)):"children"===l?u===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(x.hasOwnProperty(l)?(null!=c&&un(o,l),e||u===c||(e=[])):(e=e||[]).push(l,c))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},Ki=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var il="function"==typeof WeakSet?WeakSet:Set;function ll(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ve(n)),null!==n&&ge(n.type),t=t.value,null!==e&&1===e.tag&&ge(e.type);try{console.error(t)}catch(a){setTimeout((function(){throw a}))}}function sl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){Is(e,n)}else t.current=null}function ul(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 3:case 5:case 6:case 4:case 17:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:eo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return}throw Error(i(163))}function cl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function dl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function fl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void dl(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:eo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&bo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}bo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&Sn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Ft(n)))))}throw Error(i(163))}function pl(e,t,n){switch("function"==typeof js&&js(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Wa(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var a=t;try{n()}catch(o){Is(a,o)}}e=e.next}while(e!==r)}))}break;case 1:sl(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){Is(e,n)}}(t,n);break;case 5:sl(t);break;case 4:yl(e,t,n)}}function ml(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ml(t)}function hl(e){return 5===e.tag||3===e.tag||4===e.tag}function gl(e){e:{for(var t=e.return;null!==t;){if(hl(t)){var n=t;break e}t=t.return}throw Error(i(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.effectTag&&(Ue(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||hl(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?vl(e,n,t):bl(e,n,t)}function vl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=cn));else if(4!==r&&null!==(e=e.child))for(vl(e,t,n),e=e.sibling;null!==e;)vl(e,t,n),e=e.sibling}function bl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(bl(e,t,n),e=e.sibling;null!==e;)bl(e,t,n),e=e.sibling}function yl(e,t,n){for(var r,a,o=t,l=!1;;){if(!l){l=o.return;e:for(;;){if(null===l)throw Error(i(160));switch(r=l.stateNode,l.tag){case 5:a=!1;break e;case 3:case 4:r=r.containerInfo,a=!0;break e}l=l.return}l=!0}if(5===o.tag||6===o.tag){e:for(var s=e,u=o,c=n,d=u;;)if(pl(s,d,c),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===u)break e;for(;null===d.sibling;){if(null===d.return||d.return===u)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}a?(s=r,u=o.stateNode,8===s.nodeType?s.parentNode.removeChild(u):s.removeChild(u)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,a=!0,o.child.return=o,o=o.child;continue}}else if(pl(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(l=!1)}o.sibling.return=o.return,o=o.sibling}}function wl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void cl(3,t);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,a=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Rn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&xe(n,r),ln(e,a),t=ln(e,r),a=0;a<o.length;a+=2){var l=o[a],s=o[a+1];"style"===l?rn(n,s):"dangerouslySetInnerHTML"===l?ze(n,s):"children"===l?Ue(n,s):Q(n,l,s,t)}switch(e){case"input":Te(n,r);break;case"textarea":Oe(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Pe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Pe(n,!!r.multiple,r.defaultValue,!0):Pe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Ft(t.containerInfo)));case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Yl=Ga()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,a=null!=(a=e.memoizedProps.style)&&a.hasOwnProperty("display")?a.display:null,o.style.display=nn("display",a));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void kl(t);case 19:return void kl(t)}throw Error(i(163))}function kl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new il),t.forEach((function(t){var r=Fs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var El="function"==typeof WeakMap?WeakMap:Map;function Sl(e,t,n){(n=mo(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Jl||(Jl=!0,es=r),ll(e,t)},n}function xl(e,t,n){(n=mo(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return ll(e,t),r(a)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===ts?ts=new Set([this]):ts.add(this),ll(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Tl,Cl=Math.ceil,_l=Y.ReactCurrentDispatcher,Al=Y.ReactCurrentOwner,Pl=0,Nl=8,Rl=16,Ol=32,Ll=0,Dl=1,Il=2,Ml=3,Fl=4,Bl=5,jl=Pl,zl=null,Ul=null,$l=0,ql=Ll,Hl=null,Gl=1073741823,Zl=1073741823,Vl=null,Wl=0,Kl=!1,Yl=0,Ql=500,Xl=null,Jl=!1,es=null,ts=null,ns=!1,rs=null,as=90,os=null,is=0,ls=null,ss=0;function us(){return(jl&(Rl|Ol))!==Pl?1073741821-(Ga()/10|0):0!==ss?ss:ss=1073741821-(Ga()/10|0)}function cs(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Za();if(0==(4&t))return 99===r?1073741823:1073741822;if((jl&Rl)!==Pl)return $l;if(null!==n)e=Ja(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Ja(e,150,100);break;case 97:case 96:e=Ja(e,5e3,250);break;case 95:e=2;break;default:throw Error(i(326))}return null!==zl&&e===$l&&--e,e}function ds(e,t){if(50<is)throw is=0,ls=null,Error(i(185));if(null!==(e=fs(e,t))){var n=Za();1073741823===t?(jl&Nl)!==Pl&&(jl&(Rl|Ol))===Pl?gs(e):(ms(e),jl===Pl&&Qa()):ms(e),(4&jl)===Pl||98!==n&&99!==n||(null===os?os=new Map([[e,t]]):(void 0===(n=os.get(e))||n>t)&&os.set(e,t))}}function fs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,a=null;if(null===r&&3===e.tag)a=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){a=r.stateNode;break}r=r.return}return null!==a&&(zl===a&&(Ss(t),ql===Fl&&Ys(a,$l)),Qs(a,t)),a}function ps(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Ks(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function ms(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Ya(gs.bind(null,e));else{var t=ps(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=us();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var a=e.callbackPriority;if(e.callbackExpirationTime===t&&a>=r)return;n!==Ba&&Pa(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Ya(gs.bind(null,e)):Ka(r,hs.bind(null,e),{timeout:10*(1073741821-t)-Ga()}),e.callbackNode=t}}}function hs(e,t){if(ss=0,t)return Xs(e,t=us()),ms(e),null;var n=ps(e);if(0!==n){if(t=e.callbackNode,(jl&(Rl|Ol))!==Pl)throw Error(i(327));if(Os(),e===zl&&n===$l||ys(e,n),null!==Ul){var r=jl;jl|=Rl;for(var a=ks();;)try{Ts();break}catch(s){ws(e,s)}if(oo(),jl=r,_l.current=a,ql===Dl)throw t=Hl,ys(e,n),Ys(e,n),ms(e),t;if(null===Ul)switch(a=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=ql,zl=null,r){case Ll:case Dl:throw Error(i(345));case Il:Xs(e,2<n?2:n);break;case Ml:if(Ys(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=As(a)),1073741823===Gl&&10<(a=Yl+Ql-Ga())){if(Kl){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,ys(e,n);break}}if(0!==(o=ps(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=Tn(Ps.bind(null,e),a);break}Ps(e);break;case Fl:if(Ys(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=As(a)),Kl&&(0===(a=e.lastPingedTime)||a>=n)){e.lastPingedTime=n,ys(e,n);break}if(0!==(a=ps(e))&&a!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Zl?r=10*(1073741821-Zl)-Ga():1073741823===Gl?r=0:(r=10*(1073741821-Gl)-5e3,0>(r=(a=Ga())-r)&&(r=0),(n=10*(1073741821-n)-a)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=Tn(Ps.bind(null,e),r);break}Ps(e);break;case Bl:if(1073741823!==Gl&&null!==Vl){o=Gl;var l=Vl;if(0>=(r=0|l.busyMinDurationMs)?r=0:(a=0|l.busyDelayMs,r=(o=Ga()-(10*(1073741821-o)-(0|l.timeoutMs||5e3)))<=a?0:a+r-o),10<r){Ys(e,n),e.timeoutHandle=Tn(Ps.bind(null,e),r);break}}Ps(e);break;default:throw Error(i(329))}if(ms(e),e.callbackNode===t)return hs.bind(null,e)}}return null}function gs(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(jl&(Rl|Ol))!==Pl)throw Error(i(327));if(Os(),e===zl&&t===$l||ys(e,t),null!==Ul){var n=jl;jl|=Rl;for(var r=ks();;)try{xs();break}catch(a){ws(e,a)}if(oo(),jl=n,_l.current=r,ql===Dl)throw n=Hl,ys(e,t),Ys(e,t),ms(e),n;if(null!==Ul)throw Error(i(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,zl=null,Ps(e),ms(e)}return null}function vs(e,t){var n=jl;jl|=1;try{return e(t)}finally{(jl=n)===Pl&&Qa()}}function bs(e,t){var n=jl;jl&=-2,jl|=Nl;try{return e(t)}finally{(jl=n)===Pl&&Qa()}}function ys(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Cn(n)),null!==Ul)for(n=Ul.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ea();break;case 3:jo(),ma(ba),ma(va);break;case 5:Uo(r);break;case 4:jo();break;case 13:case 19:ma($o);break;case 10:io(r)}n=n.return}zl=e,Ul=qs(e.current,null),$l=t,ql=Ll,Hl=null,Zl=Gl=1073741823,Vl=null,Wl=0,Kl=!1}function ws(e,t){for(;;){try{if(oo(),Go.current=Ei,Qo)for(var n=Wo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Vo=0,Yo=Ko=Wo=null,Qo=!1,null===Ul||null===Ul.return)return ql=Dl,Hl=t,Ul=null;e:{var a=e,o=Ul.return,i=Ul,l=t;if(t=$l,i.effectTag|=2048,i.firstEffect=i.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var s=l;if(0==(2&i.mode)){var u=i.alternate;u?(i.updateQueue=u.updateQueue,i.memoizedState=u.memoizedState,i.expirationTime=u.expirationTime):(i.updateQueue=null,i.memoizedState=null)}var c=0!=(1&$o.current),d=o;do{var f;if(f=13===d.tag){var p=d.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var m=d.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!c)}}if(f){var h=d.updateQueue;if(null===h){var g=new Set;g.add(s),d.updateQueue=g}else h.add(s);if(0==(2&d.mode)){if(d.effectTag|=64,i.effectTag&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else{var v=mo(1073741823,null);v.tag=2,ho(i,v)}i.expirationTime=1073741823;break e}l=void 0,i=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new El,l=new Set,b.set(s,l)):void 0===(l=b.get(s))&&(l=new Set,b.set(s,l)),!l.has(i)){l.add(i);var y=Ms.bind(null,a,s,i);s.then(y,y)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);l=Error((ge(i.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ve(i))}ql!==Bl&&(ql=Il),l=ol(l,i),d=o;do{switch(d.tag){case 3:s=l,d.effectTag|=4096,d.expirationTime=t,go(d,Sl(d,s,t));break e;case 1:s=l;var w=d.type,k=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===ts||!ts.has(k)))){d.effectTag|=4096,d.expirationTime=t,go(d,xl(d,s,t));break e}}d=d.return}while(null!==d)}Ul=_s(Ul)}catch(E){t=E;continue}break}}function ks(){var e=_l.current;return _l.current=Ei,null===e?Ei:e}function Es(e,t){e<Gl&&2<e&&(Gl=e),null!==t&&e<Zl&&2<e&&(Zl=e,Vl=t)}function Ss(e){e>Wl&&(Wl=e)}function xs(){for(;null!==Ul;)Ul=Cs(Ul)}function Ts(){for(;null!==Ul&&!ja();)Ul=Cs(Ul)}function Cs(e){var t=Tl(e.alternate,e,$l);return e.memoizedProps=e.pendingProps,null===t&&(t=_s(e)),Al.current=null,t}function _s(e){Ul=e;do{var t=Ul.alternate;if(e=Ul.return,0==(2048&Ul.effectTag)){if(t=rl(t,Ul,$l),1===$l||1!==Ul.childExpirationTime){for(var n=0,r=Ul.child;null!==r;){var a=r.expirationTime,o=r.childExpirationTime;a>n&&(n=a),o>n&&(n=o),r=r.sibling}Ul.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ul.firstEffect),null!==Ul.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ul.firstEffect),e.lastEffect=Ul.lastEffect),1<Ul.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ul:e.firstEffect=Ul,e.lastEffect=Ul))}else{if(null!==(t=al(Ul)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ul.sibling))return t;Ul=e}while(null!==Ul);return ql===Ll&&(ql=Bl),null}function As(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function Ps(e){var t=Za();return Wa(99,Ns.bind(null,e,t)),null}function Ns(e,t){do{Os()}while(null!==rs);if((jl&(Rl|Ol))!==Pl)throw Error(i(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var a=As(n);if(e.firstPendingTime=a,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===zl&&(Ul=zl=null,$l=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,a=n.firstEffect):a=n:a=n.firstEffect,null!==a){var o=jl;jl|=Ol,Al.current=null,kn=Vt;var l=hn();if(gn(l)){if("selectionStart"in l)var s={start:l.selectionStart,end:l.selectionEnd};else e:{var u=(s=(s=l.ownerDocument)&&s.defaultView||window).getSelection&&s.getSelection();if(u&&0!==u.rangeCount){s=u.anchorNode;var c=u.anchorOffset,d=u.focusNode;u=u.focusOffset;try{s.nodeType,d.nodeType}catch(C){s=null;break e}var f=0,p=-1,m=-1,h=0,g=0,v=l,b=null;t:for(;;){for(var y;v!==s||0!==c&&3!==v.nodeType||(p=f+c),v!==d||0!==u&&3!==v.nodeType||(m=f+u),3===v.nodeType&&(f+=v.nodeValue.length),null!==(y=v.firstChild);)b=v,v=y;for(;;){if(v===l)break t;if(b===s&&++h===c&&(p=f),b===d&&++g===u&&(m=f),null!==(y=v.nextSibling))break;b=(v=b).parentNode}v=y}s=-1===p||-1===m?null:{start:p,end:m}}else s=null}s=s||{start:0,end:0}}else s=null;En={activeElementDetached:null,focusedElem:l,selectionRange:s},Vt=!1,Xl=a;do{try{Rs()}catch(C){if(null===Xl)throw Error(i(330));Is(Xl,C),Xl=Xl.nextEffect}}while(null!==Xl);Xl=a;do{try{for(l=e,s=t;null!==Xl;){var w=Xl.effectTag;if(16&w&&Ue(Xl.stateNode,""),128&w){var k=Xl.alternate;if(null!==k){var E=k.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&w){case 2:gl(Xl),Xl.effectTag&=-3;break;case 6:gl(Xl),Xl.effectTag&=-3,wl(Xl.alternate,Xl);break;case 1024:Xl.effectTag&=-1025;break;case 1028:Xl.effectTag&=-1025,wl(Xl.alternate,Xl);break;case 4:wl(Xl.alternate,Xl);break;case 8:yl(l,c=Xl,s),ml(c)}Xl=Xl.nextEffect}}catch(C){if(null===Xl)throw Error(i(330));Is(Xl,C),Xl=Xl.nextEffect}}while(null!==Xl);if(E=En,k=hn(),w=E.focusedElem,s=E.selectionRange,k!==w&&w&&w.ownerDocument&&mn(w.ownerDocument.documentElement,w)){null!==s&&gn(w)&&(k=s.start,void 0===(E=s.end)&&(E=k),"selectionStart"in w?(w.selectionStart=k,w.selectionEnd=Math.min(E,w.value.length)):(E=(k=w.ownerDocument||document)&&k.defaultView||window).getSelection&&(E=E.getSelection(),c=w.textContent.length,l=Math.min(s.start,c),s=void 0===s.end?l:Math.min(s.end,c),!E.extend&&l>s&&(c=s,s=l,l=c),c=pn(w,l),d=pn(w,s),c&&d&&(1!==E.rangeCount||E.anchorNode!==c.node||E.anchorOffset!==c.offset||E.focusNode!==d.node||E.focusOffset!==d.offset)&&((k=k.createRange()).setStart(c.node,c.offset),E.removeAllRanges(),l>s?(E.addRange(k),E.extend(d.node,d.offset)):(k.setEnd(d.node,d.offset),E.addRange(k))))),k=[];for(E=w;E=E.parentNode;)1===E.nodeType&&k.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<k.length;w++)(E=k[w]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Vt=!!kn,En=kn=null,e.current=n,Xl=a;do{try{for(w=e;null!==Xl;){var S=Xl.effectTag;if(36&S&&fl(w,Xl.alternate,Xl),128&S){k=void 0;var x=Xl.ref;if(null!==x){var T=Xl.stateNode;Xl.tag,k=T,"function"==typeof x?x(k):x.current=k}}Xl=Xl.nextEffect}}catch(C){if(null===Xl)throw Error(i(330));Is(Xl,C),Xl=Xl.nextEffect}}while(null!==Xl);Xl=null,za(),jl=o}else e.current=n;if(ns)ns=!1,rs=e,as=t;else for(Xl=a;null!==Xl;)t=Xl.nextEffect,Xl.nextEffect=null,Xl=t;if(0===(t=e.firstPendingTime)&&(ts=null),1073741823===t?e===ls?is++:(is=0,ls=e):is=0,"function"==typeof Bs&&Bs(n.stateNode,r),ms(e),Jl)throw Jl=!1,e=es,es=null,e;return(jl&Nl)!==Pl||Qa(),null}function Rs(){for(;null!==Xl;){var e=Xl.effectTag;0!=(256&e)&&ul(Xl.alternate,Xl),0==(512&e)||ns||(ns=!0,Ka(97,(function(){return Os(),null}))),Xl=Xl.nextEffect}}function Os(){if(90!==as){var e=97<as?97:as;return as=90,Wa(e,Ls)}}function Ls(){if(null===rs)return!1;var e=rs;if(rs=null,(jl&(Rl|Ol))!==Pl)throw Error(i(331));var t=jl;for(jl|=Ol,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:cl(5,n),dl(5,n)}}catch(r){if(null===e)throw Error(i(330));Is(e,r)}n=e.nextEffect,e.nextEffect=null,e=n}return jl=t,Qa(),!0}function Ds(e,t,n){ho(e,t=Sl(e,t=ol(n,t),1073741823)),null!==(e=fs(e,1073741823))&&ms(e)}function Is(e,t){if(3===e.tag)Ds(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Ds(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===ts||!ts.has(r))){ho(n,e=xl(n,e=ol(t,e),1073741823)),null!==(n=fs(n,1073741823))&&ms(n);break}}n=n.return}}function Ms(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),zl===e&&$l===n?ql===Fl||ql===Ml&&1073741823===Gl&&Ga()-Yl<Ql?ys(e,$l):Kl=!0:Ks(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,ms(e)))}function Fs(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=cs(t=us(),e,null)),null!==(e=fs(e,t))&&ms(e)}Tl=function(e,t,n){var r=t.expirationTime;if(null!==e){var a=t.pendingProps;if(e.memoizedProps!==a||ba.current)Mi=!0;else{if(r<n){switch(Mi=!1,t.tag){case 3:Gi(t),Di();break;case 5:if(zo(t),4&t.mode&&1!==n&&a.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:ka(t.type)&&Ta(t);break;case 4:Bo(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,a=t.type._context,ha(to,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Qi(e,t,n):(ha($o,1&$o.current),null!==(t=tl(e,t,n))?t.sibling:null);ha($o,1&$o.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return el(e,t,n);t.effectTag|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null),ha($o,$o.current),!r)return null}return tl(e,t,n)}Mi=!1}}else Mi=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,a=wa(t,va.current),so(t,n),a=ei(null,t,r,e,a,n),t.effectTag|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ka(r)){var o=!0;Ta(t)}else o=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,fo(t);var l=r.getDerivedStateFromProps;"function"==typeof l&&ko(t,r,l,e),a.updater=Eo,t.stateNode=a,a._reactInternalFiber=t,Co(t,r,e,n),t=Hi(null,t,r,!0,o,n)}else t.tag=0,Fi(null,t,a,n),t=t.child;return t;case 16:e:{if(a=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(a),1!==a._status)throw a._result;switch(a=a._result,t.type=a,o=t.tag=function(e){if("function"==typeof e)return $s(e)?1:0;if(null!=e){if((e=e.$$typeof)===se)return 11;if(e===de)return 14}return 2}(a),e=eo(a,e),o){case 0:t=$i(null,t,a,e,n);break e;case 1:t=qi(null,t,a,e,n);break e;case 11:t=Bi(null,t,a,e,n);break e;case 14:t=ji(null,t,a,eo(a.type,e),r,n);break e}throw Error(i(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,$i(e,t,r,a=t.elementType===r?a:eo(r,a),n);case 1:return r=t.type,a=t.pendingProps,qi(e,t,r,a=t.elementType===r?a:eo(r,a),n);case 3:if(Gi(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,po(e,t),vo(t,r,null,n),(r=t.memoizedState.element)===a)Di(),t=tl(e,t,n);else{if((a=t.stateNode.hydrate)&&(_i=_n(t.stateNode.containerInfo.firstChild),Ci=t,a=Ai=!0),a)for(n=Oo(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Fi(e,t,r,n),Di();t=t.child}return t;case 5:return zo(t),null===e&&Ri(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,l=a.children,xn(r,a)?l=null:null!==o&&xn(r,o)&&(t.effectTag|=16),Ui(e,t),4&t.mode&&1!==n&&a.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Fi(e,t,l,n),t=t.child),t;case 6:return null===e&&Ri(t),null;case 13:return Qi(e,t,n);case 4:return Bo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ro(t,null,r,n):Fi(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Bi(e,t,r,a=t.elementType===r?a:eo(r,a),n);case 7:return Fi(e,t,t.pendingProps,n),t.child;case 8:case 12:return Fi(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,l=t.memoizedProps,o=a.value;var s=t.type._context;if(ha(to,s._currentValue),s._currentValue=o,null!==l)if(s=l.value,0===(o=qr(s,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,o):1073741823))){if(l.children===a.children&&!ba.current){t=tl(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var u=s.dependencies;if(null!==u){l=s.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===s.tag&&((c=mo(n,null)).tag=2,ho(s,c)),s.expirationTime<n&&(s.expirationTime=n),null!==(c=s.alternate)&&c.expirationTime<n&&(c.expirationTime=n),lo(s.return,n),u.expirationTime<n&&(u.expirationTime=n);break}c=c.next}}else l=10===s.tag&&s.type===t.type?null:s.child;if(null!==l)l.return=s;else for(l=s;null!==l;){if(l===t){l=null;break}if(null!==(s=l.sibling)){s.return=l.return,l=s;break}l=l.return}s=l}Fi(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(o=t.pendingProps).children,so(t,n),r=r(a=uo(a,o.unstable_observedBits)),t.effectTag|=1,Fi(e,t,r,n),t.child;case 14:return o=eo(a=t.type,t.pendingProps),ji(e,t,a,o=eo(a.type,o),r,n);case 15:return zi(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:eo(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,ka(r)?(e=!0,Ta(t)):e=!1,so(t,n),xo(t,r,a),Co(t,r,a,n),Hi(null,t,r,!0,e,n);case 19:return el(e,t,n)}throw Error(i(156,t.tag))};var Bs=null,js=null;function zs(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Us(e,t,n,r){return new zs(e,t,n,r)}function $s(e){return!(!(e=e.prototype)||!e.isReactComponent)}function qs(e,t){var n=e.alternate;return null===n?((n=Us(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hs(e,t,n,r,a,o){var l=2;if(r=e,"function"==typeof e)$s(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case ne:return Gs(n.children,a,o,t);case le:l=8,a|=7;break;case re:l=8,a|=1;break;case ae:return(e=Us(12,n,t,8|a)).elementType=ae,e.type=ae,e.expirationTime=o,e;case ue:return(e=Us(13,n,t,a)).type=ue,e.elementType=ue,e.expirationTime=o,e;case ce:return(e=Us(19,n,t,a)).elementType=ce,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:l=10;break e;case ie:l=9;break e;case se:l=11;break e;case de:l=14;break e;case fe:l=16,r=null;break e;case pe:l=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Us(l,n,t,a)).elementType=e,t.type=r,t.expirationTime=o,t}function Gs(e,t,n,r){return(e=Us(7,e,r,t)).expirationTime=n,e}function Zs(e,t,n){return(e=Us(6,e,null,t)).expirationTime=n,e}function Vs(e,t,n){return(t=Us(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ws(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Ks(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Ys(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Qs(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Xs(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Js(e,t,n,r){var a=t.current,o=us(),l=yo.suspense;o=cs(o,a,l);e:if(n){t:{if(et(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(i(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(ka(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(i(171))}if(1===n.tag){var u=n.type;if(ka(u)){n=xa(n,u,s);break e}}n=s}else n=ga;return null===t.context?t.context=n:t.pendingContext=n,(t=mo(o,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ho(a,t),ds(a,o),o}function eu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function tu(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function nu(e,t){tu(e,t),(e=e.alternate)&&tu(e,t)}function ru(e,t,n){var r=new Ws(e,t,n=null!=n&&!0===n.hydrate),a=Us(3,null,null,2===t?7:1===t?3:0);r.current=a,a.stateNode=r,fo(a),e[On]=r.current,n&&0!==t&&function(e,t){var n=Je(t);_t.forEach((function(e){ht(e,t,n)})),At.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function au(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ou(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o._internalRoot;if("function"==typeof a){var l=a;a=function(){var e=eu(i);l.call(e)}}Js(t,i,e,a)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ru(e,0,t?{hydrate:!0}:void 0)}(n,r),i=o._internalRoot,"function"==typeof a){var s=a;a=function(){var e=eu(i);s.call(e)}}bs((function(){Js(t,i,e,a)}))}return eu(i)}function iu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!au(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}ru.prototype.render=function(e){Js(e,this._internalRoot,null,null)},ru.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Js(null,e,null,(function(){t[On]=null}))},gt=function(e){if(13===e.tag){var t=Ja(us(),150,100);ds(e,t),nu(e,t)}},vt=function(e){13===e.tag&&(ds(e,3),nu(e,3))},bt=function(e){if(13===e.tag){var t=us();ds(e,t=cs(t,e,null)),nu(e,t)}},A=function(e,t,n){switch(t){case"input":if(Te(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=Mn(r);if(!a)throw Error(i(90));ke(r),Te(r,a)}}}break;case"textarea":Oe(e,n);break;case"select":null!=(t=n.value)&&Pe(e,!!n.multiple,t,!1)}},D=vs,I=function(e,t,n,r,a){var o=jl;jl|=4;try{return Wa(98,e.bind(null,t,n,r,a))}finally{(jl=o)===Pl&&Qa()}},M=function(){(jl&(1|Rl|Ol))===Pl&&(function(){if(null!==os){var e=os;os=null,e.forEach((function(e,t){Xs(t,e),ms(t)})),Qa()}}(),Os())},F=function(e,t){var n=jl;jl|=2;try{return e(t)}finally{(jl=n)===Pl&&Qa()}};var lu={Events:[Dn,In,Mn,C,S,qn,function(e){ot(e,$n)},O,L,Xt,st,Os,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Bs=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(r){}},js=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){}}}catch(r){}})(a({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Ln,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),t.createPortal=iu,t.hydrate=function(e,t,n){if(!au(t))throw Error(i(200));return ou(null,e,t,!0,n)}},3935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4448)},9590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,u,c;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!o(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=e.entries();!(s=c.next()).done;)if(!o(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((l=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!e.$$typeof)&&!o(e[u[s]],i[u[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},405:(e,t,n)=>{"use strict";n.d(t,{B6:()=>G,ql:()=>J});var r=n(7294),a=n(5697),o=n.n(a),i=n(9590),l=n.n(i),s=n(1143),u=n.n(s),c=n(6774),d=n.n(c);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},v={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},y={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(g).map((function(e){return g[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},E=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},x=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},T=function(e){return S(e,"onChangeClientState")||function(){}},C=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return f({},e,t)}),{})},_=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},A=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var l=o[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][u]&&(a[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var l=o[i],s=f({},r[l],a[l]);r[l]=s}return e}),[]).reverse()},P=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},N=function(e){return Array.isArray(e)?e.join(""):e},R=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},O=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},L=[g.NOSCRIPT,g.SCRIPT,g.STYLE],D=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},I=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},M=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},F=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},B=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=M(n,a),[r.createElement(g.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=I(n),o=N(t);return a?"<"+e+' data-rh="true" '+a+">"+D(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+D(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return M(t)},toString:function(){return I(t)}};default:return{toComponent:function(){return F(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+D(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===L.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},j=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=void 0===l?"":l,u=e.titleAttributes,c=e.linkTags,d=e.metaTags,f=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=R(e.metaTags,y),o=R(t,v),i=R(n,b);return{priorityMethods:{toComponent:function(){return[].concat(F(g.META,a.priority),F(g.LINK,o.priority),F(g.SCRIPT,i.priority))},toString:function(){return B(g.META,a.priority,r)+" "+B(g.LINK,o.priority,r)+" "+B(g.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);p=m.priorityMethods,c=m.linkTags,d=m.metaTags,f=m.scriptTags}return{priority:p,base:B(g.BASE,t,r),bodyAttributes:B("bodyAttributes",n,r),htmlAttributes:B("htmlAttributes",a,r),link:B(g.LINK,c,r),meta:B(g.META,d,r),noscript:B(g.NOSCRIPT,o,r),script:B(g.SCRIPT,f,r),style:B(g.STYLE,i,r),title:B(g.TITLE,{title:s,titleAttributes:u},r)}},z=[],U=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?z:n.instances},add:function(e){(n.canUseDOM?z:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?z:n.instances).indexOf(e);(n.canUseDOM?z:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=j({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),q=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),H="undefined"!=typeof document,G=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new U(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);G.canUseDOM=H,G.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},G.defaultProps={context:{}},G.displayName="HelmetProvider";var Z=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},V=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===a.indexOf(s)&&a.push(s);var c=o.indexOf(s);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},W=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;V(g.BODY,e.bodyAttributes),V(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=N(e)),V(g.TITLE,t)}(c,d);var f={baseTag:Z(g.BASE,n),linkTags:Z(g.LINK,a),metaTags:Z(g.META,o),noscriptTags:Z(g.NOSCRIPT,i),scriptTags:Z(g.SCRIPT,s),styleTags:Z(g.STYLE,u)},p={},m={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(m[e]=f[e].oldTags)})),t&&t(),l(e,p,m)},K=null,Y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=f({},e.props);return delete t.context,t})),{baseTag:_(["href"],e),bodyAttributes:C("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:C("htmlAttributes",e),linkTags:A(g.LINK,["rel","href"],e),metaTags:A(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:A(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:T(e),scriptTags:A(g.SCRIPT,["src","innerHTML"],e),styleTags:A(g.STYLE,["cssText"],e),title:x(e),titleAttributes:C("titleAttributes",e),prioritizeSeoTags:P(e,"prioritizeSeoTags")});G.canUseDOM?(t=o,K&&cancelAnimationFrame(K),t.defer?K=requestAnimationFrame((function(){W(t,(function(){K=null}))})):(W(t),K=null)):j&&(a=j(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Y.propTypes={context:q.isRequired},Y.displayName="HelmetDispatcher";var Q=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(O(this.props,"helmetData"),O(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case g.BODY:return f({},a,{bodyAttributes:f({},o)});case g.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach((function(t){var r;n=f({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,Q),l=Object.keys(i).reduce((function(e,t){return e[E[t]||t]=i[t],e}),{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,X),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof U||(o=new U(o.context,o.instances)),o?r.createElement(Y,f({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,(function(e){return r.createElement(Y,f({},a,{context:e}))}))},t}(r.Component);J.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},9921:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case h:case s:return e;default:return t}}case a:return t}}}function E(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||k(e)===c},t.isConcurrentMode=E,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===y||e.$$typeof===w||e.$$typeof===v)},t.typeOf=k},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},8356:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var l=n(7294),s=n(5697),u=[],c=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function m(e,t){var d,f;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var m=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return u.push(g),"function"==typeof m.webpack&&c.push((function(){if((0,m.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()})),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(m.modules)&&m.modules.forEach((function(t){e.context.loadable.report(t)})),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?l.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextTypes",{loadable:s.shape({report:s.func.isRequired})}),f}function h(e){return m(d,e)}h.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return m(f,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return l.Children.only(this.props.children)},t}(l.Component);function v(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return v(e)}))}o(g,"propTypes",{report:s.func.isRequired}),o(g,"childContextTypes",{loadable:s.shape({report:s.func.isRequired}).isRequired}),h.Capture=g,h.preloadAll=function(){return new Promise((function(e,t){v(u).then(e,t)}))},h.preloadReady=function(){return new Promise((function(e,t){v(c).then(e,e)}))},e.exports=h},8790:(e,t,n)=>{"use strict";n.d(t,{H:()=>l,f:()=>i});var r=n(6550),a=n(7462),o=n(7294);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.rs,n,e.map((function(e,n){return o.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.Z)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.Z)({},n,t,{route:e}))}})}))):null}},3727:(e,t,n)=>{"use strict";n.d(t,{OL:()=>y,VK:()=>c,rU:()=>g});var r=n(6550),a=n(5068),o=n(7294),i=n(9318),l=n(7462),s=n(3366),u=n(8776),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,a.Z)(t,e),t.prototype.render=function(){return o.createElement(r.F0,{history:this.history,children:this.props.children})},t}(o.Component);o.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},p=function(e){return e},m=o.forwardRef;void 0===m&&(m=p);var h=m((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,s.Z)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,l.Z)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=p!==m&&t||n,o.createElement("a",c)}));var g=m((function(e,t){var n=e.component,a=void 0===n?h:n,c=e.replace,g=e.to,v=e.innerRef,b=(0,s.Z)(e,["component","replace","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=e.history,r=f(d(g,e.location),e.location),s=r?n.createHref(r):"",h=(0,l.Z)({},b,{href:s,navigate:function(){var t=d(g,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(f(t));(c||r?n.replace:n.push)(t)}});return p!==m?h.ref=t||v:h.innerRef=v,o.createElement(a,h)}))})),v=function(e){return e},b=o.forwardRef;void 0===b&&(b=v);var y=b((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,p=e.activeStyle,m=e.className,h=e.exact,y=e.isActive,w=e.location,k=e.sensitive,E=e.strict,S=e.style,x=e.to,T=e.innerRef,C=(0,s.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=w||e.location,i=f(d(x,n),n),s=i.pathname,_=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),A=_?(0,r.LX)(n.pathname,{path:_,exact:h,sensitive:k,strict:E}):null,P=!!(y?y(A,n):A),N="function"==typeof m?m(P):m,R="function"==typeof S?S(P):S;P&&(N=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(N,c),R=(0,l.Z)({},R,p));var O=(0,l.Z)({"aria-current":P&&a||null,className:N,style:R,to:i},C);return v!==b?O.ref=t||T:O.innerRef=T,o.createElement(g,O)}))}))},6550:(e,t,n)=>{"use strict";n.d(t,{AW:()=>x,F0:()=>y,LX:()=>S,TH:()=>L,k6:()=>O,rs:()=>N,s6:()=>b});var r=n(5068),a=n(7294),o=n(5697),i=n.n(o),l=n(9318),s=n(8776),u=n(7462),c=n(4779),d=n.n(c),f=(n(9864),n(3366)),p=(n(8679),1073741823),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var h=a.createContext||function(e,t){var n,o,l="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",s=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.Z)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):p,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);s.childContextTypes=((n={})[l]=i().object.isRequired,n);var u=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?p:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?p:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return u.contextTypes=((o={})[l]=i().object,o),{Provider:s,Consumer:u}},g=function(e){var t=h();return t.displayName=e,t},v=g("Router-History"),b=g("Router"),y=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(b.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(v.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var w={},k=1e4,E=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,l=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=w[n]||(w[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return E<k&&(r[e]=o,E++),o}(n,{end:o,strict:l,sensitive:u}),a=r.regexp,i=r.keys,s=a.exec(e);if(!s)return null;var c=s[0],f=s.slice(1),p=e===c;return o&&!p?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var x=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,s.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,o=(0,u.Z)({},t,{location:n,match:r}),i=e.props,l=i.children,c=i.component,d=i.render;return Array.isArray(l)&&function(e){return 0===a.Children.count(e)}(l)&&(l=null),a.createElement(b.Provider,{value:o},o.match?l?"function"==typeof l?l(o):l:c?a.createElement(c,o):d?d(o):null:"function"==typeof l?l(o):null)}))},t}(a.Component);function T(e){return"/"===e.charAt(0)?e:"/"+e}function C(e,t){if(!e)return t;var n=T(e);return 0!==t.pathname.indexOf(n)?t:(0,u.Z)({},t,{pathname:t.pathname.substr(n.length)})}function _(e){return"string"==typeof e?e:(0,l.Ep)(e)}function A(e){return function(){(0,s.Z)(!1)}}function P(){}a.Component;var N=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,s.Z)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(o.pathname,(0,u.Z)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var R=a.useContext;function O(){return R(v)}function L(){return R(b).location}},2408:(e,t,n)=>{"use strict";var r=n(7418),a="function"==typeof Symbol&&Symbol.for,o=a?Symbol.for("react.element"):60103,i=a?Symbol.for("react.portal"):60106,l=a?Symbol.for("react.fragment"):60107,s=a?Symbol.for("react.strict_mode"):60108,u=a?Symbol.for("react.profiler"):60114,c=a?Symbol.for("react.provider"):60109,d=a?Symbol.for("react.context"):60110,f=a?Symbol.for("react.forward_ref"):60112,p=a?Symbol.for("react.suspense"):60113,m=a?Symbol.for("react.memo"):60115,h=a?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||b}function k(){}function E(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||b}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=w.prototype;var S=E.prototype=new k;S.constructor=E,r(S,w.prototype),S.isPureReactComponent=!0;var x={current:null},T=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,n){var r,a={},i=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)T.call(t,r)&&!C.hasOwnProperty(r)&&(a[r]=t[r]);var s=arguments.length-2;if(1===s)a.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===a[r]&&(a[r]=s[r]);return{$$typeof:o,type:e,key:i,ref:l,props:a,_owner:x.current}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var P=/\/+/g,N=[];function R(e,t,n,r){if(N.length){var a=N.pop();return a.result=e,a.keyPrefix=t,a.func=n,a.context=r,a.count=0,a}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function O(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function L(e,t,n,r){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var l=!1;if(null===e)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case i:l=!0}}if(l)return n(r,e,""===t?"."+I(e,0):t),1;if(l=0,t=""===t?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){var u=t+I(a=e[s],s);l+=L(a,u,n,r)}else if(null===e||"object"!=typeof e?u=null:u="function"==typeof(u=g&&e[g]||e["@@iterator"])?u:null,"function"==typeof u)for(e=u.call(e),s=0;!(a=e.next()).done;)l+=L(a=a.value,u=t+I(a,s++),n,r);else if("object"===a)throw n=""+e,Error(v(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return l}function D(e,t,n){return null==e?0:L(e,"",t,n)}function I(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function M(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,n){var r=e.result,a=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?B(e,r,n,(function(e){return e})):null!=e&&(A(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,a+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+n)),r.push(e))}function B(e,t,n,r,a){var o="";null!=n&&(o=(""+n).replace(P,"$&/")+"/"),D(e,F,t=R(t,o,r,a)),O(t)}var j={current:null};function z(){var e=j.current;if(null===e)throw Error(v(321));return e}var U={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return B(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;D(e,M,t=R(null,null,t,n)),O(t)},count:function(e){return D(e,(function(){return null}),null)},toArray:function(e){var t=[];return B(e,t,null,(function(e){return e})),t},only:function(e){if(!A(e))throw Error(v(143));return e}},t.Component=w,t.Fragment=l,t.Profiler=u,t.PureComponent=E,t.StrictMode=s,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,n){if(null==e)throw Error(v(267,e));var a=r({},e.props),i=e.key,l=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,s=x.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)T.call(t,c)&&!C.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){u=Array(c);for(var d=0;d<c;d++)u[d]=arguments[d+2];a.children=u}return{$$typeof:o,type:e.type,key:i,ref:l,props:a,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return z().useCallback(e,t)},t.useContext=function(e,t){return z().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return z().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return z().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return z().useLayoutEffect(e,t)},t.useMemo=function(e,t){return z().useMemo(e,t)},t.useReducer=function(e,t,n){return z().useReducer(e,t,n)},t.useRef=function(e){return z().useRef(e)},t.useState=function(e){return z().useState(e)},t.version="16.14.0"},7294:(e,t,n)=>{"use strict";e.exports=n(2408)},53:(e,t)=>{"use strict";var n,r,a,o,i;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,s=null,u=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(n){throw setTimeout(u,0),n}},c=Date.now();t.unstable_now=function(){return Date.now()-c},n=function(e){null!==l?setTimeout(n,0,e):(l=e,setTimeout(u,0))},r=function(e,t){s=setTimeout(e,t)},a=function(){clearTimeout(s)},o=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,p=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var g=f.now();t.unstable_now=function(){return f.now()-g}}var v=!1,b=null,y=-1,w=5,k=0;o=function(){return t.unstable_now()>=k},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var E=new MessageChannel,S=E.port2;E.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();k=e+w;try{b(!0,e)?S.postMessage(null):(v=!1,b=null)}catch(n){throw S.postMessage(null),n}}else v=!1},n=function(e){b=e,v||(v=!0,S.postMessage(null))},r=function(e,n){y=p((function(){e(t.unstable_now())}),n)},a=function(){m(y),y=-1}}function x(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<_(a,t)))break e;e[r]=t,e[n]=a,n=r}}function T(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,i=e[o],l=o+1,s=e[l];if(void 0!==i&&0>_(i,n))void 0!==s&&0>_(s,i)?(e[r]=s,e[l]=n,r=l):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==s&&0>_(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var A=[],P=[],N=1,R=null,O=3,L=!1,D=!1,I=!1;function M(e){for(var t=T(P);null!==t;){if(null===t.callback)C(P);else{if(!(t.startTime<=e))break;C(P),t.sortIndex=t.expirationTime,x(A,t)}t=T(P)}}function F(e){if(I=!1,M(e),!D)if(null!==T(A))D=!0,n(B);else{var t=T(P);null!==t&&r(F,t.startTime-e)}}function B(e,n){D=!1,I&&(I=!1,a()),L=!0;var i=O;try{for(M(n),R=T(A);null!==R&&(!(R.expirationTime>n)||e&&!o());){var l=R.callback;if(null!==l){R.callback=null,O=R.priorityLevel;var s=l(R.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?R.callback=s:R===T(A)&&C(A),M(n)}else C(A);R=T(A)}if(null!==R)var u=!0;else{var c=T(P);null!==c&&r(F,c.startTime-n),u=!1}return u}finally{R=null,O=i,L=!1}}function j(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){D||L||(D=!0,n(B))},t.unstable_getCurrentPriorityLevel=function(){return O},t.unstable_getFirstCallbackNode=function(){return T(A)},t.unstable_next=function(e){switch(O){case 1:case 2:case 3:var t=3;break;default:t=O}var n=O;O=t;try{return e()}finally{O=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=O;O=e;try{return t()}finally{O=n}},t.unstable_scheduleCallback=function(e,o,i){var l=t.unstable_now();if("object"==typeof i&&null!==i){var s=i.delay;s="number"==typeof s&&0<s?l+s:l,i="number"==typeof i.timeout?i.timeout:j(e)}else i=j(e),s=l;return e={id:N++,callback:o,priorityLevel:e,startTime:s,expirationTime:i=s+i,sortIndex:-1},s>l?(e.sortIndex=s,x(P,e),null===T(A)&&e===T(P)&&(I?a():I=!0,r(F,s-l))):(e.sortIndex=i,x(A,e),D||L||(D=!0,n(B))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();M(e);var n=T(A);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<R.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=O;return function(){var n=O;O=t;try{return e.apply(this,arguments)}finally{O=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},6774:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var u=o[s];if(!l(u))return!1;var c=e[u],d=t[u];if(!1===(a=n?n.call(r,c,d,u):void 0)||void 0===a&&c!==d)return!1}return!0}},3250:(e,t,n)=>{"use strict";var r=n(7294);var a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,i=r.useEffect,l=r.useLayoutEffect,s=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!a(e,n)}catch(r){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),a=r[0].inst,c=r[1];return l((function(){a.value=n,a.getSnapshot=t,u(a)&&c({inst:a})}),[e,n,t]),i((function(){return u(a)&&c({inst:a}),e((function(){u(a)&&c({inst:a})}))}),[e]),s(n),n};void 0!==r.useSyncExternalStore&&r.useSyncExternalStore},1688:(e,t,n)=>{"use strict";n(3250)},6809:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"react-accessible-treeview",tagline:"A React component that implements the treeview pattern as described by the WAI-ARIA Authoring Practices.",url:"https://dgreene1.github.io",baseUrl:"/react-accessible-treeview/",favicon:"static/favicon.ico",organizationName:"dgreene1",projectName:"react-accessible-treeview",trailingSlash:!1,themeConfig:{navbar:{title:"react-accessible-treeview",items:[{to:"docs/api",label:"Docs",position:"left"},{to:"docs/examples-Basic",label:"Examples",position:"left"},{href:"https://github.com/dgreene1/react-accessible-treeview",label:"GitHub",position:"right"}],hideOnScroll:!1},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],prism:{additionalLanguages:[],theme:{plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},presets:[["@docusaurus/preset-classic",{docs:{sidebarPath:"/home/runner/work/react-accessible-treeview/react-accessible-treeview/website/sidebars.js"},theme:{customCss:"/home/runner/work/react-accessible-treeview/react-accessible-treeview/website/src/css/custom.css"}}]],baseUrlIssueBanner:!0,i18n:{defaultLocale:"en",path:"i18n",locales:["en"],localeConfigs:{}},onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{mermaid:!1}}},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},5068:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>a})},3366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n.d(t,{Z:()=>r})},8776:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},7529:e=>{"use strict";e.exports={}},6887:e=>{"use strict";e.exports=JSON.parse('{"/react-accessible-treeview/docs-c8e":{"__comp":"1be78505","__context":{"plugin":"80ab3120"},"versionMetadata":"935f2afb"},"/react-accessible-treeview/docs/api-a55":{"__comp":"17896441","content":"5fbc5cf1"},"/react-accessible-treeview/docs/examples-Basic-cdc":{"__comp":"17896441","content":"22f348d2"},"/react-accessible-treeview/docs/examples-ControlledExpandedNode-38a":{"__comp":"17896441","content":"0f6bc27b"},"/react-accessible-treeview/docs/examples-DataTypes-cf2":{"__comp":"17896441","content":"878f79e1"},"/react-accessible-treeview/docs/examples-DirectoryTree-4cb":{"__comp":"17896441","content":"366a509e"},"/react-accessible-treeview/docs/examples-Filtering-ec9":{"__comp":"17896441","content":"e56b3d68"},"/react-accessible-treeview/docs/examples-MultiSelectCheckbox-bb7":{"__comp":"17896441","content":"28e78d68"},"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync-d42":{"__comp":"17896441","content":"64f7982e"},"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled-e23":{"__comp":"17896441","content":"13c4e3bb"},"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled-caf":{"__comp":"17896441","content":"3ec8ed95"},"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled-db9":{"__comp":"17896441","content":"6ebfbd9a"},"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree-340":{"__comp":"17896441","content":"3a56c823"},"/react-accessible-treeview/docs/examples-SingleSelectCheckbox-6d9":{"__comp":"17896441","content":"88d09b9b"},"/react-accessible-treeview/-922":{"__comp":"c4f5d8e4","__context":{"plugin":"f7176354"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[532],(()=>{return t=7221,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.8de11aed.js.LICENSE.txt b/assets/js/main.4fb47343.js.LICENSE.txt similarity index 100% rename from assets/js/main.8de11aed.js.LICENSE.txt rename to assets/js/main.4fb47343.js.LICENSE.txt diff --git a/assets/js/main.8de11aed.js b/assets/js/main.8de11aed.js deleted file mode 100644 index 5cff1551..00000000 --- a/assets/js/main.8de11aed.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.8de11aed.js.LICENSE.txt */ -(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[179],{723:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(7294),a=n(7462),o=n(8356),i=n.n(o),l=n(6887),u={"0f6bc27b":[function(){return Promise.all([n.e(532),n.e(592),n.e(99)]).then(n.bind(n,4650))},"@site/docs/examples-ControlledExpandedNode.mdx",4650],"13c4e3bb":[function(){return Promise.all([n.e(532),n.e(592),n.e(670),n.e(320)]).then(n.bind(n,5532))},"@site/docs/examples-MultiSelectCheckboxAsyncControlled.mdx",5532],17896441:[function(){return Promise.all([n.e(532),n.e(592),n.e(918)]).then(n.bind(n,2839))},"@theme/DocItem",2839],"1be78505":[function(){return Promise.all([n.e(532),n.e(514)]).then(n.bind(n,9963))},"@theme/DocPage",9963],"22f348d2":[function(){return Promise.all([n.e(532),n.e(592),n.e(148)]).then(n.bind(n,5804))},"@site/docs/examples-Basic.mdx",5804],"28e78d68":[function(){return Promise.all([n.e(532),n.e(592),n.e(507)]).then(n.bind(n,2986))},"@site/docs/examples-MultiSelectCheckbox.mdx",2986],"366a509e":[function(){return Promise.all([n.e(532),n.e(592),n.e(859),n.e(891)]).then(n.bind(n,7745))},"@site/docs/examples-DirectoryTree.md",7745],"3a56c823":[function(){return Promise.all([n.e(532),n.e(592),n.e(859),n.e(890)]).then(n.bind(n,8312))},"@site/docs/examples-MultiSelectDirectoryTree.md",8312],"3ec8ed95":[function(){return Promise.all([n.e(532),n.e(592),n.e(147)]).then(n.bind(n,7207))},"@site/docs/examples-MultiSelectCheckboxControlled.mdx",7207],"5e9f5e1a":[function(){return Promise.resolve().then(n.bind(n,6809))},"@generated/docusaurus.config",6809],"5fbc5cf1":[function(){return Promise.all([n.e(592),n.e(207)]).then(n.bind(n,7480))},"@site/docs/api.md",7480],"64f7982e":[function(){return Promise.all([n.e(532),n.e(592),n.e(670),n.e(442)]).then(n.bind(n,1869))},"@site/docs/examples-MultiSelectCheckboxAsync.mdx",1869],"6ebfbd9a":[function(){return Promise.all([n.e(532),n.e(592),n.e(864)]).then(n.bind(n,6532))},"@site/docs/examples-MultiSelectCheckboxDisabled.md",6532],"80ab3120":[function(){return n.e(648).then(n.t.bind(n,3769,19))},"/home/runner/work/react-accessible-treeview/react-accessible-treeview/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"878f79e1":[function(){return Promise.all([n.e(532),n.e(592),n.e(627)]).then(n.bind(n,4892))},"@site/docs/examples-DataTypes.mdx",4892],"88d09b9b":[function(){return Promise.all([n.e(532),n.e(592),n.e(982)]).then(n.bind(n,3112))},"@site/docs/examples-SingleSelectCheckbox.mdx",3112],"935f2afb":[function(){return n.e(53).then(n.t.bind(n,1109,19))},"~docs/default/version-current-metadata-prop-751.json",1109],c4f5d8e4:[function(){return Promise.all([n.e(532),n.e(592),n.e(859),n.e(195)]).then(n.bind(n,5239))},"@site/src/pages/index.js",5239],e56b3d68:[function(){return Promise.all([n.e(532),n.e(592),n.e(73)]).then(n.bind(n,142))},"@site/docs/examples-Filtering.mdx",142],f7176354:[function(){return n.e(535).then(n.t.bind(n,5745,19))},"/home/runner/work/react-accessible-treeview/react-accessible-treeview/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745]};function s(e){var t=e.error,n=e.retry,a=e.pastDelay;return t?r.createElement("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},r.createElement("p",null,String(t)),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},"Retry"))):a?r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},r.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},r.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2"},r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"8"},r.createElement("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))):null}var c=n(9670),d=n(226);function f(e,t){if("*"===e)return i()({loading:s,loader:function(){return n.e(972).then(n.bind(n,4972))},modules:["@theme/NotFound"],webpack:function(){return[4972]},render:function(e,t){var n=e.default;return r.createElement(d.z,{value:{plugin:{name:"native",id:"default"}}},r.createElement(n,t))}});var o=l[e+"-"+t],f={},p=[],m=[],h=(0,c.Z)(o);return Object.entries(h).forEach((function(e){var t=e[0],n=e[1],r=u[n];r&&(f[t]=r[0],p.push(r[1]),m.push(r[2]))})),i().Map({loading:s,loader:f,modules:p,webpack:function(){return m},render:function(t,n){var i=JSON.parse(JSON.stringify(o));Object.entries(t).forEach((function(t){var n=t[0],r=t[1],a=r.default;if(!a)throw new Error("The page component at "+e+" doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.");"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((function(e){return"default"!==e})).forEach((function(e){a[e]=r[e]}));var o=i,l=n.split(".");l.slice(0,-1).forEach((function(e){o=o[e]})),o[l[l.length-1]]=a}));var l=i.__comp;delete i.__comp;var u=i.__context;return delete i.__context,r.createElement(d.z,{value:u},r.createElement(l,(0,a.Z)({},i,n)))}})}var p=[{path:"/react-accessible-treeview/docs",component:f("/react-accessible-treeview/docs","c8e"),routes:[{path:"/react-accessible-treeview/docs/api",component:f("/react-accessible-treeview/docs/api","a55"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-Basic",component:f("/react-accessible-treeview/docs/examples-Basic","cdc"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-ControlledExpandedNode",component:f("/react-accessible-treeview/docs/examples-ControlledExpandedNode","38a"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-DataTypes",component:f("/react-accessible-treeview/docs/examples-DataTypes","cf2"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-DirectoryTree",component:f("/react-accessible-treeview/docs/examples-DirectoryTree","4cb"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-Filtering",component:f("/react-accessible-treeview/docs/examples-Filtering","ec9"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-MultiSelectCheckbox",component:f("/react-accessible-treeview/docs/examples-MultiSelectCheckbox","bb7"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync",component:f("/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync","d42"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled",component:f("/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled","e23"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled",component:f("/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled","caf"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled",component:f("/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled","db9"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree",component:f("/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree","340"),exact:!0,sidebar:"docs"},{path:"/react-accessible-treeview/docs/examples-SingleSelectCheckbox",component:f("/react-accessible-treeview/docs/examples-SingleSelectCheckbox","6d9"),exact:!0,sidebar:"docs"}]},{path:"/react-accessible-treeview/",component:f("/react-accessible-treeview/","922"),exact:!0},{path:"*",component:f("*")}]},8934:function(e,t,n){"use strict";n.d(t,{_:function(){return a},t:function(){return o}});var r=n(7294),a=r.createContext(!1);function o(e){var t=e.children,n=(0,r.useState)(!1),o=n[0],i=n[1];return(0,r.useEffect)((function(){i(!0)}),[]),r.createElement(a.Provider,{value:o},t)}},7221:function(e,t,n){"use strict";var r=n(7294),a=n(3935),o=n(3727),i=n(405),l=n(412),u=[n(2497),n(3310),n(8320),n(2295)],s=n(723),c=n(6550),d=n(8790);function f(e){var t=e.children;return r.createElement(r.Fragment,null,t)}var p=n(7462),m=n(5742),h=n(2263),g=n(4996),v=n(6668),b=n(1944),y=n(4711),w=n(9727),k=n(3320),E=n(8780),S=n(197);function x(){var e=(0,h.Z)().i18n,t=e.defaultLocale,n=e.localeConfigs,a=(0,y.l)();return r.createElement(m.Z,null,Object.entries(n).map((function(e){var t=e[0],n=e[1].htmlLang;return r.createElement("link",{key:t,rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:n})})),r.createElement("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}))}function T(e){var t=e.permalink,n=(0,h.Z)().siteConfig.url,a=function(){var e=(0,h.Z)().siteConfig,t=e.url,n=e.baseUrl,r=e.trailingSlash,a=(0,c.TH)().pathname;return t+(0,E.applyTrailingSlash)((0,g.Z)(a),{trailingSlash:r,baseUrl:n})}(),o=t?""+n+t:a;return r.createElement(m.Z,null,r.createElement("meta",{property:"og:url",content:o}),r.createElement("link",{rel:"canonical",href:o}))}function C(){var e=(0,h.Z)().i18n.currentLocale,t=(0,v.L)(),n=t.metadata,a=t.image;return r.createElement(r.Fragment,null,r.createElement(m.Z,null,r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("body",{className:w.h})),a&&r.createElement(b.d,{image:a}),r.createElement(T,null),r.createElement(x,null),r.createElement(S.Z,{tag:k.HX,locale:e}),r.createElement(m.Z,null,n.map((function(e,t){return r.createElement("meta",(0,p.Z)({key:t},e))}))))}var _=new Map;function A(e){if(_.has(e.pathname))return Object.assign({},e,{pathname:_.get(e.pathname)});if((0,d.f)(s.Z,e.pathname).some((function(e){return!0===e.route.exact})))return _.set(e.pathname,e.pathname),e;var t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return _.set(e.pathname,t),Object.assign({},e,{pathname:t})}var P=n(8934),N=n(8940),R=n(4578);function O(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=u.map((function(t){var r,a,o=null!=(r=null==(a=t.default)?void 0:a[e])?r:t[e];return null==o?void 0:o.apply(void 0,n)}));return function(){return a.forEach((function(e){return null==e?void 0:e()}))}}var L=function(e){var t=e.children,n=e.location,a=e.previousLocation;return(0,r.useLayoutEffect)((function(){a!==n&&(!function(e){var t=e.location,n=e.previousLocation;if(n){var r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(!r||!a||o){var i=t.hash;if(i){var l=decodeURIComponent(i.substring(1)),u=document.getElementById(l);null==u||u.scrollIntoView()}else window.scrollTo(0,0)}}}({location:n,previousLocation:a}),O("onRouteDidUpdate",{previousLocation:a,location:n}))}),[a,n]),t};function I(e){var t=Array.from(new Set([e,decodeURI(e)])).map((function(e){return(0,d.f)(s.Z,e)})).flat();return Promise.all(t.map((function(e){return null==e.route.component.preload?void 0:e.route.component.preload()})))}var D=function(e){function t(t){var n;return(n=e.call(this,t)||this).previousLocation=void 0,n.routeUpdateCleanupCb=void 0,n.previousLocation=null,n.routeUpdateCleanupCb=l.Z.canUseDOM?O("onRouteUpdate",{previousLocation:null,location:n.props.location}):function(){},n.state={nextRouteHasLoaded:!0},n}(0,R.Z)(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e,t){var n=this;if(e.location===this.props.location)return t.nextRouteHasLoaded;var r=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=O("onRouteUpdate",{previousLocation:this.previousLocation,location:r}),I(r.pathname).then((function(){n.routeUpdateCleanupCb(),n.setState({nextRouteHasLoaded:!0})})).catch((function(e){console.warn(e),window.location.reload()})),!1},n.render=function(){var e=this.props,t=e.children,n=e.location;return r.createElement(L,{previousLocation:this.previousLocation,location:n},r.createElement(c.AW,{location:n,render:function(){return t}}))},t}(r.Component),M="__docusaurus-base-url-issue-banner-container",F="__docusaurus-base-url-issue-banner",B="__docusaurus-base-url-issue-banner-suggestion-container",j="__DOCUSAURUS_INSERT_BASEURL_BANNER";function z(e){return"\nwindow['"+j+"'] = true;\n\ndocument.addEventListener('DOMContentLoaded', maybeInsertBanner);\n\nfunction maybeInsertBanner() {\n var shouldInsert = window['"+j+"'];\n shouldInsert && insertBanner();\n}\n\nfunction insertBanner() {\n var bannerContainer = document.getElementById('"+M+"');\n if (!bannerContainer) {\n return;\n }\n var bannerHtml = "+JSON.stringify(function(e){return'\n<div id="'+F+'" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">'+e+"</span> "+("/"===e?" (default value)":"")+'</p>\n <p>We suggest trying baseUrl = <span id="'+B+'" style="font-weight: bold; color: green;"></span></p>\n</div>\n'}(e)).replace(/</g,"\\<")+";\n bannerContainer.innerHTML = bannerHtml;\n var suggestionContainer = document.getElementById('"+B+"');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n"}function U(){var e=(0,h.Z)().siteConfig.baseUrl;return(0,r.useLayoutEffect)((function(){window[j]=!1}),[]),r.createElement(r.Fragment,null,!l.Z.canUseDOM&&r.createElement(m.Z,null,r.createElement("script",null,z(e))),r.createElement("div",{id:M}))}function Z(){var e=(0,h.Z)().siteConfig,t=e.baseUrl,n=e.baseUrlIssueBanner,a=(0,c.TH)().pathname;return n&&a===t?r.createElement(U,null):null}function $(){var e=(0,h.Z)(),t=e.siteConfig,n=t.favicon,a=t.title,o=t.noIndex,i=e.i18n,l=i.currentLocale,u=i.localeConfigs,s=(0,g.Z)(n),c=u[l],d=c.htmlLang,f=c.direction;return r.createElement(m.Z,null,r.createElement("html",{lang:d,dir:f}),r.createElement("title",null,a),r.createElement("meta",{property:"og:title",content:a}),r.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),o&&r.createElement("meta",{name:"robots",content:"noindex, nofollow"}),n&&r.createElement("link",{rel:"icon",href:s}))}var H=n(4763),q=n(2389);function G(){var e=(0,q.Z)();return r.createElement(m.Z,null,r.createElement("html",{"data-has-hydrated":e}))}function V(){var e=(0,d.H)(s.Z),t=(0,c.TH)();return r.createElement(H.Z,null,r.createElement(N.M,null,r.createElement(P.t,null,r.createElement(f,null,r.createElement($,null),r.createElement(C,null),r.createElement(Z,null),r.createElement(D,{location:A(t)},e)),r.createElement(G,null))))}var W=n(6887);var K=function(e){try{return document.createElement("link").relList.supports(e)}catch(t){return!1}}("prefetch")?function(e){return new Promise((function(t,n){var r,a;if("undefined"!=typeof document){var o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),o.onload=function(){return t()},o.onerror=function(){return n()};var i=null!=(r=document.getElementsByTagName("head")[0])?r:null==(a=document.getElementsByName("script")[0])?void 0:a.parentNode;null==i||i.appendChild(o)}else n()}))}:function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=function(){200===r.status?t():n()},r.send(null)}))};var Y=n(9670),Q=new Set,X=new Set,J=function(){var e,t;return(null==(e=navigator.connection)?void 0:e.effectiveType.includes("2g"))||(null==(t=navigator.connection)?void 0:t.saveData)},ee={prefetch:function(e){if(!function(e){return!J()&&!X.has(e)&&!Q.has(e)}(e))return!1;Q.add(e);var t=(0,d.f)(s.Z,e).flatMap((function(e){return t=e.route.path,Object.entries(W).filter((function(e){return e[0].replace(/-[^-]+$/,"")===t})).flatMap((function(e){var t=e[1];return Object.values((0,Y.Z)(t))}));var t}));return Promise.all(t.map((function(e){var t=n.gca(e);return t&&!t.includes("undefined")?K(t).catch((function(){})):Promise.resolve()})))},preload:function(e){return!!function(e){return!J()&&!X.has(e)}(e)&&(X.add(e),I(e))}},te=Object.freeze(ee);if(l.Z.canUseDOM){window.docusaurus=te;var ne=a.hydrate;I(window.location.pathname).then((function(){ne(r.createElement(i.B6,null,r.createElement(o.VK,null,r.createElement(V,null))),document.getElementById("__docusaurus"))}))}},8940:function(e,t,n){"use strict";n.d(t,{_:function(){return c},M:function(){return d}});var r=n(7294),a=n(6809),o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/react-accessible-treeview/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/react-accessible-treeview/docs","mainDocId":"api","docs":[{"id":"api","path":"/react-accessible-treeview/docs/api","sidebar":"docs"},{"id":"examples-Basic","path":"/react-accessible-treeview/docs/examples-Basic","sidebar":"docs"},{"id":"examples-ControlledExpandedNode","path":"/react-accessible-treeview/docs/examples-ControlledExpandedNode","sidebar":"docs"},{"id":"examples-DataTypes","path":"/react-accessible-treeview/docs/examples-DataTypes","sidebar":"docs"},{"id":"examples-DirectoryTree","path":"/react-accessible-treeview/docs/examples-DirectoryTree","sidebar":"docs"},{"id":"examples-Filtering","path":"/react-accessible-treeview/docs/examples-Filtering","sidebar":"docs"},{"id":"examples-MultiSelectCheckbox","path":"/react-accessible-treeview/docs/examples-MultiSelectCheckbox","sidebar":"docs"},{"id":"examples-MultiSelectCheckboxAsync","path":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync","sidebar":"docs"},{"id":"examples-MultiSelectCheckboxAsyncControlled","path":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled","sidebar":"docs"},{"id":"examples-MultiSelectCheckboxControlled","path":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled","sidebar":"docs"},{"id":"examples-MultiSelectCheckboxDisabled","path":"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled","sidebar":"docs"},{"id":"examples-MultiSelectDirectoryTree","path":"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree","sidebar":"docs"},{"id":"examples-SingleSelectCheckbox","path":"/react-accessible-treeview/docs/examples-SingleSelectCheckbox","sidebar":"docs"}],"draftIds":[],"sidebars":{"docs":{"link":{"path":"/react-accessible-treeview/docs/api","label":"api"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}'),l=n(7529),u=JSON.parse('{"docusaurusVersion":"2.4.3","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"2.4.3"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"2.4.3"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.4.3"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.4.3"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.4.3"}}}'),s={siteConfig:a.default,siteMetadata:u,globalData:o,i18n:i,codeTranslations:l},c=r.createContext(s);function d(e){var t=e.children;return r.createElement(c.Provider,{value:s},t)}},4763:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(4578),a=n(7294),o=n(412),i=n(5742),l=n(8780),u=n(7961);function s(e){var t=e.error,n=e.tryAgain;return a.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"}},a.createElement("h1",{style:{fontSize:"3rem"}},"This page crashed"),a.createElement("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"}},"Try again"),a.createElement(c,{error:t}))}function c(e){var t=e.error,n=(0,l.getErrorCausalChain)(t).map((function(e){return e.message})).join("\n\nCause:\n");return a.createElement("p",{style:{whiteSpace:"pre-wrap"}},n)}function d(e){var t=e.error,n=e.tryAgain;return a.createElement(p,{fallback:function(){return a.createElement(s,{error:t,tryAgain:n})}},a.createElement(i.Z,null,a.createElement("title",null,"Page Error")),a.createElement(u.Z,null,a.createElement(s,{error:t,tryAgain:n})))}var f=function(e){return a.createElement(d,e)},p=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={error:null},n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidCatch=function(e){o.Z.canUseDOM&&this.setState({error:e})},n.render=function(){var e=this,t=this.props.children,n=this.state.error;if(n){var r,a={error:n,tryAgain:function(){return e.setState({error:null})}};return(null!=(r=this.props.fallback)?r:f)(a)}return null!=t?t:null},t}(a.Component)},412:function(e,t){"use strict";var n="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,r={canUseDOM:n,canUseEventListeners:n&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:n&&"IntersectionObserver"in window,canUseViewport:n&&"screen"in window};t.Z=r},5742:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7294),a=n(405);function o(e){return r.createElement(a.ql,e)}},9960:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(7462),a=n(3366),o=n(7294),i=n(3727),l=n(8780),u=n(2263),s=n(3919),c=n(412),d=o.createContext({collectLink:function(){}});var f=n(4996),p=["isNavLink","to","href","activeClassName","isActive","data-noBrokenLinkCheck","autoAddBaseUrl"];function m(e,t){var n,m,h=e.isNavLink,g=e.to,v=e.href,b=e.activeClassName,y=e.isActive,w=e["data-noBrokenLinkCheck"],k=e.autoAddBaseUrl,E=void 0===k||k,S=(0,a.Z)(e,p),x=(0,u.Z)().siteConfig,T=x.trailingSlash,C=x.baseUrl,_=(0,f.C)().withBaseUrl,A=(0,o.useContext)(d),P=(0,o.useRef)(null);(0,o.useImperativeHandle)(t,(function(){return P.current}));var N=g||v;var R,O=(0,s.Z)(N),L=null==N?void 0:N.replace("pathname://",""),I=void 0!==L?(R=L,E&&function(e){return e.startsWith("/")}(R)?_(R):R):void 0;I&&O&&(I=(0,l.applyTrailingSlash)(I,{trailingSlash:T,baseUrl:C}));var D=(0,o.useRef)(!1),M=h?i.OL:i.rU,F=c.Z.canUseIntersectionObserver,B=(0,o.useRef)(),j=function(){D.current||null==I||(window.docusaurus.preload(I),D.current=!0)};(0,o.useEffect)((function(){return!F&&O&&null!=I&&window.docusaurus.prefetch(I),function(){F&&B.current&&B.current.disconnect()}}),[B,I,F,O]);var z=null!=(n=null==(m=I)?void 0:m.startsWith("#"))&&n,U=!I||!O||z;return U||w||A.collectLink(I),U?o.createElement("a",(0,r.Z)({ref:P,href:I},N&&!O&&{target:"_blank",rel:"noopener noreferrer"},S)):o.createElement(M,(0,r.Z)({},S,{onMouseEnter:j,onTouchStart:j,innerRef:function(e){P.current=e,F&&e&&O&&(B.current=new window.IntersectionObserver((function(t){t.forEach((function(t){e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(B.current.unobserve(e),B.current.disconnect(),null!=I&&window.docusaurus.prefetch(I))}))})),B.current.observe(e))},to:I},h&&{isActive:y,activeClassName:b}))}var h=o.forwardRef(m)},1875:function(e,t){"use strict";t.Z=function(){return null}},5999:function(e,t,n){"use strict";n.d(t,{Z:function(){return u},I:function(){return l}});var r=n(7294);function a(e,t){var n=e.split(/(\{\w+\})/).map((function(e,n){if(n%2==1){var r=null==t?void 0:t[e.slice(1,-1)];if(void 0!==r)return r}return e}));return n.some((function(e){return(0,r.isValidElement)(e)}))?n.map((function(e,t){return(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e})).filter((function(e){return""!==e})):n.join("")}var o=n(7529);function i(e){var t,n,r=e.id,a=e.message;if(void 0===r&&void 0===a)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return null!=(t=null!=(n=o[null!=r?r:a])?n:a)?t:r}function l(e,t){return a(i({message:e.message,id:e.id}),t)}function u(e){var t=e.children,n=e.id,o=e.values;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");var l=i({message:t,id:n});return r.createElement(r.Fragment,null,a(l,o))}},9935:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var r="default"},3919:function(e,t,n){"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:function(){return a},b:function(){return r}})},4996:function(e,t,n){"use strict";n.d(t,{C:function(){return i},Z:function(){return l}});var r=n(7294),a=n(2263),o=n(3919);function i(){var e=(0,a.Z)().siteConfig,t=e.baseUrl,n=e.url,i=(0,r.useCallback)((function(e,r){return function(e,t,n,r){var a=void 0===r?{}:r,i=a.forcePrependBaseUrl,l=void 0!==i&&i,u=a.absolute,s=void 0!==u&&u;if(!n||n.startsWith("#")||(0,o.b)(n))return n;if(l)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;var c=n.startsWith(t)?n:t+n.replace(/^\//,"");return s?e+c:c}(n,t,e,r)}),[n,t]);return{withBaseUrl:i}}function l(e,t){return void 0===t&&(t={}),(0,i().withBaseUrl)(e,t)}},2263:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7294),a=n(8940);function o(){return(0,r.useContext)(a._)}},2389:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7294),a=n(8934);function o(){return(0,r.useContext)(a._)}},9670:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=function(e){return"object"==typeof e&&!!e&&Object.keys(e).length>0};function a(e){var t={};return function e(n,a){Object.entries(n).forEach((function(n){var o=n[0],i=n[1],l=a?a+"."+o:o;r(i)?e(i,l):t[l]=i}))}(e),t}},226:function(e,t,n){"use strict";n.d(t,{_:function(){return a},z:function(){return o}});var r=n(7294),a=r.createContext(null);function o(e){var t=e.children,n=e.value,o=r.useContext(a),i=(0,r.useMemo)((function(){return function(e){var t=e.parent,n=e.value;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}var r=Object.assign({},t.data,null==n?void 0:n.data);return{plugin:t.plugin,data:r}}({parent:o,value:n})}),[o,n]);return r.createElement(a.Provider,{value:i},t)}},143:function(e,t,n){"use strict";n.d(t,{Iw:function(){return h},gA:function(){return f},_r:function(){return c},Jo:function(){return g},zh:function(){return d},yW:function(){return m},gB:function(){return p}});var r=n(6550),a=n(2263),o=n(9935);function i(e,t){void 0===t&&(t={});var n=(0,a.Z)().globalData[e];if(!n&&t.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin.');return n}var l=function(e){return e.versions.find((function(e){return e.isLast}))};function u(e,t){var n,a,o=function(e,t){var n=l(e);return[].concat(e.versions.filter((function(e){return e!==n})),[n]).find((function(e){return!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})}))}(e,t),i=null==o?void 0:o.docs.find((function(e){return!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})}));return{activeVersion:o,activeDoc:i,alternateDocVersions:i?(n=i.id,a={},e.versions.forEach((function(e){e.docs.forEach((function(t){t.id===n&&(a[e.name]=t)}))})),a):{}}}var s={},c=function(){var e;return null!=(e=i("docusaurus-plugin-content-docs"))?e:s},d=function(e){return function(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});var r=i(e),a=null==r?void 0:r[t];if(!a&&n.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin with id "'+t+'".');return a}("docusaurus-plugin-content-docs",e,{failfast:!0})};function f(e){return void 0===e&&(e={}),function(e,t,n){void 0===n&&(n={});var a=Object.entries(e).sort((function(e,t){return t[1].path.localeCompare(e[1].path)})).find((function(e){var n=e[1];return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error("Can't find active docs plugin for \""+t+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(e).map((function(e){return e.path})).join(", "));return o}(c(),(0,r.TH)().pathname,e)}function p(e){return d(e).versions}function m(e){var t=d(e);return l(t)}function h(e){return u(d(e),(0,r.TH)().pathname)}function g(e){return function(e,t){var n=l(e);return{latestDocSuggestion:u(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(d(e),(0,r.TH)().pathname)}},8320:function(e,t,n){"use strict";n.r(t);var r=n(4865),a=n.n(r);a().configure({showSpinner:!1});var o={onRouteUpdate:function(e){var t=e.location,n=e.previousLocation;if(n&&t.pathname!==n.pathname){var r=window.setTimeout((function(){a().start()}),200);return function(){return window.clearTimeout(r)}}},onRouteDidUpdate:function(){a().done()}};t.default=o},3310:function(e,t,n){"use strict";n.r(t);var r,a,o=n(7410),i=n(6809);r=o.Z,a=i.default.themeConfig.prism.additionalLanguages,globalThis.Prism=r,a.forEach((function(e){n(6726)("./prism-"+e)})),delete globalThis.Prism},9471:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7294),a={iconExternalLink:"iconExternalLink_nPIU"};function o(e){var t=e.width,n=void 0===t?13.5:t,o=e.height,i=void 0===o?13.5:o;return r.createElement("svg",{width:n,height:i,"aria-hidden":"true",viewBox:"0 0 24 24",className:a.iconExternalLink},r.createElement("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"}))}},7961:function(e,t,n){"use strict";n.d(t,{Z:function(){return Nt}});var r=n(7294),a=n(6010),o=n(4763),i=n(1944),l=n(7462),u=n(6550),s=n(5999),c=n(5936),d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function p(){var e=(0,r.useRef)(null),t=(0,u.k6)().action,n=(0,r.useCallback)((function(e){e.preventDefault();var t,n=null!=(t=document.querySelector("main:first-of-type"))?t:document.getElementById(d);n&&f(n)}),[]);return(0,c.S)((function(n){var r=n.location;e.current&&!r.hash&&"PUSH"===t&&f(e.current)})),{containerRef:e,onClick:n}}var m=(0,s.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function h(e){var t,n=null!=(t=e.children)?t:m,a=p(),o=a.containerRef,i=a.onClick;return r.createElement("div",{ref:o,role:"region","aria-label":m},r.createElement("a",(0,l.Z)({},e,{href:"#"+d,onClick:i}),n))}var g=n(5281),v=n(9727),b={skipToContent:"skipToContent_fXgn"};function y(){return r.createElement(h,{className:b.skipToContent})}var w=n(6668),k=n(9689),E=n(3366),S=["width","height","color","strokeWidth","className"];function x(e){var t=e.width,n=void 0===t?21:t,a=e.height,o=void 0===a?21:a,i=e.color,u=void 0===i?"currentColor":i,s=e.strokeWidth,c=void 0===s?1.2:s,d=(e.className,(0,E.Z)(e,S));return r.createElement("svg",(0,l.Z)({viewBox:"0 0 15 15",width:n,height:o},d),r.createElement("g",{stroke:u,strokeWidth:c},r.createElement("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})))}var T={closeButton:"closeButton_CVFx"};function C(e){return r.createElement("button",(0,l.Z)({type:"button","aria-label":(0,s.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},e,{className:(0,a.Z)("clean-btn close",T.closeButton,e.className)}),r.createElement(x,{width:14,height:14,strokeWidth:3.1}))}var _={content:"content_knG7"};function A(e){var t=(0,w.L)().announcementBar.content;return r.createElement("div",(0,l.Z)({},e,{className:(0,a.Z)(_.content,e.className),dangerouslySetInnerHTML:{__html:t}}))}var P={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function N(){var e=(0,w.L)().announcementBar,t=(0,k.nT)(),n=t.isActive,a=t.close;if(!n)return null;var o=e.backgroundColor,i=e.textColor,l=e.isCloseable;return r.createElement("div",{className:P.announcementBar,style:{backgroundColor:o,color:i},role:"banner"},l&&r.createElement("div",{className:P.announcementBarPlaceholder}),r.createElement(A,{className:P.announcementBarContent}),l&&r.createElement(C,{onClick:a,className:P.announcementBarClose}))}var R=n(2961),O=n(2466);var L=n(9688),I=n(3102),D=r.createContext(null);function M(e){var t,n,a,o,i,l,u,s=e.children,c=(t=(0,R.e)(),n=(0,I.HY)(),a=(0,r.useState)(!1),o=a[0],i=a[1],l=null!==n.component,u=(0,L.D9)(l),(0,r.useEffect)((function(){l&&!u&&i(!0)}),[l,u]),(0,r.useEffect)((function(){l?t.shown||i(!0):i(!1)}),[t.shown,l]),(0,r.useMemo)((function(){return[o,i]}),[o]));return r.createElement(D.Provider,{value:c},s)}function F(e){if(e.component){var t=e.component;return r.createElement(t,e.props)}}function B(){var e=(0,r.useContext)(D);if(!e)throw new L.i6("NavbarSecondaryMenuDisplayProvider");var t=e[0],n=e[1],a=(0,r.useCallback)((function(){return n(!1)}),[n]),o=(0,I.HY)();return(0,r.useMemo)((function(){return{shown:t,hide:a,content:F(o)}}),[a,o,t])}function j(e){var t=e.header,n=e.primaryMenu,o=e.secondaryMenu,i=B().shown;return r.createElement("div",{className:"navbar-sidebar"},t,r.createElement("div",{className:(0,a.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":i})},r.createElement("div",{className:"navbar-sidebar__item menu"},n),r.createElement("div",{className:"navbar-sidebar__item menu"},o)))}var z=n(2949),U=n(2389);function Z(e){return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"}))}function $(e){return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"}))}var H={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function q(e){var t=e.className,n=e.buttonClassName,o=e.value,i=e.onChange,l=(0,U.Z)(),u=(0,s.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===o?(0,s.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,s.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return r.createElement("div",{className:(0,a.Z)(H.toggle,t)},r.createElement("button",{className:(0,a.Z)("clean-btn",H.toggleButton,!l&&H.toggleButtonDisabled,n),type:"button",onClick:function(){return i("dark"===o?"light":"dark")},disabled:!l,title:u,"aria-label":u,"aria-live":"polite"},r.createElement(Z,{className:(0,a.Z)(H.toggleIcon,H.lightToggleIcon)}),r.createElement($,{className:(0,a.Z)(H.toggleIcon,H.darkToggleIcon)})))}var G=r.memo(q),V={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function W(e){var t=e.className,n=(0,w.L)().navbar.style,a=(0,w.L)().colorMode.disableSwitch,o=(0,z.I)(),i=o.colorMode,l=o.setColorMode;return a?null:r.createElement(G,{className:t,buttonClassName:"dark"===n?V.darkNavbarColorModeToggle:void 0,value:i,onChange:l})}var K=n(1327);function Y(){return r.createElement(K.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){var e=(0,R.e)();return r.createElement("button",{type:"button","aria-label":(0,s.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:function(){return e.toggle()}},r.createElement(x,{color:"var(--ifm-color-emphasis-600)"}))}function X(){return r.createElement("div",{className:"navbar-sidebar__brand"},r.createElement(Y,null),r.createElement(W,{className:"margin-right--md"}),r.createElement(Q,null))}var J=n(9960),ee=n(4996),te=n(3919);function ne(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var re=n(9471),ae=["activeBasePath","activeBaseRegex","to","href","label","html","isDropdownLink","prependBaseUrlToHref"];function oe(e){var t=e.activeBasePath,n=e.activeBaseRegex,a=e.to,o=e.href,i=e.label,u=e.html,s=e.isDropdownLink,c=e.prependBaseUrlToHref,d=(0,E.Z)(e,ae),f=(0,ee.Z)(a),p=(0,ee.Z)(t),m=(0,ee.Z)(o,{forcePrependBaseUrl:!0}),h=i&&o&&!(0,te.Z)(o),g=u?{dangerouslySetInnerHTML:{__html:u}}:{children:r.createElement(r.Fragment,null,i,h&&r.createElement(re.Z,s&&{width:12,height:12}))};return o?r.createElement(J.Z,(0,l.Z)({href:c?m:o},d,g)):r.createElement(J.Z,(0,l.Z)({to:f,isNavLink:!0},(t||n)&&{isActive:function(e,t){return n?ne(n,t.pathname):t.pathname.startsWith(p)}},d,g))}var ie=["className","isDropdownItem"],le=["className","isDropdownItem"],ue=["mobile","position"];function se(e){var t=e.className,n=e.isDropdownItem,o=void 0!==n&&n,i=(0,E.Z)(e,ie),u=r.createElement(oe,(0,l.Z)({className:(0,a.Z)(o?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:o},i));return o?r.createElement("li",null,u):u}function ce(e){var t=e.className,n=(e.isDropdownItem,(0,E.Z)(e,le));return r.createElement("li",{className:"menu__list-item"},r.createElement(oe,(0,l.Z)({className:(0,a.Z)("menu__link",t)},n)))}function de(e){var t,n=e.mobile,a=void 0!==n&&n,o=(e.position,(0,E.Z)(e,ue)),i=a?ce:se;return r.createElement(i,(0,l.Z)({},o,{activeClassName:null!=(t=o.activeClassName)?t:a?"menu__link--active":"navbar__link--active"}))}var fe=n(6043),pe=n(8596),me=n(2263);var he=["items","position","className","onClick"],ge=["items","className","position","onClick"],ve=["mobile"];function be(e,t){return e.some((function(e){return function(e,t){return!!(0,pe.Mg)(e.to,t)||!!ne(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)}))}function ye(e){var t,n=e.items,o=e.position,i=e.className,u=(e.onClick,(0,E.Z)(e,he)),s=(0,r.useRef)(null),c=(0,r.useState)(!1),d=c[0],f=c[1];return(0,r.useEffect)((function(){var e=function(e){s.current&&!s.current.contains(e.target)&&f(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),function(){document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[s]),r.createElement("div",{ref:s,className:(0,a.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===o,"dropdown--show":d})},r.createElement(oe,(0,l.Z)({"aria-haspopup":"true","aria-expanded":d,role:"button",href:u.to?void 0:"#",className:(0,a.Z)("navbar__link",i)},u,{onClick:u.to?void 0:function(e){return e.preventDefault()},onKeyDown:function(e){"Enter"===e.key&&(e.preventDefault(),f(!d))}}),null!=(t=u.children)?t:u.label),r.createElement("ul",{className:"dropdown__menu"},n.map((function(e,t){return r.createElement(ze,(0,l.Z)({isDropdownItem:!0,activeClassName:"dropdown__link--active"},e,{key:t}))}))))}function we(e){var t,n,o=e.items,i=e.className,s=(e.position,e.onClick),c=(0,E.Z)(e,ge),d=(n=(0,me.Z)().siteConfig.baseUrl,(0,u.TH)().pathname.replace(n,"/")),f=be(o,d),p=(0,fe.u)({initialState:function(){return!f}}),m=p.collapsed,h=p.toggleCollapsed,g=p.setCollapsed;return(0,r.useEffect)((function(){f&&g(!f)}),[d,f,g]),r.createElement("li",{className:(0,a.Z)("menu__list-item",{"menu__list-item--collapsed":m})},r.createElement(oe,(0,l.Z)({role:"button",className:(0,a.Z)("menu__link menu__link--sublist menu__link--sublist-caret",i)},c,{onClick:function(e){e.preventDefault(),h()}}),null!=(t=c.children)?t:c.label),r.createElement(fe.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:m},o.map((function(e,t){return r.createElement(ze,(0,l.Z)({mobile:!0,isDropdownItem:!0,onClick:s,activeClassName:"menu__link--active"},e,{key:t}))}))))}function ke(e){var t=e.mobile,n=void 0!==t&&t,a=(0,E.Z)(e,ve),o=n?we:ye;return r.createElement(o,a)}var Ee=n(4711),Se=["width","height"];function xe(e){var t=e.width,n=void 0===t?20:t,a=e.height,o=void 0===a?20:a,i=(0,E.Z)(e,Se);return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:n,height:o,"aria-hidden":!0},i),r.createElement("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"}))}var Te="iconLanguage_nlXk",Ce=["mobile","dropdownItemsBefore","dropdownItemsAfter"];var _e=n(1875),Ae={searchBox:"searchBox_ZlJk"};function Pe(e){var t=e.children,n=e.className;return r.createElement("div",{className:(0,a.Z)(n,Ae.searchBox)},t)}var Ne=n(143),Re=n(8425),Oe=["docId","label","docsPluginId"];var Le=["sidebarId","label","docsPluginId"];var Ie=["label","to","docsPluginId"];var De=n(373),Me=["mobile","docsPluginId","dropdownActiveClassDisabled","dropdownItemsBefore","dropdownItemsAfter"],Fe=function(e){return e.docs.find((function(t){return t.id===e.mainDocId}))};var Be={default:de,localeDropdown:function(e){var t=e.mobile,n=e.dropdownItemsBefore,a=e.dropdownItemsAfter,o=(0,E.Z)(e,Ce),i=(0,me.Z)().i18n,c=i.currentLocale,d=i.locales,f=i.localeConfigs,p=(0,Ee.l)(),m=(0,u.TH)(),h=m.search,g=m.hash,v=d.map((function(e){var n=""+("pathname://"+p.createUrl({locale:e,fullyQualified:!1}))+h+g;return{label:f[e].label,lang:f[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===c?t?"menu__link--active":"dropdown__link--active":""}})),b=[].concat(n,v,a),y=t?(0,s.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):f[c].label;return r.createElement(ke,(0,l.Z)({},o,{mobile:t,label:r.createElement(r.Fragment,null,r.createElement(xe,{className:Te}),y),items:b}))},search:function(e){var t=e.mobile,n=e.className;return t?null:r.createElement(Pe,{className:n},r.createElement(_e.Z,null))},dropdown:ke,html:function(e){var t=e.value,n=e.className,o=e.mobile,i=void 0!==o&&o,l=e.isDropdownItem,u=void 0!==l&&l,s=u?"li":"div";return r.createElement(s,{className:(0,a.Z)({navbar__item:!i&&!u,"menu__list-item":i},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){var t=e.docId,n=e.label,a=e.docsPluginId,o=(0,E.Z)(e,Oe),i=(0,Ne.Iw)(a).activeDoc,u=(0,Re.vY)(t,a);return null===u?null:r.createElement(de,(0,l.Z)({exact:!0},o,{isActive:function(){return(null==i?void 0:i.path)===u.path||!(null==i||!i.sidebar)&&i.sidebar===u.sidebar},label:null!=n?n:u.id,to:u.path}))},docSidebar:function(e){var t=e.sidebarId,n=e.label,a=e.docsPluginId,o=(0,E.Z)(e,Le),i=(0,Ne.Iw)(a).activeDoc,u=(0,Re.oz)(t,a).link;if(!u)throw new Error('DocSidebarNavbarItem: Sidebar with ID "'+t+"\" doesn't have anything to be linked to.");return r.createElement(de,(0,l.Z)({exact:!0},o,{isActive:function(){return(null==i?void 0:i.sidebar)===t},label:null!=n?n:u.label,to:u.path}))},docsVersion:function(e){var t=e.label,n=e.to,a=e.docsPluginId,o=(0,E.Z)(e,Ie),i=(0,Re.lO)(a)[0],u=null!=t?t:i.label,s=null!=n?n:function(e){return e.docs.find((function(t){return t.id===e.mainDocId}))}(i).path;return r.createElement(de,(0,l.Z)({},o,{label:u,to:s}))},docsVersionDropdown:function(e){var t=e.mobile,n=e.docsPluginId,a=e.dropdownActiveClassDisabled,o=e.dropdownItemsBefore,i=e.dropdownItemsAfter,c=(0,E.Z)(e,Me),d=(0,u.TH)(),f=d.search,p=d.hash,m=(0,Ne.Iw)(n),h=(0,Ne.gB)(n),g=(0,De.J)(n).savePreferredVersionName,v=h.map((function(e){var t,n=null!=(t=m.alternateDocVersions[e.name])?t:Fe(e);return{label:e.label,to:""+n.path+f+p,isActive:function(){return e===m.activeVersion},onClick:function(){return g(e.name)}}})),b=[].concat(o,v,i),y=(0,Re.lO)(n)[0],w=t&&b.length>1?(0,s.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):y.label,k=t&&b.length>1?void 0:Fe(y).path;return b.length<=1?r.createElement(de,(0,l.Z)({},c,{mobile:t,label:w,to:k,isActive:a?function(){return!1}:void 0})):r.createElement(ke,(0,l.Z)({},c,{mobile:t,label:w,to:k,items:b,isActive:a?function(){return!1}:void 0}))}},je=["type"];function ze(e){var t=e.type,n=(0,E.Z)(e,je),a=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=Be[a];if(!o)throw new Error('No NavbarItem component found for type "'+t+'".');return r.createElement(o,n)}function Ue(){var e=(0,R.e)(),t=(0,w.L)().navbar.items;return r.createElement("ul",{className:"menu__list"},t.map((function(t,n){return r.createElement(ze,(0,l.Z)({mobile:!0},t,{onClick:function(){return e.toggle()},key:n}))})))}function Ze(e){return r.createElement("button",(0,l.Z)({},e,{type:"button",className:"clean-btn navbar-sidebar__back"}),r.createElement(s.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"},"\u2190 Back to main menu"))}function $e(){var e=0===(0,w.L)().navbar.items.length,t=B();return r.createElement(r.Fragment,null,!e&&r.createElement(Ze,{onClick:function(){return t.hide()}}),t.content)}function He(){var e,t=(0,R.e)();return void 0===(e=t.shown)&&(e=!0),(0,r.useEffect)((function(){return document.body.style.overflow=e?"hidden":"visible",function(){document.body.style.overflow="visible"}}),[e]),t.shouldRender?r.createElement(j,{header:r.createElement(X,null),primaryMenu:r.createElement(Ue,null),secondaryMenu:r.createElement($e,null)}):null}var qe={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Ge(e){return r.createElement("div",(0,l.Z)({role:"presentation"},e,{className:(0,a.Z)("navbar-sidebar__backdrop",e.className)}))}function Ve(e){var t=e.children,n=(0,w.L)().navbar,o=n.hideOnScroll,i=n.style,l=(0,R.e)(),u=function(e){var t=(0,r.useState)(e),n=t[0],a=t[1],o=(0,r.useRef)(!1),i=(0,r.useRef)(0),l=(0,r.useCallback)((function(e){null!==e&&(i.current=e.getBoundingClientRect().height)}),[]);return(0,O.RF)((function(t,n){var r=t.scrollY;if(e)if(r<i.current)a(!0);else if(o.current)o.current=!1;else{var l=null==n?void 0:n.scrollY,u=document.documentElement.scrollHeight-i.current,s=window.innerHeight;l&&r>=l?a(!1):r+s<u&&a(!0)}})),(0,c.S)((function(t){if(e){var n=t.location.hash;if(n?document.getElementById(n.substring(1)):void 0)return o.current=!0,void a(!1);a(!0)}})),{navbarRef:l,isNavbarVisible:n}}(o),d=u.navbarRef,f=u.isNavbarVisible;return r.createElement("nav",{ref:d,"aria-label":(0,s.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.Z)("navbar","navbar--fixed-top",o&&[qe.navbarHideable,!f&&qe.navbarHidden],{"navbar--dark":"dark"===i,"navbar--primary":"primary"===i,"navbar-sidebar--show":l.shown})},t,r.createElement(Ge,{onClick:l.toggle}),r.createElement(He,null))}var We=n(4578),Ke=n(8780),Ye={errorBoundaryError:"errorBoundaryError_a6uf"};function Qe(e){return r.createElement("button",(0,l.Z)({type:"button"},e),r.createElement(s.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error"},"Try again"))}function Xe(e){var t=e.error,n=(0,Ke.getErrorCausalChain)(t).map((function(e){return e.message})).join("\n\nCause:\n");return r.createElement("p",{className:Ye.errorBoundaryError},n)}var Je=function(e){function t(){return e.apply(this,arguments)||this}(0,We.Z)(t,e);var n=t.prototype;return n.componentDidCatch=function(e,t){throw this.props.onError(e,t)},n.render=function(){return this.props.children},t}(r.Component),et="right";var tt=["width","height","className"];function nt(e){var t=e.width,n=void 0===t?30:t,a=e.height,o=void 0===a?30:a,i=e.className,u=(0,E.Z)(e,tt);return r.createElement("svg",(0,l.Z)({className:i,width:n,height:o,viewBox:"0 0 30 30","aria-hidden":"true"},u),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}function rt(){var e=(0,R.e)(),t=e.toggle,n=e.shown;return r.createElement("button",{onClick:t,"aria-label":(0,s.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":n,className:"navbar__toggle clean-btn",type:"button"},r.createElement(nt,null))}var at={colorModeToggle:"colorModeToggle_DEke"};function ot(e){var t=e.items;return r.createElement(r.Fragment,null,t.map((function(e,t){return r.createElement(Je,{key:t,onError:function(t){return new Error("A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n"+JSON.stringify(e,null,2),{cause:t})}},r.createElement(ze,e))})))}function it(e){var t=e.left,n=e.right;return r.createElement("div",{className:"navbar__inner"},r.createElement("div",{className:"navbar__items"},t),r.createElement("div",{className:"navbar__items navbar__items--right"},n))}function lt(){var e=(0,R.e)(),t=(0,w.L)().navbar.items,n=function(e){function t(e){var t;return"left"===(null!=(t=e.position)?t:et)}return[e.filter(t),e.filter((function(e){return!t(e)}))]}(t),a=n[0],o=n[1],i=t.find((function(e){return"search"===e.type}));return r.createElement(it,{left:r.createElement(r.Fragment,null,!e.disabled&&r.createElement(rt,null),r.createElement(Y,null),r.createElement(ot,{items:a})),right:r.createElement(r.Fragment,null,r.createElement(ot,{items:o}),r.createElement(W,{className:at.colorModeToggle}),!i&&r.createElement(Pe,null,r.createElement(_e.Z,null)))})}function ut(){return r.createElement(Ve,null,r.createElement(lt,null))}var st=["to","href","label","prependBaseUrlToHref"];function ct(e){var t=e.item,n=t.to,a=t.href,o=t.label,i=t.prependBaseUrlToHref,u=(0,E.Z)(t,st),s=(0,ee.Z)(n),c=(0,ee.Z)(a,{forcePrependBaseUrl:!0});return r.createElement(J.Z,(0,l.Z)({className:"footer__link-item"},a?{href:i?c:a}:{to:s},u),o,a&&!(0,te.Z)(a)&&r.createElement(re.Z,null))}function dt(e){var t,n=e.item;return n.html?r.createElement("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:n.html}}):r.createElement("li",{key:null!=(t=n.href)?t:n.to,className:"footer__item"},r.createElement(ct,{item:n}))}function ft(e){var t=e.column;return r.createElement("div",{className:"col footer__col"},r.createElement("div",{className:"footer__title"},t.title),r.createElement("ul",{className:"footer__items clean-list"},t.items.map((function(e,t){return r.createElement(dt,{key:t,item:e})}))))}function pt(e){var t=e.columns;return r.createElement("div",{className:"row footer__links"},t.map((function(e,t){return r.createElement(ft,{key:t,column:e})})))}function mt(){return r.createElement("span",{className:"footer__link-separator"},"\xb7")}function ht(e){var t=e.item;return t.html?r.createElement("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):r.createElement(ct,{item:t})}function gt(e){var t=e.links;return r.createElement("div",{className:"footer__links text--center"},r.createElement("div",{className:"footer__links"},t.map((function(e,n){return r.createElement(r.Fragment,{key:n},r.createElement(ht,{item:e}),t.length!==n+1&&r.createElement(mt,null))}))))}function vt(e){var t=e.links;return function(e){return"title"in e[0]}(t)?r.createElement(pt,{columns:t}):r.createElement(gt,{links:t})}var bt=n(941),yt={footerLogoLink:"footerLogoLink_BH7S"};function wt(e){var t,n=e.logo,o=(0,ee.C)().withBaseUrl,i={light:o(n.src),dark:o(null!=(t=n.srcDark)?t:n.src)};return r.createElement(bt.Z,{className:(0,a.Z)("footer__logo",n.className),alt:n.alt,sources:i,width:n.width,height:n.height,style:n.style})}function kt(e){var t=e.logo;return t.href?r.createElement(J.Z,{href:t.href,className:yt.footerLogoLink,target:t.target},r.createElement(wt,{logo:t})):r.createElement(wt,{logo:t})}function Et(e){var t=e.copyright;return r.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function St(e){var t=e.style,n=e.links,o=e.logo,i=e.copyright;return r.createElement("footer",{className:(0,a.Z)("footer",{"footer--dark":"dark"===t})},r.createElement("div",{className:"container container-fluid"},n,(o||i)&&r.createElement("div",{className:"footer__bottom text--center"},o&&r.createElement("div",{className:"margin-bottom--sm"},o),i)))}function xt(){var e=(0,w.L)().footer;if(!e)return null;var t=e.copyright,n=e.links,a=e.logo,o=e.style;return r.createElement(St,{style:o,links:n&&n.length>0&&r.createElement(vt,{links:n}),logo:a&&r.createElement(kt,{logo:a}),copyright:t&&r.createElement(Et,{copyright:t})})}var Tt=r.memo(xt),Ct=(0,L.Qc)([z.S,k.pl,O.OC,De.L5,i.VC,function(e){var t=e.children;return r.createElement(I.n2,null,r.createElement(R.M,null,r.createElement(M,null,t)))}]);function _t(e){var t=e.children;return r.createElement(Ct,null,t)}function At(e){var t=e.error,n=e.tryAgain;return r.createElement("main",{className:"container margin-vert--xl"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col col--6 col--offset-3"},r.createElement("h1",{className:"hero__title"},r.createElement(s.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed"},"This page crashed.")),r.createElement("div",{className:"margin-vert--lg"},r.createElement(Qe,{onClick:n,className:"button button--primary shadow--lw"})),r.createElement("hr",null),r.createElement("div",{className:"margin-vert--md"},r.createElement(Xe,{error:t})))))}var Pt={mainWrapper:"mainWrapper_z2l0"};function Nt(e){var t=e.children,n=e.noFooter,l=e.wrapperClassName,u=e.title,s=e.description;return(0,v.t)(),r.createElement(_t,null,r.createElement(i.d,{title:u,description:s}),r.createElement(y,null),r.createElement(N,null),r.createElement(ut,null),r.createElement("div",{id:d,className:(0,a.Z)(g.k.wrapper.main,Pt.mainWrapper,l)},r.createElement(o.Z,{fallback:function(e){return r.createElement(At,e)}},t)),!n&&r.createElement(Tt,null))}},1327:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(7462),a=n(3366),o=n(7294),i=n(9960),l=n(4996),u=n(2263),s=n(6668),c=n(941),d=["imageClassName","titleClassName"];function f(e){var t=e.logo,n=e.alt,r=e.imageClassName,a={light:(0,l.Z)(t.src),dark:(0,l.Z)(t.srcDark||t.src)},i=o.createElement(c.Z,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?o.createElement("div",{className:r},i):i}function p(e){var t,n=(0,u.Z)().siteConfig.title,c=(0,s.L)().navbar,p=c.title,m=c.logo,h=e.imageClassName,g=e.titleClassName,v=(0,a.Z)(e,d),b=(0,l.Z)((null==m?void 0:m.href)||"/"),y=p?"":n,w=null!=(t=null==m?void 0:m.alt)?t:y;return o.createElement(i.Z,(0,r.Z)({to:b},v,(null==m?void 0:m.target)&&{target:m.target}),m&&o.createElement(f,{logo:m,alt:w,imageClassName:h}),null!=p&&o.createElement("b",{className:g},p))}},197:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7294),a=n(5742);function o(e){var t=e.locale,n=e.version,o=e.tag,i=t;return r.createElement(a.Z,null,t&&r.createElement("meta",{name:"docusaurus_locale",content:t}),n&&r.createElement("meta",{name:"docusaurus_version",content:n}),o&&r.createElement("meta",{name:"docusaurus_tag",content:o}),i&&r.createElement("meta",{name:"docsearch:language",content:i}),n&&r.createElement("meta",{name:"docsearch:version",content:n}),o&&r.createElement("meta",{name:"docsearch:docusaurus_tag",content:o}))}},941:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(7462),a=n(3366),o=n(7294),i=n(6010),l=n(2389),u=n(2949),s={themedImage:"themedImage_ToTc","themedImage--light":"themedImage--light_HNdA","themedImage--dark":"themedImage--dark_i4oU"},c=["sources","className","alt"];function d(e){var t=(0,l.Z)(),n=(0,u.I)().colorMode,d=e.sources,f=e.className,p=e.alt,m=(0,a.Z)(e,c),h=t?"dark"===n?["dark"]:["light"]:["light","dark"];return o.createElement(o.Fragment,null,h.map((function(e){return o.createElement("img",(0,r.Z)({key:e,src:d[e],alt:p,className:(0,i.Z)(s.themedImage,s["themedImage--"+e],f)},m))})))}},6043:function(e,t,n){"use strict";n.d(t,{u:function(){return d},z:function(){return y}});var r=n(7462),a=n(3366),o=n(7294),i=n(412),l=n(1442),u=["collapsed"],s=["lazy"],c="ease-in-out";function d(e){var t=e.initialState,n=(0,o.useState)(null!=t&&t),r=n[0],a=n[1],i=(0,o.useCallback)((function(){a((function(e){return!e}))}),[]);return{collapsed:r,setCollapsed:a,toggleCollapsed:i}}var f={display:"none",overflow:"hidden",height:"0px"},p={display:"block",overflow:"visible",height:"auto"};function m(e,t){var n=t?f:p;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function h(e){var t=e.collapsibleRef,n=e.collapsed,r=e.animation,a=(0,o.useRef)(!1);(0,o.useEffect)((function(){var e,o=t.current;function i(){var e,t,n=o.scrollHeight,a=null!=(e=null==r?void 0:r.duration)?e:function(e){if((0,l.n)())return 1;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}(n);return{transition:"height "+a+"ms "+(null!=(t=null==r?void 0:r.easing)?t:c),height:n+"px"}}function u(){var e=i();o.style.transition=e.transition,o.style.height=e.height}if(!a.current)return m(o,n),void(a.current=!0);return o.style.willChange="height",e=requestAnimationFrame((function(){n?(u(),requestAnimationFrame((function(){o.style.height=f.height,o.style.overflow=f.overflow}))):(o.style.display="block",requestAnimationFrame((function(){u()})))})),function(){return cancelAnimationFrame(e)}}),[t,n,r])}function g(e){if(!i.Z.canUseDOM)return e?f:p}function v(e){var t=e.as,n=void 0===t?"div":t,r=e.collapsed,a=e.children,i=e.animation,l=e.onCollapseTransitionEnd,u=e.className,s=e.disableSSRStyle,c=(0,o.useRef)(null);return h({collapsibleRef:c,collapsed:r,animation:i}),o.createElement(n,{ref:c,style:s?void 0:g(r),onTransitionEnd:function(e){"height"===e.propertyName&&(m(c.current,r),null==l||l(r))},className:u},a)}function b(e){var t=e.collapsed,n=(0,a.Z)(e,u),i=(0,o.useState)(!t),l=i[0],s=i[1],c=(0,o.useState)(t),d=c[0],f=c[1];return(0,o.useLayoutEffect)((function(){t||s(!0)}),[t]),(0,o.useLayoutEffect)((function(){l&&f(t)}),[l,t]),l?o.createElement(v,(0,r.Z)({},n,{collapsed:d})):null}function y(e){var t=e.lazy,n=(0,a.Z)(e,s),r=t?b:v;return o.createElement(r,n)}},9689:function(e,t,n){"use strict";n.d(t,{nT:function(){return m},pl:function(){return p}});var r=n(7294),a=n(2389),o=n(12),i=n(9688),l=n(6668),u=(0,o.WA)("docusaurus.announcement.dismiss"),s=(0,o.WA)("docusaurus.announcement.id"),c=function(){return"true"===u.get()},d=function(e){return u.set(String(e))},f=r.createContext(null);function p(e){var t=e.children,n=function(){var e=(0,l.L)().announcementBar,t=(0,a.Z)(),n=(0,r.useState)((function(){return!!t&&c()})),o=n[0],i=n[1];(0,r.useEffect)((function(){i(c())}),[]);var u=(0,r.useCallback)((function(){d(!0),i(!0)}),[]);return(0,r.useEffect)((function(){if(e){var t=e.id,n=s.get();"annoucement-bar"===n&&(n="announcement-bar");var r=t!==n;s.set(t),r&&d(!1),!r&&c()||i(!1)}}),[e]),(0,r.useMemo)((function(){return{isActive:!!e&&!o,close:u}}),[e,o,u])}();return r.createElement(f.Provider,{value:n},t)}function m(){var e=(0,r.useContext)(f);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},2949:function(e,t,n){"use strict";n.d(t,{I:function(){return g},S:function(){return h}});var r=n(7294),a=n(412),o=n(9688),i=n(12),l=n(6668),u=r.createContext(void 0),s="theme",c=(0,i.WA)(s),d={light:"light",dark:"dark"},f=function(e){return e===d.dark?d.dark:d.light},p=function(e){return a.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e)},m=function(e){c.set(f(e))};function h(e){var t=e.children,n=function(){var e=(0,l.L)().colorMode,t=e.defaultMode,n=e.disableSwitch,a=e.respectPrefersColorScheme,o=(0,r.useState)(p(t)),i=o[0],u=o[1];(0,r.useEffect)((function(){n&&c.del()}),[n]);var h=(0,r.useCallback)((function(e,n){void 0===n&&(n={});var r=n.persist,o=void 0===r||r;e?(u(e),o&&m(e)):(u(a?window.matchMedia("(prefers-color-scheme: dark)").matches?d.dark:d.light:t),c.del())}),[a,t]);(0,r.useEffect)((function(){document.documentElement.setAttribute("data-theme",f(i))}),[i]),(0,r.useEffect)((function(){if(!n){var e=function(e){if(e.key===s){var t=c.get();null!==t&&h(f(t))}};return window.addEventListener("storage",e),function(){return window.removeEventListener("storage",e)}}}),[n,h]);var g=(0,r.useRef)(!1);return(0,r.useEffect)((function(){if(!n||a){var e=window.matchMedia("(prefers-color-scheme: dark)"),t=function(){window.matchMedia("print").matches||g.current?g.current=window.matchMedia("print").matches:h(null)};return e.addListener(t),function(){return e.removeListener(t)}}}),[h,n,a]),(0,r.useMemo)((function(){return{colorMode:i,setColorMode:h,get isDarkTheme(){return i===d.dark},setLightTheme:function(){h(d.light)},setDarkTheme:function(){h(d.dark)}}}),[i,h])}();return r.createElement(u.Provider,{value:n},t)}function g(){var e=(0,r.useContext)(u);if(null==e)throw new o.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},373:function(e,t,n){"use strict";n.d(t,{J:function(){return b},L5:function(){return g}});var r=n(7294),a=n(143),o=n(9935),i=n(6668),l=n(8425),u=n(9688),s=n(12),c=function(e){return"docs-preferred-version-"+e},d={save:function(e,t,n){(0,s.WA)(c(e),{persistence:t}).set(n)},read:function(e,t){return(0,s.WA)(c(e),{persistence:t}).get()},clear:function(e,t){(0,s.WA)(c(e),{persistence:t}).del()}},f=function(e){return Object.fromEntries(e.map((function(e){return[e,{preferredVersionName:null}]})))};var p=r.createContext(null);function m(){var e=(0,a._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((function(){return Object.keys(e)}),[e]),o=(0,r.useState)((function(){return f(n)})),l=o[0],u=o[1];return(0,r.useEffect)((function(){u(function(e){var t=e.pluginIds,n=e.versionPersistence,r=e.allDocsData;return Object.fromEntries(t.map((function(e){return[e,(t=e,a=d.read(t,n),r[t].versions.some((function(e){return e.name===a}))?{preferredVersionName:a}:(d.clear(t,n),{preferredVersionName:null}))];var t,a})))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]),[l,(0,r.useMemo)((function(){return{savePreferredVersion:function(e,n){d.save(e,t,n),u((function(t){var r;return Object.assign({},t,((r={})[e]={preferredVersionName:n},r))}))}}}),[t])]}function h(e){var t=e.children,n=m();return r.createElement(p.Provider,{value:n},t)}function g(e){var t=e.children;return l.cE?r.createElement(h,null,t):r.createElement(r.Fragment,null,t)}function v(){var e=(0,r.useContext)(p);if(!e)throw new u.i6("DocsPreferredVersionContextProvider");return e}function b(e){var t;void 0===e&&(e=o.m);var n=(0,a.zh)(e),i=v(),l=i[0],u=i[1],s=l[e].preferredVersionName;return{preferredVersion:null!=(t=n.versions.find((function(e){return e.name===s})))?t:null,savePreferredVersionName:(0,r.useCallback)((function(t){u.savePreferredVersion(e,t)}),[u,e])}}},1116:function(e,t,n){"use strict";n.d(t,{V:function(){return u},b:function(){return l}});var r=n(7294),a=n(9688),o=Symbol("EmptyContext"),i=r.createContext(o);function l(e){var t=e.children,n=e.name,a=e.items,o=(0,r.useMemo)((function(){return n&&a?{name:n,items:a}:null}),[n,a]);return r.createElement(i.Provider,{value:o},t)}function u(){var e=(0,r.useContext)(i);if(e===o)throw new a.i6("DocsSidebarProvider");return e}},2961:function(e,t,n){"use strict";n.d(t,{M:function(){return f},e:function(){return p}});var r=n(7294),a=n(3102),o=n(7524),i=n(6550),l=(n(1688),n(9688));function u(e){!function(e){var t=(0,i.k6)(),n=(0,l.zX)(e);(0,r.useEffect)((function(){return t.block((function(e,t){return n(e,t)}))}),[t,n])}((function(t,n){if("POP"===n)return e(t,n)}))}var s=n(6668),c=r.createContext(void 0);function d(){var e,t=(e=(0,a.HY)(),0===(0,s.L)().navbar.items.length&&!e.component),n=(0,o.i)(),i=!t&&"mobile"===n,l=(0,r.useState)(!1),c=l[0],d=l[1];u((function(){if(c)return d(!1),!1}));var f=(0,r.useCallback)((function(){d((function(e){return!e}))}),[]);return(0,r.useEffect)((function(){"desktop"===n&&d(!1)}),[n]),(0,r.useMemo)((function(){return{disabled:t,shouldRender:i,toggle:f,shown:c}}),[t,i,f,c])}function f(e){var t=e.children,n=d();return r.createElement(c.Provider,{value:n},t)}function p(){var e=r.useContext(c);if(void 0===e)throw new l.i6("NavbarMobileSidebarProvider");return e}},3102:function(e,t,n){"use strict";n.d(t,{HY:function(){return l},Zo:function(){return u},n2:function(){return i}});var r=n(7294),a=n(9688),o=r.createContext(null);function i(e){var t=e.children,n=(0,r.useState)({component:null,props:null});return r.createElement(o.Provider,{value:n},t)}function l(){var e=(0,r.useContext)(o);if(!e)throw new a.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){var t=e.component,n=e.props,i=(0,r.useContext)(o);if(!i)throw new a.i6("NavbarSecondaryMenuContentProvider");var l=i[1],u=(0,a.Ql)(n);return(0,r.useEffect)((function(){l({component:t,props:u})}),[l,t,u]),(0,r.useEffect)((function(){return function(){return l({component:null,props:null})}}),[l]),null}},9727:function(e,t,n){"use strict";n.d(t,{h:function(){return a},t:function(){return o}});var r=n(7294),a="navigation-with-keyboard";function o(){(0,r.useEffect)((function(){function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),function(){document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},7524:function(e,t,n){"use strict";n.d(t,{i:function(){return s}});var r=n(7294),a=n(412),o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(){return a.Z.canUseDOM?window.innerWidth>i?o.desktop:o.mobile:o.ssr}var u=!1;function s(){var e=(0,r.useState)((function(){return u?"ssr":l()})),t=e[0],n=e[1];return(0,r.useEffect)((function(){function e(){n(l())}var t=u?window.setTimeout(e,1e3):void 0;return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e),clearTimeout(t)}}),[]),t}},5281:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});var r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:function(e){return"theme-admonition-"+e}},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:function(e){return"theme-doc-sidebar-item-category-level-"+e},docSidebarItemLinkLevel:function(e){return"theme-doc-sidebar-item-link-level-"+e}},blog:{}}},1442:function(e,t,n){"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:function(){return r}})},8425:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Wl:function(){return m},_F:function(){return v},cE:function(){return p},hI:function(){return S},lO:function(){return w},vY:function(){return E},oz:function(){return k},s1:function(){return y}});var o=n(7294),i=n(6550),l=n(8790),u=n(143),s=n(373),c=n(1116);function d(e){return Array.from(new Set(e))}var f=n(8596),p=!!u._r;function m(e){if(e.href)return e.href;for(var t,n=a(e.items);!(t=n()).done;){var r=t.value;if("link"===r.type)return r.href;if("category"===r.type){var o=m(r);if(o)return o}}}var h=function(e,t){return void 0!==e&&(0,f.Mg)(e,t)},g=function(e,t){return e.some((function(e){return v(e,t)}))};function v(e,t){return"link"===e.type?h(e.href,t):"category"===e.type&&(h(e.href,t)||g(e.items,t))}function b(e){var t=e.sidebarItems,n=e.pathname,r=e.onlyCategories,o=void 0!==r&&r,i=[];return function e(t){for(var r,l=a(t);!(r=l()).done;){var u=r.value;if("category"===u.type&&((0,f.Mg)(u.href,n)||e(u.items))||"link"===u.type&&(0,f.Mg)(u.href,n))return o&&"category"!==u.type||i.unshift(u),!0}return!1}(t),i}function y(){var e,t=(0,c.V)(),n=(0,i.TH)().pathname;return!1!==(null==(e=(0,u.gA)())?void 0:e.pluginData.breadcrumbs)&&t?b({sidebarItems:t.items,pathname:n}):null}function w(e){var t=(0,u.Iw)(e).activeVersion,n=(0,s.J)(e).preferredVersion,r=(0,u.yW)(e);return(0,o.useMemo)((function(){return d([t,n,r].filter(Boolean))}),[t,n,r])}function k(e,t){var n=w(t);return(0,o.useMemo)((function(){var t=n.flatMap((function(e){return e.sidebars?Object.entries(e.sidebars):[]})),r=t.find((function(t){return t[0]===e}));if(!r)throw new Error("Can't find any sidebar with id \""+e+'" in version'+(n.length>1?"s":"")+" "+n.map((function(e){return e.name})).join(", ")+'".\nAvailable sidebar ids are:\n- '+t.map((function(e){return e[0]})).join("\n- "));return r[1]}),[e,n])}function E(e,t){var n=w(t);return(0,o.useMemo)((function(){var t=n.flatMap((function(e){return e.docs})),r=t.find((function(t){return t.id===e}));if(!r){if(n.flatMap((function(e){return e.draftIds})).includes(e))return null;throw new Error("Couldn't find any doc with id \""+e+'" in version'+(n.length>1?"s":"")+' "'+n.map((function(e){return e.name})).join(", ")+'".\nAvailable doc ids are:\n- '+d(t.map((function(e){return e.id}))).join("\n- "))}return r}),[e,n])}function S(e){var t=e.route,n=e.versionMetadata,r=(0,i.TH)(),a=t.routes,o=a.find((function(e){return(0,i.LX)(r.pathname,e)}));if(!o)return null;var u=o.sidebar,s=u?n.docsSidebars[u]:void 0;return{docElement:(0,l.H)(a),sidebarName:u,sidebarItems:s}}},1944:function(e,t,n){"use strict";n.d(t,{FG:function(){return f},d:function(){return c},VC:function(){return p}});var r=n(7294),a=n(6010),o=n(5742),i=n(226);function l(){var e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var u=n(4996),s=n(2263);function c(e){var t=e.title,n=e.description,a=e.keywords,i=e.image,l=e.children,c=function(e){var t=(0,s.Z)().siteConfig,n=t.title,r=t.titleDelimiter;return null!=e&&e.trim().length?e.trim()+" "+r+" "+n:n}(t),d=(0,u.C)().withBaseUrl,f=i?d(i,{absolute:!0}):void 0;return r.createElement(o.Z,null,t&&r.createElement("title",null,c),t&&r.createElement("meta",{property:"og:title",content:c}),n&&r.createElement("meta",{name:"description",content:n}),n&&r.createElement("meta",{property:"og:description",content:n}),a&&r.createElement("meta",{name:"keywords",content:Array.isArray(a)?a.join(","):a}),f&&r.createElement("meta",{property:"og:image",content:f}),f&&r.createElement("meta",{name:"twitter:image",content:f}),l)}var d=r.createContext(void 0);function f(e){var t=e.className,n=e.children,i=r.useContext(d),l=(0,a.Z)(i,t);return r.createElement(d.Provider,{value:l},r.createElement(o.Z,null,r.createElement("html",{className:l})),n)}function p(e){var t=e.children,n=l(),o="plugin-"+n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,""),i="plugin-id-"+n.plugin.id;return r.createElement(f,{className:(0,a.Z)(o,i)},t)}},9688:function(e,t,n){"use strict";n.d(t,{i6:function(){return p},Qc:function(){return h},zX:function(){return d},D9:function(){return f},Ql:function(){return m}});var r=n(7099),a=n(4578);function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}var i=n(9611);function l(e,t,n){return l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&(0,i.Z)(a,n.prototype),a},l.apply(null,arguments)}function u(e){var t="function"==typeof Map?new Map:void 0;return u=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return l(e,arguments,o(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,i.Z)(n,e)},u(e)}var s=n(7294),c=n(412).Z.canUseDOM?s.useLayoutEffect:s.useEffect;function d(e){var t=(0,s.useRef)(e);return c((function(){t.current=e}),[e]),(0,s.useCallback)((function(){return t.current.apply(t,arguments)}),[])}function f(e){var t=(0,s.useRef)();return c((function(){t.current=e})),t.current}var p=function(e){function t(t,n){var a,o,i;return(i=e.call(this)||this).name="ReactContextError",i.message="Hook "+(null!=(a=null==(o=i.stack)||null==(o=o.split("\n")[1])||null==(o=o.match((0,r.Z)(/at (?:\w+\.)?(\w+)/,{name:1})))?void 0:o.groups.name)?a:"")+" is called outside the <"+t+">. "+(null!=n?n:""),i}return(0,a.Z)(t,e),t}(u(Error));function m(e){var t=Object.entries(e);return t.sort((function(e,t){return e[0].localeCompare(t[0])})),(0,s.useMemo)((function(){return e}),t.flat())}function h(e){return function(t){var n=t.children;return s.createElement(s.Fragment,null,e.reduceRight((function(e,t){return s.createElement(t,null,e)}),n))}}},8596:function(e,t,n){"use strict";n.d(t,{Mg:function(){return i},Ns:function(){return l}});var r=n(7294),a=n(723),o=n(2263);function i(e,t){var n=function(e){var t;return null==(t=!e||e.endsWith("/")?e:e+"/")?void 0:t.toLowerCase()};return n(e)===n(t)}function l(){var e=(0,o.Z)().siteConfig.baseUrl;return(0,r.useMemo)((function(){return function(e){var t=e.baseUrl;function n(e){return e.path===t&&!0===e.exact}function r(e){return e.path===t&&!e.exact}return function e(t){if(0!==t.length)return t.find(n)||e(t.filter(r).flatMap((function(e){var t;return null!=(t=e.routes)?t:[]})))}(e.routes)}({routes:a.Z,baseUrl:e})}),[e])}},2466:function(e,t,n){"use strict";n.d(t,{Ct:function(){return f},OC:function(){return u},RF:function(){return d}});var r=n(7294),a=n(412),o=n(2389),i=n(9688);var l=r.createContext(void 0);function u(e){var t,n=e.children,a=(t=(0,r.useRef)(!0),(0,r.useMemo)((function(){return{scrollEventsEnabledRef:t,enableScrollEvents:function(){t.current=!0},disableScrollEvents:function(){t.current=!1}}}),[]));return r.createElement(l.Provider,{value:a},n)}function s(){var e=(0,r.useContext)(l);if(null==e)throw new i.i6("ScrollControllerProvider");return e}var c=function(){return a.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null};function d(e,t){void 0===t&&(t=[]);var n=s().scrollEventsEnabledRef,a=(0,r.useRef)(c()),o=(0,i.zX)(e);(0,r.useEffect)((function(){var e=function(){if(n.current){var e=c();o(e,a.current),a.current=e}},t={passive:!0};return e(),window.addEventListener("scroll",e,t),function(){return window.removeEventListener("scroll",e,t)}}),[o,n].concat(t))}function f(){var e=(0,r.useRef)(null),t=(0,o.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:function(n){e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),function(){}}(n):function(e){var t=null,n=document.documentElement.scrollTop>e;return function r(){var a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),function(){return t&&cancelAnimationFrame(t)}}(n)},cancelScroll:function(){return null==e.current?void 0:e.current()}}}},3320:function(e,t,n){"use strict";n.d(t,{HX:function(){return r},os:function(){return a}});n(2263);var r="default";function a(e,t){return"docs-"+e+"-"+t}},12:function(e,t,n){"use strict";n.d(t,{WA:function(){return u}});n(7294),n(1688);var r="localStorage";function a(e){var t=e.key,n=e.oldValue,r=e.newValue,a=e.storage;if(n!==r){var o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}}function o(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,i||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),i=!0),null}var t}var i=!1;var l={get:function(){return null},set:function(){},del:function(){},listen:function(){return function(){}}};function u(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error('Illegal storage API usage for storage key "'+e+'".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.')}return{get:t,set:t,del:t,listen:t}}(e);var n=o(null==t?void 0:t.persistence);return null===n?l:{get:function(){try{return n.getItem(e)}catch(t){return console.error("Docusaurus storage error, can't get key="+e,t),null}},set:function(t){try{var r=n.getItem(e);n.setItem(e,t),a({key:e,oldValue:r,newValue:t,storage:n})}catch(o){console.error("Docusaurus storage error, can't set "+e+"="+t,o)}},del:function(){try{var t=n.getItem(e);n.removeItem(e),a({key:e,oldValue:t,newValue:null,storage:n})}catch(r){console.error("Docusaurus storage error, can't delete key="+e,r)}},listen:function(t){try{var r=function(r){r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),function(){return window.removeEventListener("storage",r)}}catch(a){return console.error("Docusaurus storage error, can't listen for changes of key="+e,a),function(){}}}}}},4711:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(2263),a=n(6550),o=n(8780);function i(){var e=(0,r.Z)(),t=e.siteConfig,n=t.baseUrl,i=t.url,l=t.trailingSlash,u=e.i18n,s=u.defaultLocale,c=u.currentLocale,d=(0,a.TH)().pathname,f=(0,o.applyTrailingSlash)(d,{trailingSlash:l,baseUrl:n}),p=c===s?n:n.replace("/"+c+"/","/"),m=f.replace(n,"");return{createUrl:function(e){var t=e.locale;return""+(e.fullyQualified?i:"")+function(e){return e===s?""+p:""+p+e+"/"}(t)+m}}}},5936:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(7294),a=n(6550),o=n(9688);function i(e){var t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)((function(){n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6668:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(2263);function a(){return(0,r.Z)().siteConfig.themeConfig}},8802:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t.trailingSlash,r=t.baseUrl;if(e.startsWith("#"))return e;if(void 0===n)return e;var a,o=e.split(/[#?]/)[0],i="/"===o||o===r?o:(a=o,n?function(e){return e.endsWith("/")?e:e+"/"}(a):function(e){return e.endsWith("/")?e.slice(0,-1):e}(a));return e.replace(o,i)}},4143:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t].concat(e(t.cause)):[t]}},8780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}});var o=n(4143);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},6010:function(e,t,n){"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n);else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}t.Z=function(){for(var e,t,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},9318:function(e,t,n){"use strict";n.d(t,{lX:function(){return w},q_:function(){return C},ob:function(){return p},PP:function(){return A},Ep:function(){return f}});var r=n(7462);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}var i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),u=t&&a(t),s=l||u;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!s)for(;d--;d)i.unshift("..");!s||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m},l=n(8776);function u(e){return"/"===e.charAt(0)?e:"/"+e}function s(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var h=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var v="popstate",b="hashchange";function y(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,s=i.forceRefresh,w=void 0!==s&&s,k=i.getUserConfirmation,E=void 0===k?g:k,S=i.keyLength,x=void 0===S?6:S,T=e.basename?d(u(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return T&&(o=c(o,T)),p(o,r,n)}function _(){return Math.random().toString(36).substr(2,x)}var A=m();function P(e){(0,r.Z)(U,e),U.length=n.length,A.notifyListeners(U.location,U.action)}function N(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||L(C(e.state))}function R(){L(C(y()))}var O=!1;function L(e){if(O)O=!1,P();else{A.confirmTransitionTo(e,"POP",E,(function(t){t?P({action:"POP",location:e}):function(e){var t=U.location,n=D.indexOf(t.key);-1===n&&(n=0);var r=D.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(O=!0,F(a))}(e)}))}}var I=C(y()),D=[I.key];function M(e){return T+f(e)}function F(e){n.go(e)}var B=0;function j(e){1===(B+=e)&&1===e?(window.addEventListener(v,N),o&&window.addEventListener(b,R)):0===B&&(window.removeEventListener(v,N),o&&window.removeEventListener(b,R))}var z=!1;var U={length:n.length,action:"POP",location:I,createHref:M,push:function(e,t){var r="PUSH",o=p(e,t,_(),U.location);A.confirmTransitionTo(o,r,E,(function(e){if(e){var t=M(o),i=o.key,l=o.state;if(a)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var u=D.indexOf(U.location.key),s=D.slice(0,u+1);s.push(o.key),D=s,P({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,_(),U.location);A.confirmTransitionTo(o,r,E,(function(e){if(e){var t=M(o),i=o.key,l=o.state;if(a)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var u=D.indexOf(U.location.key);-1!==u&&(D[u]=o.key),P({action:r,location:o})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=A.setPrompt(e);return z||(j(1),z=!0),function(){return z&&(z=!1,j(-1)),t()}},listen:function(e){var t=A.appendListener(e);return j(1),function(){j(-1),t()}}};return U}var k="hashchange",E={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+s(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:s,decodePath:u},slash:{encodePath:u,decodePath:u}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function x(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function T(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?g:a,i=n.hashType,s=void 0===i?"slash":i,v=e.basename?d(u(e.basename)):"",b=E[s],y=b.encodePath,w=b.decodePath;function C(){var e=w(x());return v&&(e=c(e,v)),p(e)}var _=m();function A(e){(0,r.Z)(z,e),z.length=t.length,_.notifyListeners(z.location,z.action)}var P=!1,N=null;function R(){var e,t,n=x(),r=y(n);if(n!==r)T(r);else{var a=C(),i=z.location;if(!P&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(N===f(a))return;N=null,function(e){if(P)P=!1,A();else{var t="POP";_.confirmTransitionTo(e,t,o,(function(n){n?A({action:t,location:e}):function(e){var t=z.location,n=D.lastIndexOf(f(t));-1===n&&(n=0);var r=D.lastIndexOf(f(e));-1===r&&(r=0);var a=n-r;a&&(P=!0,M(a))}(e)}))}}(a)}}var O=x(),L=y(O);O!==L&&T(L);var I=C(),D=[f(I)];function M(e){t.go(e)}var F=0;function B(e){1===(F+=e)&&1===e?window.addEventListener(k,R):0===F&&window.removeEventListener(k,R)}var j=!1;var z={length:t.length,action:"POP",location:I,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+y(v+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);_.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=y(v+t);if(x()!==a){N=t,function(e){window.location.hash=e}(a);var o=D.lastIndexOf(f(z.location)),i=D.slice(0,o+1);i.push(t),D=i,A({action:n,location:r})}else A()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);_.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=y(v+t);x()!==a&&(N=t,T(a));var o=D.indexOf(f(z.location));-1!==o&&(D[o]=t),A({action:n,location:r})}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return j||(B(1),j=!0),function(){return j&&(j=!1,B(-1)),t()}},listen:function(e){var t=_.appendListener(e);return B(1),function(){B(-1),t()}}};return z}function _(e,t,n){return Math.min(Math.max(e,t),n)}function A(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=void 0===i?0:i,u=t.keyLength,s=void 0===u?6:u,c=m();function d(e){(0,r.Z)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function h(){return Math.random().toString(36).substr(2,s)}var g=_(l,0,o.length-1),v=o.map((function(e){return p(e,void 0,"string"==typeof e?h():e.key||h())})),b=f;function y(e){var t=_(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:v.length,action:"POP",location:v[g],index:g,entries:v,createHref:b,push:function(e,t){var r="PUSH",a=p(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},8679:function(e,t,n){"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=u(t),h=u(n),g=0;g<i.length;++g){var v=i[g];if(!(o[v]||r&&r[v]||h&&h[v]||l&&l[v])){var b=f(n,v);try{s(t,v,b)}catch(y){}}}}return t}},1143:function(e){"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,a,o,i,l],c=0;(u=new Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},5826:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2497:function(e,t,n){"use strict";n.r(t)},2295:function(e,t,n){"use strict";n.r(t)},4865:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),s=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),u(s,i(e,c,d)),1===e?(u(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){u(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),s=document.querySelector(r.parent);return u(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),s!=document.body&&c(s,"nprogress-custom-parent"),s.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),u=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function s(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},7418:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,a){for(var o,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var s in o=Object(arguments[u]))n.call(o,s)&&(l[s]=o[s]);if(t){i=t(o);for(var c=0;c<i.length;c++)r.call(o,i[c])&&(l[i[c]]=o[i[c]])}}return l}},4779:function(e,t,n){var r=n(5826);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",c=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(l+=e.slice(i,p),i=p+d.length,f)l+=f[1];else{var m=e[i],h=n[2],g=n[3],v=n[4],b=n[5],y=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=h&&null!=m&&m!==h,E="+"===y||"*"===y,S="?"===y||"*"===y,x=n[2]||c,T=v||b;r.push({name:g||o++,prefix:h||"",delimiter:x,optional:S,repeat:E,partial:k,asterisk:!!w,pattern:T?s(T):w?".*":"[^"+u(x)+"]+?"})}}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var o="",l=t||{},u=(a||{}).pretty?i:encodeURIComponent,s=0;s<e.length;s++){var c=e[s];if("string"!=typeof c){var d,f=l[c.name];if(null==f){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=u(f[p]),!n[s].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===p?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(f),!n[s].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');o+=c.prefix+d}}else o+=c}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",l=0;l<e.length;l++){var s=e[l];if("string"==typeof s)i+=u(s);else{var f=u(s.prefix),p="(?:"+s.pattern+")";t.push(s),s.repeat&&(p+="(?:"+f+p+")*"),i+=p=s.optional?s.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var m=u(n.delimiter||"/"),h=i.slice(-m.length)===m;return a||(i=(h?i.slice(0,-m.length):i)+"(?:"+m+"(?=$))?"),i+=o?"$":a&&h?"":"(?="+m+"|$)",c(new RegExp("^"+i,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(p(e[a],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},7410:function(e,t){"use strict";var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var u in n)n.hasOwnProperty(u)&&(i[u]=n[u]);n.hasOwnProperty(l)||(i[l]=o[l])}var s=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===s&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var u=t[l],s=r.util.type(u);"Object"!==s||o[i(u)]?"Array"!==s||o[i(u)]||(o[i(u)]=!0,e(u,n,l,o)):(o[i(u)]=!0,e(u,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};return r.hooks.run("before-tokenize",o),o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new l;return u(a,a.head,e),i(e,a,t,a.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,l,c,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var m=0;m<p.length;++m){if(d&&d.cause==f+","+m)return;var h=p[m],g=h.inside,v=!!h.lookbehind,b=!!h.greedy,y=h.alias;if(b&&!h.pattern.global){var w=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,w+"g")}for(var k=h.pattern||h,E=l.next,S=c;E!==t.tail&&!(d&&S>=d.reach);S+=E.value.length,E=E.next){var x=E.value;if(t.length>e.length)return;if(!(x instanceof a)){var T,C=1;if(b){if(!(T=o(k,S,e,v))||T.index>=e.length)break;var _=T.index,A=T.index+T[0].length,P=S;for(P+=E.value.length;_>=P;)P+=(E=E.next).value.length;if(S=P-=E.value.length,E.value instanceof a)continue;for(var N=E;N!==t.tail&&(P<A||"string"==typeof N.value);N=N.next)C++,P+=N.value.length;C--,x=e.slice(S,P),T.index-=S}else if(!(T=o(k,0,x,v)))continue;_=T.index;var R=T[0],O=x.slice(0,_),L=x.slice(_+R.length),I=S+x.length;d&&I>d.reach&&(d.reach=I);var D=E.prev;if(O&&(D=u(t,D,O),S+=O.length),s(t,D,C),E=u(t,D,new a(f,g?r.tokenize(R,g):R,y,R)),L&&u(t,E,L),C>1){var M={cause:f+","+m,reach:I};i(e,t,n,E.prev,S,M),d&&M.reach>d.reach&&(d.reach=M.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function u(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function s(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var u in o.attributes)l+=" "+u+'="'+(o.attributes[u]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},r}(),r=n;n.default=n,r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\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:/<!\[CDATA\[[\s\S]*?\]\]>/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]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};a["language-"+t]={pattern:/[\s\S]+/,inside:r.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:a},r.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(e,t){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[t,"language-"+t],inside:r.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(e){var t="\\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",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),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("(\\{)"+t),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})/};e.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;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.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}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i<a.length;i++)o[a[i]]=e.languages.bash[a[i]];e.languages.shell=e.languages.bash}(r),r.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:/[{}[\];(),.:]/},r.languages.c=r.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),r.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),r.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},r.languages.c.string],char:r.languages.c.char,comment:r.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:r.languages.c}}}}),r.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete r.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(r),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.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\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(r),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(r),r.languages.javascript=r.languages.extend("clike",{"class-name":[r.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}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.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:r.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:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.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:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.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:r.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"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.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")),r.languages.js=r.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(r),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\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:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(r),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.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:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.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:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\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:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.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(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a=t[n];if("code"===a.type){var o=a.content[1],i=a.content[3];if(o&&i&&"code-language"===o.type&&"code-block"===i.type&&"string"==typeof o.content){var l=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),u="language-"+(l=(/[a-z][\w-]*/i.exec(l)||[""])[0].toLowerCase());i.alias?"string"==typeof i.alias?i.alias=[i.alias,u]:i.alias.push(u):i.alias=[u]}}else e(a.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r],s=/language-(.+)/.exec(o);if(s){n=s[1];break}}var c,d=e.languages[n];if(d)t.content=e.highlight((c=t.content,c.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),u(n);var r=l[t];return r||e}))),d,n);else if(n&&"none"!==n&&e.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=f,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(f);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),l={amp:"&",lt:"<",gt:">",quot:'"'},u=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(r),r.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:r.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+/},r.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===c(1).content){n+=2;var o=f(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=c(0);"variable"===i.type&&(p(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===c(0).content&&(n++,p(c(0),"property-mutation"),a.length>0)){var l=f(/^\{$/,/^\}$/);if(-1===l)continue;for(var u=n;u<l;u++){var s=t[u];"variable"===s.type&&a.indexOf(s.content)>=0&&p(s,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=c(n+t);if(!r||r.type!==e[n])return!1}return!0}function f(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],l=i.content;if("punctuation"===i.type&&"string"==typeof l)if(e.test(l))a++;else if(r.test(l)&&0===--a)return o}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),r.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function u(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function s(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,u(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function c(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,c={},d=u(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=l(i++,r)););return c[n]=a,n})).join(""),n,r),f=Object.keys(c);return i=0,function e(t){for(var n=0;n<t.length;n++){if(i>=f.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=f[i],o="string"==typeof r?r:r.content,l=o.indexOf(a);if(-1!==l){++i;var u=o.substring(0,l),d=s(c[a]),p=o.substring(l+a.length),m=[];if(u&&m.push(u),m.push(d),p){var h=[p];e(h),m.push.apply(m,h)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function f(e){return"string"==typeof e?e:Array.isArray(e)?e.map(f).join(""):f(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r<a;r++){var o=n[r];if("string"!=typeof o){var i=o.content;if(Array.isArray(i))if("template-string"===o.type){var l=i[1];if(3===i.length&&"string"!=typeof l&&"embedded-code"===l.type){var u=f(l),s=l.alias,d=Array.isArray(s)?s[0]:s,p=e.languages[d];if(!p)continue;i[1]=c(u,p,d)}}else t(i);else"string"!=typeof i&&t([i])}}}(t.tokens)}))}(r),function(e){e.languages.typescript=e.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/}),e.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 e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.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:t}}}}),e.languages.ts=e.languages.typescript}(r),function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.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"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.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"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.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 n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];"RegExp"===e.util.type(o)&&(o=e.languages.javascript[a]={pattern:o});var i=o.inside||{};o.inside=i,i["maybe-class-name"]=/^[A-Z][\s\S]*/}}(r),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},l=function(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;if("string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===i(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var u=i(a);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(u+=i(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(u=i(t[r-1])+u,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",u,null,u)}a.content&&"string"!=typeof a.content&&l(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(r),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(r),r.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},r.languages.go=r.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),r.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete r.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var u=0;u<l.length&&!(a>=o.length);u++){var s=l[u];if("string"==typeof s||s.content&&"string"==typeof s.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof s?s:s.content,p=t(r,c),m=f.indexOf(p);if(m>-1){++a;var h=f.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),v=f.substring(m+p.length),b=[];h&&b.push.apply(b,i([h])),b.push(g),v&&b.push.apply(b,i([v])),"string"==typeof s?l.splice.apply(l,[u,1].concat(b)):s.content=b}}else s.content&&i(s.content)}return l}(n.tokens)}}}})}(r),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(r),r.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"}},r.languages.webmanifest=r.languages.json,r.languages.less=r.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),r.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),r.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},r.languages.objectivec=r.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete r.languages.objectivec["class-name"],r.languages.objc=r.languages.objectivec,r.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},r.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},r.languages.python["string-interpolation"].inside.interpolation.inside.rest=r.languages.python,r.languages.py=r.languages.python,r.languages.reason=r.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),r.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete r.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(r),r.languages.scss=r.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),r.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),r.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),r.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),r.languages.scss.atrule.inside.rest=r.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(r),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(r),r.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/},t.Z=r},9901:function(e){e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2885:function(e,t,n){const r=n(9901),a=n(9642),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(6500).resolve(t)],delete Prism.languages[e],n(6500)(t),o.add(e)}))}i.silent=!1,e.exports=i},6726:function(e,t,n){var r={"./":2885};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=6726},6500:function(e,t,n){var r={"./":2885};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=6500},9642:function(e){"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}function r(e){var n={},r=[];function a(r,o){if(!(r in n)){o.push(r);var i=o.indexOf(r);if(i<o.length-1)throw new Error("Circular dependency: "+o.slice(i).join(" -> "));var l={},u=e[r];if(u){function s(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in a(t,o),l[t]=!0,n[t])l[i]=!0}t(u.require,s),t(u.optional,s),t(u.modify,s)}n[r]=l,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,l){var u=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),s=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(u);i=i.map(s),l=(l||[]).map(s);var c=n(i),d=n(l);i.forEach((function e(n){var r=u[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var f,p=r(u),m=c;a(m);){for(var h in f={},m){var g=u[h];t(g&&g.modify,(function(e){e in d&&(f[e]=!0)}))}for(var v in d)if(!(v in c))for(var b in p(v))if(b in c){f[v]=!0;break}for(var y in m=f)c[y]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},u={};function s(e){if(e in l)return l[e];u[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var f=i(c.map((function(e){var t=s(e);return delete u[e],t})));o?a=o(f,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)s(c);var d=[];for(var f in u)d.push(l[f]);return i(d)}(p,c,t,n)}};return w}}();e.exports=t},2703:function(e,t,n){"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={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:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:function(e,t,n){"use strict";var r=n(7294),a=n(7418),o=n(3840);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));function l(e,t,n,r,a,o,i,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var u=!1,s=null,c=!1,d=null,f={onError:function(e){u=!0,s=e}};function p(e,t,n,r,a,o,i,c,d){u=!1,s=null,l.apply(f,arguments)}var m=null,h=null,g=null;function v(e,t,n){var r=e.type||"unknown-event";e.currentTarget=g(n),function(e,t,n,r,a,o,l,f,m){if(p.apply(this,arguments),u){if(!u)throw Error(i(198));var h=s;u=!1,s=null,c||(c=!0,d=h)}}(r,t,void 0,e),e.currentTarget=null}var b=null,y={};function w(){if(b)for(var e in y){var t=y[e],n=b.indexOf(e);if(!(-1<n))throw Error(i(96,e));if(!E[n]){if(!t.extractEvents)throw Error(i(97,e));for(var r in E[n]=t,n=t.eventTypes){var a=void 0,o=n[r],l=t,u=r;if(S.hasOwnProperty(u))throw Error(i(99,u));S[u]=o;var s=o.phasedRegistrationNames;if(s){for(a in s)s.hasOwnProperty(a)&&k(s[a],l,u);a=!0}else o.registrationName?(k(o.registrationName,l,u),a=!0):a=!1;if(!a)throw Error(i(98,r,e))}}}}function k(e,t,n){if(x[e])throw Error(i(100,e));x[e]=t,T[e]=t.eventTypes[n].dependencies}var E=[],S={},x={},T={};function C(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!y.hasOwnProperty(t)||y[t]!==r){if(y[t])throw Error(i(102,t));y[t]=r,n=!0}}n&&w()}var _=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),A=null,P=null,N=null;function R(e){if(e=h(e)){if("function"!=typeof A)throw Error(i(280));var t=e.stateNode;t&&(t=m(t),A(e.stateNode,e.type,t))}}function O(e){P?N?N.push(e):N=[e]:P=e}function L(){if(P){var e=P,t=N;if(N=P=null,R(e),t)for(e=0;e<t.length;e++)R(t[e])}}function I(e,t){return e(t)}function D(e,t,n,r,a){return e(t,n,r,a)}function M(){}var F=I,B=!1,j=!1;function z(){null===P&&null===N||(M(),L())}function U(e,t,n){if(j)return e(t,n);j=!0;try{return F(e,t,n)}finally{j=!1,z()}}var Z=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,$=Object.prototype.hasOwnProperty,H={},q={};function G(e,t,n,r,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var V={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){V[e]=new G(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];V[t]=new G(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){V[e]=new G(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){V[e]=new G(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){V[e]=new G(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){V[e]=new G(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){V[e]=new G(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){V[e]=new G(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){V[e]=new G(e,5,!1,e.toLowerCase(),null,!1)}));var W=/[\-:]([a-z])/g;function K(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(W,K);V[t]=new G(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(W,K);V[t]=new G(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(W,K);V[t]=new G(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){V[e]=new G(e,1,!1,e.toLowerCase(),null,!1)})),V.xlinkHref=new G("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){V[e]=new G(e,1,!1,e.toLowerCase(),null,!0)}));var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Q(e,t,n,r){var a=V.hasOwnProperty(t)?V[t]:null;(null!==a?0===a.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!$.call(q,e)||!$.call(H,e)&&(Z.test(e)?q[e]=!0:(H[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}Y.hasOwnProperty("ReactCurrentDispatcher")||(Y.ReactCurrentDispatcher={current:null}),Y.hasOwnProperty("ReactCurrentBatchConfig")||(Y.ReactCurrentBatchConfig={suspense:null});var X=/^(.*)[\\\/]/,J="function"==typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,re=J?Symbol.for("react.strict_mode"):60108,ae=J?Symbol.for("react.profiler"):60114,oe=J?Symbol.for("react.provider"):60109,ie=J?Symbol.for("react.context"):60110,le=J?Symbol.for("react.concurrent_mode"):60111,ue=J?Symbol.for("react.forward_ref"):60112,se=J?Symbol.for("react.suspense"):60113,ce=J?Symbol.for("react.suspense_list"):60120,de=J?Symbol.for("react.memo"):60115,fe=J?Symbol.for("react.lazy"):60116,pe=J?Symbol.for("react.block"):60121,me="function"==typeof Symbol&&Symbol.iterator;function he(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=me&&e[me]||e["@@iterator"])?e:null}function ge(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case ae:return"Profiler";case re:return"StrictMode";case se:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ie:return"Context.Consumer";case oe:return"Context.Provider";case ue:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case de:return ge(e.type);case pe:return ge(e.render);case fe:if(e=1===e._status?e._result:null)return ge(e)}return null}function ve(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,a=e._debugSource,o=ge(e.type);n=null,r&&(n=ge(r.type)),r=o,o="",a?o=" (at "+a.fileName.replace(X,"")+":"+a.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}function be(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ye(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function we(e){e._valueTracker||(e._valueTracker=function(e){var t=ye(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ke(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ye(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ee(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Se(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=be(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function xe(e,t){null!=(t=t.checked)&&Q(e,"checked",t,!1)}function Te(e,t){xe(e,t);var n=be(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?_e(e,t.type,n):t.hasOwnProperty("defaultValue")&&_e(e,t.type,be(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ce(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function _e(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ae(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Pe(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+be(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function Ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Re(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:be(n)}}function Oe(e,t){var n=be(t.value),r=be(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Ie="http://www.w3.org/1999/xhtml",De="http://www.w3.org/2000/svg";function Me(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Fe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Me(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Be,je,ze=(je=function(e,t){if(e.namespaceURI!==De||"innerHTML"in e)e.innerHTML=t;else{for((Be=Be||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Be.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return je(e,t)}))}:je);function Ue(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Ze(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var $e={animationend:Ze("Animation","AnimationEnd"),animationiteration:Ze("Animation","AnimationIteration"),animationstart:Ze("Animation","AnimationStart"),transitionend:Ze("Transition","TransitionEnd")},He={},qe={};function Ge(e){if(He[e])return He[e];if(!$e[e])return e;var t,n=$e[e];for(t in n)if(n.hasOwnProperty(t)&&t in qe)return He[e]=n[t];return e}_&&(qe=document.createElement("div").style,"AnimationEvent"in window||(delete $e.animationend.animation,delete $e.animationiteration.animation,delete $e.animationstart.animation),"TransitionEvent"in window||delete $e.transitionend.transition);var Ve=Ge("animationend"),We=Ge("animationiteration"),Ke=Ge("animationstart"),Ye=Ge("transitionend"),Qe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xe=new("function"==typeof WeakMap?WeakMap:Map);function Je(e){var t=Xe.get(e);return void 0===t&&(t=new Map,Xe.set(e,t)),t}function et(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function tt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function nt(e){if(et(e)!==e)throw Error(i(188))}function rt(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=et(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return nt(a),e;if(o===r)return nt(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var l=!1,u=a.child;u;){if(u===n){l=!0,n=a,r=o;break}if(u===r){l=!0,r=a,n=o;break}u=u.sibling}if(!l){for(u=o.child;u;){if(u===n){l=!0,n=o,r=a;break}if(u===r){l=!0,r=o,n=a;break}u=u.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function at(e,t){if(null==t)throw Error(i(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function lt(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)v(e,t[r],n[r]);else t&&v(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ut(e){if(null!==e&&(it=at(it,e)),e=it,it=null,e){if(ot(e,lt),it)throw Error(i(95));if(c)throw e=d,c=!1,d=null,e}}function st(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!_)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var dt=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>dt.length&&dt.push(e)}function pt(e,t,n,r){if(dt.length){var a=dt.pop();return a.topLevelType=e,a.eventSystemFlags=r,a.nativeEvent=t,a.targetInst=n,a}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function mt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Ln(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var a=st(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,i=e.eventSystemFlags;0===n&&(i|=64);for(var l=null,u=0;u<E.length;u++){var s=E[u];s&&(s=s.extractEvents(r,t,o,a,i))&&(l=at(l,s))}ut(l)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Qe.indexOf(e)&&Wt(e,t)}n.set(e,null)}}var gt,vt,bt,yt=!1,wt=[],kt=null,Et=null,St=null,xt=new Map,Tt=new Map,Ct=[],_t="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),At="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Pt(e,t,n,r,a){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:a,container:r}}function Nt(e,t){switch(e){case"focus":case"blur":kt=null;break;case"dragenter":case"dragleave":Et=null;break;case"mouseover":case"mouseout":St=null;break;case"pointerover":case"pointerout":xt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(t.pointerId)}}function Rt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e=Pt(t,n,r,a,o),null!==t&&(null!==(t=In(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function Ot(e){var t=Ln(e.target);if(null!==t){var n=et(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=tt(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){bt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1;var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=In(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function It(e,t,n){Lt(e)&&n.delete(t)}function Dt(){for(yt=!1;0<wt.length;){var e=wt[0];if(null!==e.blockedOn){null!==(e=In(e.blockedOn))&>(e);break}var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:wt.shift()}null!==kt&&Lt(kt)&&(kt=null),null!==Et&&Lt(Et)&&(Et=null),null!==St&&Lt(St)&&(St=null),xt.forEach(It),Tt.forEach(It)}function Mt(e,t){e.blockedOn===t&&(e.blockedOn=null,yt||(yt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Dt)))}function Ft(e){function t(t){return Mt(t,e)}if(0<wt.length){Mt(wt[0],e);for(var n=1;n<wt.length;n++){var r=wt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==kt&&Mt(kt,e),null!==Et&&Mt(Et,e),null!==St&&Mt(St,e),xt.forEach(t),Tt.forEach(t),n=0;n<Ct.length;n++)(r=Ct[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ct.length&&null===(n=Ct[0]).blockedOn;)Ot(n),null===n.blockedOn&&Ct.shift()}var Bt={},jt=new Map,zt=new Map,Ut=["abort","abort",Ve,"animationEnd",We,"animationIteration",Ke,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ye,"transitionEnd","waiting","waiting"];function Zt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1],o="on"+(a[0].toUpperCase()+a.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},zt.set(r,t),jt.set(r,o),Bt[a]=o}}Zt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Zt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Zt(Ut,2);for(var $t="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ht=0;Ht<$t.length;Ht++)zt.set($t[Ht],0);var qt=o.unstable_UserBlockingPriority,Gt=o.unstable_runWithPriority,Vt=!0;function Wt(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=zt.get(t);switch(void 0===r?2:r){case 0:r=Yt.bind(null,t,1,e);break;case 1:r=Qt.bind(null,t,1,e);break;default:r=Xt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Yt(e,t,n,r){B||M();var a=Xt,o=B;B=!0;try{D(a,e,t,n,r)}finally{(B=o)||z()}}function Qt(e,t,n,r){Gt(qt,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){if(Vt)if(0<wt.length&&-1<_t.indexOf(e))e=Pt(null,e,t,n,r),wt.push(e);else{var a=Jt(e,t,n,r);if(null===a)Nt(e,r);else if(-1<_t.indexOf(e))e=Pt(a,e,t,n,r),wt.push(e);else if(!function(e,t,n,r,a){switch(t){case"focus":return kt=Rt(kt,e,t,n,r,a),!0;case"dragenter":return Et=Rt(Et,e,t,n,r,a),!0;case"mouseover":return St=Rt(St,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return xt.set(o,Rt(xt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Tt.set(o,Rt(Tt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r)){Nt(e,r),e=pt(e,r,null,t);try{U(mt,e)}finally{ft(e)}}}}function Jt(e,t,n,r){if(null!==(n=Ln(n=st(r)))){var a=et(n);if(null===a)n=null;else{var o=a.tag;if(13===o){if(null!==(n=tt(a)))return n;n=null}else if(3===o){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}e=pt(e,r,n,t);try{U(mt,e)}finally{ft(e)}return null}var en={animationIterationCount:!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},tn=["Webkit","ms","Moz","O"];function nn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||en.hasOwnProperty(e)&&en[e]?(""+t).trim():t+"px"}function rn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=nn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(en).forEach((function(e){tn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),en[t]=en[e]}))}));var an=a({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 on(e,t){if(t){if(an[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62,""))}}function ln(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;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 un=Ie;function sn(e,t){var n=Je(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=T[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function cn(){}function dn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function mn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?mn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hn(){for(var e=window,t=dn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=dn((e=t.contentWindow).document)}return t}function gn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var vn="$",bn="/$",yn="$?",wn="$!",kn=null,En=null;function Sn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function xn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Tn="function"==typeof setTimeout?setTimeout:void 0,Cn="function"==typeof clearTimeout?clearTimeout:void 0;function _n(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function An(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===vn||n===wn||n===yn){if(0===t)return e;t--}else n===bn&&t++}e=e.previousSibling}return null}var Pn=Math.random().toString(36).slice(2),Nn="__reactInternalInstance$"+Pn,Rn="__reactEventHandlers$"+Pn,On="__reactContainere$"+Pn;function Ln(e){var t=e[Nn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[On]||n[Nn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=An(e);null!==e;){if(n=e[Nn])return n;e=An(e)}return t}n=(e=n).parentNode}return null}function In(e){return!(e=e[Nn]||e[On])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Dn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Mn(e){return e[Rn]||null}function Fn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Bn(e,t){var n=e.stateNode;if(!n)return null;var r=m(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}function jn(e,t,n){(t=Bn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=at(n._dispatchListeners,t),n._dispatchInstances=at(n._dispatchInstances,e))}function zn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Fn(t);for(t=n.length;0<t--;)jn(n[t],"captured",e);for(t=0;t<n.length;t++)jn(n[t],"bubbled",e)}}function Un(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Bn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=at(n._dispatchListeners,t),n._dispatchInstances=at(n._dispatchInstances,e))}function Zn(e){e&&e.dispatchConfig.registrationName&&Un(e._targetInst,null,e)}function $n(e){ot(e,zn)}var Hn=null,qn=null,Gn=null;function Vn(){if(Gn)return Gn;var e,t,n=qn,r=n.length,a="value"in Hn?Hn.value:Hn.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Gn=a.slice(e,1<t?1-t:void 0)}function Wn(){return!0}function Kn(){return!1}function Yn(e,t,n,r){for(var a in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(a)&&((t=e[a])?this[a]=t(n):"target"===a?this.target=r:this[a]=n[a]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Wn:Kn,this.isPropagationStopped=Kn,this}function Qn(e,t,n,r){if(this.eventPool.length){var a=this.eventPool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)}function Xn(e){if(!(e instanceof this))throw Error(i(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Jn(e){e.eventPool=[],e.getPooled=Qn,e.release=Xn}a(Yn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Wn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Wn)},persist:function(){this.isPersistent=Wn},isPersistent:Kn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Kn,this._dispatchInstances=this._dispatchListeners=null}}),Yn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Yn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return a(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=a({},r.Interface,e),n.extend=r.extend,Jn(n),n},Jn(Yn);var er=Yn.extend({data:null}),tr=Yn.extend({data:null}),nr=[9,13,27,32],rr=_&&"CompositionEvent"in window,ar=null;_&&"documentMode"in document&&(ar=document.documentMode);var or=_&&"TextEvent"in window&&!ar,ir=_&&(!rr||ar&&8<ar&&11>=ar),lr=String.fromCharCode(32),ur={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},sr=!1;function cr(e,t){switch(e){case"keyup":return-1!==nr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function dr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var fr=!1;var pr={eventTypes:ur,extractEvents:function(e,t,n,r){var a;if(rr)e:{switch(e){case"compositionstart":var o=ur.compositionStart;break e;case"compositionend":o=ur.compositionEnd;break e;case"compositionupdate":o=ur.compositionUpdate;break e}o=void 0}else fr?cr(e,n)&&(o=ur.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=ur.compositionStart);return o?(ir&&"ko"!==n.locale&&(fr||o!==ur.compositionStart?o===ur.compositionEnd&&fr&&(a=Vn()):(qn="value"in(Hn=r)?Hn.value:Hn.textContent,fr=!0)),o=er.getPooled(o,t,n,r),a?o.data=a:null!==(a=dr(n))&&(o.data=a),$n(o),a=o):a=null,(e=or?function(e,t){switch(e){case"compositionend":return dr(t);case"keypress":return 32!==t.which?null:(sr=!0,lr);case"textInput":return(e=t.data)===lr&&sr?null:e;default:return null}}(e,n):function(e,t){if(fr)return"compositionend"===e||!rr&&cr(e,t)?(e=Vn(),Gn=qn=Hn=null,fr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ir&&"ko"!==t.locale?null:t.data}}(e,n))?((t=tr.getPooled(ur.beforeInput,t,n,r)).data=e,$n(t)):t=null,null===a?t:null===t?a:[a,t]}},mr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!mr[e.type]:"textarea"===t}var gr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function vr(e,t,n){return(e=Yn.getPooled(gr.change,e,t,n)).type="change",O(n),$n(e),e}var br=null,yr=null;function wr(e){ut(e)}function kr(e){if(ke(Dn(e)))return e}function Er(e,t){if("change"===e)return t}var Sr=!1;function xr(){br&&(br.detachEvent("onpropertychange",Tr),yr=br=null)}function Tr(e){if("value"===e.propertyName&&kr(yr))if(e=vr(yr,e,st(e)),B)ut(e);else{B=!0;try{I(wr,e)}finally{B=!1,z()}}}function Cr(e,t,n){"focus"===e?(xr(),yr=n,(br=t).attachEvent("onpropertychange",Tr)):"blur"===e&&xr()}function _r(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return kr(yr)}function Ar(e,t){if("click"===e)return kr(t)}function Pr(e,t){if("input"===e||"change"===e)return kr(t)}_&&(Sr=ct("input")&&(!document.documentMode||9<document.documentMode));var Nr={eventTypes:gr,_isInputEventSupported:Sr,extractEvents:function(e,t,n,r){var a=t?Dn(t):window,o=a.nodeName&&a.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===a.type)var i=Er;else if(hr(a))if(Sr)i=Pr;else{i=_r;var l=Cr}else(o=a.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(i=Ar);if(i&&(i=i(e,t)))return vr(i,n,r);l&&l(e,a,t),"blur"===e&&(e=a._wrapperState)&&e.controlled&&"number"===a.type&&_e(a,"number",a.value)}},Rr=Yn.extend({view:null,detail:null}),Or={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Lr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Or[e])&&!!t[e]}function Ir(){return Lr}var Dr=0,Mr=0,Fr=!1,Br=!1,jr=Rr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Ir,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Dr;return Dr=e.screenX,Fr?"mousemove"===e.type?e.screenX-t:0:(Fr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Mr;return Mr=e.screenY,Br?"mousemove"===e.type?e.screenY-t:0:(Br=!0,0)}}),zr=jr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Ur={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Zr={eventTypes:Ur,extractEvents:function(e,t,n,r,a){var o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(o&&0==(32&a)&&(n.relatedTarget||n.fromElement)||!i&&!o)return null;(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,i)?(i=t,null!==(t=(t=n.relatedTarget||n.toElement)?Ln(t):null)&&(t!==et(t)||5!==t.tag&&6!==t.tag)&&(t=null)):i=null;if(i===t)return null;if("mouseout"===e||"mouseover"===e)var l=jr,u=Ur.mouseLeave,s=Ur.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(l=zr,u=Ur.pointerLeave,s=Ur.pointerEnter,c="pointer");if(e=null==i?o:Dn(i),o=null==t?o:Dn(t),(u=l.getPooled(u,i,n,r)).type=c+"leave",u.target=e,u.relatedTarget=o,(n=l.getPooled(s,t,n,r)).type=c+"enter",n.target=o,n.relatedTarget=e,c=t,(r=i)&&c)e:{for(s=c,i=0,e=l=r;e;e=Fn(e))i++;for(e=0,t=s;t;t=Fn(t))e++;for(;0<i-e;)l=Fn(l),i--;for(;0<e-i;)s=Fn(s),e--;for(;i--;){if(l===s||l===s.alternate)break e;l=Fn(l),s=Fn(s)}l=null}else l=null;for(s=l,l=[];r&&r!==s&&(null===(i=r.alternate)||i!==s);)l.push(r),r=Fn(r);for(r=[];c&&c!==s&&(null===(i=c.alternate)||i!==s);)r.push(c),c=Fn(c);for(c=0;c<l.length;c++)Un(l[c],"bubbled",u);for(c=r.length;0<c--;)Un(r[c],"captured",n);return 0==(64&a)?[u]:[u,n]}};var $r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Hr=Object.prototype.hasOwnProperty;function qr(e,t){if($r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Hr.call(t,n[r])||!$r(e[n[r]],t[n[r]]))return!1;return!0}var Gr=_&&"documentMode"in document&&11>=document.documentMode,Vr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Wr=null,Kr=null,Yr=null,Qr=!1;function Xr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Qr||null==Wr||Wr!==dn(n)?null:("selectionStart"in(n=Wr)&&gn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Yr&&qr(Yr,n)?null:(Yr=n,(e=Yn.getPooled(Vr.select,Kr,e,t)).type="select",e.target=Wr,$n(e),e))}var Jr={eventTypes:Vr,extractEvents:function(e,t,n,r,a,o){if(!(o=!(a=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{a=Je(a),o=T.onSelect;for(var i=0;i<o.length;i++)if(!a.has(o[i])){a=!1;break e}a=!0}o=!a}if(o)return null;switch(a=t?Dn(t):window,e){case"focus":(hr(a)||"true"===a.contentEditable)&&(Wr=a,Kr=t,Yr=null);break;case"blur":Yr=Kr=Wr=null;break;case"mousedown":Qr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Qr=!1,Xr(n,r);case"selectionchange":if(Gr)break;case"keydown":case"keyup":return Xr(n,r)}return null}},ea=Yn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),ta=Yn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),na=Rr.extend({relatedTarget:null});function ra(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var aa={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},oa={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ia=Rr.extend({key:function(e){if(e.key){var t=aa[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ra(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?oa[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Ir,charCode:function(e){return"keypress"===e.type?ra(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ra(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),la=jr.extend({dataTransfer:null}),ua=Rr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Ir}),sa=Yn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ca=jr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),da={eventTypes:Bt,extractEvents:function(e,t,n,r){var a=jt.get(e);if(!a)return null;switch(e){case"keypress":if(0===ra(n))return null;case"keydown":case"keyup":e=ia;break;case"blur":case"focus":e=na;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=jr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=la;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ua;break;case Ve:case We:case Ke:e=ea;break;case Ye:e=sa;break;case"scroll":e=Rr;break;case"wheel":e=ca;break;case"copy":case"cut":case"paste":e=ta;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=zr;break;default:e=Yn}return $n(t=e.getPooled(a,t,n,r)),t}};if(b)throw Error(i(101));b=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),m=Mn,h=In,g=Dn,C({SimpleEventPlugin:da,EnterLeaveEventPlugin:Zr,ChangeEventPlugin:Nr,SelectEventPlugin:Jr,BeforeInputEventPlugin:pr});var fa=[],pa=-1;function ma(e){0>pa||(e.current=fa[pa],fa[pa]=null,pa--)}function ha(e,t){pa++,fa[pa]=e.current,e.current=t}var ga={},va={current:ga},ba={current:!1},ya=ga;function wa(e,t){var n=e.type.contextTypes;if(!n)return ga;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ka(e){return null!=(e=e.childContextTypes)}function Ea(){ma(ba),ma(va)}function Sa(e,t,n){if(va.current!==ga)throw Error(i(168));ha(va,t),ha(ba,n)}function xa(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(i(108,ge(t)||"Unknown",o));return a({},n,{},r)}function Ta(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ga,ya=va.current,ha(va,e),ha(ba,ba.current),!0}function Ca(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=xa(e,t,ya),r.__reactInternalMemoizedMergedChildContext=e,ma(ba),ma(va),ha(va,e)):ma(ba),ha(ba,n)}var _a=o.unstable_runWithPriority,Aa=o.unstable_scheduleCallback,Pa=o.unstable_cancelCallback,Na=o.unstable_requestPaint,Ra=o.unstable_now,Oa=o.unstable_getCurrentPriorityLevel,La=o.unstable_ImmediatePriority,Ia=o.unstable_UserBlockingPriority,Da=o.unstable_NormalPriority,Ma=o.unstable_LowPriority,Fa=o.unstable_IdlePriority,Ba={},ja=o.unstable_shouldYield,za=void 0!==Na?Na:function(){},Ua=null,Za=null,$a=!1,Ha=Ra(),qa=1e4>Ha?Ra:function(){return Ra()-Ha};function Ga(){switch(Oa()){case La:return 99;case Ia:return 98;case Da:return 97;case Ma:return 96;case Fa:return 95;default:throw Error(i(332))}}function Va(e){switch(e){case 99:return La;case 98:return Ia;case 97:return Da;case 96:return Ma;case 95:return Fa;default:throw Error(i(332))}}function Wa(e,t){return e=Va(e),_a(e,t)}function Ka(e,t,n){return e=Va(e),Aa(e,t,n)}function Ya(e){return null===Ua?(Ua=[e],Za=Aa(La,Xa)):Ua.push(e),Ba}function Qa(){if(null!==Za){var e=Za;Za=null,Pa(e)}Xa()}function Xa(){if(!$a&&null!==Ua){$a=!0;var e=0;try{var t=Ua;Wa(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ua=null}catch(n){throw null!==Ua&&(Ua=Ua.slice(e+1)),Aa(La,Qa),n}finally{$a=!1}}}function Ja(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function eo(e,t){if(e&&e.defaultProps)for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var to={current:null},no=null,ro=null,ao=null;function oo(){ao=ro=no=null}function io(e){var t=to.current;ma(to),e.type._context._currentValue=t}function lo(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function uo(e,t){no=e,ao=ro=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Mi=!0),e.firstContext=null)}function so(e,t){if(ao!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ao=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ro){if(null===no)throw Error(i(308));ro=t,no.dependencies={expirationTime:0,firstContext:t,responders:null}}else ro=ro.next=t;return e._currentValue}var co=!1;function fo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function po(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function mo(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function ho(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function go(e,t){var n=e.alternate;null!==n&&po(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function vo(e,t,n,r){var o=e.updateQueue;co=!1;var i=o.baseQueue,l=o.shared.pending;if(null!==l){if(null!==i){var u=i.next;i.next=l.next,l.next=u}i=l,o.shared.pending=null,null!==(u=e.alternate)&&(null!==(u=u.updateQueue)&&(u.baseQueue=l))}if(null!==i){u=i.next;var s=o.baseState,c=0,d=null,f=null,p=null;if(null!==u)for(var m=u;;){if((l=m.expirationTime)<r){var h={expirationTime:m.expirationTime,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null};null===p?(f=p=h,d=s):p=p.next=h,l>c&&(c=l)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null}),Eu(l,m.suspenseConfig);e:{var g=e,v=m;switch(l=t,h=n,v.tag){case 1:if("function"==typeof(g=v.payload)){s=g.call(h,s,l);break e}s=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null==(l="function"==typeof(g=v.payload)?g.call(h,s,l):g))break e;s=a({},s,l);break e;case 2:co=!0}}null!==m.callback&&(e.effectTag|=32,null===(l=o.effects)?o.effects=[m]:l.push(m))}if(null===(m=m.next)||m===u){if(null===(l=o.shared.pending))break;m=i.next=l.next,l.next=u,o.baseQueue=i=l,o.shared.pending=null}}null===p?d=s:p.next=f,o.baseState=d,o.baseQueue=p,Su(c),e.expirationTime=c,e.memoizedState=s}}function bo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=a,a=n,"function"!=typeof r)throw Error(i(191,r));r.call(a)}}}var yo=Y.ReactCurrentBatchConfig,wo=(new r.Component).refs;function ko(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var Eo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&et(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=su(),a=yo.suspense;(a=mo(r=cu(r,e,a),a)).payload=t,null!=n&&(a.callback=n),ho(e,a),du(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=su(),a=yo.suspense;(a=mo(r=cu(r,e,a),a)).tag=1,a.payload=t,null!=n&&(a.callback=n),ho(e,a),du(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=su(),r=yo.suspense;(r=mo(n=cu(n,e,r),r)).tag=2,null!=t&&(r.callback=t),ho(e,r),du(e,n)}};function So(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!qr(n,r)||!qr(a,o))}function xo(e,t,n){var r=!1,a=ga,o=t.contextType;return"object"==typeof o&&null!==o?o=so(o):(a=ka(t)?ya:va.current,o=(r=null!=(r=t.contextTypes))?wa(e,a):ga),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Eo,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function To(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Eo.enqueueReplaceState(t,t.state,null)}function Co(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=wo,fo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=so(o):(o=ka(t)?ya:va.current,a.context=wa(e,o)),vo(e,n,a,r),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(ko(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&Eo.enqueueReplaceState(a,a.state,null),vo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.effectTag|=4)}var _o=Array.isArray;function Ao(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=r.refs;t===wo&&(t=r.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Po(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function No(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=$u(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Gu(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=Ao(e,t,n),r.return=e,r):((r=Hu(n.type,n.key,n.props,null,e.mode,r)).ref=Ao(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vu(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=qu(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Gu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Hu(t.type,t.key,t.props,null,e.mode,n)).ref=Ao(e,null,t),n.return=e,n;case te:return(t=Vu(t,e.mode,n)).return=e,t}if(_o(t)||he(t))return(t=qu(t,e.mode,n,null)).return=e,t;Po(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===a?n.type===ne?d(e,t,n.props.children,r,a):s(e,t,n,r):null;case te:return n.key===a?c(e,t,n,r):null}if(_o(n)||he(n))return null!==a?null:d(e,t,n,r,null);Po(e,n)}return null}function m(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?d(t,e,r.props.children,a,r.key):s(t,e,r,a);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(_o(r)||he(r))return d(t,e=e.get(n)||null,r,a,null);Po(t,r)}return null}function h(a,i,l,u){for(var s=null,c=null,d=i,h=i=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var v=p(a,d,l[h],u);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(a,d),i=o(v,i,h),null===c?s=v:c.sibling=v,c=v,d=g}if(h===l.length)return n(a,d),s;if(null===d){for(;h<l.length;h++)null!==(d=f(a,l[h],u))&&(i=o(d,i,h),null===c?s=d:c.sibling=d,c=d);return s}for(d=r(a,d);h<l.length;h++)null!==(g=m(d,a,h,l[h],u))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),i=o(g,i,h),null===c?s=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(a,e)})),s}function g(a,l,u,s){var c=he(u);if("function"!=typeof c)throw Error(i(150));if(null==(u=c.call(u)))throw Error(i(151));for(var d=c=null,h=l,g=l=0,v=null,b=u.next();null!==h&&!b.done;g++,b=u.next()){h.index>g?(v=h,h=null):v=h.sibling;var y=p(a,h,b.value,s);if(null===y){null===h&&(h=v);break}e&&h&&null===y.alternate&&t(a,h),l=o(y,l,g),null===d?c=y:d.sibling=y,d=y,h=v}if(b.done)return n(a,h),c;if(null===h){for(;!b.done;g++,b=u.next())null!==(b=f(a,b.value,s))&&(l=o(b,l,g),null===d?c=b:d.sibling=b,d=b);return c}for(h=r(a,h);!b.done;g++,b=u.next())null!==(b=m(h,a,g,b.value,s))&&(e&&null!==b.alternate&&h.delete(null===b.key?g:b.key),l=o(b,l,g),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach((function(e){return t(a,e)})),c}return function(e,r,o,u){var s="object"==typeof o&&null!==o&&o.type===ne&&null===o.key;s&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case ee:e:{for(c=o.key,s=r;null!==s;){if(s.key===c){if(7===s.tag){if(o.type===ne){n(e,s.sibling),(r=a(s,o.props.children)).return=e,e=r;break e}}else if(s.elementType===o.type){n(e,s.sibling),(r=a(s,o.props)).ref=Ao(e,s,o),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}o.type===ne?((r=qu(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=Hu(o.type,o.key,o.props,null,e.mode,u)).ref=Ao(e,r,o),u.return=e,e=u)}return l(e);case te:e:{for(s=o.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Vu(o,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,o)).return=e,e=r):(n(e,r),(r=Gu(o,e.mode,u)).return=e,e=r),l(e);if(_o(o))return h(e,r,o,u);if(he(o))return g(e,r,o,u);if(c&&Po(e,o),void 0===o&&!s)switch(e.tag){case 1:case 0:throw e=e.type,Error(i(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Ro=No(!0),Oo=No(!1),Lo={},Io={current:Lo},Do={current:Lo},Mo={current:Lo};function Fo(e){if(e===Lo)throw Error(i(174));return e}function Bo(e,t){switch(ha(Mo,t),ha(Do,e),ha(Io,Lo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Fe(null,"");break;default:t=Fe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ma(Io),ha(Io,t)}function jo(){ma(Io),ma(Do),ma(Mo)}function zo(e){Fo(Mo.current);var t=Fo(Io.current),n=Fe(t,e.type);t!==n&&(ha(Do,e),ha(Io,n))}function Uo(e){Do.current===e&&(ma(Io),ma(Do))}var Zo={current:0};function $o(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===yn||n.data===wn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ho(e,t){return{responder:e,props:t}}var qo=Y.ReactCurrentDispatcher,Go=Y.ReactCurrentBatchConfig,Vo=0,Wo=null,Ko=null,Yo=null,Qo=!1;function Xo(){throw Error(i(321))}function Jo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!$r(e[n],t[n]))return!1;return!0}function ei(e,t,n,r,a,o){if(Vo=o,Wo=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,qo.current=null===e||null===e.memoizedState?Si:xi,e=n(r,a),t.expirationTime===Vo){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(i(301));o+=1,Yo=Ko=null,t.updateQueue=null,qo.current=Ti,e=n(r,a)}while(t.expirationTime===Vo)}if(qo.current=Ei,t=null!==Ko&&null!==Ko.next,Vo=0,Yo=Ko=Wo=null,Qo=!1,t)throw Error(i(300));return e}function ti(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Yo?Wo.memoizedState=Yo=e:Yo=Yo.next=e,Yo}function ni(){if(null===Ko){var e=Wo.alternate;e=null!==e?e.memoizedState:null}else e=Ko.next;var t=null===Yo?Wo.memoizedState:Yo.next;if(null!==t)Yo=t,Ko=e;else{if(null===e)throw Error(i(310));e={memoizedState:(Ko=e).memoizedState,baseState:Ko.baseState,baseQueue:Ko.baseQueue,queue:Ko.queue,next:null},null===Yo?Wo.memoizedState=Yo=e:Yo=Yo.next=e}return Yo}function ri(e,t){return"function"==typeof t?t(e):t}function ai(e){var t=ni(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=Ko,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var l=a.next;a.next=o.next,o.next=l}r.baseQueue=a=o,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var u=l=o=null,s=a;do{var c=s.expirationTime;if(c<Vo){var d={expirationTime:s.expirationTime,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===u?(l=u=d,o=r):u=u.next=d,c>Wo.expirationTime&&(Wo.expirationTime=c,Su(c))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),Eu(c,s.suspenseConfig),r=s.eagerReducer===e?s.eagerState:e(r,s.action);s=s.next}while(null!==s&&s!==a);null===u?o=r:u.next=l,$r(r,t.memoizedState)||(Mi=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function oi(e){var t=ni(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{o=e(o,l.action),l=l.next}while(l!==a);$r(o,t.memoizedState)||(Mi=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ii(e){var t=ti();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ri,lastRenderedState:e}).dispatch=ki.bind(null,Wo,e),[t.memoizedState,e]}function li(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Wo.updateQueue)?(t={lastEffect:null},Wo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ui(){return ni().memoizedState}function si(e,t,n,r){var a=ti();Wo.effectTag|=e,a.memoizedState=li(1|t,n,void 0,void 0===r?null:r)}function ci(e,t,n,r){var a=ni();r=void 0===r?null:r;var o=void 0;if(null!==Ko){var i=Ko.memoizedState;if(o=i.destroy,null!==r&&Jo(r,i.deps))return void li(t,n,o,r)}Wo.effectTag|=e,a.memoizedState=li(1|t,n,o,r)}function di(e,t){return si(516,4,e,t)}function fi(e,t){return ci(516,4,e,t)}function pi(e,t){return ci(4,2,e,t)}function mi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function hi(e,t,n){return n=null!=n?n.concat([e]):null,ci(4,2,mi.bind(null,t,e),n)}function gi(){}function vi(e,t){return ti().memoizedState=[e,void 0===t?null:t],e}function bi(e,t){var n=ni();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Jo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function yi(e,t){var n=ni();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Jo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function wi(e,t,n){var r=Ga();Wa(98>r?98:r,(function(){e(!0)})),Wa(97<r?97:r,(function(){var r=Go.suspense;Go.suspense=void 0===t?null:t;try{e(!1),n()}finally{Go.suspense=r}}))}function ki(e,t,n){var r=su(),a=yo.suspense;a={expirationTime:r=cu(r,e,a),suspenseConfig:a,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?a.next=a:(a.next=o.next,o.next=a),t.pending=a,o=e.alternate,e===Wo||null!==o&&o===Wo)Qo=!0,a.expirationTime=Vo,Wo.expirationTime=Vo;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.eagerReducer=o,a.eagerState=l,$r(l,i))return}catch(u){}du(e,r)}}var Ei={readContext:so,useCallback:Xo,useContext:Xo,useEffect:Xo,useImperativeHandle:Xo,useLayoutEffect:Xo,useMemo:Xo,useReducer:Xo,useRef:Xo,useState:Xo,useDebugValue:Xo,useResponder:Xo,useDeferredValue:Xo,useTransition:Xo},Si={readContext:so,useCallback:vi,useContext:so,useEffect:di,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,si(4,2,mi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return si(4,2,e,t)},useMemo:function(e,t){var n=ti();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ti();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ki.bind(null,Wo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ti().memoizedState=e},useState:ii,useDebugValue:gi,useResponder:Ho,useDeferredValue:function(e,t){var n=ii(e),r=n[0],a=n[1];return di((function(){var n=Go.suspense;Go.suspense=void 0===t?null:t;try{a(e)}finally{Go.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ii(!1),n=t[0];return t=t[1],[vi(wi.bind(null,t,e),[t,e]),n]}},xi={readContext:so,useCallback:bi,useContext:so,useEffect:fi,useImperativeHandle:hi,useLayoutEffect:pi,useMemo:yi,useReducer:ai,useRef:ui,useState:function(){return ai(ri)},useDebugValue:gi,useResponder:Ho,useDeferredValue:function(e,t){var n=ai(ri),r=n[0],a=n[1];return fi((function(){var n=Go.suspense;Go.suspense=void 0===t?null:t;try{a(e)}finally{Go.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ai(ri),n=t[0];return t=t[1],[bi(wi.bind(null,t,e),[t,e]),n]}},Ti={readContext:so,useCallback:bi,useContext:so,useEffect:fi,useImperativeHandle:hi,useLayoutEffect:pi,useMemo:yi,useReducer:oi,useRef:ui,useState:function(){return oi(ri)},useDebugValue:gi,useResponder:Ho,useDeferredValue:function(e,t){var n=oi(ri),r=n[0],a=n[1];return fi((function(){var n=Go.suspense;Go.suspense=void 0===t?null:t;try{a(e)}finally{Go.suspense=n}}),[e,t]),r},useTransition:function(e){var t=oi(ri),n=t[0];return t=t[1],[bi(wi.bind(null,t,e),[t,e]),n]}},Ci=null,_i=null,Ai=!1;function Pi(e,t){var n=Uu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ni(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Ri(e){if(Ai){var t=_i;if(t){var n=t;if(!Ni(e,t)){if(!(t=_n(n.nextSibling))||!Ni(e,t))return e.effectTag=-1025&e.effectTag|2,Ai=!1,void(Ci=e);Pi(Ci,n)}Ci=e,_i=_n(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Ai=!1,Ci=e}}function Oi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ci=e}function Li(e){if(e!==Ci)return!1;if(!Ai)return Oi(e),Ai=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!xn(t,e.memoizedProps))for(t=_i;t;)Pi(e,t),t=_n(t.nextSibling);if(Oi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(n===bn){if(0===t){_i=_n(e.nextSibling);break e}t--}else n!==vn&&n!==wn&&n!==yn||t++}e=e.nextSibling}_i=null}}else _i=Ci?_n(e.stateNode.nextSibling):null;return!0}function Ii(){_i=Ci=null,Ai=!1}var Di=Y.ReactCurrentOwner,Mi=!1;function Fi(e,t,n,r){t.child=null===e?Oo(t,null,n,r):Ro(t,e.child,n,r)}function Bi(e,t,n,r,a){n=n.render;var o=t.ref;return uo(t,a),r=ei(e,t,n,r,o,a),null===e||Mi?(t.effectTag|=1,Fi(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),tl(e,t,a))}function ji(e,t,n,r,a,o){if(null===e){var i=n.type;return"function"!=typeof i||Zu(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Hu(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,zi(e,t,i,r,a,o))}return i=e.child,a<o&&(a=i.memoizedProps,(n=null!==(n=n.compare)?n:qr)(a,r)&&e.ref===t.ref)?tl(e,t,o):(t.effectTag|=1,(e=$u(i,r)).ref=t.ref,e.return=t,t.child=e)}function zi(e,t,n,r,a,o){return null!==e&&qr(e.memoizedProps,r)&&e.ref===t.ref&&(Mi=!1,a<o)?(t.expirationTime=e.expirationTime,tl(e,t,o)):Zi(e,t,n,r,o)}function Ui(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Zi(e,t,n,r,a){var o=ka(n)?ya:va.current;return o=wa(t,o),uo(t,a),n=ei(e,t,n,r,o,a),null===e||Mi?(t.effectTag|=1,Fi(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),tl(e,t,a))}function $i(e,t,n,r,a){if(ka(n)){var o=!0;Ta(t)}else o=!1;if(uo(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),xo(t,n,r),Co(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;"object"==typeof s&&null!==s?s=so(s):s=wa(t,s=ka(n)?ya:va.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&To(t,i,r,s),co=!1;var f=t.memoizedState;i.state=f,vo(t,r,i,a),u=t.memoizedState,l!==r||f!==u||ba.current||co?("function"==typeof c&&(ko(t,n,c,r),u=t.memoizedState),(l=co||So(t,n,l,r,f,u,s))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.effectTag|=4)):("function"==typeof i.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"==typeof i.componentDidMount&&(t.effectTag|=4),r=!1)}else i=t.stateNode,po(e,t),l=t.memoizedProps,i.props=t.type===t.elementType?l:eo(t.type,l),u=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=so(s):s=wa(t,s=ka(n)?ya:va.current),(d="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&To(t,i,r,s),co=!1,u=t.memoizedState,i.state=u,vo(t,r,i,a),f=t.memoizedState,l!==r||u!==f||ba.current||co?("function"==typeof c&&(ko(t,n,c,r),f=t.memoizedState),(c=co||So(t,n,l,r,u,f,s))?(d||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,f,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,f,s)),"function"==typeof i.componentDidUpdate&&(t.effectTag|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),i.props=r,i.state=f,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Hi(e,t,n,r,o,a)}function Hi(e,t,n,r,a,o){Ui(e,t);var i=0!=(64&t.effectTag);if(!r&&!i)return a&&Ca(t,n,!1),tl(e,t,o);r=t.stateNode,Di.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&i?(t.child=Ro(t,e.child,null,o),t.child=Ro(t,null,l,o)):Fi(e,t,l,o),t.memoizedState=r.state,a&&Ca(t,n,!0),t.child}function qi(e){var t=e.stateNode;t.pendingContext?Sa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Sa(0,t.context,!1),Bo(e,t.containerInfo)}var Gi,Vi,Wi,Ki,Yi={dehydrated:null,retryTime:0};function Qi(e,t,n){var r,a=t.mode,o=t.pendingProps,i=Zo.current,l=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&i)&&(null===e||null!==e.memoizedState)),r?(l=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),ha(Zo,1&i),null===e){if(void 0!==o.fallback&&Ri(t),l){if(l=o.fallback,(o=qu(null,a,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=qu(l,a,n,null)).return=t,o.sibling=n,t.memoizedState=Yi,t.child=o,n}return a=o.children,t.memoizedState=null,t.child=Oo(t,null,a,n)}if(null!==e.memoizedState){if(a=(e=e.child).sibling,l){if(o=o.fallback,(n=$u(e,e.pendingProps)).return=t,0==(2&t.mode)&&(l=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=l;null!==l;)l.return=n,l=l.sibling;return(a=$u(a,o)).return=t,n.sibling=a,n.childExpirationTime=0,t.memoizedState=Yi,t.child=n,a}return n=Ro(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,l){if(l=o.fallback,(o=qu(null,a,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=qu(l,a,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=Yi,t.child=o,n}return t.memoizedState=null,t.child=Ro(t,e,o.children,n)}function Xi(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),lo(e.return,t)}function Ji(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:a,lastEffect:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailExpiration=0,i.tailMode=a,i.lastEffect=o)}function el(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(Fi(e,t,r.children,n),0!=(2&(r=Zo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Xi(e,n);else if(19===e.tag)Xi(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ha(Zo,r),0==(2&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===$o(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Ji(t,!1,a,n,o,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===$o(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Ji(t,!0,n,null,o,t.lastEffect);break;case"together":Ji(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function tl(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&Su(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=$u(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=$u(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function nl(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function rl(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return ka(t.type)&&Ea(),null;case 3:return jo(),ma(ba),ma(va),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Li(t)||(t.effectTag|=4),Vi(t),null;case 5:Uo(t),n=Fo(Mo.current);var o=t.type;if(null!==e&&null!=t.stateNode)Wi(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Fo(Io.current),Li(t)){r=t.stateNode,o=t.type;var l=t.memoizedProps;switch(r[Nn]=t,r[Rn]=l,o){case"iframe":case"object":case"embed":Wt("load",r);break;case"video":case"audio":for(e=0;e<Qe.length;e++)Wt(Qe[e],r);break;case"source":Wt("error",r);break;case"img":case"image":case"link":Wt("error",r),Wt("load",r);break;case"form":Wt("reset",r),Wt("submit",r);break;case"details":Wt("toggle",r);break;case"input":Se(r,l),Wt("invalid",r),sn(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Wt("invalid",r),sn(n,"onChange");break;case"textarea":Re(r,l),Wt("invalid",r),sn(n,"onChange")}for(var u in on(o,l),e=null,l)if(l.hasOwnProperty(u)){var s=l[u];"children"===u?"string"==typeof s?r.textContent!==s&&(e=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(e=["children",""+s]):x.hasOwnProperty(u)&&null!=s&&sn(n,u)}switch(o){case"input":we(r),Ce(r,l,!0);break;case"textarea":we(r),Le(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===un&&(e=Me(o)),e===un?"script"===o?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(o,{is:r.is}):(e=u.createElement(o),"select"===o&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,o),e[Nn]=t,e[Rn]=r,Gi(e,t,!1,!1),t.stateNode=e,u=ln(o,r),o){case"iframe":case"object":case"embed":Wt("load",e),s=r;break;case"video":case"audio":for(s=0;s<Qe.length;s++)Wt(Qe[s],e);s=r;break;case"source":Wt("error",e),s=r;break;case"img":case"image":case"link":Wt("error",e),Wt("load",e),s=r;break;case"form":Wt("reset",e),Wt("submit",e),s=r;break;case"details":Wt("toggle",e),s=r;break;case"input":Se(e,r),s=Ee(e,r),Wt("invalid",e),sn(n,"onChange");break;case"option":s=Ae(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=a({},r,{value:void 0}),Wt("invalid",e),sn(n,"onChange");break;case"textarea":Re(e,r),s=Ne(e,r),Wt("invalid",e),sn(n,"onChange");break;default:s=r}on(o,s);var c=s;for(l in c)if(c.hasOwnProperty(l)){var d=c[l];"style"===l?rn(e,d):"dangerouslySetInnerHTML"===l?null!=(d=d?d.__html:void 0)&&ze(e,d):"children"===l?"string"==typeof d?("textarea"!==o||""!==d)&&Ue(e,d):"number"==typeof d&&Ue(e,""+d):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(x.hasOwnProperty(l)?null!=d&&sn(n,l):null!=d&&Q(e,l,d,u))}switch(o){case"input":we(e),Ce(e,r,!1);break;case"textarea":we(e),Le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+be(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Pe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Pe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=cn)}Sn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ki(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));n=Fo(Mo.current),Fo(Io.current),Li(t)?(n=t.stateNode,r=t.memoizedProps,n[Nn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Nn]=t,t.stateNode=n)}return null;case 13:return ma(Zo),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Li(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(l=t.firstEffect)?(t.firstEffect=o,o.nextEffect=l):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Zo.current)?$l===Ll&&($l=Ml):($l!==Ll&&$l!==Ml||($l=Fl),0!==Wl&&null!==zl&&(Yu(zl,Zl),Qu(zl,Wl)))),(n||r)&&(t.effectTag|=4),null);case 4:return jo(),Vi(t),null;case 10:return io(t),null;case 19:if(ma(Zo),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(l=r.rendering)){if(o)nl(r,!1);else if($l!==Ll||null!==e&&0!=(64&e.effectTag))for(l=t.child;null!==l;){if(null!==(e=$o(l))){for(t.effectTag|=64,nl(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)l=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=l,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,l=e.dependencies,o.dependencies=null===l?null:{expirationTime:l.expirationTime,firstContext:l.firstContext,responders:l.responders}),r=r.sibling;return ha(Zo,1&Zo.current|2),t.child}l=l.sibling}}else{if(!o)if(null!==(e=$o(l))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),nl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!l.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*qa()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,nl(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=r.last)?n.sibling=l:t.child=l,r.last=l)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=qa()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=qa(),n.sibling=null,t=Zo.current,ha(Zo,o?1&t|2:1&t),n):null}throw Error(i(156,t.tag))}function al(e){switch(e.tag){case 1:ka(e.type)&&Ea();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(jo(),ma(ba),ma(va),0!=(64&(t=e.effectTag)))throw Error(i(285));return e.effectTag=-4097&t|64,e;case 5:return Uo(e),null;case 13:return ma(Zo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return ma(Zo),null;case 4:return jo(),null;case 10:return io(e),null;default:return null}}function ol(e,t){return{value:e,source:t,stack:ve(t)}}Gi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Vi=function(){},Wi=function(e,t,n,r,o){var i=e.memoizedProps;if(i!==r){var l,u,s=t.stateNode;switch(Fo(Io.current),e=null,n){case"input":i=Ee(s,i),r=Ee(s,r),e=[];break;case"option":i=Ae(s,i),r=Ae(s,r),e=[];break;case"select":i=a({},i,{value:void 0}),r=a({},r,{value:void 0}),e=[];break;case"textarea":i=Ne(s,i),r=Ne(s,r),e=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(s.onclick=cn)}for(l in on(n,r),n=null,i)if(!r.hasOwnProperty(l)&&i.hasOwnProperty(l)&&null!=i[l])if("style"===l)for(u in s=i[l])s.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(x.hasOwnProperty(l)?e||(e=[]):(e=e||[]).push(l,null));for(l in r){var c=r[l];if(s=null!=i?i[l]:void 0,r.hasOwnProperty(l)&&c!==s&&(null!=c||null!=s))if("style"===l)if(s){for(u in s)!s.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in c)c.hasOwnProperty(u)&&s[u]!==c[u]&&(n||(n={}),n[u]=c[u])}else n||(e||(e=[]),e.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(e=e||[]).push(l,c)):"children"===l?s===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(x.hasOwnProperty(l)?(null!=c&&sn(o,l),e||s===c||(e=[])):(e=e||[]).push(l,c))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},Ki=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var il="function"==typeof WeakSet?WeakSet:Set;function ll(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ve(n)),null!==n&&ge(n.type),t=t.value,null!==e&&1===e.tag&&ge(e.type);try{console.error(t)}catch(a){setTimeout((function(){throw a}))}}function ul(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){Du(e,n)}else t.current=null}function sl(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 3:case 5:case 6:case 4:case 17:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:eo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return}throw Error(i(163))}function cl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function dl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function fl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void dl(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:eo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&bo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}bo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&Sn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Ft(n)))))}throw Error(i(163))}function pl(e,t,n){switch("function"==typeof ju&&ju(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Wa(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var a=t;try{n()}catch(o){Du(a,o)}}e=e.next}while(e!==r)}))}break;case 1:ul(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){Du(e,n)}}(t,n);break;case 5:ul(t);break;case 4:yl(e,t,n)}}function ml(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ml(t)}function hl(e){return 5===e.tag||3===e.tag||4===e.tag}function gl(e){e:{for(var t=e.return;null!==t;){if(hl(t)){var n=t;break e}t=t.return}throw Error(i(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.effectTag&&(Ue(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||hl(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?vl(e,n,t):bl(e,n,t)}function vl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=cn));else if(4!==r&&null!==(e=e.child))for(vl(e,t,n),e=e.sibling;null!==e;)vl(e,t,n),e=e.sibling}function bl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(bl(e,t,n),e=e.sibling;null!==e;)bl(e,t,n),e=e.sibling}function yl(e,t,n){for(var r,a,o=t,l=!1;;){if(!l){l=o.return;e:for(;;){if(null===l)throw Error(i(160));switch(r=l.stateNode,l.tag){case 5:a=!1;break e;case 3:case 4:r=r.containerInfo,a=!0;break e}l=l.return}l=!0}if(5===o.tag||6===o.tag){e:for(var u=e,s=o,c=n,d=s;;)if(pl(u,d,c),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===s)break e;for(;null===d.sibling;){if(null===d.return||d.return===s)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}a?(u=r,s=o.stateNode,8===u.nodeType?u.parentNode.removeChild(s):u.removeChild(s)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,a=!0,o.child.return=o,o=o.child;continue}}else if(pl(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(l=!1)}o.sibling.return=o.return,o=o.sibling}}function wl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void cl(3,t);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,a=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Rn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&xe(n,r),ln(e,a),t=ln(e,r),a=0;a<o.length;a+=2){var l=o[a],u=o[a+1];"style"===l?rn(n,u):"dangerouslySetInnerHTML"===l?ze(n,u):"children"===l?Ue(n,u):Q(n,l,u,t)}switch(e){case"input":Te(n,r);break;case"textarea":Oe(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Pe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Pe(n,!!r.multiple,r.defaultValue,!0):Pe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Ft(t.containerInfo)));case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Yl=qa()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,a=null!=(a=e.memoizedProps.style)&&a.hasOwnProperty("display")?a.display:null,o.style.display=nn("display",a));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void kl(t);case 19:return void kl(t)}throw Error(i(163))}function kl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new il),t.forEach((function(t){var r=Fu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var El="function"==typeof WeakMap?WeakMap:Map;function Sl(e,t,n){(n=mo(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Jl||(Jl=!0,eu=r),ll(e,t)},n}function xl(e,t,n){(n=mo(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return ll(e,t),r(a)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===tu?tu=new Set([this]):tu.add(this),ll(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Tl,Cl=Math.ceil,_l=Y.ReactCurrentDispatcher,Al=Y.ReactCurrentOwner,Pl=0,Nl=8,Rl=16,Ol=32,Ll=0,Il=1,Dl=2,Ml=3,Fl=4,Bl=5,jl=Pl,zl=null,Ul=null,Zl=0,$l=Ll,Hl=null,ql=1073741823,Gl=1073741823,Vl=null,Wl=0,Kl=!1,Yl=0,Ql=500,Xl=null,Jl=!1,eu=null,tu=null,nu=!1,ru=null,au=90,ou=null,iu=0,lu=null,uu=0;function su(){return(jl&(Rl|Ol))!==Pl?1073741821-(qa()/10|0):0!==uu?uu:uu=1073741821-(qa()/10|0)}function cu(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Ga();if(0==(4&t))return 99===r?1073741823:1073741822;if((jl&Rl)!==Pl)return Zl;if(null!==n)e=Ja(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Ja(e,150,100);break;case 97:case 96:e=Ja(e,5e3,250);break;case 95:e=2;break;default:throw Error(i(326))}return null!==zl&&e===Zl&&--e,e}function du(e,t){if(50<iu)throw iu=0,lu=null,Error(i(185));if(null!==(e=fu(e,t))){var n=Ga();1073741823===t?(jl&Nl)!==Pl&&(jl&(Rl|Ol))===Pl?gu(e):(mu(e),jl===Pl&&Qa()):mu(e),(4&jl)===Pl||98!==n&&99!==n||(null===ou?ou=new Map([[e,t]]):(void 0===(n=ou.get(e))||n>t)&&ou.set(e,t))}}function fu(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,a=null;if(null===r&&3===e.tag)a=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){a=r.stateNode;break}r=r.return}return null!==a&&(zl===a&&(Su(t),$l===Fl&&Yu(a,Zl)),Qu(a,t)),a}function pu(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Ku(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function mu(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Ya(gu.bind(null,e));else{var t=pu(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=su();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var a=e.callbackPriority;if(e.callbackExpirationTime===t&&a>=r)return;n!==Ba&&Pa(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Ya(gu.bind(null,e)):Ka(r,hu.bind(null,e),{timeout:10*(1073741821-t)-qa()}),e.callbackNode=t}}}function hu(e,t){if(uu=0,t)return Xu(e,t=su()),mu(e),null;var n=pu(e);if(0!==n){if(t=e.callbackNode,(jl&(Rl|Ol))!==Pl)throw Error(i(327));if(Ou(),e===zl&&n===Zl||yu(e,n),null!==Ul){var r=jl;jl|=Rl;for(var a=ku();;)try{Tu();break}catch(u){wu(e,u)}if(oo(),jl=r,_l.current=a,$l===Il)throw t=Hl,yu(e,n),Yu(e,n),mu(e),t;if(null===Ul)switch(a=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=$l,zl=null,r){case Ll:case Il:throw Error(i(345));case Dl:Xu(e,2<n?2:n);break;case Ml:if(Yu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=Au(a)),1073741823===ql&&10<(a=Yl+Ql-qa())){if(Kl){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,yu(e,n);break}}if(0!==(o=pu(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=Tn(Pu.bind(null,e),a);break}Pu(e);break;case Fl:if(Yu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=Au(a)),Kl&&(0===(a=e.lastPingedTime)||a>=n)){e.lastPingedTime=n,yu(e,n);break}if(0!==(a=pu(e))&&a!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Gl?r=10*(1073741821-Gl)-qa():1073741823===ql?r=0:(r=10*(1073741821-ql)-5e3,0>(r=(a=qa())-r)&&(r=0),(n=10*(1073741821-n)-a)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=Tn(Pu.bind(null,e),r);break}Pu(e);break;case Bl:if(1073741823!==ql&&null!==Vl){o=ql;var l=Vl;if(0>=(r=0|l.busyMinDurationMs)?r=0:(a=0|l.busyDelayMs,r=(o=qa()-(10*(1073741821-o)-(0|l.timeoutMs||5e3)))<=a?0:a+r-o),10<r){Yu(e,n),e.timeoutHandle=Tn(Pu.bind(null,e),r);break}}Pu(e);break;default:throw Error(i(329))}if(mu(e),e.callbackNode===t)return hu.bind(null,e)}}return null}function gu(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(jl&(Rl|Ol))!==Pl)throw Error(i(327));if(Ou(),e===zl&&t===Zl||yu(e,t),null!==Ul){var n=jl;jl|=Rl;for(var r=ku();;)try{xu();break}catch(a){wu(e,a)}if(oo(),jl=n,_l.current=r,$l===Il)throw n=Hl,yu(e,t),Yu(e,t),mu(e),n;if(null!==Ul)throw Error(i(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,zl=null,Pu(e),mu(e)}return null}function vu(e,t){var n=jl;jl|=1;try{return e(t)}finally{(jl=n)===Pl&&Qa()}}function bu(e,t){var n=jl;jl&=-2,jl|=Nl;try{return e(t)}finally{(jl=n)===Pl&&Qa()}}function yu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Cn(n)),null!==Ul)for(n=Ul.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ea();break;case 3:jo(),ma(ba),ma(va);break;case 5:Uo(r);break;case 4:jo();break;case 13:case 19:ma(Zo);break;case 10:io(r)}n=n.return}zl=e,Ul=$u(e.current,null),Zl=t,$l=Ll,Hl=null,Gl=ql=1073741823,Vl=null,Wl=0,Kl=!1}function wu(e,t){for(;;){try{if(oo(),qo.current=Ei,Qo)for(var n=Wo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Vo=0,Yo=Ko=Wo=null,Qo=!1,null===Ul||null===Ul.return)return $l=Il,Hl=t,Ul=null;e:{var a=e,o=Ul.return,i=Ul,l=t;if(t=Zl,i.effectTag|=2048,i.firstEffect=i.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l;if(0==(2&i.mode)){var s=i.alternate;s?(i.updateQueue=s.updateQueue,i.memoizedState=s.memoizedState,i.expirationTime=s.expirationTime):(i.updateQueue=null,i.memoizedState=null)}var c=0!=(1&Zo.current),d=o;do{var f;if(f=13===d.tag){var p=d.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var m=d.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!c)}}if(f){var h=d.updateQueue;if(null===h){var g=new Set;g.add(u),d.updateQueue=g}else h.add(u);if(0==(2&d.mode)){if(d.effectTag|=64,i.effectTag&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else{var v=mo(1073741823,null);v.tag=2,ho(i,v)}i.expirationTime=1073741823;break e}l=void 0,i=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new El,l=new Set,b.set(u,l)):void 0===(l=b.get(u))&&(l=new Set,b.set(u,l)),!l.has(i)){l.add(i);var y=Mu.bind(null,a,u,i);u.then(y,y)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);l=Error((ge(i.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ve(i))}$l!==Bl&&($l=Dl),l=ol(l,i),d=o;do{switch(d.tag){case 3:u=l,d.effectTag|=4096,d.expirationTime=t,go(d,Sl(d,u,t));break e;case 1:u=l;var w=d.type,k=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===tu||!tu.has(k)))){d.effectTag|=4096,d.expirationTime=t,go(d,xl(d,u,t));break e}}d=d.return}while(null!==d)}Ul=_u(Ul)}catch(E){t=E;continue}break}}function ku(){var e=_l.current;return _l.current=Ei,null===e?Ei:e}function Eu(e,t){e<ql&&2<e&&(ql=e),null!==t&&e<Gl&&2<e&&(Gl=e,Vl=t)}function Su(e){e>Wl&&(Wl=e)}function xu(){for(;null!==Ul;)Ul=Cu(Ul)}function Tu(){for(;null!==Ul&&!ja();)Ul=Cu(Ul)}function Cu(e){var t=Tl(e.alternate,e,Zl);return e.memoizedProps=e.pendingProps,null===t&&(t=_u(e)),Al.current=null,t}function _u(e){Ul=e;do{var t=Ul.alternate;if(e=Ul.return,0==(2048&Ul.effectTag)){if(t=rl(t,Ul,Zl),1===Zl||1!==Ul.childExpirationTime){for(var n=0,r=Ul.child;null!==r;){var a=r.expirationTime,o=r.childExpirationTime;a>n&&(n=a),o>n&&(n=o),r=r.sibling}Ul.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ul.firstEffect),null!==Ul.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ul.firstEffect),e.lastEffect=Ul.lastEffect),1<Ul.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ul:e.firstEffect=Ul,e.lastEffect=Ul))}else{if(null!==(t=al(Ul)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ul.sibling))return t;Ul=e}while(null!==Ul);return $l===Ll&&($l=Bl),null}function Au(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function Pu(e){var t=Ga();return Wa(99,Nu.bind(null,e,t)),null}function Nu(e,t){do{Ou()}while(null!==ru);if((jl&(Rl|Ol))!==Pl)throw Error(i(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var a=Au(n);if(e.firstPendingTime=a,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===zl&&(Ul=zl=null,Zl=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,a=n.firstEffect):a=n:a=n.firstEffect,null!==a){var o=jl;jl|=Ol,Al.current=null,kn=Vt;var l=hn();if(gn(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else e:{var s=(u=(u=l.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(s&&0!==s.rangeCount){u=s.anchorNode;var c=s.anchorOffset,d=s.focusNode;s=s.focusOffset;try{u.nodeType,d.nodeType}catch(C){u=null;break e}var f=0,p=-1,m=-1,h=0,g=0,v=l,b=null;t:for(;;){for(var y;v!==u||0!==c&&3!==v.nodeType||(p=f+c),v!==d||0!==s&&3!==v.nodeType||(m=f+s),3===v.nodeType&&(f+=v.nodeValue.length),null!==(y=v.firstChild);)b=v,v=y;for(;;){if(v===l)break t;if(b===u&&++h===c&&(p=f),b===d&&++g===s&&(m=f),null!==(y=v.nextSibling))break;b=(v=b).parentNode}v=y}u=-1===p||-1===m?null:{start:p,end:m}}else u=null}u=u||{start:0,end:0}}else u=null;En={activeElementDetached:null,focusedElem:l,selectionRange:u},Vt=!1,Xl=a;do{try{Ru()}catch(C){if(null===Xl)throw Error(i(330));Du(Xl,C),Xl=Xl.nextEffect}}while(null!==Xl);Xl=a;do{try{for(l=e,u=t;null!==Xl;){var w=Xl.effectTag;if(16&w&&Ue(Xl.stateNode,""),128&w){var k=Xl.alternate;if(null!==k){var E=k.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&w){case 2:gl(Xl),Xl.effectTag&=-3;break;case 6:gl(Xl),Xl.effectTag&=-3,wl(Xl.alternate,Xl);break;case 1024:Xl.effectTag&=-1025;break;case 1028:Xl.effectTag&=-1025,wl(Xl.alternate,Xl);break;case 4:wl(Xl.alternate,Xl);break;case 8:yl(l,c=Xl,u),ml(c)}Xl=Xl.nextEffect}}catch(C){if(null===Xl)throw Error(i(330));Du(Xl,C),Xl=Xl.nextEffect}}while(null!==Xl);if(E=En,k=hn(),w=E.focusedElem,u=E.selectionRange,k!==w&&w&&w.ownerDocument&&mn(w.ownerDocument.documentElement,w)){null!==u&&gn(w)&&(k=u.start,void 0===(E=u.end)&&(E=k),"selectionStart"in w?(w.selectionStart=k,w.selectionEnd=Math.min(E,w.value.length)):(E=(k=w.ownerDocument||document)&&k.defaultView||window).getSelection&&(E=E.getSelection(),c=w.textContent.length,l=Math.min(u.start,c),u=void 0===u.end?l:Math.min(u.end,c),!E.extend&&l>u&&(c=u,u=l,l=c),c=pn(w,l),d=pn(w,u),c&&d&&(1!==E.rangeCount||E.anchorNode!==c.node||E.anchorOffset!==c.offset||E.focusNode!==d.node||E.focusOffset!==d.offset)&&((k=k.createRange()).setStart(c.node,c.offset),E.removeAllRanges(),l>u?(E.addRange(k),E.extend(d.node,d.offset)):(k.setEnd(d.node,d.offset),E.addRange(k))))),k=[];for(E=w;E=E.parentNode;)1===E.nodeType&&k.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<k.length;w++)(E=k[w]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Vt=!!kn,En=kn=null,e.current=n,Xl=a;do{try{for(w=e;null!==Xl;){var S=Xl.effectTag;if(36&S&&fl(w,Xl.alternate,Xl),128&S){k=void 0;var x=Xl.ref;if(null!==x){var T=Xl.stateNode;Xl.tag,k=T,"function"==typeof x?x(k):x.current=k}}Xl=Xl.nextEffect}}catch(C){if(null===Xl)throw Error(i(330));Du(Xl,C),Xl=Xl.nextEffect}}while(null!==Xl);Xl=null,za(),jl=o}else e.current=n;if(nu)nu=!1,ru=e,au=t;else for(Xl=a;null!==Xl;)t=Xl.nextEffect,Xl.nextEffect=null,Xl=t;if(0===(t=e.firstPendingTime)&&(tu=null),1073741823===t?e===lu?iu++:(iu=0,lu=e):iu=0,"function"==typeof Bu&&Bu(n.stateNode,r),mu(e),Jl)throw Jl=!1,e=eu,eu=null,e;return(jl&Nl)!==Pl||Qa(),null}function Ru(){for(;null!==Xl;){var e=Xl.effectTag;0!=(256&e)&&sl(Xl.alternate,Xl),0==(512&e)||nu||(nu=!0,Ka(97,(function(){return Ou(),null}))),Xl=Xl.nextEffect}}function Ou(){if(90!==au){var e=97<au?97:au;return au=90,Wa(e,Lu)}}function Lu(){if(null===ru)return!1;var e=ru;if(ru=null,(jl&(Rl|Ol))!==Pl)throw Error(i(331));var t=jl;for(jl|=Ol,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:cl(5,n),dl(5,n)}}catch(r){if(null===e)throw Error(i(330));Du(e,r)}n=e.nextEffect,e.nextEffect=null,e=n}return jl=t,Qa(),!0}function Iu(e,t,n){ho(e,t=Sl(e,t=ol(n,t),1073741823)),null!==(e=fu(e,1073741823))&&mu(e)}function Du(e,t){if(3===e.tag)Iu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Iu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===tu||!tu.has(r))){ho(n,e=xl(n,e=ol(t,e),1073741823)),null!==(n=fu(n,1073741823))&&mu(n);break}}n=n.return}}function Mu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),zl===e&&Zl===n?$l===Fl||$l===Ml&&1073741823===ql&&qa()-Yl<Ql?yu(e,Zl):Kl=!0:Ku(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,mu(e)))}function Fu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=cu(t=su(),e,null)),null!==(e=fu(e,t))&&mu(e)}Tl=function(e,t,n){var r=t.expirationTime;if(null!==e){var a=t.pendingProps;if(e.memoizedProps!==a||ba.current)Mi=!0;else{if(r<n){switch(Mi=!1,t.tag){case 3:qi(t),Ii();break;case 5:if(zo(t),4&t.mode&&1!==n&&a.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:ka(t.type)&&Ta(t);break;case 4:Bo(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,a=t.type._context,ha(to,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Qi(e,t,n):(ha(Zo,1&Zo.current),null!==(t=tl(e,t,n))?t.sibling:null);ha(Zo,1&Zo.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return el(e,t,n);t.effectTag|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null),ha(Zo,Zo.current),!r)return null}return tl(e,t,n)}Mi=!1}}else Mi=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,a=wa(t,va.current),uo(t,n),a=ei(null,t,r,e,a,n),t.effectTag|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ka(r)){var o=!0;Ta(t)}else o=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,fo(t);var l=r.getDerivedStateFromProps;"function"==typeof l&&ko(t,r,l,e),a.updater=Eo,t.stateNode=a,a._reactInternalFiber=t,Co(t,r,e,n),t=Hi(null,t,r,!0,o,n)}else t.tag=0,Fi(null,t,a,n),t=t.child;return t;case 16:e:{if(a=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(a),1!==a._status)throw a._result;switch(a=a._result,t.type=a,o=t.tag=function(e){if("function"==typeof e)return Zu(e)?1:0;if(null!=e){if((e=e.$$typeof)===ue)return 11;if(e===de)return 14}return 2}(a),e=eo(a,e),o){case 0:t=Zi(null,t,a,e,n);break e;case 1:t=$i(null,t,a,e,n);break e;case 11:t=Bi(null,t,a,e,n);break e;case 14:t=ji(null,t,a,eo(a.type,e),r,n);break e}throw Error(i(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,Zi(e,t,r,a=t.elementType===r?a:eo(r,a),n);case 1:return r=t.type,a=t.pendingProps,$i(e,t,r,a=t.elementType===r?a:eo(r,a),n);case 3:if(qi(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,po(e,t),vo(t,r,null,n),(r=t.memoizedState.element)===a)Ii(),t=tl(e,t,n);else{if((a=t.stateNode.hydrate)&&(_i=_n(t.stateNode.containerInfo.firstChild),Ci=t,a=Ai=!0),a)for(n=Oo(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Fi(e,t,r,n),Ii();t=t.child}return t;case 5:return zo(t),null===e&&Ri(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,l=a.children,xn(r,a)?l=null:null!==o&&xn(r,o)&&(t.effectTag|=16),Ui(e,t),4&t.mode&&1!==n&&a.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Fi(e,t,l,n),t=t.child),t;case 6:return null===e&&Ri(t),null;case 13:return Qi(e,t,n);case 4:return Bo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ro(t,null,r,n):Fi(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Bi(e,t,r,a=t.elementType===r?a:eo(r,a),n);case 7:return Fi(e,t,t.pendingProps,n),t.child;case 8:case 12:return Fi(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,l=t.memoizedProps,o=a.value;var u=t.type._context;if(ha(to,u._currentValue),u._currentValue=o,null!==l)if(u=l.value,0===(o=$r(u,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,o):1073741823))){if(l.children===a.children&&!ba.current){t=tl(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){l=u.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===u.tag&&((c=mo(n,null)).tag=2,ho(u,c)),u.expirationTime<n&&(u.expirationTime=n),null!==(c=u.alternate)&&c.expirationTime<n&&(c.expirationTime=n),lo(u.return,n),s.expirationTime<n&&(s.expirationTime=n);break}c=c.next}}else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}Fi(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(o=t.pendingProps).children,uo(t,n),r=r(a=so(a,o.unstable_observedBits)),t.effectTag|=1,Fi(e,t,r,n),t.child;case 14:return o=eo(a=t.type,t.pendingProps),ji(e,t,a,o=eo(a.type,o),r,n);case 15:return zi(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:eo(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,ka(r)?(e=!0,Ta(t)):e=!1,uo(t,n),xo(t,r,a),Co(t,r,a,n),Hi(null,t,r,!0,e,n);case 19:return el(e,t,n)}throw Error(i(156,t.tag))};var Bu=null,ju=null;function zu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Uu(e,t,n,r){return new zu(e,t,n,r)}function Zu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function $u(e,t){var n=e.alternate;return null===n?((n=Uu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hu(e,t,n,r,a,o){var l=2;if(r=e,"function"==typeof e)Zu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case ne:return qu(n.children,a,o,t);case le:l=8,a|=7;break;case re:l=8,a|=1;break;case ae:return(e=Uu(12,n,t,8|a)).elementType=ae,e.type=ae,e.expirationTime=o,e;case se:return(e=Uu(13,n,t,a)).type=se,e.elementType=se,e.expirationTime=o,e;case ce:return(e=Uu(19,n,t,a)).elementType=ce,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:l=10;break e;case ie:l=9;break e;case ue:l=11;break e;case de:l=14;break e;case fe:l=16,r=null;break e;case pe:l=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Uu(l,n,t,a)).elementType=e,t.type=r,t.expirationTime=o,t}function qu(e,t,n,r){return(e=Uu(7,e,r,t)).expirationTime=n,e}function Gu(e,t,n){return(e=Uu(6,e,null,t)).expirationTime=n,e}function Vu(e,t,n){return(t=Uu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Wu(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Ku(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Yu(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Qu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Xu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Ju(e,t,n,r){var a=t.current,o=su(),l=yo.suspense;o=cu(o,a,l);e:if(n){t:{if(et(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(i(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(ka(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(i(171))}if(1===n.tag){var s=n.type;if(ka(s)){n=xa(n,s,u);break e}}n=u}else n=ga;return null===t.context?t.context=n:t.pendingContext=n,(t=mo(o,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ho(a,t),du(a,o),o}function es(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function ts(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function ns(e,t){ts(e,t),(e=e.alternate)&&ts(e,t)}function rs(e,t,n){var r=new Wu(e,t,n=null!=n&&!0===n.hydrate),a=Uu(3,null,null,2===t?7:1===t?3:0);r.current=a,a.stateNode=r,fo(a),e[On]=r.current,n&&0!==t&&function(e,t){var n=Je(t);_t.forEach((function(e){ht(e,t,n)})),At.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function as(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function os(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o._internalRoot;if("function"==typeof a){var l=a;a=function(){var e=es(i);l.call(e)}}Ju(t,i,e,a)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new rs(e,0,t?{hydrate:!0}:void 0)}(n,r),i=o._internalRoot,"function"==typeof a){var u=a;a=function(){var e=es(i);u.call(e)}}bu((function(){Ju(t,i,e,a)}))}return es(i)}function is(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!as(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}rs.prototype.render=function(e){Ju(e,this._internalRoot,null,null)},rs.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Ju(null,e,null,(function(){t[On]=null}))},gt=function(e){if(13===e.tag){var t=Ja(su(),150,100);du(e,t),ns(e,t)}},vt=function(e){13===e.tag&&(du(e,3),ns(e,3))},bt=function(e){if(13===e.tag){var t=su();du(e,t=cu(t,e,null)),ns(e,t)}},A=function(e,t,n){switch(t){case"input":if(Te(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=Mn(r);if(!a)throw Error(i(90));ke(r),Te(r,a)}}}break;case"textarea":Oe(e,n);break;case"select":null!=(t=n.value)&&Pe(e,!!n.multiple,t,!1)}},I=vu,D=function(e,t,n,r,a){var o=jl;jl|=4;try{return Wa(98,e.bind(null,t,n,r,a))}finally{(jl=o)===Pl&&Qa()}},M=function(){(jl&(1|Rl|Ol))===Pl&&(function(){if(null!==ou){var e=ou;ou=null,e.forEach((function(e,t){Xu(t,e),mu(t)})),Qa()}}(),Ou())},F=function(e,t){var n=jl;jl|=2;try{return e(t)}finally{(jl=n)===Pl&&Qa()}};var ls={Events:[In,Dn,Mn,C,S,$n,function(e){ot(e,Zn)},O,L,Xt,ut,Ou,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Bu=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(r){}},ju=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){}}}catch(r){}})(a({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Ln,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),t.createPortal=is,t.hydrate=function(e,t,n){if(!as(t))throw Error(i(200));return os(null,e,t,!0,n)}},3935:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4448)},9590:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,u,s,c;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(u=l;0!=u--;)if(!o(e[u],i[u]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!i.has(u.value[0]))return!1;for(c=e.entries();!(u=c.next()).done;)if(!o(u.value[1],i.get(u.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!i.has(u.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(u=l;0!=u--;)if(e[u]!==i[u])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((l=(s=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(u=l;0!=u--;)if(!Object.prototype.hasOwnProperty.call(i,s[u]))return!1;if(t&&e instanceof Element)return!1;for(u=l;0!=u--;)if(("_owner"!==s[u]&&"__v"!==s[u]&&"__o"!==s[u]||!e.$$typeof)&&!o(e[s[u]],i[s[u]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},405:function(e,t,n){"use strict";n.d(t,{B6:function(){return q},ql:function(){return J}});var r=n(7294),a=n(5697),o=n.n(a),i=n(9590),l=n.n(i),u=n(1143),s=n.n(u),c=n(6774),d=n.n(c);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},v={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},y={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(g).map((function(e){return g[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},E=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},x=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},T=function(e){return S(e,"onChangeClientState")||function(){}},C=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return f({},e,t)}),{})},_=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},A=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var l=o[i],u=l.toLowerCase();-1===t.indexOf(u)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===u&&"stylesheet"===e[u].toLowerCase()||(n=u),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var s=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][s]&&(a[n][s]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var l=o[i],u=f({},r[l],a[l]);r[l]=u}return e}),[]).reverse()},P=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},N=function(e){return Array.isArray(e)?e.join(""):e},R=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},O=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},L=[g.NOSCRIPT,g.SCRIPT,g.STYLE],I=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},D=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},M=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},F=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},B=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=M(n,a),[r.createElement(g.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=D(n),o=N(t);return a?"<"+e+' data-rh="true" '+a+">"+I(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+I(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return M(t)},toString:function(){return D(t)}};default:return{toComponent:function(){return F(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+I(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===L.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},j=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,u=void 0===l?"":l,s=e.titleAttributes,c=e.linkTags,d=e.metaTags,f=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=R(e.metaTags,y),o=R(t,v),i=R(n,b);return{priorityMethods:{toComponent:function(){return[].concat(F(g.META,a.priority),F(g.LINK,o.priority),F(g.SCRIPT,i.priority))},toString:function(){return B(g.META,a.priority,r)+" "+B(g.LINK,o.priority,r)+" "+B(g.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);p=m.priorityMethods,c=m.linkTags,d=m.metaTags,f=m.scriptTags}return{priority:p,base:B(g.BASE,t,r),bodyAttributes:B("bodyAttributes",n,r),htmlAttributes:B("htmlAttributes",a,r),link:B(g.LINK,c,r),meta:B(g.META,d,r),noscript:B(g.NOSCRIPT,o,r),script:B(g.SCRIPT,f,r),style:B(g.STYLE,i,r),title:B(g.TITLE,{title:u,titleAttributes:s},r)}},z=[],U=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?z:n.instances},add:function(e){(n.canUseDOM?z:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?z:n.instances).indexOf(e);(n.canUseDOM?z:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=j({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Z=r.createContext({}),$=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),H="undefined"!=typeof document,q=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new U(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement(Z.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);q.canUseDOM=H,q.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},q.defaultProps={context:{}},q.displayName="HelmetProvider";var G=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},V=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l<i.length;l+=1){var u=i[l],s=t[u]||"";n.getAttribute(u)!==s&&n.setAttribute(u,s),-1===a.indexOf(u)&&a.push(u);var c=o.indexOf(u);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},W=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,u=e.scriptTags,s=e.styleTags,c=e.title,d=e.titleAttributes;V(g.BODY,e.bodyAttributes),V(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=N(e)),V(g.TITLE,t)}(c,d);var f={baseTag:G(g.BASE,n),linkTags:G(g.LINK,a),metaTags:G(g.META,o),noscriptTags:G(g.NOSCRIPT,i),scriptTags:G(g.SCRIPT,u),styleTags:G(g.STYLE,s)},p={},m={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(m[e]=f[e].oldTags)})),t&&t(),l(e,p,m)},K=null,Y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=f({},e.props);return delete t.context,t})),{baseTag:_(["href"],e),bodyAttributes:C("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:C("htmlAttributes",e),linkTags:A(g.LINK,["rel","href"],e),metaTags:A(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:A(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:T(e),scriptTags:A(g.SCRIPT,["src","innerHTML"],e),styleTags:A(g.STYLE,["cssText"],e),title:x(e),titleAttributes:C("titleAttributes",e),prioritizeSeoTags:P(e,"prioritizeSeoTags")});q.canUseDOM?(t=o,K&&cancelAnimationFrame(K),t.defer?K=requestAnimationFrame((function(){W(t,(function(){K=null}))})):(W(t),K=null)):j&&(a=j(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Y.propTypes={context:$.isRequired},Y.displayName="HelmetDispatcher";var Q=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(O(this.props,"helmetData"),O(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case g.BODY:return f({},a,{bodyAttributes:f({},o)});case g.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach((function(t){var r;n=f({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return s()(w.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),s()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,Q),l=Object.keys(i).reduce((function(e,t){return e[E[t]||t]=i[t],e}),{}),u=e.type;switch("symbol"==typeof u?u=u.toString():n.warnOnInvalidChildren(e,o),u){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,X),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof U||(o=new U(o.context,o.instances)),o?r.createElement(Y,f({},a,{context:o.value,helmetData:void 0})):r.createElement(Z.Consumer,null,(function(e){return r.createElement(Y,f({},a,{context:e}))}))},t}(r.Component);J.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},9921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case s:case f:case g:case h:case u:return e;default:return t}}case a:return t}}}function E(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=u,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||k(e)===c},t.isConcurrentMode=E,t.isContextConsumer=function(e){return k(e)===s},t.isContextProvider=function(e){return k(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===u||e.$$typeof===s||e.$$typeof===f||e.$$typeof===b||e.$$typeof===y||e.$$typeof===w||e.$$typeof===v)},t.typeOf=k},9864:function(e,t,n){"use strict";e.exports=n(9921)},8356:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var l=n(7294),u=n(5697),s=[],c=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function m(e,t){var d,f;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var m=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return s.push(g),"function"==typeof m.webpack&&c.push((function(){if((0,m.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()})),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(m.modules)&&m.modules.forEach((function(t){e.context.loadable.report(t)})),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?l.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextTypes",{loadable:u.shape({report:u.func.isRequired})}),f}function h(e){return m(d,e)}h.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return m(f,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return l.Children.only(this.props.children)},t}(l.Component);function v(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return v(e)}))}o(g,"propTypes",{report:u.func.isRequired}),o(g,"childContextTypes",{loadable:u.shape({report:u.func.isRequired}).isRequired}),h.Capture=g,h.preloadAll=function(){return new Promise((function(e,t){v(s).then(e,t)}))},h.preloadReady=function(){return new Promise((function(e,t){v(c).then(e,e)}))},e.exports=h},8790:function(e,t,n){"use strict";n.d(t,{H:function(){return l},f:function(){return i}});var r=n(6550),a=n(7462),o=n(7294);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.rs,n,e.map((function(e,n){return o.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.Z)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.Z)({},n,t,{route:e}))}})}))):null}},3727:function(e,t,n){"use strict";n.d(t,{OL:function(){return y},VK:function(){return c},rU:function(){return g}});var r=n(6550),a=n(4578),o=n(7294),i=n(9318),l=n(7462),u=n(3366),s=n(8776),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,a.Z)(t,e),t.prototype.render=function(){return o.createElement(r.F0,{history:this.history,children:this.props.children})},t}(o.Component);o.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},p=function(e){return e},m=o.forwardRef;void 0===m&&(m=p);var h=m((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,u.Z)(e,["innerRef","navigate","onClick"]),s=i.target,c=(0,l.Z)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||s&&"_self"!==s||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=p!==m&&t||n,o.createElement("a",c)}));var g=m((function(e,t){var n=e.component,a=void 0===n?h:n,c=e.replace,g=e.to,v=e.innerRef,b=(0,u.Z)(e,["component","replace","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,s.Z)(!1);var n=e.history,r=f(d(g,e.location),e.location),u=r?n.createHref(r):"",h=(0,l.Z)({},b,{href:u,navigate:function(){var t=d(g,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(f(t));(c||r?n.replace:n.push)(t)}});return p!==m?h.ref=t||v:h.innerRef=v,o.createElement(a,h)}))})),v=function(e){return e},b=o.forwardRef;void 0===b&&(b=v);var y=b((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,p=e.activeStyle,m=e.className,h=e.exact,y=e.isActive,w=e.location,k=e.sensitive,E=e.strict,S=e.style,x=e.to,T=e.innerRef,C=(0,u.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,s.Z)(!1);var n=w||e.location,i=f(d(x,n),n),u=i.pathname,_=u&&u.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),A=_?(0,r.LX)(n.pathname,{path:_,exact:h,sensitive:k,strict:E}):null,P=!!(y?y(A,n):A),N="function"==typeof m?m(P):m,R="function"==typeof S?S(P):S;P&&(N=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(N,c),R=(0,l.Z)({},R,p));var O=(0,l.Z)({"aria-current":P&&a||null,className:N,style:R,to:i},C);return v!==b?O.ref=t||T:O.innerRef=T,o.createElement(g,O)}))}))},6550:function(e,t,n){"use strict";n.d(t,{AW:function(){return x},F0:function(){return y},LX:function(){return S},TH:function(){return L},k6:function(){return O},rs:function(){return N},s6:function(){return b}});var r=n(4578),a=n(7294),o=n(5697),i=n.n(o),l=n(9318),u=n(8776),s=n(7462),c=n(4779),d=n.n(c),f=(n(9864),n(3366)),p=(n(8679),1073741823),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var h=a.createContext||function(e,t){var n,o,l="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",u=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.Z)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):p,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);u.childContextTypes=((n={})[l]=i().object.isRequired,n);var s=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?p:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?p:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return s.contextTypes=((o={})[l]=i().object,o),{Provider:u,Consumer:s}},g=function(e){var t=h();return t.displayName=e,t},v=g("Router-History"),b=g("Router"),y=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(b.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(v.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var w={},k=1e4,E=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,l=void 0!==i&&i,u=n.sensitive,s=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=w[n]||(w[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return E<k&&(r[e]=o,E++),o}(n,{end:o,strict:l,sensitive:s}),a=r.regexp,i=r.keys,u=a.exec(e);if(!u)return null;var c=u[0],f=u.slice(1),p=e===c;return o&&!p?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var x=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,u.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,o=(0,s.Z)({},t,{location:n,match:r}),i=e.props,l=i.children,c=i.component,d=i.render;return Array.isArray(l)&&function(e){return 0===a.Children.count(e)}(l)&&(l=null),a.createElement(b.Provider,{value:o},o.match?l?"function"==typeof l?l(o):l:c?a.createElement(c,o):d?d(o):null:"function"==typeof l?l(o):null)}))},t}(a.Component);function T(e){return"/"===e.charAt(0)?e:"/"+e}function C(e,t){if(!e)return t;var n=T(e);return 0!==t.pathname.indexOf(n)?t:(0,s.Z)({},t,{pathname:t.pathname.substr(n.length)})}function _(e){return"string"==typeof e?e:(0,l.Ep)(e)}function A(e){return function(){(0,u.Z)(!1)}}function P(){}a.Component;var N=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,u.Z)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(o.pathname,(0,s.Z)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var R=a.useContext;function O(){return R(v)}function L(){return R(b).location}},2408:function(e,t,n){"use strict";var r=n(7418),a="function"==typeof Symbol&&Symbol.for,o=a?Symbol.for("react.element"):60103,i=a?Symbol.for("react.portal"):60106,l=a?Symbol.for("react.fragment"):60107,u=a?Symbol.for("react.strict_mode"):60108,s=a?Symbol.for("react.profiler"):60114,c=a?Symbol.for("react.provider"):60109,d=a?Symbol.for("react.context"):60110,f=a?Symbol.for("react.forward_ref"):60112,p=a?Symbol.for("react.suspense"):60113,m=a?Symbol.for("react.memo"):60115,h=a?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||b}function k(){}function E(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||b}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=w.prototype;var S=E.prototype=new k;S.constructor=E,r(S,w.prototype),S.isPureReactComponent=!0;var x={current:null},T=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,n){var r,a={},i=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)T.call(t,r)&&!C.hasOwnProperty(r)&&(a[r]=t[r]);var u=arguments.length-2;if(1===u)a.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===a[r]&&(a[r]=u[r]);return{$$typeof:o,type:e,key:i,ref:l,props:a,_owner:x.current}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var P=/\/+/g,N=[];function R(e,t,n,r){if(N.length){var a=N.pop();return a.result=e,a.keyPrefix=t,a.func=n,a.context=r,a.count=0,a}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function O(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function L(e,t,n,r){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var l=!1;if(null===e)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case i:l=!0}}if(l)return n(r,e,""===t?"."+D(e,0):t),1;if(l=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){var s=t+D(a=e[u],u);l+=L(a,s,n,r)}else if(null===e||"object"!=typeof e?s=null:s="function"==typeof(s=g&&e[g]||e["@@iterator"])?s:null,"function"==typeof s)for(e=s.call(e),u=0;!(a=e.next()).done;)l+=L(a=a.value,s=t+D(a,u++),n,r);else if("object"===a)throw n=""+e,Error(v(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return l}function I(e,t,n){return null==e?0:L(e,"",t,n)}function D(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function M(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,n){var r=e.result,a=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?B(e,r,n,(function(e){return e})):null!=e&&(A(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,a+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+n)),r.push(e))}function B(e,t,n,r,a){var o="";null!=n&&(o=(""+n).replace(P,"$&/")+"/"),I(e,F,t=R(t,o,r,a)),O(t)}var j={current:null};function z(){var e=j.current;if(null===e)throw Error(v(321));return e}var U={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return B(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;I(e,M,t=R(null,null,t,n)),O(t)},count:function(e){return I(e,(function(){return null}),null)},toArray:function(e){var t=[];return B(e,t,null,(function(e){return e})),t},only:function(e){if(!A(e))throw Error(v(143));return e}},t.Component=w,t.Fragment=l,t.Profiler=s,t.PureComponent=E,t.StrictMode=u,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,n){if(null==e)throw Error(v(267,e));var a=r({},e.props),i=e.key,l=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,u=x.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)T.call(t,c)&&!C.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){s=Array(c);for(var d=0;d<c;d++)s[d]=arguments[d+2];a.children=s}return{$$typeof:o,type:e.type,key:i,ref:l,props:a,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return z().useCallback(e,t)},t.useContext=function(e,t){return z().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return z().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return z().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return z().useLayoutEffect(e,t)},t.useMemo=function(e,t){return z().useMemo(e,t)},t.useReducer=function(e,t,n){return z().useReducer(e,t,n)},t.useRef=function(e){return z().useRef(e)},t.useState=function(e){return z().useState(e)},t.version="16.14.0"},7294:function(e,t,n){"use strict";e.exports=n(2408)},53:function(e,t){"use strict";var n,r,a,o,i;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,u=null,s=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(n){throw setTimeout(s,0),n}},c=Date.now();t.unstable_now=function(){return Date.now()-c},n=function(e){null!==l?setTimeout(n,0,e):(l=e,setTimeout(s,0))},r=function(e,t){u=setTimeout(e,t)},a=function(){clearTimeout(u)},o=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,p=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var g=f.now();t.unstable_now=function(){return f.now()-g}}var v=!1,b=null,y=-1,w=5,k=0;o=function(){return t.unstable_now()>=k},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var E=new MessageChannel,S=E.port2;E.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();k=e+w;try{b(!0,e)?S.postMessage(null):(v=!1,b=null)}catch(n){throw S.postMessage(null),n}}else v=!1},n=function(e){b=e,v||(v=!0,S.postMessage(null))},r=function(e,n){y=p((function(){e(t.unstable_now())}),n)},a=function(){m(y),y=-1}}function x(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<_(a,t)))break e;e[r]=t,e[n]=a,n=r}}function T(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,i=e[o],l=o+1,u=e[l];if(void 0!==i&&0>_(i,n))void 0!==u&&0>_(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==u&&0>_(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var A=[],P=[],N=1,R=null,O=3,L=!1,I=!1,D=!1;function M(e){for(var t=T(P);null!==t;){if(null===t.callback)C(P);else{if(!(t.startTime<=e))break;C(P),t.sortIndex=t.expirationTime,x(A,t)}t=T(P)}}function F(e){if(D=!1,M(e),!I)if(null!==T(A))I=!0,n(B);else{var t=T(P);null!==t&&r(F,t.startTime-e)}}function B(e,n){I=!1,D&&(D=!1,a()),L=!0;var i=O;try{for(M(n),R=T(A);null!==R&&(!(R.expirationTime>n)||e&&!o());){var l=R.callback;if(null!==l){R.callback=null,O=R.priorityLevel;var u=l(R.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?R.callback=u:R===T(A)&&C(A),M(n)}else C(A);R=T(A)}if(null!==R)var s=!0;else{var c=T(P);null!==c&&r(F,c.startTime-n),s=!1}return s}finally{R=null,O=i,L=!1}}function j(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){I||L||(I=!0,n(B))},t.unstable_getCurrentPriorityLevel=function(){return O},t.unstable_getFirstCallbackNode=function(){return T(A)},t.unstable_next=function(e){switch(O){case 1:case 2:case 3:var t=3;break;default:t=O}var n=O;O=t;try{return e()}finally{O=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=O;O=e;try{return t()}finally{O=n}},t.unstable_scheduleCallback=function(e,o,i){var l=t.unstable_now();if("object"==typeof i&&null!==i){var u=i.delay;u="number"==typeof u&&0<u?l+u:l,i="number"==typeof i.timeout?i.timeout:j(e)}else i=j(e),u=l;return e={id:N++,callback:o,priorityLevel:e,startTime:u,expirationTime:i=u+i,sortIndex:-1},u>l?(e.sortIndex=u,x(P,e),null===T(A)&&e===T(P)&&(D?a():D=!0,r(F,u-l))):(e.sortIndex=i,x(A,e),I||L||(I=!0,n(B))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();M(e);var n=T(A);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<R.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=O;return function(){var n=O;O=t;try{return e.apply(this,arguments)}finally{O=n}}}},3840:function(e,t,n){"use strict";e.exports=n(53)},6774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),u=0;u<o.length;u++){var s=o[u];if(!l(s))return!1;var c=e[s],d=t[s];if(!1===(a=n?n.call(r,c,d,s):void 0)||void 0===a&&c!==d)return!1}return!0}},3250:function(e,t,n){"use strict";var r=n(7294);var a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,i=r.useEffect,l=r.useLayoutEffect,u=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!a(e,n)}catch(r){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),a=r[0].inst,c=r[1];return l((function(){a.value=n,a.getSnapshot=t,s(a)&&c({inst:a})}),[e,n,t]),i((function(){return s(a)&&c({inst:a}),e((function(){s(a)&&c({inst:a})}))}),[e]),u(n),n};void 0!==r.useSyncExternalStore&&r.useSyncExternalStore},1688:function(e,t,n){"use strict";n(3250)},6809:function(e,t,n){"use strict";n.r(t),t.default={title:"react-accessible-treeview",tagline:"A React component that implements the treeview pattern as described by the WAI-ARIA Authoring Practices.",url:"https://dgreene1.github.io",baseUrl:"/react-accessible-treeview/",favicon:"static/favicon.ico",organizationName:"dgreene1",projectName:"react-accessible-treeview",trailingSlash:!1,themeConfig:{navbar:{title:"react-accessible-treeview",items:[{to:"docs/api",label:"Docs",position:"left"},{to:"docs/examples-Basic",label:"Examples",position:"left"},{href:"https://github.com/dgreene1/react-accessible-treeview",label:"GitHub",position:"right"}],hideOnScroll:!1},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],prism:{additionalLanguages:[],theme:{plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},presets:[["@docusaurus/preset-classic",{docs:{sidebarPath:"/home/runner/work/react-accessible-treeview/react-accessible-treeview/website/sidebars.js"},theme:{customCss:"/home/runner/work/react-accessible-treeview/react-accessible-treeview/website/src/css/custom.css"}}]],baseUrlIssueBanner:!0,i18n:{defaultLocale:"en",path:"i18n",locales:["en"],localeConfigs:{}},onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{mermaid:!1}}},7462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},4578:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(9611);function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},3366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n.d(t,{Z:function(){return r}})},9611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},1002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},7099:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1002),a=n(9611);function o(){o=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,r,o){var i=new RegExp(e,r);return t.set(i,o||t.get(e)),(0,a.Z)(i,n.prototype)}function i(e,n){var r=t.get(n);return Object.keys(r).reduce((function(t,n){var a=r[n];if("number"==typeof a)t[n]=e[a];else{for(var o=0;void 0===e[a[o]]&&o+1<a.length;)o++;t[n]=e[a[o]]}return t}),Object.create(null))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,a.Z)(e,t)}(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);if(n){n.groups=i(n,this);var r=n.indices;r&&(r.groups=i(r,this))}return n},n.prototype[Symbol.replace]=function(n,a){if("string"==typeof a){var o=t.get(this);return e[Symbol.replace].call(this,n,a.replace(/\$<([^>]+)>/g,(function(e,t){var n=o[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof a){var l=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=(0,r.Z)(e[e.length-1])&&(e=[].slice.call(e)).push(i(e,l)),a.apply(this,e)}))}return e[Symbol.replace].call(this,n,a)},o.apply(this,arguments)}},8776:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},7529:function(e){"use strict";e.exports={}},6887:function(e){"use strict";e.exports=JSON.parse('{"/react-accessible-treeview/docs-c8e":{"__comp":"1be78505","__context":{"plugin":"80ab3120"},"versionMetadata":"935f2afb"},"/react-accessible-treeview/docs/api-a55":{"__comp":"17896441","content":"5fbc5cf1"},"/react-accessible-treeview/docs/examples-Basic-cdc":{"__comp":"17896441","content":"22f348d2"},"/react-accessible-treeview/docs/examples-ControlledExpandedNode-38a":{"__comp":"17896441","content":"0f6bc27b"},"/react-accessible-treeview/docs/examples-DataTypes-cf2":{"__comp":"17896441","content":"878f79e1"},"/react-accessible-treeview/docs/examples-DirectoryTree-4cb":{"__comp":"17896441","content":"366a509e"},"/react-accessible-treeview/docs/examples-Filtering-ec9":{"__comp":"17896441","content":"e56b3d68"},"/react-accessible-treeview/docs/examples-MultiSelectCheckbox-bb7":{"__comp":"17896441","content":"28e78d68"},"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsync-d42":{"__comp":"17896441","content":"64f7982e"},"/react-accessible-treeview/docs/examples-MultiSelectCheckboxAsyncControlled-e23":{"__comp":"17896441","content":"13c4e3bb"},"/react-accessible-treeview/docs/examples-MultiSelectCheckboxControlled-caf":{"__comp":"17896441","content":"3ec8ed95"},"/react-accessible-treeview/docs/examples-MultiSelectCheckboxDisabled-db9":{"__comp":"17896441","content":"6ebfbd9a"},"/react-accessible-treeview/docs/examples-MultiSelectDirectoryTree-340":{"__comp":"17896441","content":"3a56c823"},"/react-accessible-treeview/docs/examples-SingleSelectCheckbox-6d9":{"__comp":"17896441","content":"88d09b9b"},"/react-accessible-treeview/-922":{"__comp":"c4f5d8e4","__context":{"plugin":"f7176354"},"config":"5e9f5e1a"}}')}},function(e){e.O(0,[532],(function(){return t=7221,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/runtime~main.5a69a430.js b/assets/js/runtime~main.5a69a430.js new file mode 100644 index 00000000..62c4d872 --- /dev/null +++ b/assets/js/runtime~main.5a69a430.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,t,r,o,a,n={},f={};function i(e){var t=f[e];if(void 0!==t)return t.exports;var r=f[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=n,i.c=f,e=[],i.O=(t,r,o,a)=>{if(!r){var n=1/0;for(d=0;d<e.length;d++){r=e[d][0],o=e[d][1],a=e[d][2];for(var f=!0,c=0;c<r.length;c++)(!1&a||n>=a)&&Object.keys(i.O).every((e=>i.O[e](r[c])))?r.splice(c--,1):(f=!1,a<n&&(n=a));if(f){e.splice(d--,1);var b=o();void 0!==b&&(t=b)}}return t}a=a||0;for(var d=e.length;d>0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[r,o,a]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var a=Object.create(null);i.r(a);var n={};t=t||[null,r({}),r([]),r(r)];for(var f=2&o&&e;"object"==typeof f&&!~t.indexOf(f);f=r(f))Object.getOwnPropertyNames(f).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,i.d(a,n),a},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>"assets/js/"+({53:"935f2afb",73:"e56b3d68",99:"0f6bc27b",147:"3ec8ed95",148:"22f348d2",195:"c4f5d8e4",207:"5fbc5cf1",320:"13c4e3bb",442:"64f7982e",507:"28e78d68",514:"1be78505",535:"f7176354",592:"common",627:"878f79e1",648:"80ab3120",864:"6ebfbd9a",890:"3a56c823",891:"366a509e",918:"17896441",982:"88d09b9b"}[e]||e)+"."+{53:"5e6b94ed",73:"81114682",99:"d07a1751",147:"88d9b5d3",148:"4b9b5eac",193:"2e4b0181",195:"063e8d03",207:"9e90bde2",320:"b79295a8",442:"d798e35c",507:"c48c387d",514:"13faff4b",535:"a32584ac",592:"3ea66e67",627:"8425645a",648:"0bd0b20e",859:"2acfc751",864:"4e5574c0",890:"b299898e",891:"d5924e3a",918:"1a2f4372",972:"b43202c5",982:"75650fd9"}[e]+".js",i.miniCssF=e=>{},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},a="website:",i.l=(e,t,r,n)=>{if(o[e])o[e].push(t);else{var f,c;if(void 0!==r)for(var b=document.getElementsByTagName("script"),d=0;d<b.length;d++){var u=b[d];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==a+r){f=u;break}}f||(c=!0,(f=document.createElement("script")).charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.setAttribute("data-webpack",a+r),f.src=e),o[e]=[t];var l=(t,r)=>{f.onerror=f.onload=null,clearTimeout(s);var a=o[e];if(delete o[e],f.parentNode&&f.parentNode.removeChild(f),a&&a.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=l.bind(null,f.onerror),f.onload=l.bind(null,f.onload),c&&document.head.appendChild(f)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="/react-accessible-treeview/",i.gca=function(e){return e={17896441:"918","935f2afb":"53",e56b3d68:"73","0f6bc27b":"99","3ec8ed95":"147","22f348d2":"148",c4f5d8e4:"195","5fbc5cf1":"207","13c4e3bb":"320","64f7982e":"442","28e78d68":"507","1be78505":"514",f7176354:"535",common:"592","878f79e1":"627","80ab3120":"648","6ebfbd9a":"864","3a56c823":"890","366a509e":"891","88d09b9b":"982"}[e]||e,i.p+i.u(e)},(()=>{var e={303:0,532:0};i.f.j=(t,r)=>{var o=i.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>o=e[t]=[r,a]));r.push(o[2]=a);var n=i.p+i.u(t),f=new Error;i.l(n,(r=>{if(i.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;f.message="Loading chunk "+t+" failed.\n("+a+": "+n+")",f.name="ChunkLoadError",f.type=a,f.request=n,o[1](f)}}),"chunk-"+t,t)}},i.O.j=t=>0===e[t];var t=(t,r)=>{var o,a,n=r[0],f=r[1],c=r[2],b=0;if(n.some((t=>0!==e[t]))){for(o in f)i.o(f,o)&&(i.m[o]=f[o]);if(c)var d=c(i)}for(t&&t(r);b<n.length;b++)a=n[b],i.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return i.O(d)},r=self.webpackChunkwebsite=self.webpackChunkwebsite||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})(); \ No newline at end of file diff --git a/assets/js/runtime~main.9db00f63.js b/assets/js/runtime~main.9db00f63.js deleted file mode 100644 index 56692df9..00000000 --- a/assets/js/runtime~main.9db00f63.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var e,t,n,r,o,f={},c={};function i(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={id:e,loaded:!1,exports:{}};return f[e].call(n.exports,n,n.exports,i),n.loaded=!0,n.exports}i.m=f,i.c=c,e=[],i.O=function(t,n,r,o){if(!n){var f=1/0;for(b=0;b<e.length;b++){n=e[b][0],r=e[b][1],o=e[b][2];for(var c=!0,u=0;u<n.length;u++)(!1&o||f>=o)&&Object.keys(i.O).every((function(e){return i.O[e](n[u])}))?n.splice(u--,1):(c=!1,o<f&&(f=o));if(c){e.splice(b--,1);var a=r();void 0!==a&&(t=a)}}return t}o=o||0;for(var b=e.length;b>0&&e[b-1][2]>o;b--)e[b]=e[b-1];e[b]=[n,r,o]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var f={};t=t||[null,n({}),n([]),n(n)];for(var c=2&r&&e;"object"==typeof c&&!~t.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach((function(t){f[t]=function(){return e[t]}}));return f.default=function(){return e},i.d(o,f),o},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(t,n){return i.f[n](e,t),t}),[]))},i.u=function(e){return"assets/js/"+({53:"935f2afb",73:"e56b3d68",99:"0f6bc27b",147:"3ec8ed95",148:"22f348d2",195:"c4f5d8e4",207:"5fbc5cf1",320:"13c4e3bb",442:"64f7982e",507:"28e78d68",514:"1be78505",535:"f7176354",592:"common",627:"878f79e1",648:"80ab3120",864:"6ebfbd9a",890:"3a56c823",891:"366a509e",918:"17896441",982:"88d09b9b"}[e]||e)+"."+{53:"ef62f291",73:"6c84bca0",99:"c8e7e4a7",147:"3cc4fa62",148:"7ee9352d",195:"86f346cc",207:"1d3098f8",320:"80703ae5",442:"14b3f1ac",507:"a9650a1a",514:"50ad97e7",535:"82bb532b",592:"d7b5a18d",627:"1f88265b",648:"ded4a173",670:"85b5b7f9",859:"8276f4fa",864:"578d5a9a",890:"93ee3602",891:"a9292136",918:"28b37a0d",972:"3ccd22ab",982:"8671656c"}[e]+".js"},i.miniCssF=function(e){},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="website:",i.l=function(e,t,n,f){if(r[e])r[e].push(t);else{var c,u;if(void 0!==n)for(var a=document.getElementsByTagName("script"),b=0;b<a.length;b++){var d=a[b];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==o+n){c=d;break}}c||(u=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.setAttribute("data-webpack",o+n),c.src=e),r[e]=[t];var l=function(t,n){c.onerror=c.onload=null,clearTimeout(s);var o=r[e];if(delete r[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((function(e){return e(n)})),t)return t(n)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=l.bind(null,c.onerror),c.onload=l.bind(null,c.onload),u&&document.head.appendChild(c)}},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="/react-accessible-treeview/",i.gca=function(e){return e={17896441:"918","935f2afb":"53",e56b3d68:"73","0f6bc27b":"99","3ec8ed95":"147","22f348d2":"148",c4f5d8e4:"195","5fbc5cf1":"207","13c4e3bb":"320","64f7982e":"442","28e78d68":"507","1be78505":"514",f7176354:"535",common:"592","878f79e1":"627","80ab3120":"648","6ebfbd9a":"864","3a56c823":"890","366a509e":"891","88d09b9b":"982"}[e]||e,i.p+i.u(e)},function(){var e={303:0,532:0};i.f.j=function(t,n){var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var o=new Promise((function(n,o){r=e[t]=[n,o]}));n.push(r[2]=o);var f=i.p+i.u(t),c=new Error;i.l(f,(function(n){if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),f=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+f+")",c.name="ChunkLoadError",c.type=o,c.request=f,r[1](c)}}),"chunk-"+t,t)}},i.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,o,f=n[0],c=n[1],u=n[2],a=0;if(f.some((function(t){return 0!==e[t]}))){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(u)var b=u(i)}for(t&&t(n);a<f.length;a++)o=f[a],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return i.O(b)},n=self.webpackChunkwebsite=self.webpackChunkwebsite||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}()}(); \ No newline at end of file diff --git a/docs/api.html b/docs/api.html index 6e4cd513..25217c19 100644 --- a/docs/api.html +++ b/docs/api.html @@ -3,9 +3,9 @@ <head> <meta charset="UTF-8"> <meta name="generator" content="Docusaurus v2.4.3"> -<title data-rh="true">API Reference | react-accessible-treeview - - +API Reference | react-accessible-treeview + +
@@ -16,7 +16,7 @@ Note: the function uses the state right after the selection before propagation.

onExpand

  • Arguments: onExpand({element, isExpanded, isSelected, isHalfSelected, isDisabled, treeState}) Note: the function uses the state after the expansion.

onLoadData

  • Arguments: onLoadData({element, isExpanded, isSelected, isHalfSelected, isDisabled, treeState}) Note: the function uses the state after inital data is loaded and on expansion .

Keyboard Navigation

Follows the same conventions described in https://www.w3.org/TR/wai-aria-practices/examples/treeview/treeview-1/treeview-1b.html and https://www.w3.org/TR/wai-aria-practices/#keyboard-interaction-22.

KeyFunction
Enter or SpaceUpdates the selected node to the current node and triggers onSelect
Down Arrow
  • Moves focus to the next node that is tabbable without opening or closing a node.
  • If focus is on the last node, does nothing.
Up arrow
  • Moves focus to the previous node that is tabbable without opening or closing a node.
  • If focus is on the first node, does nothing.
Right Arrow
  • When focus is on a closed node, opens the node; focus does not move.
  • When focus is on an end node, does nothing.
  • When focus is on a open node, moves focus to the first child node.
Left Arrow
  • When focus is on an open node, closes the node.
  • When focus is on a child node that is also either an end node or a closed node, moves focus to its parent node.
  • When focus is on a root node that is also either an end node or a closed node, does nothing.
HomeMoves focus to first node without opening or closing a node.
EndMoves focus to the last node that can be focused without expanding any nodes that are closed.
a-z, A-Z
  • Focus moves to the next node with a name that starts with the typed character.
  • Search wraps to first node if a matching name is not found among the nodes that follow the focused node.
  • Search ignores nodes that are descendants of closed nodes.
* (asterisk)
  • Expands all closed sibling nodes that are at the same level as the focused node.
  • Focus does not move.
Shift + Down ArrowMoves focus to and toggles the selection state of the next node.
Shift + Up ArrowMoves focus to and toggles the selection state of the previous node.
Ctrl + ASelects all nodes in the tree. If all nodes are selected, unselects all nodes.


Mouse Navigation

KeyFunction
ClickToggles parent nodes and also performs one of clickActions = SELECT, EXCLUSIVE_SELECT, FOCUS
Ctrl+ClickIf multiselect is set to true, selects the node without dropping the current selected ones. If false, it selects the clicked node. Doesn't toggle parents.
Shift+ClickIf multiselect is set to true, selects from the node without dropping the current selected ones. If false, it focus the clicked node. Doesn't toggle parents.


Click actions

VariantFunction
SELECTSelects the clicked node (default).
EXCLUSIVE_SELECTSelects the clicked node and deselects the rest.
FOCUSFocuses the clicked node


treeState

The internal state of the component.

PropertyTypeDefaultDescription
selectedIdsSetnew Set(defaultSelectedIds)Set of the ids of the selected nodes
controlledIdsSetnew Set(controlledSelectedIds)Set of the ids of the nodes selected programmatically
tabbableIdnumberdata[0].children[0]Id of the node with tabindex = 0
isFocusedboolfalseWhether the tree has focus
expandedIdsSetnew Set(defaultExpandedIds)Set of the ids of the expanded nodes
halfSelectedIdsSetnew Set()Set of the ids of the selected nodes
lastUserSelectnumberdata[0].children[0]Last selection made directly by the user
lastInteractedWithnumber or nullnullLast node interacted with
lastManuallyTogglednumber or nullnullLast node that was manually selected/deselected
disabledIdsSetnew Set(defaultDisabledIds)Set of the ids of the selected nodes
- - + + \ No newline at end of file diff --git a/docs/examples-Basic.html b/docs/examples-Basic.html index a1b0ae0c..b45c4479 100644 --- a/docs/examples-Basic.html +++ b/docs/examples-Basic.html @@ -3,14 +3,14 @@ -Basic | react-accessible-treeview - - +Basic | react-accessible-treeview + +

Basic

The simplest instance of the component, a good base on which a custom component can be built.

  • .npmignore
  • package.json
  • webpack.config.js
- - + + \ No newline at end of file diff --git a/docs/examples-ControlledExpandedNode.html b/docs/examples-ControlledExpandedNode.html index 233aff5b..1c1d7c93 100644 --- a/docs/examples-ControlledExpandedNode.html +++ b/docs/examples-ControlledExpandedNode.html @@ -3,14 +3,14 @@ -Basic with controlled expandable node | react-accessible-treeview - - +Basic with controlled expandable node | react-accessible-treeview + +

Basic with controlled expandable node

This example demonstrates how to create a simple tree with controlled expandable node

  • Fruits-1
    • Avocados-2
    • Bananas-3
    • Berries-4
    • Oranges-5
    • Pears-6
- - + + \ No newline at end of file diff --git a/docs/examples-DataTypes.html b/docs/examples-DataTypes.html index 83c87b1c..b3eb760d 100644 --- a/docs/examples-DataTypes.html +++ b/docs/examples-DataTypes.html @@ -3,14 +3,14 @@ -Data types | react-accessible-treeview - - +Data types | react-accessible-treeview + +

Data types

This example demonstrates different ways of defining ids in data

You can define IDs for your tree nodes yourself (they have to be of type number or string). Alternatively, if IDs are not defined, flattenTree() will create sequential, unique node IDs. If you are loading TreeView data asynchronously, it is recommended to define IDs yourself.

IDs defined by consumer (you)

IDs set by flattenTree()

- - + + \ No newline at end of file diff --git a/docs/examples-DirectoryTree.html b/docs/examples-DirectoryTree.html index 4798de24..3e559995 100644 --- a/docs/examples-DirectoryTree.html +++ b/docs/examples-DirectoryTree.html @@ -3,14 +3,14 @@ -Directory tree (single selection) | react-accessible-treeview - - +Directory tree (single selection) | react-accessible-treeview + +

Directory tree (single selection)

An example of how to customize the styling of the component

  • .npmignore
  • package.json
  • webpack.config.js
- - + + \ No newline at end of file diff --git a/docs/examples-Filtering.html b/docs/examples-Filtering.html index ed2c9594..10d1a912 100644 --- a/docs/examples-Filtering.html +++ b/docs/examples-Filtering.html @@ -3,14 +3,14 @@ -Filtering | react-accessible-treeview - - +Filtering | react-accessible-treeview + +

Filtering

The example how to implement filtering within a tree.

  • AFGHANISTAN
  • ALAND ISLANDS
  • ALBANIA
  • ALGERIA
  • AMERICAN SAMOA
  • ANDORRA
  • ANGOLA
  • ANGUILLA
  • ANTARCTICA
  • ANTIGUA AND BARBUDA
  • ARGENTINA
  • ARMENIA
  • ARUBA
  • AUSTRALIA
  • AUSTRIA
  • AZERBAIJAN
  • BAHAMAS
  • BAHRAIN
  • BANGLADESH
  • BARBADOS
  • BELARUS
  • BELGIUM
  • BELIZE
  • BENIN
  • BERMUDA
  • BHUTAN
  • BHUTAN
  • BOLIVIA
  • BONAIRE, SINT EUSTATIUS AND SABA
  • BOSNIA and HERZEGOVINA
  • BOTSWANA
  • BOUVET ISLAND
  • BRAZIL
  • BRAZIL
  • BRITISH INDIAN OCEAN TERRITORY
  • BRUNEI DARUSSALAM
  • BULGARIA
  • BURKINA FASO
  • BURUNDI
  • CAMBODIA
  • CAMEROON
  • CANADA
  • CAPE VERDE
  • CAYMAN ISLANDS
  • CENTRAL AFRICAN REPUBLIC
  • CHAD
  • CHILE
  • CHINA
  • CHINA
  • CHRISTMAS ISLAND
  • COCOS (KEELING) ISLANDS
  • COLOMBIA
  • COMOROS
  • CONGO
  • COOK ISLANDS
  • COSTA RICA
  • COTE D’IVOIRE (IVORY COAST)
  • CROATIA
  • CURACAO
  • CYPRUS
  • CZECH REPUBLIC
  • DEMOCRATIC REPUBLIC OF THE CONGO
  • DENMARK
  • DJIBOUTI
  • DOMINICA
  • DOMINICAN REPUBLIC
  • EGYPT
  • EL SALVADOR
  • ECUADOR
  • EQUATORIAL GUINEA
  • ERITREA
  • ERITREA
  • ESTONIA
  • ETHIOPIA
  • FALKLAND ISLANDS (MALVINAS)
  • FEDERATED STATES OF MICRONESIA
  • FIJI
  • FINLAND
  • FRANCE
  • FRANCE, METROPOLITAN
  • FRENCH GUIANA
  • FRENCH POLYNESIA
  • GABON
  • GAMBIA
  • GEORGIA
  • GERMANY
  • GHANA
  • GIBRALTAR
  • GREECE
  • GREENLAND
  • GRENADA
  • GUADELOUPE
  • GUAM
  • GUATEMALA
  • GUINEA-BISSAU
  • GUINEA
  • GUYANA
  • HAITI
  • HEARD and MCDONALD ISLANDS
  • HOLY SEE (VATICAN CITY STATE)
  • HONDURUS
  • HONG KONG
  • HUNGARY
  • ICELAND
  • INDIA
  • INDONESIA
  • IRAQ
  • ISRAEL
  • IRELAND
  • ISLE OF MAN
  • ITALY
  • JAMAICA
  • JAPAN
  • JERSEY
  • JORDAN
  • KAZAKHSTAN
  • KENYA
  • KIRIBATI
  • KOREA, REPUBLIC OF
  • KUWAIT
  • KYRGYZSTAN
  • LAO PEOPLE'S DEMOCRATIC REPUBLIC
  • LATVIA
  • LEBANON
  • LESOTHO
  • LESOTHO
  • LIBERIA
  • LIBYAN ARAB JAMAHIRIYA
  • LIECHTENSTEIN
  • LITHUANIA
  • LUXEMBOURG
  • MACAO
  • MACEDONIA
  • MADAGASCAR
  • MALAWI
  • MALAYSIA
  • MALDIVES
  • MALI
  • MALTA
  • MARSHALL ISLANDS
  • MARTINIQUE
  • MAURITANIA
  • MAURITIUS
  • MAYOTTE
  • MEXICO
  • MOLDOVA, REPUBLIC OF
  • MONACO
  • MONGOLIA
  • MONTENEGRO, REPUBLIC OF
  • MONTSERRAT
  • MOROCCO
  • MOZAMBIQUE
  • MYANMAR
  • NAMIBIA
  • NAURU
  • NEPAL
  • NETHERLANDS
  • NETHERLANDS ANTILLES
  • NEW CALEDONIA
  • NEW ZEALAND
  • NICARAGUA
  • NIGER
  • NIGERIA
  • NIUE
  • NORFOLK ISLAND
  • NORTHERN MARIANA ISLANDS
  • NORWAY
  • OMAN
  • PAKISTAN
  • PALAU
  • PANAMA
  • PAPUA NEW GUINEA
  • PARAGUAY
  • PERU
  • PHILIPPINES
  • PITCAIRN
  • POLAND
  • PORTUGAL
  • PUERTO RICO
  • QATAR
  • REUNION
  • ROMANIA
  • RUSSIAN FEDERATION
  • RWANDA
  • SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA
  • SAMOA
  • SAN MARINO
  • SAO TOME AND PRINCIPE
  • SAUDI ARABIA
  • SENEGAL
  • SERBIA
  • SEYCHELLES
  • SIERRA LEONE
  • SINGAPORE
  • SINT MAARTEN (DUTCH PART)
  • SLOVAKIA
  • SLOVENIA
  • SOLOMON ISLANDS
  • SOMALIA
  • SOUTH AFRICA
  • SOUTH SUDAN
  • SPAIN
  • SRI LANKA
  • ST. KITTS-NEVIS
  • ST. LUCIA
  • ST. PIERRE AND MIQUELON
  • ST. VINCENT AND THE GRENADINES
  • SURINAME
  • SVALBARD AND JAN MAYEN
  • SWITZERLAND
  • SWAZILAND
  • SWEDEN
  • TAIWAN
  • TAJIKISTAN
  • TANZANIA, UNITED REPUBLIC OF
  • THAILAND
  • TIMOR-LESTE
  • TOGO
  • TOKELAU
  • TONGA
  • TRINIDAD AND TOBAGO
  • TUNISIA
  • TURKEY
  • TURKMENISTAN
  • TURKS and CAICOS ISLANDS
  • TUVALU
  • UGANDA
  • UKRAINE
  • UNITED ARAB EMIRATES
  • UNITED KINGDOM
  • UNITED STATES
  • URUGUAY
  • UZBEKISTAN
  • VANUATU
  • VENEZUELA
  • VIETNAM
  • BRITISH VIRGIN ISLANDS
  • U.S. VIRGIN ISLANDS
  • WALLIS AND FUTUNA ISLANDS
  • WESTERN SAHARA
  • YEMEN
  • ZAMBIA
  • ZIMBABWE
  • CUBA
  • ECUADOR
  • IRAN
  • LATVIA
  • LITHUANIA
  • GUINEA-BISSAU
  • SYRIA
  • TONGA
- - + + \ No newline at end of file diff --git a/docs/examples-MultiSelectCheckbox.html b/docs/examples-MultiSelectCheckbox.html index c261d6e5..bb52b06a 100644 --- a/docs/examples-MultiSelectCheckbox.html +++ b/docs/examples-MultiSelectCheckbox.html @@ -3,14 +3,14 @@ -Checkbox | react-accessible-treeview - - +Checkbox | react-accessible-treeview + +

Checkbox

This example demonstrates how to create a checkbox tree

- - + + \ No newline at end of file diff --git a/docs/examples-MultiSelectCheckboxAsync.html b/docs/examples-MultiSelectCheckboxAsync.html index bec9f1f3..ce01340b 100644 --- a/docs/examples-MultiSelectCheckboxAsync.html +++ b/docs/examples-MultiSelectCheckboxAsync.html @@ -3,14 +3,14 @@ -Asynchronous loading | react-accessible-treeview - - +Asynchronous loading | react-accessible-treeview + +

Asynchronous loading

This example demonstrates how to create a checkbox tree with asynchronous loading

- - + + \ No newline at end of file diff --git a/docs/examples-MultiSelectCheckboxAsyncControlled.html b/docs/examples-MultiSelectCheckboxAsyncControlled.html index 19513c67..d3a4b7c5 100644 --- a/docs/examples-MultiSelectCheckboxAsyncControlled.html +++ b/docs/examples-MultiSelectCheckboxAsyncControlled.html @@ -3,14 +3,14 @@ -Asynchronous loading with Controlled selection | react-accessible-treeview - - +Asynchronous loading with Controlled selection | react-accessible-treeview + +

Asynchronous loading with Controlled selection

This example demonstrates how to create a checkbox tree with asynchronous loading and controlled selection

- - + + \ No newline at end of file diff --git a/docs/examples-MultiSelectCheckboxControlled.html b/docs/examples-MultiSelectCheckboxControlled.html index 81a2aad8..c4a67ecd 100644 --- a/docs/examples-MultiSelectCheckboxControlled.html +++ b/docs/examples-MultiSelectCheckboxControlled.html @@ -3,14 +3,14 @@ -Checkbox with controlled selectedIds | react-accessible-treeview - - +Checkbox with controlled selectedIds | react-accessible-treeview + +

Checkbox with controlled selectedIds

This example demonstrates how to create a checkbox tree

  • Fruits-1
    • Avocados-2
    • Bananas-3
    • Berries-4
    • Oranges-5
    • Pears-6
- - + + \ No newline at end of file diff --git a/docs/examples-MultiSelectCheckboxDisabled.html b/docs/examples-MultiSelectCheckboxDisabled.html index bae53aa7..99571f29 100644 --- a/docs/examples-MultiSelectCheckboxDisabled.html +++ b/docs/examples-MultiSelectCheckboxDisabled.html @@ -3,14 +3,14 @@ -Checkbox with disabled nodes | react-accessible-treeview - - +Checkbox with disabled nodes | react-accessible-treeview + +

Checkbox with disabled nodes

This example demonstrates the use of disabled nodes

- - + + \ No newline at end of file diff --git a/docs/examples-MultiSelectDirectoryTree.html b/docs/examples-MultiSelectDirectoryTree.html index a838d689..518a4dab 100644 --- a/docs/examples-MultiSelectDirectoryTree.html +++ b/docs/examples-MultiSelectDirectoryTree.html @@ -3,14 +3,14 @@ -Directory tree (multiple selection) | react-accessible-treeview - - +Directory tree (multiple selection) | react-accessible-treeview + +

Directory tree (multiple selection)

This example combines multiselect and an exclusive select onClick. It supports multiselect using various commands, such as Ctrl+click Shift+Click, Enter/Space and Shift + Up/Down.

  • .npmignore
  • package.json
  • webpack.config.js
- - + + \ No newline at end of file diff --git a/docs/examples-SingleSelectCheckbox.html b/docs/examples-SingleSelectCheckbox.html index ee3446ea..ca73e9b3 100644 --- a/docs/examples-SingleSelectCheckbox.html +++ b/docs/examples-SingleSelectCheckbox.html @@ -3,14 +3,14 @@ -Checkbox (single selection) | react-accessible-treeview - - +Checkbox (single selection) | react-accessible-treeview + +

Checkbox (single selection)

This example demonstrates how to create single select checkbox tree

- - + + \ No newline at end of file diff --git a/index.html b/index.html index 327dfe47..9a82b25e 100644 --- a/index.html +++ b/index.html @@ -3,14 +3,14 @@ -react-accessible-treeview | react-accessible-treeview - - +react-accessible-treeview | react-accessible-treeview + +

react-accessible-treeview

A React component that implements the treeview pattern as described by the WAI-ARIA Authoring Practices.

Features

  • Single and multiple selection
  • Disabled nodes
  • Extensive key bindings
  • .npmignore
  • package.json
  • webpack.config.js

Flexible

Highly customizable through the use of the render prop and prop getter patterns.
- - + + \ No newline at end of file